@prdb/sdk 0.6.2 → 0.8.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.
@@ -236,7 +236,7 @@ export interface ActorChangeImageDto extends AdditionalDataHolder, Parsable {
236
236
  */
237
237
  imageTypeLabel?: string | null;
238
238
  /**
239
- * The url property
239
+ * Absolute URL for the image, if available: a complete URL including scheme and host, ready torequest as-is.
240
240
  */
241
241
  url?: string | null;
242
242
  }
@@ -422,7 +422,7 @@ export interface ActorImageDetailDto extends AdditionalDataHolder, Parsable {
422
422
  */
423
423
  imageTypeLabel?: string | null;
424
424
  /**
425
- * Full CDN URL for the image, if available.
425
+ * Absolute URL for the image, if available: a complete URL including scheme and host, ready torequest as-is.
426
426
  */
427
427
  url?: string | null;
428
428
  }
@@ -481,7 +481,7 @@ export interface ActorSummaryDto extends AdditionalDataHolder, Parsable {
481
481
  */
482
482
  nationalityLabel?: string | null;
483
483
  /**
484
- * Full CDN URL of the actor's profile image, if available.
484
+ * Absolute URL of the actor's profile image, if available: a complete URL including scheme andhost, ready to request as-is.
485
485
  */
486
486
  profileImageUrl?: string | null;
487
487
  }
@@ -811,6 +811,12 @@ export declare function createGetVideoFilehashesByVideoIdsRequestFromDiscriminat
811
811
  * @returns {GetVideoFilehashesByVideoIdsResponse}
812
812
  */
813
813
  export declare function createGetVideoFilehashesByVideoIdsResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
814
+ /**
815
+ * Creates a new instance of the appropriate class based on discriminator value
816
+ * @param parseNode The parse node to use to read the discriminator value and create the object
817
+ * @returns {GetVideoImageChangesResponse}
818
+ */
819
+ export declare function createGetVideoImageChangesResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
814
820
  /**
815
821
  * Creates a new instance of the appropriate class based on discriminator value
816
822
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1183,6 +1189,24 @@ export declare function createVideoFilehashDtoFromDiscriminatorValue(parseNode:
1183
1189
  * @returns {VideoFilehashesByVideoIdDto}
1184
1190
  */
1185
1191
  export declare function createVideoFilehashesByVideoIdDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1192
+ /**
1193
+ * Creates a new instance of the appropriate class based on discriminator value
1194
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1195
+ * @returns {VideoImageChangeDto}
1196
+ */
1197
+ export declare function createVideoImageChangeDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1198
+ /**
1199
+ * Creates a new instance of the appropriate class based on discriminator value
1200
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1201
+ * @returns {VideoImageChangeImageDto}
1202
+ */
1203
+ export declare function createVideoImageChangeImageDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1204
+ /**
1205
+ * Creates a new instance of the appropriate class based on discriminator value
1206
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1207
+ * @returns {VideoImageChangesCursorDto}
1208
+ */
1209
+ export declare function createVideoImageChangesCursorDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1186
1210
  /**
1187
1211
  * Creates a new instance of the appropriate class based on discriminator value
1188
1212
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1489,6 +1513,12 @@ export declare function deserializeIntoGetVideoFilehashesByVideoIdsRequest(getVi
1489
1513
  * @returns {Record<string, (node: ParseNode) => void>}
1490
1514
  */
1491
1515
  export declare function deserializeIntoGetVideoFilehashesByVideoIdsResponse(getVideoFilehashesByVideoIdsResponse?: Partial<GetVideoFilehashesByVideoIdsResponse> | undefined): Record<string, (node: ParseNode) => void>;
1516
+ /**
1517
+ * The deserialization information for the current model
1518
+ * @param GetVideoImageChangesResponse The instance to deserialize into.
1519
+ * @returns {Record<string, (node: ParseNode) => void>}
1520
+ */
1521
+ export declare function deserializeIntoGetVideoImageChangesResponse(getVideoImageChangesResponse?: Partial<GetVideoImageChangesResponse> | undefined): Record<string, (node: ParseNode) => void>;
1492
1522
  /**
1493
1523
  * The deserialization information for the current model
1494
1524
  * @param GetVideosByIdsRequest The instance to deserialize into.
@@ -1861,6 +1891,24 @@ export declare function deserializeIntoVideoFilehashDto(videoFilehashDto?: Parti
1861
1891
  * @returns {Record<string, (node: ParseNode) => void>}
1862
1892
  */
1863
1893
  export declare function deserializeIntoVideoFilehashesByVideoIdDto(videoFilehashesByVideoIdDto?: Partial<VideoFilehashesByVideoIdDto> | undefined): Record<string, (node: ParseNode) => void>;
1894
+ /**
1895
+ * The deserialization information for the current model
1896
+ * @param VideoImageChangeDto The instance to deserialize into.
1897
+ * @returns {Record<string, (node: ParseNode) => void>}
1898
+ */
1899
+ export declare function deserializeIntoVideoImageChangeDto(videoImageChangeDto?: Partial<VideoImageChangeDto> | undefined): Record<string, (node: ParseNode) => void>;
1900
+ /**
1901
+ * The deserialization information for the current model
1902
+ * @param VideoImageChangeImageDto The instance to deserialize into.
1903
+ * @returns {Record<string, (node: ParseNode) => void>}
1904
+ */
1905
+ export declare function deserializeIntoVideoImageChangeImageDto(videoImageChangeImageDto?: Partial<VideoImageChangeImageDto> | undefined): Record<string, (node: ParseNode) => void>;
1906
+ /**
1907
+ * The deserialization information for the current model
1908
+ * @param VideoImageChangesCursorDto The instance to deserialize into.
1909
+ * @returns {Record<string, (node: ParseNode) => void>}
1910
+ */
1911
+ export declare function deserializeIntoVideoImageChangesCursorDto(videoImageChangesCursorDto?: Partial<VideoImageChangesCursorDto> | undefined): Record<string, (node: ParseNode) => void>;
1864
1912
  /**
1865
1913
  * The deserialization information for the current model
1866
1914
  * @param VideoSummaryActorDto The instance to deserialize into.
@@ -2047,9 +2095,14 @@ export interface FavoriteActorChangeFavoriteActorDto extends AdditionalDataHolde
2047
2095
  */
2048
2096
  nationality?: string | null;
2049
2097
  /**
2050
- * The profileImageCdnPath property
2098
+ * Deprecated alias for `profileImageUrl`, carrying the identical value. The nameclaimed a path fragment that was never sent; read `profileImageUrl` instead. Removed inthe next major version.
2099
+ * @deprecated
2051
2100
  */
2052
2101
  profileImageCdnPath?: string | null;
2102
+ /**
2103
+ * Absolute URL of the actor's face/profile image, if available: a complete URL includingscheme and host, ready to request as-is.
2104
+ */
2105
+ profileImageUrl?: string | null;
2053
2106
  /**
2054
2107
  * The updatedAtUtc property
2055
2108
  */
@@ -2097,9 +2150,14 @@ export interface FavoriteActorSummaryDto extends AdditionalDataHolder, Parsable
2097
2150
  */
2098
2151
  nationality?: string | null;
2099
2152
  /**
2100
- * CDN URL of the actor's face/profile image, if available.
2153
+ * Deprecated alias for `profileImageUrl`, carrying the identical value. The nameclaimed a path fragment that was never sent; read `profileImageUrl` instead. Removed inthe next major version.
2154
+ * @deprecated
2101
2155
  */
2102
2156
  profileImageCdnPath?: string | null;
2157
+ /**
2158
+ * Absolute URL of the actor's face/profile image, if available: a complete URL includingscheme and host, ready to request as-is.
2159
+ */
2160
+ profileImageUrl?: string | null;
2103
2161
  }
2104
2162
  /**
2105
2163
  * A single changed favorite site row in the incremental feed.
@@ -2434,6 +2492,31 @@ export interface GetVideoFilehashesByVideoIdsResponse extends AdditionalDataHold
2434
2492
  */
2435
2493
  notFoundVideoIds?: Guid[] | null;
2436
2494
  }
2495
+ /**
2496
+ * Paged delta feed of video image changes ordered by updated timestamp and ID.
2497
+ */
2498
+ export interface GetVideoImageChangesResponse extends AdditionalDataHolder, Parsable {
2499
+ /**
2500
+ * Whether additional rows exist after the current page.
2501
+ */
2502
+ hasMore?: boolean | null;
2503
+ /**
2504
+ * The items property
2505
+ */
2506
+ items?: VideoImageChangeDto[] | null;
2507
+ /**
2508
+ * Seek cursor for continuing a video image change feed.
2509
+ */
2510
+ nextCursor?: VideoImageChangesCursorDto | null;
2511
+ /**
2512
+ * The resolved page size for this response.
2513
+ */
2514
+ pageSize?: number | null;
2515
+ /**
2516
+ * The server's clock when this page was produced, read before the rows were queried.Safe to persist as the next `since` when `items` is empty: an empty pagecarries no row timestamp to continue from, and a client's own clock or the HTTP`Date` header are not sound substitutes for a value the server later reads backas a lower bound.
2517
+ */
2518
+ serverTimeUtc?: Date | null;
2519
+ }
2437
2520
  export interface GetVideosByIdsRequest extends AdditionalDataHolder, Parsable {
2438
2521
  /**
2439
2522
  * The ids property
@@ -3578,6 +3661,13 @@ export declare function serializeGetVideoFilehashesByVideoIdsRequest(writer: Ser
3578
3661
  * @param writer Serialization writer to use to serialize this model
3579
3662
  */
3580
3663
  export declare function serializeGetVideoFilehashesByVideoIdsResponse(writer: SerializationWriter, getVideoFilehashesByVideoIdsResponse?: Partial<GetVideoFilehashesByVideoIdsResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
3664
+ /**
3665
+ * Serializes information the current object
3666
+ * @param GetVideoImageChangesResponse The instance to serialize from.
3667
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3668
+ * @param writer Serialization writer to use to serialize this model
3669
+ */
3670
+ export declare function serializeGetVideoImageChangesResponse(writer: SerializationWriter, getVideoImageChangesResponse?: Partial<GetVideoImageChangesResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
3581
3671
  /**
3582
3672
  * Serializes information the current object
3583
3673
  * @param GetVideosByIdsRequest The instance to serialize from.
@@ -4012,6 +4102,27 @@ export declare function serializeVideoFilehashDto(writer: SerializationWriter, v
4012
4102
  * @param writer Serialization writer to use to serialize this model
4013
4103
  */
4014
4104
  export declare function serializeVideoFilehashesByVideoIdDto(writer: SerializationWriter, videoFilehashesByVideoIdDto?: Partial<VideoFilehashesByVideoIdDto> | undefined | null, isSerializingDerivedType?: boolean): void;
4105
+ /**
4106
+ * Serializes information the current object
4107
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4108
+ * @param VideoImageChangeDto The instance to serialize from.
4109
+ * @param writer Serialization writer to use to serialize this model
4110
+ */
4111
+ export declare function serializeVideoImageChangeDto(writer: SerializationWriter, videoImageChangeDto?: Partial<VideoImageChangeDto> | undefined | null, isSerializingDerivedType?: boolean): void;
4112
+ /**
4113
+ * Serializes information the current object
4114
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4115
+ * @param VideoImageChangeImageDto The instance to serialize from.
4116
+ * @param writer Serialization writer to use to serialize this model
4117
+ */
4118
+ export declare function serializeVideoImageChangeImageDto(writer: SerializationWriter, videoImageChangeImageDto?: Partial<VideoImageChangeImageDto> | undefined | null, isSerializingDerivedType?: boolean): void;
4119
+ /**
4120
+ * Serializes information the current object
4121
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4122
+ * @param VideoImageChangesCursorDto The instance to serialize from.
4123
+ * @param writer Serialization writer to use to serialize this model
4124
+ */
4125
+ export declare function serializeVideoImageChangesCursorDto(writer: SerializationWriter, videoImageChangesCursorDto?: Partial<VideoImageChangesCursorDto> | undefined | null, isSerializingDerivedType?: boolean): void;
4015
4126
  /**
4016
4127
  * Serializes information the current object
4017
4128
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -4359,7 +4470,8 @@ export interface VideoDetailActorDto extends AdditionalDataHolder, Parsable {
4359
4470
  }
4360
4471
  export interface VideoDetailActorImageDto extends AdditionalDataHolder, Parsable {
4361
4472
  /**
4362
- * Absolute CDN URL for the image, if available. Despite the field name this is a complete URLincluding scheme and host it needs no base to be prepended and is ready to request as-is.The same image is exposed as `url` by the actor endpoints.
4473
+ * Deprecated alias for `url`, carrying the identical value. The name claimed a pathfragment that was never sent; read `url` instead. Removed in the next major version.
4474
+ * @deprecated
4363
4475
  */
4364
4476
  cdnPath?: string | null;
4365
4477
  /**
@@ -4370,6 +4482,10 @@ export interface VideoDetailActorImageDto extends AdditionalDataHolder, Parsable
4370
4482
  * Known values: Thumbnail (1), Poster (2), Face (3).
4371
4483
  */
4372
4484
  imageType?: number | null;
4485
+ /**
4486
+ * Absolute URL for the image, if available: a complete URL including scheme and host, ready torequest as-is. The actor endpoints expose the same image under the same name.
4487
+ */
4488
+ url?: string | null;
4373
4489
  }
4374
4490
  export interface VideoDetailDto extends AdditionalDataHolder, Parsable {
4375
4491
  /**
@@ -4411,13 +4527,18 @@ export interface VideoDetailDto extends AdditionalDataHolder, Parsable {
4411
4527
  }
4412
4528
  export interface VideoDetailImageDto extends AdditionalDataHolder, Parsable {
4413
4529
  /**
4414
- * Absolute CDN URL for the image, if available. Despite the field name this is a complete URLincluding scheme and host it needs no base to be prepended and is ready to request as-is.
4530
+ * Deprecated alias for `url`, carrying the identical value. The name claimed a pathfragment that was never sent; read `url` instead. Removed in the next major version.
4531
+ * @deprecated
4415
4532
  */
4416
4533
  cdnPath?: string | null;
4417
4534
  /**
4418
4535
  * The id property
4419
4536
  */
4420
4537
  id?: Guid | null;
4538
+ /**
4539
+ * Absolute URL for the image, if available: a complete URL including scheme and host, ready torequest as-is. This is the same value the deprecated `cdnPath` carries.
4540
+ */
4541
+ url?: string | null;
4421
4542
  }
4422
4543
  export interface VideoDetailNetworkDto extends AdditionalDataHolder, Parsable {
4423
4544
  /**
@@ -4592,6 +4713,57 @@ export interface VideoFilehashesByVideoIdDto extends AdditionalDataHolder, Parsa
4592
4713
  */
4593
4714
  videoId?: Guid | null;
4594
4715
  }
4716
+ /**
4717
+ * A single changed video image row in the incremental feed.
4718
+ */
4719
+ export interface VideoImageChangeDto extends AdditionalDataHolder, Parsable {
4720
+ /**
4721
+ * One of `created` or `updated`. Never `deleted`: video image rows carry nosoft-delete state, so a removed image leaves the feed silently instead of arriving as atombstone.
4722
+ */
4723
+ eventType?: string | null;
4724
+ /**
4725
+ * Current persisted state of a changed video image row.
4726
+ */
4727
+ image?: VideoImageChangeImageDto | null;
4728
+ }
4729
+ /**
4730
+ * Current persisted state of a changed video image row.
4731
+ */
4732
+ export interface VideoImageChangeImageDto extends AdditionalDataHolder, Parsable {
4733
+ /**
4734
+ * The createdAtUtc property
4735
+ */
4736
+ createdAtUtc?: Date | null;
4737
+ /**
4738
+ * The id property
4739
+ */
4740
+ id?: Guid | null;
4741
+ /**
4742
+ * The updatedAtUtc property
4743
+ */
4744
+ updatedAtUtc?: Date | null;
4745
+ /**
4746
+ * Absolute URL for the image, if available: a complete URL including scheme and host, ready torequest as-is.
4747
+ */
4748
+ url?: string | null;
4749
+ /**
4750
+ * The video this image belongs to.
4751
+ */
4752
+ videoId?: Guid | null;
4753
+ }
4754
+ /**
4755
+ * Seek cursor for continuing a video image change feed.
4756
+ */
4757
+ export interface VideoImageChangesCursorDto extends AdditionalDataHolder, Parsable {
4758
+ /**
4759
+ * The id property
4760
+ */
4761
+ id?: Guid | null;
4762
+ /**
4763
+ * The updatedAtUtc property
4764
+ */
4765
+ updatedAtUtc?: Date | null;
4766
+ }
4595
4767
  /**
4596
4768
  * Minimal actor summary included in a video list item.
4597
4769
  */
@@ -4732,7 +4904,7 @@ export interface VideoUserImageDto extends AdditionalDataHolder, Parsable {
4732
4904
  */
4733
4905
  updatedAtUtc?: Date | null;
4734
4906
  /**
4735
- * Resolved public CDN URL for the stored image object.
4907
+ * Absolute URL for the stored image object: a complete URL including scheme and host, ready torequest as-is.
4736
4908
  */
4737
4909
  url?: string | null;
4738
4910
  /**
@@ -4744,7 +4916,7 @@ export interface VideoUserImageDto extends AdditionalDataHolder, Parsable {
4744
4916
  */
4745
4917
  videoId?: Guid | null;
4746
4918
  /**
4747
- * Resolved public CDN URL for the paired WebVTT metadata object when this image is a sprite sheet.
4919
+ * Absolute URL for the paired WebVTT metadata object when this image is a sprite sheet: acomplete URL including scheme and host, ready to request as-is.
4748
4920
  */
4749
4921
  vttUrl?: string | null;
4750
4922
  /**
@@ -4807,9 +4979,14 @@ export interface WantedVideoChangeWantedVideoDto extends AdditionalDataHolder, P
4807
4979
  */
4808
4980
  fulfillmentExternalId?: string | null;
4809
4981
  /**
4810
- * The imageCdnPath property
4982
+ * Deprecated alias for `imageUrl`, carrying the identical value. The name claimed apath fragment that was never sent; read `imageUrl` instead. Removed in the next majorversion.
4983
+ * @deprecated
4811
4984
  */
4812
4985
  imageCdnPath?: string | null;
4986
+ /**
4987
+ * Absolute URL for the video's primary image, if available: a complete URL including schemeand host, ready to request as-is.
4988
+ */
4989
+ imageUrl?: string | null;
4813
4990
  /**
4814
4991
  * The isDeleted property
4815
4992
  */
@@ -4868,9 +5045,14 @@ export interface WantedVideoSummaryDto extends AdditionalDataHolder, Parsable {
4868
5045
  */
4869
5046
  fulfillmentExternalId?: string | null;
4870
5047
  /**
4871
- * Absolute CDN URL for the video's primary image, if available.
5048
+ * Deprecated alias for `imageUrl`, carrying the identical value. The name claimed apath fragment that was never sent; read `imageUrl` instead. Removed in the next majorversion.
5049
+ * @deprecated
4872
5050
  */
4873
5051
  imageCdnPath?: string | null;
5052
+ /**
5053
+ * Absolute URL for the video's primary image, if available: a complete URL including schemeand host, ready to request as-is.
5054
+ */
5055
+ imageUrl?: string | null;
4874
5056
  /**
4875
5057
  * Whether this wanted video has been fulfilled.
4876
5058
  */