@prdb/sdk 0.10.0 → 0.12.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/dist/generated/models/index.d.ts +260 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +210 -0
- package/dist/generated/models/index.js.map +1 -1
- package/dist/generated/videos/batch/index.d.ts +2 -2
- package/dist/generated/videos/filehashes/batch/index.d.ts +2 -2
- package/dist/generated/videos/filehashes/changes/index.d.ts +3 -3
- package/dist/generated/videos/filehashes/latest/index.d.ts +3 -3
- package/dist/generated/videos/filehashes/lookup/index.d.ts +2 -2
- package/dist/generated/videos/filehashes/unlinked/index.d.ts +3 -3
- package/dist/generated/videos/index.d.ts +3 -3
- package/dist/generated/videos/item/filehashes/index.d.ts +2 -2
- package/dist/generated/videos/item/index.d.ts +2 -2
- package/dist/generated/wantedVideos/batch/index.d.ts +3 -2
- package/dist/generated/wantedVideos/batch/index.d.ts.map +1 -1
- package/dist/generated/wantedVideos/batch/index.js +2 -1
- package/dist/generated/wantedVideos/batch/index.js.map +1 -1
- package/dist/generated/wantedVideos/item/index.d.ts +3 -2
- package/dist/generated/wantedVideos/item/index.d.ts.map +1 -1
- package/dist/generated/wantedVideos/item/index.js +2 -1
- package/dist/generated/wantedVideos/item/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -700,6 +700,15 @@ export function createUpdateWantedVideoResponseFromDiscriminatorValue(parseNode)
|
|
|
700
700
|
export function createUserIdentityResponseFromDiscriminatorValue(parseNode) {
|
|
701
701
|
return deserializeIntoUserIdentityResponse;
|
|
702
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
705
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
706
|
+
* @returns {VideoCodecCountDto}
|
|
707
|
+
*/
|
|
708
|
+
// @ts-ignore
|
|
709
|
+
export function createVideoCodecCountDtoFromDiscriminatorValue(parseNode) {
|
|
710
|
+
return deserializeIntoVideoCodecCountDto;
|
|
711
|
+
}
|
|
703
712
|
/**
|
|
704
713
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
705
714
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -835,6 +844,24 @@ export function createVideoImageChangeImageDtoFromDiscriminatorValue(parseNode)
|
|
|
835
844
|
export function createVideoImageChangesCursorDtoFromDiscriminatorValue(parseNode) {
|
|
836
845
|
return deserializeIntoVideoImageChangesCursorDto;
|
|
837
846
|
}
|
|
847
|
+
/**
|
|
848
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
849
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
850
|
+
* @returns {VideoQualityOverviewDto}
|
|
851
|
+
*/
|
|
852
|
+
// @ts-ignore
|
|
853
|
+
export function createVideoQualityOverviewDtoFromDiscriminatorValue(parseNode) {
|
|
854
|
+
return deserializeIntoVideoQualityOverviewDto;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
858
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
859
|
+
* @returns {VideoResolutionCountDto}
|
|
860
|
+
*/
|
|
861
|
+
// @ts-ignore
|
|
862
|
+
export function createVideoResolutionCountDtoFromDiscriminatorValue(parseNode) {
|
|
863
|
+
return deserializeIntoVideoResolutionCountDto;
|
|
864
|
+
}
|
|
838
865
|
/**
|
|
839
866
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
840
867
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -907,6 +934,15 @@ export function createWantedVideoChangesCursorDtoFromDiscriminatorValue(parseNod
|
|
|
907
934
|
export function createWantedVideoChangeWantedVideoDtoFromDiscriminatorValue(parseNode) {
|
|
908
935
|
return deserializeIntoWantedVideoChangeWantedVideoDto;
|
|
909
936
|
}
|
|
937
|
+
/**
|
|
938
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
939
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
940
|
+
* @returns {WantedVideoLimitProblemDetails}
|
|
941
|
+
*/
|
|
942
|
+
// @ts-ignore
|
|
943
|
+
export function createWantedVideoLimitProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
944
|
+
return deserializeIntoWantedVideoLimitProblemDetails;
|
|
945
|
+
}
|
|
910
946
|
/**
|
|
911
947
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
912
948
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2081,6 +2117,18 @@ export function deserializeIntoUserIdentityResponse(userIdentityResponse = {}) {
|
|
|
2081
2117
|
"userHash": n => { userIdentityResponse.userHash = n.getStringValue(); },
|
|
2082
2118
|
};
|
|
2083
2119
|
}
|
|
2120
|
+
/**
|
|
2121
|
+
* The deserialization information for the current model
|
|
2122
|
+
* @param VideoCodecCountDto The instance to deserialize into.
|
|
2123
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2124
|
+
*/
|
|
2125
|
+
// @ts-ignore
|
|
2126
|
+
export function deserializeIntoVideoCodecCountDto(videoCodecCountDto = {}) {
|
|
2127
|
+
return {
|
|
2128
|
+
"codec": n => { videoCodecCountDto.codec = n.getStringValue(); },
|
|
2129
|
+
"fileCount": n => { videoCodecCountDto.fileCount = n.getNumberValue(); },
|
|
2130
|
+
};
|
|
2131
|
+
}
|
|
2084
2132
|
/**
|
|
2085
2133
|
* The deserialization information for the current model
|
|
2086
2134
|
* @param VideoDetailActorDto The instance to deserialize into.
|
|
@@ -2121,9 +2169,13 @@ export function deserializeIntoVideoDetailDto(videoDetailDto = {}) {
|
|
|
2121
2169
|
return {
|
|
2122
2170
|
"actors": n => { videoDetailDto.actors = n.getCollectionOfObjectValues(createVideoDetailActorDtoFromDiscriminatorValue); },
|
|
2123
2171
|
"createdAtUtc": n => { videoDetailDto.createdAtUtc = n.getDateValue(); },
|
|
2172
|
+
"durationFileCount": n => { videoDetailDto.durationFileCount = n.getNumberValue(); },
|
|
2173
|
+
"durationMs": n => { videoDetailDto.durationMs = n.getNumberValue(); },
|
|
2174
|
+
"durationSpreadMs": n => { videoDetailDto.durationSpreadMs = n.getNumberValue(); },
|
|
2124
2175
|
"id": n => { videoDetailDto.id = n.getGuidValue(); },
|
|
2125
2176
|
"images": n => { videoDetailDto.images = n.getCollectionOfObjectValues(createVideoDetailImageDtoFromDiscriminatorValue); },
|
|
2126
2177
|
"preNames": n => { videoDetailDto.preNames = n.getCollectionOfObjectValues(createVideoDetailPreNameDtoFromDiscriminatorValue); },
|
|
2178
|
+
"qualityOverview": n => { videoDetailDto.qualityOverview = n.getObjectValue(createVideoQualityOverviewDtoFromDiscriminatorValue); },
|
|
2127
2179
|
"releaseDate": n => { videoDetailDto.releaseDate = n.getDateOnlyValue(); },
|
|
2128
2180
|
"site": n => { videoDetailDto.site = n.getObjectValue(createVideoDetailSiteDtoFromDiscriminatorValue); },
|
|
2129
2181
|
"title": n => { videoDetailDto.title = n.getStringValue(); },
|
|
@@ -2202,10 +2254,17 @@ export function deserializeIntoVideoFilehashChangeDto(videoFilehashChangeDto = {
|
|
|
2202
2254
|
// @ts-ignore
|
|
2203
2255
|
export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChangeFilehashDto = {}) {
|
|
2204
2256
|
return {
|
|
2257
|
+
"audioChannels": n => { videoFilehashChangeFilehashDto.audioChannels = n.getNumberValue(); },
|
|
2258
|
+
"audioCodec": n => { videoFilehashChangeFilehashDto.audioCodec = n.getStringValue(); },
|
|
2259
|
+
"bitRate": n => { videoFilehashChangeFilehashDto.bitRate = n.getNumberValue(); },
|
|
2260
|
+
"containerFormat": n => { videoFilehashChangeFilehashDto.containerFormat = n.getStringValue(); },
|
|
2205
2261
|
"createdAtUtc": n => { videoFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2206
2262
|
"deletedAtUtc": n => { videoFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
|
|
2263
|
+
"durationMs": n => { videoFilehashChangeFilehashDto.durationMs = n.getNumberValue(); },
|
|
2207
2264
|
"filename": n => { videoFilehashChangeFilehashDto.filename = n.getStringValue(); },
|
|
2208
2265
|
"filesize": n => { videoFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
|
|
2266
|
+
"frameRate": n => { videoFilehashChangeFilehashDto.frameRate = n.getStringValue(); },
|
|
2267
|
+
"height": n => { videoFilehashChangeFilehashDto.height = n.getNumberValue(); },
|
|
2209
2268
|
"id": n => { videoFilehashChangeFilehashDto.id = n.getGuidValue(); },
|
|
2210
2269
|
"isDeleted": n => { videoFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
|
|
2211
2270
|
"isVerified": n => { videoFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
|
|
@@ -2213,7 +2272,9 @@ export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChang
|
|
|
2213
2272
|
"pHash": n => { videoFilehashChangeFilehashDto.pHash = n.getStringValue(); },
|
|
2214
2273
|
"submissionCount": n => { videoFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2215
2274
|
"updatedAtUtc": n => { videoFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2275
|
+
"videoCodec": n => { videoFilehashChangeFilehashDto.videoCodec = n.getStringValue(); },
|
|
2216
2276
|
"videoId": n => { videoFilehashChangeFilehashDto.videoId = n.getGuidValue(); },
|
|
2277
|
+
"width": n => { videoFilehashChangeFilehashDto.width = n.getNumberValue(); },
|
|
2217
2278
|
};
|
|
2218
2279
|
}
|
|
2219
2280
|
/**
|
|
@@ -2236,16 +2297,25 @@ export function deserializeIntoVideoFilehashChangesCursorDto(videoFilehashChange
|
|
|
2236
2297
|
// @ts-ignore
|
|
2237
2298
|
export function deserializeIntoVideoFilehashDto(videoFilehashDto = {}) {
|
|
2238
2299
|
return {
|
|
2300
|
+
"audioChannels": n => { videoFilehashDto.audioChannels = n.getNumberValue(); },
|
|
2301
|
+
"audioCodec": n => { videoFilehashDto.audioCodec = n.getStringValue(); },
|
|
2302
|
+
"bitRate": n => { videoFilehashDto.bitRate = n.getNumberValue(); },
|
|
2303
|
+
"containerFormat": n => { videoFilehashDto.containerFormat = n.getStringValue(); },
|
|
2239
2304
|
"createdAtUtc": n => { videoFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2305
|
+
"durationMs": n => { videoFilehashDto.durationMs = n.getNumberValue(); },
|
|
2240
2306
|
"filename": n => { videoFilehashDto.filename = n.getStringValue(); },
|
|
2241
2307
|
"filesize": n => { videoFilehashDto.filesize = n.getNumberValue(); },
|
|
2308
|
+
"frameRate": n => { videoFilehashDto.frameRate = n.getStringValue(); },
|
|
2309
|
+
"height": n => { videoFilehashDto.height = n.getNumberValue(); },
|
|
2242
2310
|
"id": n => { videoFilehashDto.id = n.getGuidValue(); },
|
|
2243
2311
|
"isVerified": n => { videoFilehashDto.isVerified = n.getBooleanValue(); },
|
|
2244
2312
|
"osHash": n => { videoFilehashDto.osHash = n.getStringValue(); },
|
|
2245
2313
|
"pHash": n => { videoFilehashDto.pHash = n.getStringValue(); },
|
|
2246
2314
|
"submissionCount": n => { videoFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2247
2315
|
"updatedAtUtc": n => { videoFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2316
|
+
"videoCodec": n => { videoFilehashDto.videoCodec = n.getStringValue(); },
|
|
2248
2317
|
"videoId": n => { videoFilehashDto.videoId = n.getGuidValue(); },
|
|
2318
|
+
"width": n => { videoFilehashDto.width = n.getNumberValue(); },
|
|
2249
2319
|
};
|
|
2250
2320
|
}
|
|
2251
2321
|
/**
|
|
@@ -2299,6 +2369,31 @@ export function deserializeIntoVideoImageChangesCursorDto(videoImageChangesCurso
|
|
|
2299
2369
|
"updatedAtUtc": n => { videoImageChangesCursorDto.updatedAtUtc = n.getDateValue(); },
|
|
2300
2370
|
};
|
|
2301
2371
|
}
|
|
2372
|
+
/**
|
|
2373
|
+
* The deserialization information for the current model
|
|
2374
|
+
* @param VideoQualityOverviewDto The instance to deserialize into.
|
|
2375
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2376
|
+
*/
|
|
2377
|
+
// @ts-ignore
|
|
2378
|
+
export function deserializeIntoVideoQualityOverviewDto(videoQualityOverviewDto = {}) {
|
|
2379
|
+
return {
|
|
2380
|
+
"resolutions": n => { videoQualityOverviewDto.resolutions = n.getCollectionOfObjectValues(createVideoResolutionCountDtoFromDiscriminatorValue); },
|
|
2381
|
+
"videoCodecs": n => { videoQualityOverviewDto.videoCodecs = n.getCollectionOfObjectValues(createVideoCodecCountDtoFromDiscriminatorValue); },
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2384
|
+
/**
|
|
2385
|
+
* The deserialization information for the current model
|
|
2386
|
+
* @param VideoResolutionCountDto The instance to deserialize into.
|
|
2387
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2388
|
+
*/
|
|
2389
|
+
// @ts-ignore
|
|
2390
|
+
export function deserializeIntoVideoResolutionCountDto(videoResolutionCountDto = {}) {
|
|
2391
|
+
return {
|
|
2392
|
+
"fileCount": n => { videoResolutionCountDto.fileCount = n.getNumberValue(); },
|
|
2393
|
+
"height": n => { videoResolutionCountDto.height = n.getNumberValue(); },
|
|
2394
|
+
"width": n => { videoResolutionCountDto.width = n.getNumberValue(); },
|
|
2395
|
+
};
|
|
2396
|
+
}
|
|
2302
2397
|
/**
|
|
2303
2398
|
* The deserialization information for the current model
|
|
2304
2399
|
* @param VideoSummaryActorDto The instance to deserialize into.
|
|
@@ -2321,6 +2416,9 @@ export function deserializeIntoVideoSummaryDto(videoSummaryDto = {}) {
|
|
|
2321
2416
|
return {
|
|
2322
2417
|
"actors": n => { videoSummaryDto.actors = n.getCollectionOfObjectValues(createVideoSummaryActorDtoFromDiscriminatorValue); },
|
|
2323
2418
|
"createdAtUtc": n => { videoSummaryDto.createdAtUtc = n.getDateValue(); },
|
|
2419
|
+
"durationFileCount": n => { videoSummaryDto.durationFileCount = n.getNumberValue(); },
|
|
2420
|
+
"durationMs": n => { videoSummaryDto.durationMs = n.getNumberValue(); },
|
|
2421
|
+
"durationSpreadMs": n => { videoSummaryDto.durationSpreadMs = n.getNumberValue(); },
|
|
2324
2422
|
"id": n => { videoSummaryDto.id = n.getGuidValue(); },
|
|
2325
2423
|
"releaseDate": n => { videoSummaryDto.releaseDate = n.getDateOnlyValue(); },
|
|
2326
2424
|
"siteId": n => { videoSummaryDto.siteId = n.getGuidValue(); },
|
|
@@ -2435,6 +2533,25 @@ export function deserializeIntoWantedVideoChangeWantedVideoDto(wantedVideoChange
|
|
|
2435
2533
|
"videoTitle": n => { wantedVideoChangeWantedVideoDto.videoTitle = n.getStringValue(); },
|
|
2436
2534
|
};
|
|
2437
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* The deserialization information for the current model
|
|
2538
|
+
* @param WantedVideoLimitProblemDetails The instance to deserialize into.
|
|
2539
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2540
|
+
*/
|
|
2541
|
+
// @ts-ignore
|
|
2542
|
+
export function deserializeIntoWantedVideoLimitProblemDetails(wantedVideoLimitProblemDetails = {}) {
|
|
2543
|
+
return {
|
|
2544
|
+
"code": n => { wantedVideoLimitProblemDetails.code = n.getStringValue(); },
|
|
2545
|
+
"detail": n => { wantedVideoLimitProblemDetails.detail = n.getStringValue(); },
|
|
2546
|
+
"instance": n => { wantedVideoLimitProblemDetails.instance = n.getStringValue(); },
|
|
2547
|
+
"limit": n => { wantedVideoLimitProblemDetails.limit = n.getNumberValue(); },
|
|
2548
|
+
"remaining": n => { wantedVideoLimitProblemDetails.remaining = n.getNumberValue(); },
|
|
2549
|
+
"status": n => { wantedVideoLimitProblemDetails.status = n.getNumberValue(); },
|
|
2550
|
+
"title": n => { wantedVideoLimitProblemDetails.title = n.getStringValue(); },
|
|
2551
|
+
"type": n => { wantedVideoLimitProblemDetails.type = n.getStringValue(); },
|
|
2552
|
+
"used": n => { wantedVideoLimitProblemDetails.used = n.getNumberValue(); },
|
|
2553
|
+
};
|
|
2554
|
+
}
|
|
2438
2555
|
/**
|
|
2439
2556
|
* The deserialization information for the current model
|
|
2440
2557
|
* @param WantedVideoSummaryDto The instance to deserialize into.
|
|
@@ -3858,6 +3975,21 @@ export function serializeUserIdentityResponse(writer, userIdentityResponse = {},
|
|
|
3858
3975
|
writer.writeStringValue("userHash", userIdentityResponse.userHash);
|
|
3859
3976
|
writer.writeAdditionalData(userIdentityResponse.additionalData);
|
|
3860
3977
|
}
|
|
3978
|
+
/**
|
|
3979
|
+
* Serializes information the current object
|
|
3980
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3981
|
+
* @param VideoCodecCountDto The instance to serialize from.
|
|
3982
|
+
* @param writer Serialization writer to use to serialize this model
|
|
3983
|
+
*/
|
|
3984
|
+
// @ts-ignore
|
|
3985
|
+
export function serializeVideoCodecCountDto(writer, videoCodecCountDto = {}, isSerializingDerivedType = false) {
|
|
3986
|
+
if (!videoCodecCountDto || isSerializingDerivedType) {
|
|
3987
|
+
return;
|
|
3988
|
+
}
|
|
3989
|
+
writer.writeStringValue("codec", videoCodecCountDto.codec);
|
|
3990
|
+
writer.writeNumberValue("fileCount", videoCodecCountDto.fileCount);
|
|
3991
|
+
writer.writeAdditionalData(videoCodecCountDto.additionalData);
|
|
3992
|
+
}
|
|
3861
3993
|
/**
|
|
3862
3994
|
* Serializes information the current object
|
|
3863
3995
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -3907,9 +4039,13 @@ export function serializeVideoDetailDto(writer, videoDetailDto = {}, isSerializi
|
|
|
3907
4039
|
}
|
|
3908
4040
|
writer.writeCollectionOfObjectValues("actors", videoDetailDto.actors, serializeVideoDetailActorDto);
|
|
3909
4041
|
writer.writeDateValue("createdAtUtc", videoDetailDto.createdAtUtc);
|
|
4042
|
+
writer.writeNumberValue("durationFileCount", videoDetailDto.durationFileCount);
|
|
4043
|
+
writer.writeNumberValue("durationMs", videoDetailDto.durationMs);
|
|
4044
|
+
writer.writeNumberValue("durationSpreadMs", videoDetailDto.durationSpreadMs);
|
|
3910
4045
|
writer.writeGuidValue("id", videoDetailDto.id);
|
|
3911
4046
|
writer.writeCollectionOfObjectValues("images", videoDetailDto.images, serializeVideoDetailImageDto);
|
|
3912
4047
|
writer.writeCollectionOfObjectValues("preNames", videoDetailDto.preNames, serializeVideoDetailPreNameDto);
|
|
4048
|
+
writer.writeObjectValue("qualityOverview", videoDetailDto.qualityOverview, serializeVideoQualityOverviewDto);
|
|
3913
4049
|
writer.writeDateOnlyValue("releaseDate", videoDetailDto.releaseDate);
|
|
3914
4050
|
writer.writeObjectValue("site", videoDetailDto.site, serializeVideoDetailSiteDto);
|
|
3915
4051
|
writer.writeStringValue("title", videoDetailDto.title);
|
|
@@ -4006,10 +4142,17 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
4006
4142
|
if (!videoFilehashChangeFilehashDto || isSerializingDerivedType) {
|
|
4007
4143
|
return;
|
|
4008
4144
|
}
|
|
4145
|
+
writer.writeNumberValue("audioChannels", videoFilehashChangeFilehashDto.audioChannels);
|
|
4146
|
+
writer.writeStringValue("audioCodec", videoFilehashChangeFilehashDto.audioCodec);
|
|
4147
|
+
writer.writeNumberValue("bitRate", videoFilehashChangeFilehashDto.bitRate);
|
|
4148
|
+
writer.writeStringValue("containerFormat", videoFilehashChangeFilehashDto.containerFormat);
|
|
4009
4149
|
writer.writeDateValue("createdAtUtc", videoFilehashChangeFilehashDto.createdAtUtc);
|
|
4010
4150
|
writer.writeDateValue("deletedAtUtc", videoFilehashChangeFilehashDto.deletedAtUtc);
|
|
4151
|
+
writer.writeNumberValue("durationMs", videoFilehashChangeFilehashDto.durationMs);
|
|
4011
4152
|
writer.writeStringValue("filename", videoFilehashChangeFilehashDto.filename);
|
|
4012
4153
|
writer.writeNumberValue("filesize", videoFilehashChangeFilehashDto.filesize);
|
|
4154
|
+
writer.writeStringValue("frameRate", videoFilehashChangeFilehashDto.frameRate);
|
|
4155
|
+
writer.writeNumberValue("height", videoFilehashChangeFilehashDto.height);
|
|
4013
4156
|
writer.writeGuidValue("id", videoFilehashChangeFilehashDto.id);
|
|
4014
4157
|
writer.writeBooleanValue("isDeleted", videoFilehashChangeFilehashDto.isDeleted);
|
|
4015
4158
|
writer.writeBooleanValue("isVerified", videoFilehashChangeFilehashDto.isVerified);
|
|
@@ -4017,7 +4160,9 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
4017
4160
|
writer.writeStringValue("pHash", videoFilehashChangeFilehashDto.pHash);
|
|
4018
4161
|
writer.writeNumberValue("submissionCount", videoFilehashChangeFilehashDto.submissionCount);
|
|
4019
4162
|
writer.writeDateValue("updatedAtUtc", videoFilehashChangeFilehashDto.updatedAtUtc);
|
|
4163
|
+
writer.writeStringValue("videoCodec", videoFilehashChangeFilehashDto.videoCodec);
|
|
4020
4164
|
writer.writeGuidValue("videoId", videoFilehashChangeFilehashDto.videoId);
|
|
4165
|
+
writer.writeNumberValue("width", videoFilehashChangeFilehashDto.width);
|
|
4021
4166
|
writer.writeAdditionalData(videoFilehashChangeFilehashDto.additionalData);
|
|
4022
4167
|
}
|
|
4023
4168
|
/**
|
|
@@ -4046,16 +4191,25 @@ export function serializeVideoFilehashDto(writer, videoFilehashDto = {}, isSeria
|
|
|
4046
4191
|
if (!videoFilehashDto || isSerializingDerivedType) {
|
|
4047
4192
|
return;
|
|
4048
4193
|
}
|
|
4194
|
+
writer.writeNumberValue("audioChannels", videoFilehashDto.audioChannels);
|
|
4195
|
+
writer.writeStringValue("audioCodec", videoFilehashDto.audioCodec);
|
|
4196
|
+
writer.writeNumberValue("bitRate", videoFilehashDto.bitRate);
|
|
4197
|
+
writer.writeStringValue("containerFormat", videoFilehashDto.containerFormat);
|
|
4049
4198
|
writer.writeDateValue("createdAtUtc", videoFilehashDto.createdAtUtc);
|
|
4199
|
+
writer.writeNumberValue("durationMs", videoFilehashDto.durationMs);
|
|
4050
4200
|
writer.writeStringValue("filename", videoFilehashDto.filename);
|
|
4051
4201
|
writer.writeNumberValue("filesize", videoFilehashDto.filesize);
|
|
4202
|
+
writer.writeStringValue("frameRate", videoFilehashDto.frameRate);
|
|
4203
|
+
writer.writeNumberValue("height", videoFilehashDto.height);
|
|
4052
4204
|
writer.writeGuidValue("id", videoFilehashDto.id);
|
|
4053
4205
|
writer.writeBooleanValue("isVerified", videoFilehashDto.isVerified);
|
|
4054
4206
|
writer.writeStringValue("osHash", videoFilehashDto.osHash);
|
|
4055
4207
|
writer.writeStringValue("pHash", videoFilehashDto.pHash);
|
|
4056
4208
|
writer.writeNumberValue("submissionCount", videoFilehashDto.submissionCount);
|
|
4057
4209
|
writer.writeDateValue("updatedAtUtc", videoFilehashDto.updatedAtUtc);
|
|
4210
|
+
writer.writeStringValue("videoCodec", videoFilehashDto.videoCodec);
|
|
4058
4211
|
writer.writeGuidValue("videoId", videoFilehashDto.videoId);
|
|
4212
|
+
writer.writeNumberValue("width", videoFilehashDto.width);
|
|
4059
4213
|
writer.writeAdditionalData(videoFilehashDto.additionalData);
|
|
4060
4214
|
}
|
|
4061
4215
|
/**
|
|
@@ -4121,6 +4275,37 @@ export function serializeVideoImageChangesCursorDto(writer, videoImageChangesCur
|
|
|
4121
4275
|
writer.writeDateValue("updatedAtUtc", videoImageChangesCursorDto.updatedAtUtc);
|
|
4122
4276
|
writer.writeAdditionalData(videoImageChangesCursorDto.additionalData);
|
|
4123
4277
|
}
|
|
4278
|
+
/**
|
|
4279
|
+
* Serializes information the current object
|
|
4280
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4281
|
+
* @param VideoQualityOverviewDto The instance to serialize from.
|
|
4282
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4283
|
+
*/
|
|
4284
|
+
// @ts-ignore
|
|
4285
|
+
export function serializeVideoQualityOverviewDto(writer, videoQualityOverviewDto = {}, isSerializingDerivedType = false) {
|
|
4286
|
+
if (!videoQualityOverviewDto || isSerializingDerivedType) {
|
|
4287
|
+
return;
|
|
4288
|
+
}
|
|
4289
|
+
writer.writeCollectionOfObjectValues("resolutions", videoQualityOverviewDto.resolutions, serializeVideoResolutionCountDto);
|
|
4290
|
+
writer.writeCollectionOfObjectValues("videoCodecs", videoQualityOverviewDto.videoCodecs, serializeVideoCodecCountDto);
|
|
4291
|
+
writer.writeAdditionalData(videoQualityOverviewDto.additionalData);
|
|
4292
|
+
}
|
|
4293
|
+
/**
|
|
4294
|
+
* Serializes information the current object
|
|
4295
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4296
|
+
* @param VideoResolutionCountDto The instance to serialize from.
|
|
4297
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4298
|
+
*/
|
|
4299
|
+
// @ts-ignore
|
|
4300
|
+
export function serializeVideoResolutionCountDto(writer, videoResolutionCountDto = {}, isSerializingDerivedType = false) {
|
|
4301
|
+
if (!videoResolutionCountDto || isSerializingDerivedType) {
|
|
4302
|
+
return;
|
|
4303
|
+
}
|
|
4304
|
+
writer.writeNumberValue("fileCount", videoResolutionCountDto.fileCount);
|
|
4305
|
+
writer.writeNumberValue("height", videoResolutionCountDto.height);
|
|
4306
|
+
writer.writeNumberValue("width", videoResolutionCountDto.width);
|
|
4307
|
+
writer.writeAdditionalData(videoResolutionCountDto.additionalData);
|
|
4308
|
+
}
|
|
4124
4309
|
/**
|
|
4125
4310
|
* Serializes information the current object
|
|
4126
4311
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4149,6 +4334,9 @@ export function serializeVideoSummaryDto(writer, videoSummaryDto = {}, isSeriali
|
|
|
4149
4334
|
}
|
|
4150
4335
|
writer.writeCollectionOfObjectValues("actors", videoSummaryDto.actors, serializeVideoSummaryActorDto);
|
|
4151
4336
|
writer.writeDateValue("createdAtUtc", videoSummaryDto.createdAtUtc);
|
|
4337
|
+
writer.writeNumberValue("durationFileCount", videoSummaryDto.durationFileCount);
|
|
4338
|
+
writer.writeNumberValue("durationMs", videoSummaryDto.durationMs);
|
|
4339
|
+
writer.writeNumberValue("durationSpreadMs", videoSummaryDto.durationSpreadMs);
|
|
4152
4340
|
writer.writeGuidValue("id", videoSummaryDto.id);
|
|
4153
4341
|
writer.writeDateOnlyValue("releaseDate", videoSummaryDto.releaseDate);
|
|
4154
4342
|
writer.writeGuidValue("siteId", videoSummaryDto.siteId);
|
|
@@ -4281,6 +4469,28 @@ export function serializeWantedVideoChangeWantedVideoDto(writer, wantedVideoChan
|
|
|
4281
4469
|
writer.writeStringValue("videoTitle", wantedVideoChangeWantedVideoDto.videoTitle);
|
|
4282
4470
|
writer.writeAdditionalData(wantedVideoChangeWantedVideoDto.additionalData);
|
|
4283
4471
|
}
|
|
4472
|
+
/**
|
|
4473
|
+
* Serializes information the current object
|
|
4474
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4475
|
+
* @param WantedVideoLimitProblemDetails The instance to serialize from.
|
|
4476
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4477
|
+
*/
|
|
4478
|
+
// @ts-ignore
|
|
4479
|
+
export function serializeWantedVideoLimitProblemDetails(writer, wantedVideoLimitProblemDetails = {}, isSerializingDerivedType = false) {
|
|
4480
|
+
if (!wantedVideoLimitProblemDetails || isSerializingDerivedType) {
|
|
4481
|
+
return;
|
|
4482
|
+
}
|
|
4483
|
+
writer.writeStringValue("code", wantedVideoLimitProblemDetails.code);
|
|
4484
|
+
writer.writeStringValue("detail", wantedVideoLimitProblemDetails.detail);
|
|
4485
|
+
writer.writeStringValue("instance", wantedVideoLimitProblemDetails.instance);
|
|
4486
|
+
writer.writeNumberValue("limit", wantedVideoLimitProblemDetails.limit);
|
|
4487
|
+
writer.writeNumberValue("remaining", wantedVideoLimitProblemDetails.remaining);
|
|
4488
|
+
writer.writeNumberValue("status", wantedVideoLimitProblemDetails.status);
|
|
4489
|
+
writer.writeStringValue("title", wantedVideoLimitProblemDetails.title);
|
|
4490
|
+
writer.writeStringValue("type", wantedVideoLimitProblemDetails.type);
|
|
4491
|
+
writer.writeNumberValue("used", wantedVideoLimitProblemDetails.used);
|
|
4492
|
+
writer.writeAdditionalData(wantedVideoLimitProblemDetails.additionalData);
|
|
4493
|
+
}
|
|
4284
4494
|
/**
|
|
4285
4495
|
* Serializes information the current object
|
|
4286
4496
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|