@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.
Files changed (58) hide show
  1. package/README.md +10 -14
  2. package/dist/generated/models/index.d.ts +196 -735
  3. package/dist/generated/models/index.d.ts.map +1 -1
  4. package/dist/generated/models/index.js +158 -660
  5. package/dist/generated/models/index.js.map +1 -1
  6. package/dist/generated/prdbClient.d.ts +0 -10
  7. package/dist/generated/prdbClient.d.ts.map +1 -1
  8. package/dist/generated/prdbClient.js +0 -11
  9. package/dist/generated/prdbClient.js.map +1 -1
  10. package/dist/generated/videos/filehashSubmissions/index.d.ts +2 -2
  11. package/dist/generated/videos/images/changes/index.d.ts +58 -0
  12. package/dist/generated/videos/images/changes/index.d.ts.map +1 -0
  13. package/dist/generated/{indexerFilehashes → videos/images}/changes/index.js +5 -13
  14. package/dist/generated/videos/images/changes/index.js.map +1 -0
  15. package/dist/generated/videos/images/index.d.ts +20 -0
  16. package/dist/generated/videos/images/index.d.ts.map +1 -0
  17. package/dist/generated/videos/images/index.js +20 -0
  18. package/dist/generated/videos/images/index.js.map +1 -0
  19. package/dist/generated/videos/index.d.ts +5 -0
  20. package/dist/generated/videos/index.d.ts.map +1 -1
  21. package/dist/generated/videos/index.js +5 -0
  22. package/dist/generated/videos/index.js.map +1 -1
  23. package/dist/index.d.ts +6 -10
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +6 -10
  26. package/dist/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/generated/downloadedFromIndexers/index.d.ts +0 -48
  29. package/dist/generated/downloadedFromIndexers/index.d.ts.map +0 -1
  30. package/dist/generated/downloadedFromIndexers/index.js +0 -47
  31. package/dist/generated/downloadedFromIndexers/index.js.map +0 -1
  32. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +0 -48
  33. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts.map +0 -1
  34. package/dist/generated/downloadedFromIndexers/item/filenames/index.js +0 -46
  35. package/dist/generated/downloadedFromIndexers/item/filenames/index.js.map +0 -1
  36. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +0 -53
  37. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts.map +0 -1
  38. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js +0 -47
  39. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js.map +0 -1
  40. package/dist/generated/downloadedFromIndexers/item/index.d.ts +0 -62
  41. package/dist/generated/downloadedFromIndexers/item/index.d.ts.map +0 -1
  42. package/dist/generated/downloadedFromIndexers/item/index.js +0 -58
  43. package/dist/generated/downloadedFromIndexers/item/index.js.map +0 -1
  44. package/dist/generated/indexerFilehashes/changes/index.d.ts +0 -67
  45. package/dist/generated/indexerFilehashes/changes/index.d.ts.map +0 -1
  46. package/dist/generated/indexerFilehashes/changes/index.js.map +0 -1
  47. package/dist/generated/indexerFilehashes/index.d.ts +0 -30
  48. package/dist/generated/indexerFilehashes/index.d.ts.map +0 -1
  49. package/dist/generated/indexerFilehashes/index.js +0 -30
  50. package/dist/generated/indexerFilehashes/index.js.map +0 -1
  51. package/dist/generated/indexerFilehashes/latest/index.d.ts +0 -109
  52. package/dist/generated/indexerFilehashes/latest/index.d.ts.map +0 -1
  53. package/dist/generated/indexerFilehashes/latest/index.js +0 -71
  54. package/dist/generated/indexerFilehashes/latest/index.js.map +0 -1
  55. package/dist/generated/indexerFilehashes/lookup/index.d.ts +0 -35
  56. package/dist/generated/indexerFilehashes/lookup/index.d.ts.map +0 -1
  57. package/dist/generated/indexerFilehashes/lookup/index.js +0 -33
  58. package/dist/generated/indexerFilehashes/lookup/index.js.map +0 -1
@@ -1,48 +0,0 @@
1
- import { type AddDownloadedFromIndexerFilenameRequest, type DownloadedFromIndexerResponse } from '../../../models/index.js';
2
- import { type WithFilenameItemRequestBuilder } 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/{downloadedFromIndexerId}/filenames
6
- */
7
- export interface FilenamesRequestBuilder extends BaseRequestBuilder<FilenamesRequestBuilder> {
8
- /**
9
- * Gets an item from the prdb-sdk.downloadedFromIndexers.item.filenames.item collection
10
- * @param filenameId Unique identifier of the item
11
- * @returns {WithFilenameItemRequestBuilder}
12
- */
13
- byFilenameId(filenameId: Guid): WithFilenameItemRequestBuilder;
14
- /**
15
- * Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. 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. Returns 409 when the filename already exists under the parent entry.
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: AddDownloadedFromIndexerFilenameRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
28
- /**
29
- * Adds a single filename row to a downloaded-from-indexer entry owned by the currently authenticated user. 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. Returns 409 when the filename already exists under the parent entry.
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: AddDownloadedFromIndexerFilenameRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
- }
36
- /**
37
- * Uri template for the request builder.
38
- */
39
- export declare const FilenamesRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}/filenames";
40
- /**
41
- * Metadata for all the navigation properties in the request builder.
42
- */
43
- export declare const FilenamesRequestBuilderNavigationMetadata: Record<Exclude<keyof FilenamesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
44
- /**
45
- * Metadata for all the requests in the request builder.
46
- */
47
- export declare const FilenamesRequestBuilderRequestsMetadata: RequestsMetadata;
48
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/downloadedFromIndexers/item/filenames/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmM,KAAK,uCAAuC,EAAE,KAAK,6BAA6B,EAAuB,MAAM,0BAA0B,CAAC;AAElV,OAAO,EAAE,KAAK,8BAA8B,EAAkD,MAAM,iBAAiB,CAAC;AAEtH,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,IAAI,GAAI,8BAA8B,CAAC;IACjE;;;;;;;;;;;;OAYG;IACF,IAAI,CAAC,IAAI,EAAE,uCAAuC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAC3K;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uCAAuC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClK;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,4EAA4E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAmBrD,CAAC"}
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- // Generated by Microsoft Kiota
4
- // @ts-ignore
5
- import { createDownloadedFromIndexerResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAddDownloadedFromIndexerFilenameRequest } from '../../../models/index.js';
6
- // @ts-ignore
7
- import { WithFilenameItemRequestBuilderRequestsMetadata } from './item/index.js';
8
- /**
9
- * Uri template for the request builder.
10
- */
11
- export const FilenamesRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}/filenames";
12
- /**
13
- * Metadata for all the navigation properties in the request builder.
14
- */
15
- export const FilenamesRequestBuilderNavigationMetadata = {
16
- byFilenameId: {
17
- requestsMetadata: WithFilenameItemRequestBuilderRequestsMetadata,
18
- pathParametersMappings: ["filenameId"],
19
- },
20
- };
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export const FilenamesRequestBuilderRequestsMetadata = {
25
- post: {
26
- uriTemplate: FilenamesRequestBuilderUriTemplate,
27
- responseBodyContentType: "application/json",
28
- errorMappings: {
29
- 400: createProblemDetailsFromDiscriminatorValue,
30
- 401: createProblemDetailsFromDiscriminatorValue,
31
- 403: createProblemDetailsFromDiscriminatorValue,
32
- 404: createProblemDetailsFromDiscriminatorValue,
33
- 409: createProblemDetailsFromDiscriminatorValue,
34
- 429: createProblemDetailsFromDiscriminatorValue,
35
- 503: createProblemDetailsFromDiscriminatorValue,
36
- },
37
- adapterMethodName: "send",
38
- responseBodyFactory: createDownloadedFromIndexerResponseFromDiscriminatorValue,
39
- requestBodyContentType: "application/json",
40
- requestBodySerializer: serializeAddDownloadedFromIndexerFilenameRequest,
41
- requestInformationContentSetMethod: "setContentFromParsable",
42
- },
43
- };
44
- /* tslint:enable */
45
- /* eslint-enable */
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/downloadedFromIndexers/item/filenames/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,0CAA0C,EAAE,gDAAgD,EAAiJ,MAAM,0BAA0B,CAAC;AAClV,aAAa;AACb,OAAO,EAAuC,8CAA8C,EAAE,MAAM,iBAAiB,CAAC;AAoCtH;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,yEAAyE,CAAC;AAC5H;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,YAAY,EAAE;QACV,gBAAgB,EAAE,8CAA8C;QAChE,sBAAsB,EAAE,CAAC,YAAY,CAAC;KACzC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,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,gDAAgD;QACvE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,53 +0,0 @@
1
- import { type DownloadedFromIndexerResponse, type UpdateDownloadedFromIndexerFilenameRequest } from '../../../../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
- /**
4
- * Builds and executes requests for operations under /downloaded-from-indexers/{downloadedFromIndexerId}/filenames/{filenameId}
5
- */
6
- export interface WithFilenameItemRequestBuilder extends BaseRequestBuilder<WithFilenameItemRequestBuilder> {
7
- /**
8
- * Hard-deletes a single filename row from a downloaded-from-indexer entry owned by the currently authenticated user. Returns 404 when the parent or filename does not exist.
9
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @throws {ProblemDetails} error when the service returns a 401 status code
11
- * @throws {ProblemDetails} error when the service returns a 403 status code
12
- * @throws {ProblemDetails} error when the service returns a 404 status code
13
- * @throws {ProblemDetails} error when the service returns a 429 status code
14
- * @throws {ProblemDetails} error when the service returns a 503 status code
15
- */
16
- delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
- /**
18
- * Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. 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. Returns 409 when the filename would duplicate another filename under the same parent.
19
- * @param body The request body
20
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns {Promise<DownloadedFromIndexerResponse>}
22
- * @throws {ProblemDetails} error when the service returns a 400 status code
23
- * @throws {ProblemDetails} error when the service returns a 401 status code
24
- * @throws {ProblemDetails} error when the service returns a 403 status code
25
- * @throws {ProblemDetails} error when the service returns a 404 status code
26
- * @throws {ProblemDetails} error when the service returns a 409 status code
27
- * @throws {ProblemDetails} error when the service returns a 429 status code
28
- * @throws {ProblemDetails} error when the service returns a 503 status code
29
- */
30
- put(body: UpdateDownloadedFromIndexerFilenameRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
31
- /**
32
- * Hard-deletes a single filename row from a downloaded-from-indexer entry owned by the currently authenticated user. Returns 404 when the parent or filename does not exist.
33
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns {RequestInformation}
35
- */
36
- toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
- /**
38
- * Updates a single filename row for a downloaded-from-indexer entry owned by the currently authenticated user. 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. Returns 409 when the filename would duplicate another filename under the same parent.
39
- * @param body The request body
40
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns {RequestInformation}
42
- */
43
- toPutRequestInformation(body: UpdateDownloadedFromIndexerFilenameRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
- }
45
- /**
46
- * Uri template for the request builder.
47
- */
48
- export declare const WithFilenameItemRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}/filenames/{filenameId}";
49
- /**
50
- * Metadata for all the requests in the request builder.
51
- */
52
- export declare const WithFilenameItemRequestBuilderRequestsMetadata: RequestsMetadata;
53
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/downloadedFromIndexers/item/filenames/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsM,KAAK,6BAA6B,EAAuB,KAAK,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AAE3V,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;;;;OAQG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;;;;;OAYG;IACF,GAAG,CAAC,IAAI,EAAE,0CAA0C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAC7K;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,0CAA0C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpK;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,yFAAyF,CAAC;AAChJ;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC"}
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- // Generated by Microsoft Kiota
4
- // @ts-ignore
5
- import { createDownloadedFromIndexerResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeUpdateDownloadedFromIndexerFilenameRequest } from '../../../../models/index.js';
6
- /**
7
- * Uri template for the request builder.
8
- */
9
- export const WithFilenameItemRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}/filenames/{filenameId}";
10
- /**
11
- * Metadata for all the requests in the request builder.
12
- */
13
- export const WithFilenameItemRequestBuilderRequestsMetadata = {
14
- delete: {
15
- uriTemplate: WithFilenameItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/json",
17
- errorMappings: {
18
- 401: createProblemDetailsFromDiscriminatorValue,
19
- 403: createProblemDetailsFromDiscriminatorValue,
20
- 404: createProblemDetailsFromDiscriminatorValue,
21
- 429: createProblemDetailsFromDiscriminatorValue,
22
- 503: createProblemDetailsFromDiscriminatorValue,
23
- },
24
- adapterMethodName: "sendNoResponseContent",
25
- },
26
- put: {
27
- uriTemplate: WithFilenameItemRequestBuilderUriTemplate,
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: serializeUpdateDownloadedFromIndexerFilenameRequest,
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/item/filenames/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,0CAA0C,EAA0C,mDAAmD,EAA4G,MAAM,6BAA6B,CAAC;AA8C3V;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,sFAAsF,CAAC;AAChJ;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,MAAM,EAAE;QACJ,WAAW,EAAE,yCAAyC;QACtD,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,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,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,mDAAmD;QAC1E,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,62 +0,0 @@
1
- import { type DownloadedFromIndexerResponse, type UpdateDownloadedFromIndexerRequest } from '../../models/index.js';
2
- import { type FilenamesRequestBuilder } from './filenames/index.js';
3
- import { type BaseRequestBuilder, 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/{downloadedFromIndexerId}
6
- */
7
- export interface WithDownloadedFromIndexerItemRequestBuilder extends BaseRequestBuilder<WithDownloadedFromIndexerItemRequestBuilder> {
8
- /**
9
- * The filenames property
10
- */
11
- get filenames(): FilenamesRequestBuilder;
12
- /**
13
- * Hard-deletes a downloaded-from-indexer entry for the currently authenticated user. Any child filename rows are deleted with it. Returns 404 when the entry does not exist.
14
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @throws {ProblemDetails} error when the service returns a 401 status code
16
- * @throws {ProblemDetails} error when the service returns a 403 status code
17
- * @throws {ProblemDetails} error when the service returns a 404 status code
18
- * @throws {ProblemDetails} error when the service returns a 429 status code
19
- * @throws {ProblemDetails} error when the service returns a 503 status code
20
- */
21
- delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
22
- /**
23
- * Updates a downloaded-from-indexer entry for the currently authenticated user. User ID and video ID are immutable. Returns 409 when the parent uniqueness rule would be violated.
24
- * @param body The request body
25
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
- * @returns {Promise<DownloadedFromIndexerResponse>}
27
- * @throws {ProblemDetails} error when the service returns a 400 status code
28
- * @throws {ProblemDetails} error when the service returns a 401 status code
29
- * @throws {ProblemDetails} error when the service returns a 403 status code
30
- * @throws {ProblemDetails} error when the service returns a 404 status code
31
- * @throws {ProblemDetails} error when the service returns a 409 status code
32
- * @throws {ProblemDetails} error when the service returns a 429 status code
33
- * @throws {ProblemDetails} error when the service returns a 503 status code
34
- */
35
- put(body: UpdateDownloadedFromIndexerRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DownloadedFromIndexerResponse | undefined>;
36
- /**
37
- * Hard-deletes a downloaded-from-indexer entry for the currently authenticated user. Any child filename rows are deleted with it. Returns 404 when the entry does not exist.
38
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
- * @returns {RequestInformation}
40
- */
41
- toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
- /**
43
- * Updates a downloaded-from-indexer entry for the currently authenticated user. User ID and video ID are immutable. Returns 409 when the parent uniqueness rule would be violated.
44
- * @param body The request body
45
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
- * @returns {RequestInformation}
47
- */
48
- toPutRequestInformation(body: UpdateDownloadedFromIndexerRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
- }
50
- /**
51
- * Uri template for the request builder.
52
- */
53
- export declare const WithDownloadedFromIndexerItemRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}";
54
- /**
55
- * Metadata for all the navigation properties in the request builder.
56
- */
57
- export declare const WithDownloadedFromIndexerItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithDownloadedFromIndexerItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
58
- /**
59
- * Metadata for all the requests in the request builder.
60
- */
61
- export declare const WithDownloadedFromIndexerItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/downloadedFromIndexers/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8L,KAAK,6BAA6B,EAAuB,KAAK,kCAAkC,EAAE,MAAM,uBAAuB,CAAC;AAErU,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,2CAA4C,SAAQ,kBAAkB,CAAC,2CAA2C,CAAC;IAChI;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;;;;;OAQG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;;;;;OAYG;IACF,GAAG,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACrK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,eAAO,MAAM,sDAAsD,kEAAkE,CAAC;AACtI;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2CAA2C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2DAA2D,EAAE,gBA+BzE,CAAC"}
@@ -1,58 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- // Generated by Microsoft Kiota
4
- // @ts-ignore
5
- import { createDownloadedFromIndexerResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeUpdateDownloadedFromIndexerRequest } from '../../models/index.js';
6
- // @ts-ignore
7
- import { FilenamesRequestBuilderNavigationMetadata, FilenamesRequestBuilderRequestsMetadata } from './filenames/index.js';
8
- /**
9
- * Uri template for the request builder.
10
- */
11
- export const WithDownloadedFromIndexerItemRequestBuilderUriTemplate = "{+baseurl}/downloaded-from-indexers/{downloadedFromIndexerId}";
12
- /**
13
- * Metadata for all the navigation properties in the request builder.
14
- */
15
- export const WithDownloadedFromIndexerItemRequestBuilderNavigationMetadata = {
16
- filenames: {
17
- requestsMetadata: FilenamesRequestBuilderRequestsMetadata,
18
- navigationMetadata: FilenamesRequestBuilderNavigationMetadata,
19
- },
20
- };
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export const WithDownloadedFromIndexerItemRequestBuilderRequestsMetadata = {
25
- delete: {
26
- uriTemplate: WithDownloadedFromIndexerItemRequestBuilderUriTemplate,
27
- responseBodyContentType: "application/json",
28
- errorMappings: {
29
- 401: createProblemDetailsFromDiscriminatorValue,
30
- 403: createProblemDetailsFromDiscriminatorValue,
31
- 404: createProblemDetailsFromDiscriminatorValue,
32
- 429: createProblemDetailsFromDiscriminatorValue,
33
- 503: createProblemDetailsFromDiscriminatorValue,
34
- },
35
- adapterMethodName: "sendNoResponseContent",
36
- },
37
- put: {
38
- uriTemplate: WithDownloadedFromIndexerItemRequestBuilderUriTemplate,
39
- responseBodyContentType: "application/json",
40
- errorMappings: {
41
- 400: createProblemDetailsFromDiscriminatorValue,
42
- 401: createProblemDetailsFromDiscriminatorValue,
43
- 403: createProblemDetailsFromDiscriminatorValue,
44
- 404: createProblemDetailsFromDiscriminatorValue,
45
- 409: createProblemDetailsFromDiscriminatorValue,
46
- 429: createProblemDetailsFromDiscriminatorValue,
47
- 503: createProblemDetailsFromDiscriminatorValue,
48
- },
49
- adapterMethodName: "send",
50
- responseBodyFactory: createDownloadedFromIndexerResponseFromDiscriminatorValue,
51
- requestBodyContentType: "application/json",
52
- requestBodySerializer: serializeUpdateDownloadedFromIndexerRequest,
53
- requestInformationContentSetMethod: "setContentFromParsable",
54
- },
55
- };
56
- /* tslint:enable */
57
- /* eslint-enable */
58
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/downloadedFromIndexers/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,0CAA0C,EAA0C,2CAA2C,EAAoG,MAAM,uBAAuB,CAAC;AACrU,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,uCAAuC,EAAgC,MAAM,sBAAsB,CAAC;AAkDxJ;;GAEG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAG,+DAA+D,CAAC;AACtI;;GAEG;AACH,MAAM,CAAC,MAAM,6DAA6D,GAA+H;IACrM,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;QACzD,kBAAkB,EAAE,yCAAyC;KAChE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAAqB;IACzF,MAAM,EAAE;QACJ,WAAW,EAAE,sDAAsD;QACnE,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,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,sDAAsD;QACnE,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,2CAA2C;QAClE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,67 +0,0 @@
1
- import { type GetIndexerFilehashChangesResponse } 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 /indexer-filehashes/changes
5
- */
6
- export interface ChangesRequestBuilder extends BaseRequestBuilder<ChangesRequestBuilder> {
7
- /**
8
- * Returns a seek-paged delta feed of indexer filehash rows ordered by updatedAtUtc ascending, then id ascending. Includes created, updated, and soft-deleted rows as full payloads. Use since and the returned nextCursor to continue incrementally. Supports optional indexer source and indexer ID filters. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. Requires API key authentication.
9
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns {Promise<GetIndexerFilehashChangesResponse>}
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<GetIndexerFilehashChangesResponse | undefined>;
18
- /**
19
- * Returns a seek-paged delta feed of indexer filehash rows ordered by updatedAtUtc ascending, then id ascending. Includes created, updated, and soft-deleted rows as full payloads. Use since and the returned nextCursor to continue incrementally. Supports optional indexer source and indexer ID filters. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. 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 indexer filehash rows ordered by updatedAtUtc ascending, then id ascending. Includes created, updated, and soft-deleted rows as full payloads. Use since and the returned nextCursor to continue incrementally. Supports optional indexer source and indexer ID filters. Every page carries serverTimeUtc, the server clock read when the page was produced; persist it as the next since when items is empty. Requires API key authentication.
27
- */
28
- export interface ChangesRequestBuilderGetQueryParameters {
29
- /**
30
- * Optional. Restrict changes to an indexer-specific identifier.
31
- */
32
- indexerId?: string;
33
- /**
34
- * Optional. Restrict changes to an indexer source. Supported values: `DrunkenSlug`, `NzbFinder`, `NzbPorn`.
35
- */
36
- indexerSource?: GetIndexerSourceQueryParameterType;
37
- /**
38
- * Number of items per page. Defaults to 100, max 1000.
39
- */
40
- pageSize?: number;
41
- /**
42
- * Inclusive lower-bound timestamp for changes. Use together with `sinceId` to continue from an exact cursor.
43
- */
44
- since?: Date;
45
- /**
46
- * Optional lower-bound ID tie-breaker for rows with the same `since` timestamp.
47
- */
48
- sinceId?: Guid;
49
- }
50
- export type GetIndexerSourceQueryParameterType = (typeof GetIndexerSourceQueryParameterTypeObject)[keyof typeof GetIndexerSourceQueryParameterTypeObject];
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- export declare const ChangesRequestBuilderUriTemplate = "{+baseurl}/indexer-filehashes/changes{?IndexerId*,IndexerSource*,PageSize*,Since*,SinceId*}";
55
- /**
56
- * Metadata for all the requests in the request builder.
57
- */
58
- export declare const ChangesRequestBuilderRequestsMetadata: RequestsMetadata;
59
- /**
60
- * Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
61
- */
62
- export declare const GetIndexerSourceQueryParameterTypeObject: {
63
- readonly DrunkenSlug: "DrunkenSlug";
64
- readonly NzbFinder: "NzbFinder";
65
- readonly NzbPorn: "NzbPorn";
66
- };
67
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/indexerFilehashes/changes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6G,KAAK,iCAAiC,EAAuB,MAAM,uBAAuB,CAAC;AAE/M,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,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAChK;;;;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,kCAAkC,CAAC;IACnD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD,MAAM,MAAM,kCAAkC,GAAG,CAAC,OAAO,wCAAwC,CAAC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAC1J;;GAEG;AACH,eAAO,MAAM,gCAAgC,gGAAgG,CAAC;AAW9I;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAenD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;;CAI3C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/indexerFilehashes/changes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA+D,MAAM,uBAAuB,CAAC;AAoD/M;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,6FAA6F,CAAC;AAC9I;;GAEG;AACH,MAAM,6CAA6C,GAA2B;IAC1E,WAAW,EAAE,WAAW;IACxB,eAAe,EAAE,eAAe;IAChC,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,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,6DAA6D;QACnF,qBAAqB,EAAE,6CAA6C;KACvE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACpD,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;CACZ,CAAC;AACX,mBAAmB;AACnB,mBAAmB"}
@@ -1,30 +0,0 @@
1
- import { type ChangesRequestBuilder } from './changes/index.js';
2
- import { type LatestRequestBuilder } from './latest/index.js';
3
- import { type LookupRequestBuilder } from './lookup/index.js';
4
- import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
5
- /**
6
- * Builds and executes requests for operations under /indexer-filehashes
7
- */
8
- export interface IndexerFilehashesRequestBuilder extends BaseRequestBuilder<IndexerFilehashesRequestBuilder> {
9
- /**
10
- * The changes property
11
- */
12
- get changes(): ChangesRequestBuilder;
13
- /**
14
- * The latest property
15
- */
16
- get latest(): LatestRequestBuilder;
17
- /**
18
- * The lookup property
19
- */
20
- get lookup(): LookupRequestBuilder;
21
- }
22
- /**
23
- * Uri template for the request builder.
24
- */
25
- export declare const IndexerFilehashesRequestBuilderUriTemplate = "{+baseurl}/indexer-filehashes";
26
- /**
27
- * Metadata for all the navigation properties in the request builder.
28
- */
29
- export declare const IndexerFilehashesRequestBuilderNavigationMetadata: Record<Exclude<keyof IndexerFilehashesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
30
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/indexerFilehashes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;CACtC;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,kCAAkC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU5K,CAAC"}
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- // Generated by Microsoft Kiota
4
- // @ts-ignore
5
- import { ChangesRequestBuilderRequestsMetadata } from './changes/index.js';
6
- // @ts-ignore
7
- import { LatestRequestBuilderRequestsMetadata } from './latest/index.js';
8
- // @ts-ignore
9
- import { LookupRequestBuilderRequestsMetadata } from './lookup/index.js';
10
- /**
11
- * Uri template for the request builder.
12
- */
13
- export const IndexerFilehashesRequestBuilderUriTemplate = "{+baseurl}/indexer-filehashes";
14
- /**
15
- * Metadata for all the navigation properties in the request builder.
16
- */
17
- export const IndexerFilehashesRequestBuilderNavigationMetadata = {
18
- changes: {
19
- requestsMetadata: ChangesRequestBuilderRequestsMetadata,
20
- },
21
- latest: {
22
- requestsMetadata: LatestRequestBuilderRequestsMetadata,
23
- },
24
- lookup: {
25
- requestsMetadata: LookupRequestBuilderRequestsMetadata,
26
- },
27
- };
28
- /* tslint:enable */
29
- /* eslint-enable */
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/indexerFilehashes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAqBpG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,+BAA+B,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAmH;IAC7K,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,109 +0,0 @@
1
- import { type LatestIndexerFilehashesResponse } from '../../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
- export type GetIndexerSourceQueryParameterType = (typeof GetIndexerSourceQueryParameterTypeObject)[keyof typeof GetIndexerSourceQueryParameterTypeObject];
4
- export type GetSortByQueryParameterType = (typeof GetSortByQueryParameterTypeObject)[keyof typeof GetSortByQueryParameterTypeObject];
5
- export type GetSortDirectionQueryParameterType = (typeof GetSortDirectionQueryParameterTypeObject)[keyof typeof GetSortDirectionQueryParameterTypeObject];
6
- /**
7
- * Builds and executes requests for operations under /indexer-filehashes/latest
8
- */
9
- export interface LatestRequestBuilder extends BaseRequestBuilder<LatestRequestBuilder> {
10
- /**
11
- * Returns a paged list of active indexer filehash entries. Supports up to 5000 rows per request, sorting by createdAtUtc, updatedAtUtc, submissionCount, or filesize, and filtering by indexer source, indexer ID, verification state, and inclusive created/updated date ranges. Requires API key authentication.
12
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
13
- * @returns {Promise<LatestIndexerFilehashesResponse>}
14
- * @throws {ProblemDetails} error when the service returns a 400 status code
15
- * @throws {ProblemDetails} error when the service returns a 401 status code
16
- * @throws {ProblemDetails} error when the service returns a 403 status code
17
- * @throws {ProblemDetails} error when the service returns a 429 status code
18
- * @throws {ProblemDetails} error when the service returns a 503 status code
19
- */
20
- get(requestConfiguration?: RequestConfiguration<LatestRequestBuilderGetQueryParameters> | undefined): Promise<LatestIndexerFilehashesResponse | undefined>;
21
- /**
22
- * Returns a paged list of active indexer filehash entries. Supports up to 5000 rows per request, sorting by createdAtUtc, updatedAtUtc, submissionCount, or filesize, and filtering by indexer source, indexer ID, verification state, and inclusive created/updated date ranges. Requires API key authentication.
23
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns {RequestInformation}
25
- */
26
- toGetRequestInformation(requestConfiguration?: RequestConfiguration<LatestRequestBuilderGetQueryParameters> | undefined): RequestInformation;
27
- }
28
- /**
29
- * Returns a paged list of active indexer filehash entries. Supports up to 5000 rows per request, sorting by createdAtUtc, updatedAtUtc, submissionCount, or filesize, and filtering by indexer source, indexer ID, verification state, and inclusive created/updated date ranges. Requires API key authentication.
30
- */
31
- export interface LatestRequestBuilderGetQueryParameters {
32
- /**
33
- * Optional. Return only filehashes created at or after this timestamp (UTC).
34
- */
35
- createdFrom?: Date;
36
- /**
37
- * Optional. Return only filehashes created at or before this timestamp (UTC).
38
- */
39
- createdTo?: Date;
40
- /**
41
- * Optional. Restrict results to an indexer-specific identifier.
42
- */
43
- indexerId?: string;
44
- /**
45
- * Optional. Restrict results to an indexer source. Supported values: `DrunkenSlug`, `NzbFinder`, `NzbPorn`.
46
- */
47
- indexerSource?: GetIndexerSourceQueryParameterType;
48
- /**
49
- * Optional. Filter by verification state. Omit for both verified and unverified entries.
50
- */
51
- isVerified?: boolean;
52
- /**
53
- * 1-based page number. Defaults to 1.
54
- */
55
- page?: number;
56
- /**
57
- * Number of items per page. Defaults to 20, max 5000.
58
- */
59
- pageSize?: number;
60
- /**
61
- * Field to sort by. Supported values: `createdAtUtc` (default), `updatedAtUtc`, `submissionCount`, `filesize`.
62
- */
63
- sortBy?: GetSortByQueryParameterType;
64
- /**
65
- * Sort direction: `desc` (default) or `asc`.
66
- */
67
- sortDirection?: GetSortDirectionQueryParameterType;
68
- /**
69
- * Optional. Return only filehashes updated at or after this timestamp (UTC).
70
- */
71
- updatedFrom?: Date;
72
- /**
73
- * Optional. Return only filehashes updated at or before this timestamp (UTC).
74
- */
75
- updatedTo?: Date;
76
- }
77
- /**
78
- * Uri template for the request builder.
79
- */
80
- export declare const LatestRequestBuilderUriTemplate = "{+baseurl}/indexer-filehashes/latest{?CreatedFrom*,CreatedTo*,IndexerId*,IndexerSource*,IsVerified*,Page*,PageSize*,SortBy*,SortDirection*,UpdatedFrom*,UpdatedTo*}";
81
- /**
82
- * Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
83
- */
84
- export declare const GetIndexerSourceQueryParameterTypeObject: {
85
- readonly DrunkenSlug: "DrunkenSlug";
86
- readonly NzbFinder: "NzbFinder";
87
- readonly NzbPorn: "NzbPorn";
88
- };
89
- /**
90
- * Allowed values: createdAtUtc, updatedAtUtc, submissionCount, filesize.
91
- */
92
- export declare const GetSortByQueryParameterTypeObject: {
93
- readonly CreatedAtUtc: "createdAtUtc";
94
- readonly UpdatedAtUtc: "updatedAtUtc";
95
- readonly SubmissionCount: "submissionCount";
96
- readonly Filesize: "filesize";
97
- };
98
- /**
99
- * Allowed values: asc, desc.
100
- */
101
- export declare const GetSortDirectionQueryParameterTypeObject: {
102
- readonly Asc: "asc";
103
- readonly Desc: "desc";
104
- };
105
- /**
106
- * Metadata for all the requests in the request builder.
107
- */
108
- export declare const LatestRequestBuilderRequestsMetadata: RequestsMetadata;
109
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/indexerFilehashes/latest/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2G,KAAK,+BAA+B,EAAuB,MAAM,uBAAuB,CAAC;AAE3M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL,MAAM,MAAM,kCAAkC,GAAG,CAAC,OAAO,wCAAwC,CAAC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAC1J,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AACrI,MAAM,MAAM,kCAAkC,GAAG,CAAC,OAAO,wCAAwC,CAAC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAC1J;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;;OASG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,kCAAkC,CAAC;IACnD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,kCAAkC,CAAC;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,wKAAwK,CAAC;AACrN;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;;CAI3C,CAAC;AACX;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;CAKpC,CAAC;AACX;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AAiBX;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}