@prdb/sdk 0.7.0 → 0.9.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/README.md +10 -14
- package/dist/generated/models/index.d.ts +196 -735
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +158 -660
- package/dist/generated/models/index.js.map +1 -1
- package/dist/generated/prdbClient.d.ts +0 -10
- package/dist/generated/prdbClient.d.ts.map +1 -1
- package/dist/generated/prdbClient.js +0 -11
- package/dist/generated/prdbClient.js.map +1 -1
- package/dist/generated/videos/filehashSubmissions/index.d.ts +2 -2
- package/dist/generated/videos/images/changes/index.d.ts +58 -0
- package/dist/generated/videos/images/changes/index.d.ts.map +1 -0
- package/dist/generated/{indexerFilehashes → videos/images}/changes/index.js +5 -13
- package/dist/generated/videos/images/changes/index.js.map +1 -0
- package/dist/generated/videos/images/index.d.ts +20 -0
- package/dist/generated/videos/images/index.d.ts.map +1 -0
- package/dist/generated/videos/images/index.js +20 -0
- package/dist/generated/videos/images/index.js.map +1 -0
- package/dist/generated/videos/index.d.ts +5 -0
- package/dist/generated/videos/index.d.ts.map +1 -1
- package/dist/generated/videos/index.js +5 -0
- package/dist/generated/videos/index.js.map +1 -1
- package/dist/index.d.ts +6 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/generated/downloadedFromIndexers/index.d.ts +0 -48
- package/dist/generated/downloadedFromIndexers/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/index.js +0 -47
- package/dist/generated/downloadedFromIndexers/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +0 -48
- package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/index.js +0 -46
- package/dist/generated/downloadedFromIndexers/item/filenames/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +0 -53
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js +0 -47
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/index.d.ts +0 -62
- package/dist/generated/downloadedFromIndexers/item/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/index.js +0 -58
- package/dist/generated/downloadedFromIndexers/item/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/changes/index.d.ts +0 -67
- package/dist/generated/indexerFilehashes/changes/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/changes/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/index.d.ts +0 -30
- package/dist/generated/indexerFilehashes/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/index.js +0 -30
- package/dist/generated/indexerFilehashes/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/latest/index.d.ts +0 -109
- package/dist/generated/indexerFilehashes/latest/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/latest/index.js +0 -71
- package/dist/generated/indexerFilehashes/latest/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/lookup/index.d.ts +0 -35
- package/dist/generated/indexerFilehashes/lookup/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/lookup/index.js +0 -33
- package/dist/generated/indexerFilehashes/lookup/index.js.map +0 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { type ActorsRequestBuilder } from './actors/index.js';
|
|
2
|
-
import { type DownloadedFromIndexersRequestBuilder } from './downloadedFromIndexers/index.js';
|
|
3
2
|
import { type FavoriteActorsRequestBuilder } from './favoriteActors/index.js';
|
|
4
3
|
import { type FavoriteSitesRequestBuilder } from './favoriteSites/index.js';
|
|
5
4
|
import { type HealthRequestBuilder } from './health/index.js';
|
|
6
|
-
import { type IndexerFilehashesRequestBuilder } from './indexerFilehashes/index.js';
|
|
7
5
|
import { type PredbRequestBuilder } from './predb/index.js';
|
|
8
6
|
import { type RateLimitRequestBuilder } from './rateLimit/index.js';
|
|
9
7
|
import { type SitesRequestBuilder } from './sites/index.js';
|
|
@@ -25,10 +23,6 @@ export interface PrdbClient extends BaseRequestBuilder<PrdbClient> {
|
|
|
25
23
|
* The actors property
|
|
26
24
|
*/
|
|
27
25
|
get actors(): ActorsRequestBuilder;
|
|
28
|
-
/**
|
|
29
|
-
* The downloadedFromIndexers property
|
|
30
|
-
*/
|
|
31
|
-
get downloadedFromIndexers(): DownloadedFromIndexersRequestBuilder;
|
|
32
26
|
/**
|
|
33
27
|
* The favoriteActors property
|
|
34
28
|
*/
|
|
@@ -41,10 +35,6 @@ export interface PrdbClient extends BaseRequestBuilder<PrdbClient> {
|
|
|
41
35
|
* The health property
|
|
42
36
|
*/
|
|
43
37
|
get health(): HealthRequestBuilder;
|
|
44
|
-
/**
|
|
45
|
-
* The indexerFilehashes property
|
|
46
|
-
*/
|
|
47
|
-
get indexerFilehashes(): IndexerFilehashesRequestBuilder;
|
|
48
38
|
/**
|
|
49
39
|
* The predb property
|
|
50
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prdbClient.d.ts","sourceRoot":"","sources":["../../src/generated/prdbClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE5I,OAAO,
|
|
1
|
+
{"version":3,"file":"prdbClient.d.ts","sourceRoot":"","sources":["../../src/generated/prdbClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE5I,OAAO,EAAgG,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5K,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,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,CAAC;CAClD;AACD;;GAEG;AACH,eAAO,MAAM,qBAAqB,eAAe,CAAC;AAClD;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAyClI,CAAC"}
|
|
@@ -4,16 +4,12 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { ActorsRequestBuilderNavigationMetadata, ActorsRequestBuilderRequestsMetadata } from './actors/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
import { DownloadedFromIndexersRequestBuilderNavigationMetadata, DownloadedFromIndexersRequestBuilderRequestsMetadata } from './downloadedFromIndexers/index.js';
|
|
8
|
-
// @ts-ignore
|
|
9
7
|
import { FavoriteActorsRequestBuilderNavigationMetadata, FavoriteActorsRequestBuilderRequestsMetadata } from './favoriteActors/index.js';
|
|
10
8
|
// @ts-ignore
|
|
11
9
|
import { FavoriteSitesRequestBuilderNavigationMetadata, FavoriteSitesRequestBuilderRequestsMetadata } from './favoriteSites/index.js';
|
|
12
10
|
// @ts-ignore
|
|
13
11
|
import { HealthRequestBuilderRequestsMetadata } from './health/index.js';
|
|
14
12
|
// @ts-ignore
|
|
15
|
-
import { IndexerFilehashesRequestBuilderNavigationMetadata } from './indexerFilehashes/index.js';
|
|
16
|
-
// @ts-ignore
|
|
17
13
|
import { PredbRequestBuilderNavigationMetadata, PredbRequestBuilderRequestsMetadata } from './predb/index.js';
|
|
18
14
|
// @ts-ignore
|
|
19
15
|
import { RateLimitRequestBuilderRequestsMetadata } from './rateLimit/index.js';
|
|
@@ -80,10 +76,6 @@ export const PrdbClientNavigationMetadata = {
|
|
|
80
76
|
requestsMetadata: ActorsRequestBuilderRequestsMetadata,
|
|
81
77
|
navigationMetadata: ActorsRequestBuilderNavigationMetadata,
|
|
82
78
|
},
|
|
83
|
-
downloadedFromIndexers: {
|
|
84
|
-
requestsMetadata: DownloadedFromIndexersRequestBuilderRequestsMetadata,
|
|
85
|
-
navigationMetadata: DownloadedFromIndexersRequestBuilderNavigationMetadata,
|
|
86
|
-
},
|
|
87
79
|
favoriteActors: {
|
|
88
80
|
requestsMetadata: FavoriteActorsRequestBuilderRequestsMetadata,
|
|
89
81
|
navigationMetadata: FavoriteActorsRequestBuilderNavigationMetadata,
|
|
@@ -95,9 +87,6 @@ export const PrdbClientNavigationMetadata = {
|
|
|
95
87
|
health: {
|
|
96
88
|
requestsMetadata: HealthRequestBuilderRequestsMetadata,
|
|
97
89
|
},
|
|
98
|
-
indexerFilehashes: {
|
|
99
|
-
navigationMetadata: IndexerFilehashesRequestBuilderNavigationMetadata,
|
|
100
|
-
},
|
|
101
90
|
predb: {
|
|
102
91
|
requestsMetadata: PredbRequestBuilderRequestsMetadata,
|
|
103
92
|
navigationMetadata: PredbRequestBuilderNavigationMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prdbClient.js","sourceRoot":"","sources":["../../src/generated/prdbClient.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAC5I,aAAa;AACb,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"prdbClient.js","sourceRoot":"","sources":["../../src/generated/prdbClient.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAC5I,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5K,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACxK,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAA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EAAE,6CAA6C;KACpE;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;QACrD,kBAAkB,EAAE,qCAAqC;KAC5D;IACD,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;KAC/D;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;QACtD,kBAAkB,EAAE,sCAAsC;KAC7D;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;KACtE;IACD,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;QAC5D,kBAAkB,EAAE,4CAA4C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface FilehashSubmissionsRequestBuilder extends BaseRequestBuilder<FilehashSubmissionsRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user.
|
|
8
|
+
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. This is the contribution path for both kinds of assignment: one a person confirmed in a client's UI (userConfirmed) and one the client made on its own (clientDetected). Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. The filename and the releaseName are optional and may be withheld; the endpoint works without either. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table and appear in no read endpoint. They do reach the aggregated hash set: the scraper's aggregation job counts every non-conflicted submission, weighing userConfirmed and clientDetected alike, and promotes an assignment once enough distinct users agree on it. A conflicted submission never counts towards one. The two sources carry different client-side obligations, which the API cannot enforce: a userConfirmed submission must be strictly opt-in and off by default, because a person is vouching for it; a clientDetected submission may be on by default but has to be switchable off. Requires API key authentication.
|
|
9
9
|
* @param body Request body for submitting confirmed hash-to-video assignments.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SubmitVideoFilehashesResponse>}
|
|
@@ -17,7 +17,7 @@ export interface FilehashSubmissionsRequestBuilder extends BaseRequestBuilder<Fi
|
|
|
17
17
|
*/
|
|
18
18
|
post(body: SubmitVideoFilehashesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubmitVideoFilehashesResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user.
|
|
20
|
+
* Submits up to 200 assignments of a file hash to a video, on behalf of the authenticated user. This is the contribution path for both kinds of assignment: one a person confirmed in a client's UI (userConfirmed) and one the client made on its own (clientDetected). Each entry needs a videoId and an osHash; the osHash is the only aggregation key, so an entry carrying only a pHash cannot be used. A pHash must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. The filename and the releaseName are optional and may be withheld; the endpoint works without either. Every entry gets its own outcome and the status stays 200: an unknown videoId is reported as videoNotFound, and an assignment that contradicts an existing one is stored as conflicted rather than overwriting it. Submissions are recorded in their own table and appear in no read endpoint. They do reach the aggregated hash set: the scraper's aggregation job counts every non-conflicted submission, weighing userConfirmed and clientDetected alike, and promotes an assignment once enough distinct users agree on it. A conflicted submission never counts towards one. The two sources carry different client-side obligations, which the API cannot enforce: a userConfirmed submission must be strictly opt-in and off by default, because a person is vouching for it; a clientDetected submission may be on by default but has to be switchable off. Requires API key authentication.
|
|
21
21
|
* @param body Request body for submitting confirmed hash-to-video assignments.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type GetVideoImageChangesResponse } from '../../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type Guid, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /videos/images/changes
|
|
5
|
+
*/
|
|
6
|
+
export interface ChangesRequestBuilder extends BaseRequestBuilder<ChangesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a seek-paged delta feed of site-supplied video image rows ordered by updatedAtUtc ascending, then id ascending. Images are attached to a video long after the video itself is created, so a consumer paging /videos by createdAtUtc alone never learns about them; this feed carries them. Use since and the returned nextCursor to continue incrementally. Page size defaults to 100 and is limited to 1000. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. Removals are not represented: video image rows are hard-deleted, so eventType is never deleted and a row that disappears simply stops being returned. Requires API key authentication.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<GetVideoImageChangesResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
* @throws {ProblemDetails} error when the service returns a 503 status code
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<ChangesRequestBuilderGetQueryParameters> | undefined): Promise<GetVideoImageChangesResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns a seek-paged delta feed of site-supplied video image rows ordered by updatedAtUtc ascending, then id ascending. Images are attached to a video long after the video itself is created, so a consumer paging /videos by createdAtUtc alone never learns about them; this feed carries them. Use since and the returned nextCursor to continue incrementally. Page size defaults to 100 and is limited to 1000. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. Removals are not represented: video image rows are hard-deleted, so eventType is never deleted and a row that disappears simply stops being returned. Requires API key authentication.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {RequestInformation}
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ChangesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns a seek-paged delta feed of site-supplied video image rows ordered by updatedAtUtc ascending, then id ascending. Images are attached to a video long after the video itself is created, so a consumer paging /videos by createdAtUtc alone never learns about them; this feed carries them. Use since and the returned nextCursor to continue incrementally. Page size defaults to 100 and is limited to 1000. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. Removals are not represented: video image rows are hard-deleted, so eventType is never deleted and a row that disappears simply stops being returned. Requires API key authentication.
|
|
27
|
+
*/
|
|
28
|
+
export interface ChangesRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Number of items per page. Defaults to 100, max 1000.
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Inclusive lower-bound timestamp for changes. Use together with `sinceId` to continue from an exact cursor.
|
|
35
|
+
*/
|
|
36
|
+
since?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* Optional lower-bound ID tie-breaker for rows with the same `since` timestamp.
|
|
39
|
+
*/
|
|
40
|
+
sinceId?: Guid;
|
|
41
|
+
/**
|
|
42
|
+
* Optional. Restrict changes to videos on the specified site.
|
|
43
|
+
*/
|
|
44
|
+
siteId?: Guid;
|
|
45
|
+
/**
|
|
46
|
+
* Optional. Restrict changes to a single video.
|
|
47
|
+
*/
|
|
48
|
+
videoId?: Guid;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Uri template for the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const ChangesRequestBuilderUriTemplate = "{+baseurl}/videos/images/changes{?PageSize*,Since*,SinceId*,SiteId*,VideoId*}";
|
|
54
|
+
/**
|
|
55
|
+
* Metadata for all the requests in the request builder.
|
|
56
|
+
*/
|
|
57
|
+
export declare const ChangesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/videos/images/changes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwG,KAAK,4BAA4B,EAAuB,MAAM,0BAA0B,CAAC;AAExM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEnM;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;;;OASG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,kFAAkF,CAAC;AAWhI;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAenD,CAAC"}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createGetVideoImageChangesResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const ChangesRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const ChangesRequestBuilderUriTemplate = "{+baseurl}/videos/images/changes{?PageSize*,Since*,SinceId*,SiteId*,VideoId*}";
|
|
10
10
|
/**
|
|
11
11
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
12
|
*/
|
|
13
13
|
const ChangesRequestBuilderGetQueryParametersMapper = {
|
|
14
|
-
"indexerId": "IndexerId",
|
|
15
|
-
"indexerSource": "IndexerSource",
|
|
16
14
|
"pageSize": "PageSize",
|
|
17
15
|
"since": "Since",
|
|
18
16
|
"sinceId": "SinceId",
|
|
17
|
+
"siteId": "SiteId",
|
|
18
|
+
"videoId": "VideoId",
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* Metadata for all the requests in the request builder.
|
|
@@ -32,18 +32,10 @@ export const ChangesRequestBuilderRequestsMetadata = {
|
|
|
32
32
|
503: createProblemDetailsFromDiscriminatorValue,
|
|
33
33
|
},
|
|
34
34
|
adapterMethodName: "send",
|
|
35
|
-
responseBodyFactory:
|
|
35
|
+
responseBodyFactory: createGetVideoImageChangesResponseFromDiscriminatorValue,
|
|
36
36
|
queryParametersMapper: ChangesRequestBuilderGetQueryParametersMapper,
|
|
37
37
|
},
|
|
38
38
|
};
|
|
39
|
-
/**
|
|
40
|
-
* Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
|
|
41
|
-
*/
|
|
42
|
-
export const GetIndexerSourceQueryParameterTypeObject = {
|
|
43
|
-
DrunkenSlug: "DrunkenSlug",
|
|
44
|
-
NzbFinder: "NzbFinder",
|
|
45
|
-
NzbPorn: "NzbPorn",
|
|
46
|
-
};
|
|
47
39
|
/* tslint:enable */
|
|
48
40
|
/* eslint-enable */
|
|
49
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/videos/images/changes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wDAAwD,EAAE,0CAA0C,EAA0D,MAAM,0BAA0B,CAAC;AAmDxM;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,+EAA+E,CAAC;AAChI;;GAEG;AACH,MAAM,6CAA6C,GAA2B;IAC1E,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE,SAAS;IACpB,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,SAAS;CACvB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wDAAwD;QAC9E,qBAAqB,EAAE,6CAA6C;KACvE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ChangesRequestBuilder } from './changes/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /videos/images
|
|
5
|
+
*/
|
|
6
|
+
export interface ImagesRequestBuilder extends BaseRequestBuilder<ImagesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The changes property
|
|
9
|
+
*/
|
|
10
|
+
get changes(): ChangesRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ImagesRequestBuilderUriTemplate = "{+baseurl}/videos/images";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ImagesRequestBuilderNavigationMetadata: Record<Exclude<keyof ImagesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/videos/images/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,6BAA6B,CAAC;AAC1E;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAItJ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { ChangesRequestBuilderRequestsMetadata } from './changes/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const ImagesRequestBuilderUriTemplate = "{+baseurl}/videos/images";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const ImagesRequestBuilderNavigationMetadata = {
|
|
14
|
+
changes: {
|
|
15
|
+
requestsMetadata: ChangesRequestBuilderRequestsMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
/* tslint:enable */
|
|
19
|
+
/* eslint-enable */
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/videos/images/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAavG;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,0BAA0B,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -3,6 +3,7 @@ import { type BatchRequestBuilder } from './batch/index.js';
|
|
|
3
3
|
import { type FilehashesRequestBuilder } from './filehashes/index.js';
|
|
4
4
|
import { type FilehashSubmissionsRequestBuilder } from './filehashSubmissions/index.js';
|
|
5
5
|
import { type IdentifyRequestBuilder } from './identify/index.js';
|
|
6
|
+
import { type ImagesRequestBuilder } from './images/index.js';
|
|
6
7
|
import { type ItemRequestBuilder } from './item/index.js';
|
|
7
8
|
import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
9
|
export type GetSortByQueryParameterType = (typeof GetSortByQueryParameterTypeObject)[keyof typeof GetSortByQueryParameterTypeObject];
|
|
@@ -27,6 +28,10 @@ export interface VideosRequestBuilder extends BaseRequestBuilder<VideosRequestBu
|
|
|
27
28
|
* The identify property
|
|
28
29
|
*/
|
|
29
30
|
get identify(): IdentifyRequestBuilder;
|
|
31
|
+
/**
|
|
32
|
+
* The images property
|
|
33
|
+
*/
|
|
34
|
+
get images(): ImagesRequestBuilder;
|
|
30
35
|
/**
|
|
31
36
|
* Gets an item from the prdb-sdk.videos.item collection
|
|
32
37
|
* @param id Unique identifier of the item
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/videos/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8F,KAAK,kBAAkB,EAAuB,MAAM,oBAAoB,CAAC;AAE9K,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA8C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAqD,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAE3I,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAErQ,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,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;GAEG;AACH,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AAeX;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}
|
|
@@ -12,6 +12,8 @@ import { FilehashSubmissionsRequestBuilderRequestsMetadata } from './filehashSub
|
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
import { IdentifyRequestBuilderRequestsMetadata } from './identify/index.js';
|
|
14
14
|
// @ts-ignore
|
|
15
|
+
import { ImagesRequestBuilderNavigationMetadata } from './images/index.js';
|
|
16
|
+
// @ts-ignore
|
|
15
17
|
import { ItemRequestBuilderNavigationMetadata, ItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
16
18
|
/**
|
|
17
19
|
* Uri template for the request builder.
|
|
@@ -67,6 +69,9 @@ export const VideosRequestBuilderNavigationMetadata = {
|
|
|
67
69
|
identify: {
|
|
68
70
|
requestsMetadata: IdentifyRequestBuilderRequestsMetadata,
|
|
69
71
|
},
|
|
72
|
+
images: {
|
|
73
|
+
navigationMetadata: ImagesRequestBuilderNavigationMetadata,
|
|
74
|
+
},
|
|
70
75
|
};
|
|
71
76
|
/**
|
|
72
77
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/videos/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAgD,MAAM,oBAAoB,CAAC;AAC9K,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAiC,MAAM,uBAAuB,CAAC;AAClH,aA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AAe;IAChC,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,eAAe,EAAE,eAAe;CACnC,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;QACpD,kBAAkB,EAAE,oCAAoC;QACxD,sBAAsB,EAAE,CAAC,OAAO,CAAC;KACpC;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,UAAU,EAAE;QACR,kBAAkB,EAAE,0CAA0C;KACjE;IACD,mBAAmB,EAAE;QACjB,gBAAgB,EAAE,iDAAiD;KACtE;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;IACD,MAAM,EAAE;QACJ,kBAAkB,EAAE,sCAAsC;KAC7D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,4CAA4C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -37,12 +37,9 @@ export declare const RESPONSE_STATUS_OPTION_KEY = "prdb.responseStatus";
|
|
|
37
37
|
/**
|
|
38
38
|
* Per-request option reporting which status code the API answered with.
|
|
39
39
|
*
|
|
40
|
-
* A generated method returns the deserialised body and nothing else
|
|
41
|
-
*
|
|
42
|
-
* /
|
|
43
|
-
* entry, `200` when an equivalent one already existed and is being returned
|
|
44
|
-
* unchanged. The bodies are the same shape, so the status is the only thing
|
|
45
|
-
* that tells the two apart.
|
|
40
|
+
* A generated method returns the deserialised body and nothing else. That is
|
|
41
|
+
* not enough when the status itself matters, for example when a conditional
|
|
42
|
+
* `GET /sites` returns `304` with no body.
|
|
46
43
|
*
|
|
47
44
|
* Kiota's own way of reaching the response is a native response handler, which
|
|
48
45
|
* suppresses deserialisation while it does so — you get the raw response or the
|
|
@@ -52,13 +49,12 @@ export declare const RESPONSE_STATUS_OPTION_KEY = "prdb.responseStatus";
|
|
|
52
49
|
* ```ts
|
|
53
50
|
* const status = new ResponseStatusOption();
|
|
54
51
|
*
|
|
55
|
-
* const
|
|
52
|
+
* const health = await client.health.get({
|
|
56
53
|
* options: [status],
|
|
57
54
|
* });
|
|
58
55
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* }
|
|
56
|
+
* console.assert(health?.status === "healthy");
|
|
57
|
+
* console.assert(status.statusCode === 200);
|
|
62
58
|
* ```
|
|
63
59
|
*
|
|
64
60
|
* Use one instance per call: it is written when the response arrives, so
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAIN,KAAK,aAAa,EAClB,MAAM,+BAA+B,CAAC;AAavC,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE9E,yCAAyC;AACzC,eAAO,MAAM,cAAc,cAAc,CAAC;AAE1C,6EAA6E;AAC7E,eAAO,MAAM,gBAAgB,yBAAyB,CAAC;AAEvD,yEAAyE;AACzE,MAAM,MAAM,SAAS,GAAG,CACvB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,WAAW,KACb,OAAO,CAAC,QAAQ,CAAC,CAAC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AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,eAAgB,YAAW,aAAa;IACpD;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IAExB,MAAM,IAAI,MAAM;CAGhB;AA4ED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC5B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,8EAA8E;AAC9E,eAAO,MAAM,cAAc,EAAE,YAAgC,CAAC;AAE9D,MAAM,WAAW,aAAa;IAC7B,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,UAAU,CAiB/D;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACpC,OAAO,GAAE,sBAA2B,GAClC,UAAU,CAUZ;AAuKD,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -41,12 +41,9 @@ export const RESPONSE_STATUS_OPTION_KEY = "prdb.responseStatus";
|
|
|
41
41
|
/**
|
|
42
42
|
* Per-request option reporting which status code the API answered with.
|
|
43
43
|
*
|
|
44
|
-
* A generated method returns the deserialised body and nothing else
|
|
45
|
-
*
|
|
46
|
-
* /
|
|
47
|
-
* entry, `200` when an equivalent one already existed and is being returned
|
|
48
|
-
* unchanged. The bodies are the same shape, so the status is the only thing
|
|
49
|
-
* that tells the two apart.
|
|
44
|
+
* A generated method returns the deserialised body and nothing else. That is
|
|
45
|
+
* not enough when the status itself matters, for example when a conditional
|
|
46
|
+
* `GET /sites` returns `304` with no body.
|
|
50
47
|
*
|
|
51
48
|
* Kiota's own way of reaching the response is a native response handler, which
|
|
52
49
|
* suppresses deserialisation while it does so — you get the raw response or the
|
|
@@ -56,13 +53,12 @@ export const RESPONSE_STATUS_OPTION_KEY = "prdb.responseStatus";
|
|
|
56
53
|
* ```ts
|
|
57
54
|
* const status = new ResponseStatusOption();
|
|
58
55
|
*
|
|
59
|
-
* const
|
|
56
|
+
* const health = await client.health.get({
|
|
60
57
|
* options: [status],
|
|
61
58
|
* });
|
|
62
59
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* }
|
|
60
|
+
* console.assert(health?.status === "healthy");
|
|
61
|
+
* console.assert(status.statusCode === 200);
|
|
66
62
|
* ```
|
|
67
63
|
*
|
|
68
64
|
* Use one instance per call: it is written when the response arrives, so
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACN,+BAA+B,EAC/B,4BAA4B,EAC5B,cAAc,GAEd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAEN,kBAAkB,EAElB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,GACnB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAmB,MAAM,2BAA2B,CAAC;AAE9E,yCAAyC;AACzC,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;AAE1C,6EAA6E;AAC7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AAQvD;;;;;;GAMG;AACH,M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,EAAE,YAAY,EAA6B;IAE3C,IAAI,GAAQ,CAAC;IACb,IAAI,CAAC;QACJ,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC;IAAC,MAAM,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,wCAAwC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,KAAK,OAAO,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ,CAAC,EAAE,CAAC;QAC1E,MAAM,IAAI,KAAK,CAAC,wCAAwC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,IAAI,YAAY,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CACd,uEAAuE,OAAO,EAAE,CAChF,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { type AddDownloadedFromIndexerRequest, type DownloadedFromIndexerResponse } from '../models/index.js';
|
|
2
|
-
import { type WithDownloadedFromIndexerItemRequestBuilder } from './item/index.js';
|
|
3
|
-
import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
-
/**
|
|
5
|
-
* Builds and executes requests for operations under /downloaded-from-indexers
|
|
6
|
-
*/
|
|
7
|
-
export interface DownloadedFromIndexersRequestBuilder extends BaseRequestBuilder<DownloadedFromIndexersRequestBuilder> {
|
|
8
|
-
/**
|
|
9
|
-
* Gets an item from the prdb-sdk.downloadedFromIndexers.item collection
|
|
10
|
-
* @param downloadedFromIndexerId Unique identifier of the item
|
|
11
|
-
* @returns {WithDownloadedFromIndexerItemRequestBuilder}
|
|
12
|
-
*/
|
|
13
|
-
byDownloadedFromIndexerId(downloadedFromIndexerId: Guid): WithDownloadedFromIndexerItemRequestBuilder;
|
|
14
|
-
/**
|
|
15
|
-
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. A pHash on a filename must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
16
|
-
* @param body The request body
|
|
17
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns {Promise<DownloadedFromIndexerResponse>}
|
|
19
|
-
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
20
|
-
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
21
|
-
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
22
|
-
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
23
|
-
* @throws {ProblemDetails} error when the service returns a 409 status code
|
|
24
|
-
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
25
|
-
* @throws {ProblemDetails} error when the service returns a 503 status code
|
|
26
|
-
*/
|
|
27
|
-
post(body: AddDownloadedFromIndexerRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a downloaded-from-indexer entry for the authenticated user and returns 201, or returns the complete existing owned entry without mutating it and returns 200. Uniqueness is defined by userId, videoId (including null), indexerSource, and the trimmed indexerId; comparison uses the database collation. downloadIdentifier is not part of the key. A pHash on a filename must be computed exactly as described under Perceptual hashes in the API description; a value from any other procedure is stored but can never be matched. Returns 404 when the referenced wanted video does not exist and 409 only for a different non-recoverable conflict.
|
|
30
|
-
* @param body The request body
|
|
31
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns {RequestInformation}
|
|
33
|
-
*/
|
|
34
|
-
toPostRequestInformation(body: AddDownloadedFromIndexerRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Uri template for the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const DownloadedFromIndexersRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers";
|
|
40
|
-
/**
|
|
41
|
-
* Metadata for all the navigation properties in the request builder.
|
|
42
|
-
*/
|
|
43
|
-
export declare const DownloadedFromIndexersRequestBuilderNavigationMetadata: Record<Exclude<keyof DownloadedFromIndexersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
44
|
-
/**
|
|
45
|
-
* Metadata for all the requests in the request builder.
|
|
46
|
-
*/
|
|
47
|
-
export declare const DownloadedFromIndexersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
48
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/downloadedFromIndexers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2L,KAAK,+BAA+B,EAAE,KAAK,6BAA6B,EAAuB,MAAM,oBAAoB,CAAC;AAE5T,OAAO,EAAE,KAAK,2CAA2C,EAA8H,MAAM,iBAAiB,CAAC;AAE/M,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAErQ;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;OAIG;IACF,yBAAyB,CAAC,uBAAuB,EAAE,IAAI,GAAI,2CAA2C,CAAC;IACxG;;;;;;;;;;;;OAYG;IACF,IAAI,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACnK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1J;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,wCAAwC,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAmBlE,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { createDownloadedFromIndexerResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAddDownloadedFromIndexerRequest } from '../models/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { WithDownloadedFromIndexerItemRequestBuilderNavigationMetadata, WithDownloadedFromIndexerItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
|
-
/**
|
|
9
|
-
* Uri template for the request builder.
|
|
10
|
-
*/
|
|
11
|
-
export const DownloadedFromIndexersRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers";
|
|
12
|
-
/**
|
|
13
|
-
* Metadata for all the navigation properties in the request builder.
|
|
14
|
-
*/
|
|
15
|
-
export const DownloadedFromIndexersRequestBuilderNavigationMetadata = {
|
|
16
|
-
byDownloadedFromIndexerId: {
|
|
17
|
-
requestsMetadata: WithDownloadedFromIndexerItemRequestBuilderRequestsMetadata,
|
|
18
|
-
navigationMetadata: WithDownloadedFromIndexerItemRequestBuilderNavigationMetadata,
|
|
19
|
-
pathParametersMappings: ["downloadedFromIndexerId"],
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Metadata for all the requests in the request builder.
|
|
24
|
-
*/
|
|
25
|
-
export const DownloadedFromIndexersRequestBuilderRequestsMetadata = {
|
|
26
|
-
post: {
|
|
27
|
-
uriTemplate: DownloadedFromIndexersRequestBuilderUriTemplate,
|
|
28
|
-
responseBodyContentType: "application/json",
|
|
29
|
-
errorMappings: {
|
|
30
|
-
400: createProblemDetailsFromDiscriminatorValue,
|
|
31
|
-
401: createProblemDetailsFromDiscriminatorValue,
|
|
32
|
-
403: createProblemDetailsFromDiscriminatorValue,
|
|
33
|
-
404: createProblemDetailsFromDiscriminatorValue,
|
|
34
|
-
409: createProblemDetailsFromDiscriminatorValue,
|
|
35
|
-
429: createProblemDetailsFromDiscriminatorValue,
|
|
36
|
-
503: createProblemDetailsFromDiscriminatorValue,
|
|
37
|
-
},
|
|
38
|
-
adapterMethodName: "send",
|
|
39
|
-
responseBodyFactory: createDownloadedFromIndexerResponseFromDiscriminatorValue,
|
|
40
|
-
requestBodyContentType: "application/json",
|
|
41
|
-
requestBodySerializer: serializeAddDownloadedFromIndexerRequest,
|
|
42
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
/* tslint:enable */
|
|
46
|
-
/* eslint-enable */
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/downloadedFromIndexers/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,0CAA0C,EAAE,wCAAwC,EAAyI,MAAM,oBAAoB,CAAC;AAC5T,aAAa;AACb,OAAO,EAAoD,6DAA6D,EAAE,2DAA2D,EAAE,MAAM,iBAAiB,CAAC;AAoC/M;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,qCAAqC,CAAC;AACrG;;GAEG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAwH;IACvL,yBAAyB,EAAE;QACvB,gBAAgB,EAAE,2DAA2D;QAC7E,kBAAkB,EAAE,6DAA6D;QACjF,sBAAsB,EAAE,CAAC,yBAAyB,CAAC;KACtD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,IAAI,EAAE;QACF,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yDAAyD;QAC/E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wCAAwC;QAC/D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|