@prdb/sdk 0.9.0 → 0.11.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 +236 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +178 -0
- package/dist/generated/models/index.js.map +1 -1
- package/dist/generated/videos/batch/index.d.ts +2 -2
- package/dist/generated/videos/filehashSubmissions/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/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
|
|
@@ -1975,13 +2002,22 @@ export function deserializeIntoSubmitVideoFilehashesResponse(submitVideoFilehash
|
|
|
1975
2002
|
// @ts-ignore
|
|
1976
2003
|
export function deserializeIntoSubmitVideoFilehashItem(submitVideoFilehashItem = {}) {
|
|
1977
2004
|
return {
|
|
2005
|
+
"audioChannels": n => { submitVideoFilehashItem.audioChannels = n.getNumberValue(); },
|
|
2006
|
+
"audioCodec": n => { submitVideoFilehashItem.audioCodec = n.getStringValue(); },
|
|
2007
|
+
"bitRate": n => { submitVideoFilehashItem.bitRate = n.getNumberValue(); },
|
|
2008
|
+
"containerFormat": n => { submitVideoFilehashItem.containerFormat = n.getStringValue(); },
|
|
2009
|
+
"durationMs": n => { submitVideoFilehashItem.durationMs = n.getNumberValue(); },
|
|
1978
2010
|
"filename": n => { submitVideoFilehashItem.filename = n.getStringValue(); },
|
|
1979
2011
|
"filesize": n => { submitVideoFilehashItem.filesize = n.getNumberValue(); },
|
|
2012
|
+
"frameRate": n => { submitVideoFilehashItem.frameRate = n.getStringValue(); },
|
|
2013
|
+
"height": n => { submitVideoFilehashItem.height = n.getNumberValue(); },
|
|
1980
2014
|
"osHash": n => { submitVideoFilehashItem.osHash = n.getStringValue(); },
|
|
1981
2015
|
"pHash": n => { submitVideoFilehashItem.pHash = n.getStringValue(); },
|
|
1982
2016
|
"releaseName": n => { submitVideoFilehashItem.releaseName = n.getStringValue(); },
|
|
1983
2017
|
"source": n => { submitVideoFilehashItem.source = n.getNumberValue(); },
|
|
2018
|
+
"videoCodec": n => { submitVideoFilehashItem.videoCodec = n.getStringValue(); },
|
|
1984
2019
|
"videoId": n => { submitVideoFilehashItem.videoId = n.getGuidValue(); },
|
|
2020
|
+
"width": n => { submitVideoFilehashItem.width = n.getNumberValue(); },
|
|
1985
2021
|
};
|
|
1986
2022
|
}
|
|
1987
2023
|
/**
|
|
@@ -2072,6 +2108,18 @@ export function deserializeIntoUserIdentityResponse(userIdentityResponse = {}) {
|
|
|
2072
2108
|
"userHash": n => { userIdentityResponse.userHash = n.getStringValue(); },
|
|
2073
2109
|
};
|
|
2074
2110
|
}
|
|
2111
|
+
/**
|
|
2112
|
+
* The deserialization information for the current model
|
|
2113
|
+
* @param VideoCodecCountDto The instance to deserialize into.
|
|
2114
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2115
|
+
*/
|
|
2116
|
+
// @ts-ignore
|
|
2117
|
+
export function deserializeIntoVideoCodecCountDto(videoCodecCountDto = {}) {
|
|
2118
|
+
return {
|
|
2119
|
+
"codec": n => { videoCodecCountDto.codec = n.getStringValue(); },
|
|
2120
|
+
"fileCount": n => { videoCodecCountDto.fileCount = n.getNumberValue(); },
|
|
2121
|
+
};
|
|
2122
|
+
}
|
|
2075
2123
|
/**
|
|
2076
2124
|
* The deserialization information for the current model
|
|
2077
2125
|
* @param VideoDetailActorDto The instance to deserialize into.
|
|
@@ -2112,9 +2160,13 @@ export function deserializeIntoVideoDetailDto(videoDetailDto = {}) {
|
|
|
2112
2160
|
return {
|
|
2113
2161
|
"actors": n => { videoDetailDto.actors = n.getCollectionOfObjectValues(createVideoDetailActorDtoFromDiscriminatorValue); },
|
|
2114
2162
|
"createdAtUtc": n => { videoDetailDto.createdAtUtc = n.getDateValue(); },
|
|
2163
|
+
"durationFileCount": n => { videoDetailDto.durationFileCount = n.getNumberValue(); },
|
|
2164
|
+
"durationMs": n => { videoDetailDto.durationMs = n.getNumberValue(); },
|
|
2165
|
+
"durationSpreadMs": n => { videoDetailDto.durationSpreadMs = n.getNumberValue(); },
|
|
2115
2166
|
"id": n => { videoDetailDto.id = n.getGuidValue(); },
|
|
2116
2167
|
"images": n => { videoDetailDto.images = n.getCollectionOfObjectValues(createVideoDetailImageDtoFromDiscriminatorValue); },
|
|
2117
2168
|
"preNames": n => { videoDetailDto.preNames = n.getCollectionOfObjectValues(createVideoDetailPreNameDtoFromDiscriminatorValue); },
|
|
2169
|
+
"qualityOverview": n => { videoDetailDto.qualityOverview = n.getObjectValue(createVideoQualityOverviewDtoFromDiscriminatorValue); },
|
|
2118
2170
|
"releaseDate": n => { videoDetailDto.releaseDate = n.getDateOnlyValue(); },
|
|
2119
2171
|
"site": n => { videoDetailDto.site = n.getObjectValue(createVideoDetailSiteDtoFromDiscriminatorValue); },
|
|
2120
2172
|
"title": n => { videoDetailDto.title = n.getStringValue(); },
|
|
@@ -2193,10 +2245,17 @@ export function deserializeIntoVideoFilehashChangeDto(videoFilehashChangeDto = {
|
|
|
2193
2245
|
// @ts-ignore
|
|
2194
2246
|
export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChangeFilehashDto = {}) {
|
|
2195
2247
|
return {
|
|
2248
|
+
"audioChannels": n => { videoFilehashChangeFilehashDto.audioChannels = n.getNumberValue(); },
|
|
2249
|
+
"audioCodec": n => { videoFilehashChangeFilehashDto.audioCodec = n.getStringValue(); },
|
|
2250
|
+
"bitRate": n => { videoFilehashChangeFilehashDto.bitRate = n.getNumberValue(); },
|
|
2251
|
+
"containerFormat": n => { videoFilehashChangeFilehashDto.containerFormat = n.getStringValue(); },
|
|
2196
2252
|
"createdAtUtc": n => { videoFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2197
2253
|
"deletedAtUtc": n => { videoFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
|
|
2254
|
+
"durationMs": n => { videoFilehashChangeFilehashDto.durationMs = n.getNumberValue(); },
|
|
2198
2255
|
"filename": n => { videoFilehashChangeFilehashDto.filename = n.getStringValue(); },
|
|
2199
2256
|
"filesize": n => { videoFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
|
|
2257
|
+
"frameRate": n => { videoFilehashChangeFilehashDto.frameRate = n.getStringValue(); },
|
|
2258
|
+
"height": n => { videoFilehashChangeFilehashDto.height = n.getNumberValue(); },
|
|
2200
2259
|
"id": n => { videoFilehashChangeFilehashDto.id = n.getGuidValue(); },
|
|
2201
2260
|
"isDeleted": n => { videoFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
|
|
2202
2261
|
"isVerified": n => { videoFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
|
|
@@ -2204,7 +2263,9 @@ export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChang
|
|
|
2204
2263
|
"pHash": n => { videoFilehashChangeFilehashDto.pHash = n.getStringValue(); },
|
|
2205
2264
|
"submissionCount": n => { videoFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2206
2265
|
"updatedAtUtc": n => { videoFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2266
|
+
"videoCodec": n => { videoFilehashChangeFilehashDto.videoCodec = n.getStringValue(); },
|
|
2207
2267
|
"videoId": n => { videoFilehashChangeFilehashDto.videoId = n.getGuidValue(); },
|
|
2268
|
+
"width": n => { videoFilehashChangeFilehashDto.width = n.getNumberValue(); },
|
|
2208
2269
|
};
|
|
2209
2270
|
}
|
|
2210
2271
|
/**
|
|
@@ -2227,16 +2288,25 @@ export function deserializeIntoVideoFilehashChangesCursorDto(videoFilehashChange
|
|
|
2227
2288
|
// @ts-ignore
|
|
2228
2289
|
export function deserializeIntoVideoFilehashDto(videoFilehashDto = {}) {
|
|
2229
2290
|
return {
|
|
2291
|
+
"audioChannels": n => { videoFilehashDto.audioChannels = n.getNumberValue(); },
|
|
2292
|
+
"audioCodec": n => { videoFilehashDto.audioCodec = n.getStringValue(); },
|
|
2293
|
+
"bitRate": n => { videoFilehashDto.bitRate = n.getNumberValue(); },
|
|
2294
|
+
"containerFormat": n => { videoFilehashDto.containerFormat = n.getStringValue(); },
|
|
2230
2295
|
"createdAtUtc": n => { videoFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2296
|
+
"durationMs": n => { videoFilehashDto.durationMs = n.getNumberValue(); },
|
|
2231
2297
|
"filename": n => { videoFilehashDto.filename = n.getStringValue(); },
|
|
2232
2298
|
"filesize": n => { videoFilehashDto.filesize = n.getNumberValue(); },
|
|
2299
|
+
"frameRate": n => { videoFilehashDto.frameRate = n.getStringValue(); },
|
|
2300
|
+
"height": n => { videoFilehashDto.height = n.getNumberValue(); },
|
|
2233
2301
|
"id": n => { videoFilehashDto.id = n.getGuidValue(); },
|
|
2234
2302
|
"isVerified": n => { videoFilehashDto.isVerified = n.getBooleanValue(); },
|
|
2235
2303
|
"osHash": n => { videoFilehashDto.osHash = n.getStringValue(); },
|
|
2236
2304
|
"pHash": n => { videoFilehashDto.pHash = n.getStringValue(); },
|
|
2237
2305
|
"submissionCount": n => { videoFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2238
2306
|
"updatedAtUtc": n => { videoFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2307
|
+
"videoCodec": n => { videoFilehashDto.videoCodec = n.getStringValue(); },
|
|
2239
2308
|
"videoId": n => { videoFilehashDto.videoId = n.getGuidValue(); },
|
|
2309
|
+
"width": n => { videoFilehashDto.width = n.getNumberValue(); },
|
|
2240
2310
|
};
|
|
2241
2311
|
}
|
|
2242
2312
|
/**
|
|
@@ -2290,6 +2360,31 @@ export function deserializeIntoVideoImageChangesCursorDto(videoImageChangesCurso
|
|
|
2290
2360
|
"updatedAtUtc": n => { videoImageChangesCursorDto.updatedAtUtc = n.getDateValue(); },
|
|
2291
2361
|
};
|
|
2292
2362
|
}
|
|
2363
|
+
/**
|
|
2364
|
+
* The deserialization information for the current model
|
|
2365
|
+
* @param VideoQualityOverviewDto The instance to deserialize into.
|
|
2366
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2367
|
+
*/
|
|
2368
|
+
// @ts-ignore
|
|
2369
|
+
export function deserializeIntoVideoQualityOverviewDto(videoQualityOverviewDto = {}) {
|
|
2370
|
+
return {
|
|
2371
|
+
"resolutions": n => { videoQualityOverviewDto.resolutions = n.getCollectionOfObjectValues(createVideoResolutionCountDtoFromDiscriminatorValue); },
|
|
2372
|
+
"videoCodecs": n => { videoQualityOverviewDto.videoCodecs = n.getCollectionOfObjectValues(createVideoCodecCountDtoFromDiscriminatorValue); },
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* The deserialization information for the current model
|
|
2377
|
+
* @param VideoResolutionCountDto The instance to deserialize into.
|
|
2378
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2379
|
+
*/
|
|
2380
|
+
// @ts-ignore
|
|
2381
|
+
export function deserializeIntoVideoResolutionCountDto(videoResolutionCountDto = {}) {
|
|
2382
|
+
return {
|
|
2383
|
+
"fileCount": n => { videoResolutionCountDto.fileCount = n.getNumberValue(); },
|
|
2384
|
+
"height": n => { videoResolutionCountDto.height = n.getNumberValue(); },
|
|
2385
|
+
"width": n => { videoResolutionCountDto.width = n.getNumberValue(); },
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2293
2388
|
/**
|
|
2294
2389
|
* The deserialization information for the current model
|
|
2295
2390
|
* @param VideoSummaryActorDto The instance to deserialize into.
|
|
@@ -2312,6 +2407,9 @@ export function deserializeIntoVideoSummaryDto(videoSummaryDto = {}) {
|
|
|
2312
2407
|
return {
|
|
2313
2408
|
"actors": n => { videoSummaryDto.actors = n.getCollectionOfObjectValues(createVideoSummaryActorDtoFromDiscriminatorValue); },
|
|
2314
2409
|
"createdAtUtc": n => { videoSummaryDto.createdAtUtc = n.getDateValue(); },
|
|
2410
|
+
"durationFileCount": n => { videoSummaryDto.durationFileCount = n.getNumberValue(); },
|
|
2411
|
+
"durationMs": n => { videoSummaryDto.durationMs = n.getNumberValue(); },
|
|
2412
|
+
"durationSpreadMs": n => { videoSummaryDto.durationSpreadMs = n.getNumberValue(); },
|
|
2315
2413
|
"id": n => { videoSummaryDto.id = n.getGuidValue(); },
|
|
2316
2414
|
"releaseDate": n => { videoSummaryDto.releaseDate = n.getDateOnlyValue(); },
|
|
2317
2415
|
"siteId": n => { videoSummaryDto.siteId = n.getGuidValue(); },
|
|
@@ -3725,13 +3823,22 @@ export function serializeSubmitVideoFilehashItem(writer, submitVideoFilehashItem
|
|
|
3725
3823
|
if (!submitVideoFilehashItem || isSerializingDerivedType) {
|
|
3726
3824
|
return;
|
|
3727
3825
|
}
|
|
3826
|
+
writer.writeNumberValue("audioChannels", submitVideoFilehashItem.audioChannels);
|
|
3827
|
+
writer.writeStringValue("audioCodec", submitVideoFilehashItem.audioCodec);
|
|
3828
|
+
writer.writeNumberValue("bitRate", submitVideoFilehashItem.bitRate);
|
|
3829
|
+
writer.writeStringValue("containerFormat", submitVideoFilehashItem.containerFormat);
|
|
3830
|
+
writer.writeNumberValue("durationMs", submitVideoFilehashItem.durationMs);
|
|
3728
3831
|
writer.writeStringValue("filename", submitVideoFilehashItem.filename);
|
|
3729
3832
|
writer.writeNumberValue("filesize", submitVideoFilehashItem.filesize);
|
|
3833
|
+
writer.writeStringValue("frameRate", submitVideoFilehashItem.frameRate);
|
|
3834
|
+
writer.writeNumberValue("height", submitVideoFilehashItem.height);
|
|
3730
3835
|
writer.writeStringValue("osHash", submitVideoFilehashItem.osHash);
|
|
3731
3836
|
writer.writeStringValue("pHash", submitVideoFilehashItem.pHash);
|
|
3732
3837
|
writer.writeStringValue("releaseName", submitVideoFilehashItem.releaseName);
|
|
3733
3838
|
writer.writeNumberValue("source", submitVideoFilehashItem.source);
|
|
3839
|
+
writer.writeStringValue("videoCodec", submitVideoFilehashItem.videoCodec);
|
|
3734
3840
|
writer.writeGuidValue("videoId", submitVideoFilehashItem.videoId);
|
|
3841
|
+
writer.writeNumberValue("width", submitVideoFilehashItem.width);
|
|
3735
3842
|
writer.writeAdditionalData(submitVideoFilehashItem.additionalData);
|
|
3736
3843
|
}
|
|
3737
3844
|
/**
|
|
@@ -3840,6 +3947,21 @@ export function serializeUserIdentityResponse(writer, userIdentityResponse = {},
|
|
|
3840
3947
|
writer.writeStringValue("userHash", userIdentityResponse.userHash);
|
|
3841
3948
|
writer.writeAdditionalData(userIdentityResponse.additionalData);
|
|
3842
3949
|
}
|
|
3950
|
+
/**
|
|
3951
|
+
* Serializes information the current object
|
|
3952
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3953
|
+
* @param VideoCodecCountDto The instance to serialize from.
|
|
3954
|
+
* @param writer Serialization writer to use to serialize this model
|
|
3955
|
+
*/
|
|
3956
|
+
// @ts-ignore
|
|
3957
|
+
export function serializeVideoCodecCountDto(writer, videoCodecCountDto = {}, isSerializingDerivedType = false) {
|
|
3958
|
+
if (!videoCodecCountDto || isSerializingDerivedType) {
|
|
3959
|
+
return;
|
|
3960
|
+
}
|
|
3961
|
+
writer.writeStringValue("codec", videoCodecCountDto.codec);
|
|
3962
|
+
writer.writeNumberValue("fileCount", videoCodecCountDto.fileCount);
|
|
3963
|
+
writer.writeAdditionalData(videoCodecCountDto.additionalData);
|
|
3964
|
+
}
|
|
3843
3965
|
/**
|
|
3844
3966
|
* Serializes information the current object
|
|
3845
3967
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -3889,9 +4011,13 @@ export function serializeVideoDetailDto(writer, videoDetailDto = {}, isSerializi
|
|
|
3889
4011
|
}
|
|
3890
4012
|
writer.writeCollectionOfObjectValues("actors", videoDetailDto.actors, serializeVideoDetailActorDto);
|
|
3891
4013
|
writer.writeDateValue("createdAtUtc", videoDetailDto.createdAtUtc);
|
|
4014
|
+
writer.writeNumberValue("durationFileCount", videoDetailDto.durationFileCount);
|
|
4015
|
+
writer.writeNumberValue("durationMs", videoDetailDto.durationMs);
|
|
4016
|
+
writer.writeNumberValue("durationSpreadMs", videoDetailDto.durationSpreadMs);
|
|
3892
4017
|
writer.writeGuidValue("id", videoDetailDto.id);
|
|
3893
4018
|
writer.writeCollectionOfObjectValues("images", videoDetailDto.images, serializeVideoDetailImageDto);
|
|
3894
4019
|
writer.writeCollectionOfObjectValues("preNames", videoDetailDto.preNames, serializeVideoDetailPreNameDto);
|
|
4020
|
+
writer.writeObjectValue("qualityOverview", videoDetailDto.qualityOverview, serializeVideoQualityOverviewDto);
|
|
3895
4021
|
writer.writeDateOnlyValue("releaseDate", videoDetailDto.releaseDate);
|
|
3896
4022
|
writer.writeObjectValue("site", videoDetailDto.site, serializeVideoDetailSiteDto);
|
|
3897
4023
|
writer.writeStringValue("title", videoDetailDto.title);
|
|
@@ -3988,10 +4114,17 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
3988
4114
|
if (!videoFilehashChangeFilehashDto || isSerializingDerivedType) {
|
|
3989
4115
|
return;
|
|
3990
4116
|
}
|
|
4117
|
+
writer.writeNumberValue("audioChannels", videoFilehashChangeFilehashDto.audioChannels);
|
|
4118
|
+
writer.writeStringValue("audioCodec", videoFilehashChangeFilehashDto.audioCodec);
|
|
4119
|
+
writer.writeNumberValue("bitRate", videoFilehashChangeFilehashDto.bitRate);
|
|
4120
|
+
writer.writeStringValue("containerFormat", videoFilehashChangeFilehashDto.containerFormat);
|
|
3991
4121
|
writer.writeDateValue("createdAtUtc", videoFilehashChangeFilehashDto.createdAtUtc);
|
|
3992
4122
|
writer.writeDateValue("deletedAtUtc", videoFilehashChangeFilehashDto.deletedAtUtc);
|
|
4123
|
+
writer.writeNumberValue("durationMs", videoFilehashChangeFilehashDto.durationMs);
|
|
3993
4124
|
writer.writeStringValue("filename", videoFilehashChangeFilehashDto.filename);
|
|
3994
4125
|
writer.writeNumberValue("filesize", videoFilehashChangeFilehashDto.filesize);
|
|
4126
|
+
writer.writeStringValue("frameRate", videoFilehashChangeFilehashDto.frameRate);
|
|
4127
|
+
writer.writeNumberValue("height", videoFilehashChangeFilehashDto.height);
|
|
3995
4128
|
writer.writeGuidValue("id", videoFilehashChangeFilehashDto.id);
|
|
3996
4129
|
writer.writeBooleanValue("isDeleted", videoFilehashChangeFilehashDto.isDeleted);
|
|
3997
4130
|
writer.writeBooleanValue("isVerified", videoFilehashChangeFilehashDto.isVerified);
|
|
@@ -3999,7 +4132,9 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
3999
4132
|
writer.writeStringValue("pHash", videoFilehashChangeFilehashDto.pHash);
|
|
4000
4133
|
writer.writeNumberValue("submissionCount", videoFilehashChangeFilehashDto.submissionCount);
|
|
4001
4134
|
writer.writeDateValue("updatedAtUtc", videoFilehashChangeFilehashDto.updatedAtUtc);
|
|
4135
|
+
writer.writeStringValue("videoCodec", videoFilehashChangeFilehashDto.videoCodec);
|
|
4002
4136
|
writer.writeGuidValue("videoId", videoFilehashChangeFilehashDto.videoId);
|
|
4137
|
+
writer.writeNumberValue("width", videoFilehashChangeFilehashDto.width);
|
|
4003
4138
|
writer.writeAdditionalData(videoFilehashChangeFilehashDto.additionalData);
|
|
4004
4139
|
}
|
|
4005
4140
|
/**
|
|
@@ -4028,16 +4163,25 @@ export function serializeVideoFilehashDto(writer, videoFilehashDto = {}, isSeria
|
|
|
4028
4163
|
if (!videoFilehashDto || isSerializingDerivedType) {
|
|
4029
4164
|
return;
|
|
4030
4165
|
}
|
|
4166
|
+
writer.writeNumberValue("audioChannels", videoFilehashDto.audioChannels);
|
|
4167
|
+
writer.writeStringValue("audioCodec", videoFilehashDto.audioCodec);
|
|
4168
|
+
writer.writeNumberValue("bitRate", videoFilehashDto.bitRate);
|
|
4169
|
+
writer.writeStringValue("containerFormat", videoFilehashDto.containerFormat);
|
|
4031
4170
|
writer.writeDateValue("createdAtUtc", videoFilehashDto.createdAtUtc);
|
|
4171
|
+
writer.writeNumberValue("durationMs", videoFilehashDto.durationMs);
|
|
4032
4172
|
writer.writeStringValue("filename", videoFilehashDto.filename);
|
|
4033
4173
|
writer.writeNumberValue("filesize", videoFilehashDto.filesize);
|
|
4174
|
+
writer.writeStringValue("frameRate", videoFilehashDto.frameRate);
|
|
4175
|
+
writer.writeNumberValue("height", videoFilehashDto.height);
|
|
4034
4176
|
writer.writeGuidValue("id", videoFilehashDto.id);
|
|
4035
4177
|
writer.writeBooleanValue("isVerified", videoFilehashDto.isVerified);
|
|
4036
4178
|
writer.writeStringValue("osHash", videoFilehashDto.osHash);
|
|
4037
4179
|
writer.writeStringValue("pHash", videoFilehashDto.pHash);
|
|
4038
4180
|
writer.writeNumberValue("submissionCount", videoFilehashDto.submissionCount);
|
|
4039
4181
|
writer.writeDateValue("updatedAtUtc", videoFilehashDto.updatedAtUtc);
|
|
4182
|
+
writer.writeStringValue("videoCodec", videoFilehashDto.videoCodec);
|
|
4040
4183
|
writer.writeGuidValue("videoId", videoFilehashDto.videoId);
|
|
4184
|
+
writer.writeNumberValue("width", videoFilehashDto.width);
|
|
4041
4185
|
writer.writeAdditionalData(videoFilehashDto.additionalData);
|
|
4042
4186
|
}
|
|
4043
4187
|
/**
|
|
@@ -4103,6 +4247,37 @@ export function serializeVideoImageChangesCursorDto(writer, videoImageChangesCur
|
|
|
4103
4247
|
writer.writeDateValue("updatedAtUtc", videoImageChangesCursorDto.updatedAtUtc);
|
|
4104
4248
|
writer.writeAdditionalData(videoImageChangesCursorDto.additionalData);
|
|
4105
4249
|
}
|
|
4250
|
+
/**
|
|
4251
|
+
* Serializes information the current object
|
|
4252
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4253
|
+
* @param VideoQualityOverviewDto The instance to serialize from.
|
|
4254
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4255
|
+
*/
|
|
4256
|
+
// @ts-ignore
|
|
4257
|
+
export function serializeVideoQualityOverviewDto(writer, videoQualityOverviewDto = {}, isSerializingDerivedType = false) {
|
|
4258
|
+
if (!videoQualityOverviewDto || isSerializingDerivedType) {
|
|
4259
|
+
return;
|
|
4260
|
+
}
|
|
4261
|
+
writer.writeCollectionOfObjectValues("resolutions", videoQualityOverviewDto.resolutions, serializeVideoResolutionCountDto);
|
|
4262
|
+
writer.writeCollectionOfObjectValues("videoCodecs", videoQualityOverviewDto.videoCodecs, serializeVideoCodecCountDto);
|
|
4263
|
+
writer.writeAdditionalData(videoQualityOverviewDto.additionalData);
|
|
4264
|
+
}
|
|
4265
|
+
/**
|
|
4266
|
+
* Serializes information the current object
|
|
4267
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4268
|
+
* @param VideoResolutionCountDto The instance to serialize from.
|
|
4269
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4270
|
+
*/
|
|
4271
|
+
// @ts-ignore
|
|
4272
|
+
export function serializeVideoResolutionCountDto(writer, videoResolutionCountDto = {}, isSerializingDerivedType = false) {
|
|
4273
|
+
if (!videoResolutionCountDto || isSerializingDerivedType) {
|
|
4274
|
+
return;
|
|
4275
|
+
}
|
|
4276
|
+
writer.writeNumberValue("fileCount", videoResolutionCountDto.fileCount);
|
|
4277
|
+
writer.writeNumberValue("height", videoResolutionCountDto.height);
|
|
4278
|
+
writer.writeNumberValue("width", videoResolutionCountDto.width);
|
|
4279
|
+
writer.writeAdditionalData(videoResolutionCountDto.additionalData);
|
|
4280
|
+
}
|
|
4106
4281
|
/**
|
|
4107
4282
|
* Serializes information the current object
|
|
4108
4283
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4131,6 +4306,9 @@ export function serializeVideoSummaryDto(writer, videoSummaryDto = {}, isSeriali
|
|
|
4131
4306
|
}
|
|
4132
4307
|
writer.writeCollectionOfObjectValues("actors", videoSummaryDto.actors, serializeVideoSummaryActorDto);
|
|
4133
4308
|
writer.writeDateValue("createdAtUtc", videoSummaryDto.createdAtUtc);
|
|
4309
|
+
writer.writeNumberValue("durationFileCount", videoSummaryDto.durationFileCount);
|
|
4310
|
+
writer.writeNumberValue("durationMs", videoSummaryDto.durationMs);
|
|
4311
|
+
writer.writeNumberValue("durationSpreadMs", videoSummaryDto.durationSpreadMs);
|
|
4134
4312
|
writer.writeGuidValue("id", videoSummaryDto.id);
|
|
4135
4313
|
writer.writeDateOnlyValue("releaseDate", videoSummaryDto.releaseDate);
|
|
4136
4314
|
writer.writeGuidValue("siteId", videoSummaryDto.siteId);
|