@prdb/sdk 0.7.0 → 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.
@@ -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.
@@ -2444,6 +2492,31 @@ export interface GetVideoFilehashesByVideoIdsResponse extends AdditionalDataHold
2444
2492
  */
2445
2493
  notFoundVideoIds?: Guid[] | null;
2446
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
+ }
2447
2520
  export interface GetVideosByIdsRequest extends AdditionalDataHolder, Parsable {
2448
2521
  /**
2449
2522
  * The ids property
@@ -3588,6 +3661,13 @@ export declare function serializeGetVideoFilehashesByVideoIdsRequest(writer: Ser
3588
3661
  * @param writer Serialization writer to use to serialize this model
3589
3662
  */
3590
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;
3591
3671
  /**
3592
3672
  * Serializes information the current object
3593
3673
  * @param GetVideosByIdsRequest The instance to serialize from.
@@ -4022,6 +4102,27 @@ export declare function serializeVideoFilehashDto(writer: SerializationWriter, v
4022
4102
  * @param writer Serialization writer to use to serialize this model
4023
4103
  */
4024
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;
4025
4126
  /**
4026
4127
  * Serializes information the current object
4027
4128
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -4612,6 +4713,57 @@ export interface VideoFilehashesByVideoIdDto extends AdditionalDataHolder, Parsa
4612
4713
  */
4613
4714
  videoId?: Guid | null;
4614
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
+ }
4615
4767
  /**
4616
4768
  * Minimal actor summary included in a video list item.
4617
4769
  */