@prdb/sdk 0.10.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 +200 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +160 -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/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
|
|
@@ -2081,6 +2108,18 @@ export function deserializeIntoUserIdentityResponse(userIdentityResponse = {}) {
|
|
|
2081
2108
|
"userHash": n => { userIdentityResponse.userHash = n.getStringValue(); },
|
|
2082
2109
|
};
|
|
2083
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
|
+
}
|
|
2084
2123
|
/**
|
|
2085
2124
|
* The deserialization information for the current model
|
|
2086
2125
|
* @param VideoDetailActorDto The instance to deserialize into.
|
|
@@ -2121,9 +2160,13 @@ export function deserializeIntoVideoDetailDto(videoDetailDto = {}) {
|
|
|
2121
2160
|
return {
|
|
2122
2161
|
"actors": n => { videoDetailDto.actors = n.getCollectionOfObjectValues(createVideoDetailActorDtoFromDiscriminatorValue); },
|
|
2123
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(); },
|
|
2124
2166
|
"id": n => { videoDetailDto.id = n.getGuidValue(); },
|
|
2125
2167
|
"images": n => { videoDetailDto.images = n.getCollectionOfObjectValues(createVideoDetailImageDtoFromDiscriminatorValue); },
|
|
2126
2168
|
"preNames": n => { videoDetailDto.preNames = n.getCollectionOfObjectValues(createVideoDetailPreNameDtoFromDiscriminatorValue); },
|
|
2169
|
+
"qualityOverview": n => { videoDetailDto.qualityOverview = n.getObjectValue(createVideoQualityOverviewDtoFromDiscriminatorValue); },
|
|
2127
2170
|
"releaseDate": n => { videoDetailDto.releaseDate = n.getDateOnlyValue(); },
|
|
2128
2171
|
"site": n => { videoDetailDto.site = n.getObjectValue(createVideoDetailSiteDtoFromDiscriminatorValue); },
|
|
2129
2172
|
"title": n => { videoDetailDto.title = n.getStringValue(); },
|
|
@@ -2202,10 +2245,17 @@ export function deserializeIntoVideoFilehashChangeDto(videoFilehashChangeDto = {
|
|
|
2202
2245
|
// @ts-ignore
|
|
2203
2246
|
export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChangeFilehashDto = {}) {
|
|
2204
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(); },
|
|
2205
2252
|
"createdAtUtc": n => { videoFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2206
2253
|
"deletedAtUtc": n => { videoFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
|
|
2254
|
+
"durationMs": n => { videoFilehashChangeFilehashDto.durationMs = n.getNumberValue(); },
|
|
2207
2255
|
"filename": n => { videoFilehashChangeFilehashDto.filename = n.getStringValue(); },
|
|
2208
2256
|
"filesize": n => { videoFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
|
|
2257
|
+
"frameRate": n => { videoFilehashChangeFilehashDto.frameRate = n.getStringValue(); },
|
|
2258
|
+
"height": n => { videoFilehashChangeFilehashDto.height = n.getNumberValue(); },
|
|
2209
2259
|
"id": n => { videoFilehashChangeFilehashDto.id = n.getGuidValue(); },
|
|
2210
2260
|
"isDeleted": n => { videoFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
|
|
2211
2261
|
"isVerified": n => { videoFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
|
|
@@ -2213,7 +2263,9 @@ export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChang
|
|
|
2213
2263
|
"pHash": n => { videoFilehashChangeFilehashDto.pHash = n.getStringValue(); },
|
|
2214
2264
|
"submissionCount": n => { videoFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2215
2265
|
"updatedAtUtc": n => { videoFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2266
|
+
"videoCodec": n => { videoFilehashChangeFilehashDto.videoCodec = n.getStringValue(); },
|
|
2216
2267
|
"videoId": n => { videoFilehashChangeFilehashDto.videoId = n.getGuidValue(); },
|
|
2268
|
+
"width": n => { videoFilehashChangeFilehashDto.width = n.getNumberValue(); },
|
|
2217
2269
|
};
|
|
2218
2270
|
}
|
|
2219
2271
|
/**
|
|
@@ -2236,16 +2288,25 @@ export function deserializeIntoVideoFilehashChangesCursorDto(videoFilehashChange
|
|
|
2236
2288
|
// @ts-ignore
|
|
2237
2289
|
export function deserializeIntoVideoFilehashDto(videoFilehashDto = {}) {
|
|
2238
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(); },
|
|
2239
2295
|
"createdAtUtc": n => { videoFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
2296
|
+
"durationMs": n => { videoFilehashDto.durationMs = n.getNumberValue(); },
|
|
2240
2297
|
"filename": n => { videoFilehashDto.filename = n.getStringValue(); },
|
|
2241
2298
|
"filesize": n => { videoFilehashDto.filesize = n.getNumberValue(); },
|
|
2299
|
+
"frameRate": n => { videoFilehashDto.frameRate = n.getStringValue(); },
|
|
2300
|
+
"height": n => { videoFilehashDto.height = n.getNumberValue(); },
|
|
2242
2301
|
"id": n => { videoFilehashDto.id = n.getGuidValue(); },
|
|
2243
2302
|
"isVerified": n => { videoFilehashDto.isVerified = n.getBooleanValue(); },
|
|
2244
2303
|
"osHash": n => { videoFilehashDto.osHash = n.getStringValue(); },
|
|
2245
2304
|
"pHash": n => { videoFilehashDto.pHash = n.getStringValue(); },
|
|
2246
2305
|
"submissionCount": n => { videoFilehashDto.submissionCount = n.getNumberValue(); },
|
|
2247
2306
|
"updatedAtUtc": n => { videoFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
2307
|
+
"videoCodec": n => { videoFilehashDto.videoCodec = n.getStringValue(); },
|
|
2248
2308
|
"videoId": n => { videoFilehashDto.videoId = n.getGuidValue(); },
|
|
2309
|
+
"width": n => { videoFilehashDto.width = n.getNumberValue(); },
|
|
2249
2310
|
};
|
|
2250
2311
|
}
|
|
2251
2312
|
/**
|
|
@@ -2299,6 +2360,31 @@ export function deserializeIntoVideoImageChangesCursorDto(videoImageChangesCurso
|
|
|
2299
2360
|
"updatedAtUtc": n => { videoImageChangesCursorDto.updatedAtUtc = n.getDateValue(); },
|
|
2300
2361
|
};
|
|
2301
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
|
+
}
|
|
2302
2388
|
/**
|
|
2303
2389
|
* The deserialization information for the current model
|
|
2304
2390
|
* @param VideoSummaryActorDto The instance to deserialize into.
|
|
@@ -2321,6 +2407,9 @@ export function deserializeIntoVideoSummaryDto(videoSummaryDto = {}) {
|
|
|
2321
2407
|
return {
|
|
2322
2408
|
"actors": n => { videoSummaryDto.actors = n.getCollectionOfObjectValues(createVideoSummaryActorDtoFromDiscriminatorValue); },
|
|
2323
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(); },
|
|
2324
2413
|
"id": n => { videoSummaryDto.id = n.getGuidValue(); },
|
|
2325
2414
|
"releaseDate": n => { videoSummaryDto.releaseDate = n.getDateOnlyValue(); },
|
|
2326
2415
|
"siteId": n => { videoSummaryDto.siteId = n.getGuidValue(); },
|
|
@@ -3858,6 +3947,21 @@ export function serializeUserIdentityResponse(writer, userIdentityResponse = {},
|
|
|
3858
3947
|
writer.writeStringValue("userHash", userIdentityResponse.userHash);
|
|
3859
3948
|
writer.writeAdditionalData(userIdentityResponse.additionalData);
|
|
3860
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
|
+
}
|
|
3861
3965
|
/**
|
|
3862
3966
|
* Serializes information the current object
|
|
3863
3967
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -3907,9 +4011,13 @@ export function serializeVideoDetailDto(writer, videoDetailDto = {}, isSerializi
|
|
|
3907
4011
|
}
|
|
3908
4012
|
writer.writeCollectionOfObjectValues("actors", videoDetailDto.actors, serializeVideoDetailActorDto);
|
|
3909
4013
|
writer.writeDateValue("createdAtUtc", videoDetailDto.createdAtUtc);
|
|
4014
|
+
writer.writeNumberValue("durationFileCount", videoDetailDto.durationFileCount);
|
|
4015
|
+
writer.writeNumberValue("durationMs", videoDetailDto.durationMs);
|
|
4016
|
+
writer.writeNumberValue("durationSpreadMs", videoDetailDto.durationSpreadMs);
|
|
3910
4017
|
writer.writeGuidValue("id", videoDetailDto.id);
|
|
3911
4018
|
writer.writeCollectionOfObjectValues("images", videoDetailDto.images, serializeVideoDetailImageDto);
|
|
3912
4019
|
writer.writeCollectionOfObjectValues("preNames", videoDetailDto.preNames, serializeVideoDetailPreNameDto);
|
|
4020
|
+
writer.writeObjectValue("qualityOverview", videoDetailDto.qualityOverview, serializeVideoQualityOverviewDto);
|
|
3913
4021
|
writer.writeDateOnlyValue("releaseDate", videoDetailDto.releaseDate);
|
|
3914
4022
|
writer.writeObjectValue("site", videoDetailDto.site, serializeVideoDetailSiteDto);
|
|
3915
4023
|
writer.writeStringValue("title", videoDetailDto.title);
|
|
@@ -4006,10 +4114,17 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
4006
4114
|
if (!videoFilehashChangeFilehashDto || isSerializingDerivedType) {
|
|
4007
4115
|
return;
|
|
4008
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);
|
|
4009
4121
|
writer.writeDateValue("createdAtUtc", videoFilehashChangeFilehashDto.createdAtUtc);
|
|
4010
4122
|
writer.writeDateValue("deletedAtUtc", videoFilehashChangeFilehashDto.deletedAtUtc);
|
|
4123
|
+
writer.writeNumberValue("durationMs", videoFilehashChangeFilehashDto.durationMs);
|
|
4011
4124
|
writer.writeStringValue("filename", videoFilehashChangeFilehashDto.filename);
|
|
4012
4125
|
writer.writeNumberValue("filesize", videoFilehashChangeFilehashDto.filesize);
|
|
4126
|
+
writer.writeStringValue("frameRate", videoFilehashChangeFilehashDto.frameRate);
|
|
4127
|
+
writer.writeNumberValue("height", videoFilehashChangeFilehashDto.height);
|
|
4013
4128
|
writer.writeGuidValue("id", videoFilehashChangeFilehashDto.id);
|
|
4014
4129
|
writer.writeBooleanValue("isDeleted", videoFilehashChangeFilehashDto.isDeleted);
|
|
4015
4130
|
writer.writeBooleanValue("isVerified", videoFilehashChangeFilehashDto.isVerified);
|
|
@@ -4017,7 +4132,9 @@ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashCha
|
|
|
4017
4132
|
writer.writeStringValue("pHash", videoFilehashChangeFilehashDto.pHash);
|
|
4018
4133
|
writer.writeNumberValue("submissionCount", videoFilehashChangeFilehashDto.submissionCount);
|
|
4019
4134
|
writer.writeDateValue("updatedAtUtc", videoFilehashChangeFilehashDto.updatedAtUtc);
|
|
4135
|
+
writer.writeStringValue("videoCodec", videoFilehashChangeFilehashDto.videoCodec);
|
|
4020
4136
|
writer.writeGuidValue("videoId", videoFilehashChangeFilehashDto.videoId);
|
|
4137
|
+
writer.writeNumberValue("width", videoFilehashChangeFilehashDto.width);
|
|
4021
4138
|
writer.writeAdditionalData(videoFilehashChangeFilehashDto.additionalData);
|
|
4022
4139
|
}
|
|
4023
4140
|
/**
|
|
@@ -4046,16 +4163,25 @@ export function serializeVideoFilehashDto(writer, videoFilehashDto = {}, isSeria
|
|
|
4046
4163
|
if (!videoFilehashDto || isSerializingDerivedType) {
|
|
4047
4164
|
return;
|
|
4048
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);
|
|
4049
4170
|
writer.writeDateValue("createdAtUtc", videoFilehashDto.createdAtUtc);
|
|
4171
|
+
writer.writeNumberValue("durationMs", videoFilehashDto.durationMs);
|
|
4050
4172
|
writer.writeStringValue("filename", videoFilehashDto.filename);
|
|
4051
4173
|
writer.writeNumberValue("filesize", videoFilehashDto.filesize);
|
|
4174
|
+
writer.writeStringValue("frameRate", videoFilehashDto.frameRate);
|
|
4175
|
+
writer.writeNumberValue("height", videoFilehashDto.height);
|
|
4052
4176
|
writer.writeGuidValue("id", videoFilehashDto.id);
|
|
4053
4177
|
writer.writeBooleanValue("isVerified", videoFilehashDto.isVerified);
|
|
4054
4178
|
writer.writeStringValue("osHash", videoFilehashDto.osHash);
|
|
4055
4179
|
writer.writeStringValue("pHash", videoFilehashDto.pHash);
|
|
4056
4180
|
writer.writeNumberValue("submissionCount", videoFilehashDto.submissionCount);
|
|
4057
4181
|
writer.writeDateValue("updatedAtUtc", videoFilehashDto.updatedAtUtc);
|
|
4182
|
+
writer.writeStringValue("videoCodec", videoFilehashDto.videoCodec);
|
|
4058
4183
|
writer.writeGuidValue("videoId", videoFilehashDto.videoId);
|
|
4184
|
+
writer.writeNumberValue("width", videoFilehashDto.width);
|
|
4059
4185
|
writer.writeAdditionalData(videoFilehashDto.additionalData);
|
|
4060
4186
|
}
|
|
4061
4187
|
/**
|
|
@@ -4121,6 +4247,37 @@ export function serializeVideoImageChangesCursorDto(writer, videoImageChangesCur
|
|
|
4121
4247
|
writer.writeDateValue("updatedAtUtc", videoImageChangesCursorDto.updatedAtUtc);
|
|
4122
4248
|
writer.writeAdditionalData(videoImageChangesCursorDto.additionalData);
|
|
4123
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
|
+
}
|
|
4124
4281
|
/**
|
|
4125
4282
|
* Serializes information the current object
|
|
4126
4283
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4149,6 +4306,9 @@ export function serializeVideoSummaryDto(writer, videoSummaryDto = {}, isSeriali
|
|
|
4149
4306
|
}
|
|
4150
4307
|
writer.writeCollectionOfObjectValues("actors", videoSummaryDto.actors, serializeVideoSummaryActorDto);
|
|
4151
4308
|
writer.writeDateValue("createdAtUtc", videoSummaryDto.createdAtUtc);
|
|
4309
|
+
writer.writeNumberValue("durationFileCount", videoSummaryDto.durationFileCount);
|
|
4310
|
+
writer.writeNumberValue("durationMs", videoSummaryDto.durationMs);
|
|
4311
|
+
writer.writeNumberValue("durationSpreadMs", videoSummaryDto.durationSpreadMs);
|
|
4152
4312
|
writer.writeGuidValue("id", videoSummaryDto.id);
|
|
4153
4313
|
writer.writeDateOnlyValue("releaseDate", videoSummaryDto.releaseDate);
|
|
4154
4314
|
writer.writeGuidValue("siteId", videoSummaryDto.siteId);
|