@nimble-way/nimble-js 0.13.0 → 0.14.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 (59) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/client.d.mts +9 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +9 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/log.d.mts.map +1 -1
  11. package/internal/utils/log.d.ts.map +1 -1
  12. package/internal/utils/log.js +2 -0
  13. package/internal/utils/log.js.map +1 -1
  14. package/internal/utils/log.mjs +2 -0
  15. package/internal/utils/log.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/domain-knowledge.d.mts +50 -0
  18. package/resources/domain-knowledge.d.mts.map +1 -0
  19. package/resources/domain-knowledge.d.ts +50 -0
  20. package/resources/domain-knowledge.d.ts.map +1 -0
  21. package/resources/domain-knowledge.js +16 -0
  22. package/resources/domain-knowledge.js.map +1 -0
  23. package/resources/domain-knowledge.mjs +12 -0
  24. package/resources/domain-knowledge.mjs.map +1 -0
  25. package/resources/index.d.mts +3 -0
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +3 -0
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js +7 -1
  30. package/resources/index.js.map +1 -1
  31. package/resources/index.mjs +3 -0
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/media.d.mts +390 -0
  34. package/resources/media.d.mts.map +1 -0
  35. package/resources/media.d.ts +390 -0
  36. package/resources/media.d.ts.map +1 -0
  37. package/resources/media.js +35 -0
  38. package/resources/media.js.map +1 -0
  39. package/resources/media.mjs +31 -0
  40. package/resources/media.mjs.map +1 -0
  41. package/resources/serp.d.mts +694 -0
  42. package/resources/serp.d.mts.map +1 -0
  43. package/resources/serp.d.ts +694 -0
  44. package/resources/serp.d.ts.map +1 -0
  45. package/resources/serp.js +48 -0
  46. package/resources/serp.js.map +1 -0
  47. package/resources/serp.mjs +44 -0
  48. package/resources/serp.mjs.map +1 -0
  49. package/src/client.ts +51 -0
  50. package/src/internal/utils/log.ts +2 -0
  51. package/src/resources/domain-knowledge.ts +69 -0
  52. package/src/resources/index.ts +21 -0
  53. package/src/resources/media.ts +570 -0
  54. package/src/resources/serp.ts +977 -0
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DomainKnowledge = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class DomainKnowledge extends resource_1.APIResource {
7
+ /**
8
+ * Resolves the suggested driver for a given URL or agent name. Exactly one of
9
+ * `url` or `agent` must be provided.
10
+ */
11
+ getDriver(query = {}, options) {
12
+ return this._client.get('/v1/domain-knowledge/driver', { query, ...options });
13
+ }
14
+ }
15
+ exports.DomainKnowledge = DomainKnowledge;
16
+ //# sourceMappingURL=domain-knowledge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain-knowledge.js","sourceRoot":"","sources":["../src/resources/domain-knowledge.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;OAGG;IACH,SAAS,CACP,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAXD,0CAWC"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class DomainKnowledge extends APIResource {
4
+ /**
5
+ * Resolves the suggested driver for a given URL or agent name. Exactly one of
6
+ * `url` or `agent` must be provided.
7
+ */
8
+ getDriver(query = {}, options) {
9
+ return this._client.get('/v1/domain-knowledge/driver', { query, ...options });
10
+ }
11
+ }
12
+ //# sourceMappingURL=domain-knowledge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain-knowledge.mjs","sourceRoot":"","sources":["../src/resources/domain-knowledge.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;OAGG;IACH,SAAS,CACP,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -2,6 +2,9 @@ export * from "./shared.mjs";
2
2
  export { Agent, type AgentListResponse, type AgentGenerateResponse, type AgentGetResponse, type AgentGetGenerationResponse, type AgentPublishResponse, type AgentRunResponse, type AgentRunAsyncResponse, type AgentRunBatchResponse, type AgentListParams, type AgentGenerateParams, type AgentPublishParams, type AgentRunParams, type AgentRunAsyncParams, type AgentRunBatchParams, } from "./agent.mjs";
3
3
  export { Batches, type BatchGetResponse, type BatchProgressResponse } from "./batches.mjs";
4
4
  export { Crawl, type CrawlListResponse, type CrawlRunResponse, type CrawlStatusResponse, type CrawlTerminateResponse, type CrawlListParams, type CrawlRunParams, } from "./crawl.mjs";
5
+ export { DomainKnowledge, type DomainKnowledgeGetDriverResponse, type DomainKnowledgeGetDriverParams, } from "./domain-knowledge.mjs";
6
+ export { Media, type MediaRunResponse, type MediaRunAsyncResponse, type MediaRunParams, type MediaRunAsyncParams, } from "./media.mjs";
7
+ export { Serp, type SerpRunResponse, type SerpRunAsyncResponse, type SerpRunBatchResponse, type SerpRunParams, type SerpRunAsyncParams, type SerpRunBatchParams, } from "./serp.mjs";
5
8
  export { Tasks, type TaskListResponse, type TaskGetResponse, type TaskResultsResponse, type TaskListParams, } from "./tasks.mjs";
6
9
  export { type ExtractResponse, type ExtractAsyncResponse, type ExtractBatchResponse, type MapResponse, type SearchResponse, type ExtractParams, type ExtractAsyncParams, type ExtractBatchParams, type MapParams, type SearchParams, } from "./top-level.mjs";
7
10
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE;OAC9D,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE;OAC9D,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB;OACM,EACL,eAAe,EACf,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB;OACM,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB"}
@@ -2,6 +2,9 @@ export * from "./shared.js";
2
2
  export { Agent, type AgentListResponse, type AgentGenerateResponse, type AgentGetResponse, type AgentGetGenerationResponse, type AgentPublishResponse, type AgentRunResponse, type AgentRunAsyncResponse, type AgentRunBatchResponse, type AgentListParams, type AgentGenerateParams, type AgentPublishParams, type AgentRunParams, type AgentRunAsyncParams, type AgentRunBatchParams, } from "./agent.js";
3
3
  export { Batches, type BatchGetResponse, type BatchProgressResponse } from "./batches.js";
4
4
  export { Crawl, type CrawlListResponse, type CrawlRunResponse, type CrawlStatusResponse, type CrawlTerminateResponse, type CrawlListParams, type CrawlRunParams, } from "./crawl.js";
5
+ export { DomainKnowledge, type DomainKnowledgeGetDriverResponse, type DomainKnowledgeGetDriverParams, } from "./domain-knowledge.js";
6
+ export { Media, type MediaRunResponse, type MediaRunAsyncResponse, type MediaRunParams, type MediaRunAsyncParams, } from "./media.js";
7
+ export { Serp, type SerpRunResponse, type SerpRunAsyncResponse, type SerpRunBatchResponse, type SerpRunParams, type SerpRunAsyncParams, type SerpRunBatchParams, } from "./serp.js";
5
8
  export { Tasks, type TaskListResponse, type TaskGetResponse, type TaskResultsResponse, type TaskListParams, } from "./tasks.js";
6
9
  export { type ExtractResponse, type ExtractAsyncResponse, type ExtractBatchResponse, type MapResponse, type SearchResponse, type ExtractParams, type ExtractAsyncParams, type ExtractBatchParams, type MapParams, type SearchParams, } from "./top-level.js";
7
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE;OAC9D,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE;OAC9D,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB;OACM,EACL,eAAe,EACf,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB;OACM,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB;OACM,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Tasks = exports.Crawl = exports.Batches = exports.Agent = void 0;
4
+ exports.Tasks = exports.Serp = exports.Media = exports.DomainKnowledge = exports.Crawl = exports.Batches = exports.Agent = void 0;
5
5
  const tslib_1 = require("../internal/tslib.js");
6
6
  tslib_1.__exportStar(require("./shared.js"), exports);
7
7
  var agent_1 = require("./agent.js");
@@ -10,6 +10,12 @@ var batches_1 = require("./batches.js");
10
10
  Object.defineProperty(exports, "Batches", { enumerable: true, get: function () { return batches_1.Batches; } });
11
11
  var crawl_1 = require("./crawl.js");
12
12
  Object.defineProperty(exports, "Crawl", { enumerable: true, get: function () { return crawl_1.Crawl; } });
13
+ var domain_knowledge_1 = require("./domain-knowledge.js");
14
+ Object.defineProperty(exports, "DomainKnowledge", { enumerable: true, get: function () { return domain_knowledge_1.DomainKnowledge; } });
15
+ var media_1 = require("./media.js");
16
+ Object.defineProperty(exports, "Media", { enumerable: true, get: function () { return media_1.Media; } });
17
+ var serp_1 = require("./serp.js");
18
+ Object.defineProperty(exports, "Serp", { enumerable: true, get: function () { return serp_1.Serp; } });
13
19
  var tasks_1 = require("./tasks.js");
14
20
  Object.defineProperty(exports, "Tasks", { enumerable: true, get: function () { return tasks_1.Tasks; } });
15
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,oCAgBiB;AAff,8FAAA,KAAK,OAAA;AAgBP,wCAAuF;AAA9E,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,oCAMiB;AALf,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,oCAgBiB;AAff,8FAAA,KAAK,OAAA;AAgBP,wCAAuF;AAA9E,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,oCAMiB;AALf,8FAAA,KAAK,OAAA"}
@@ -3,5 +3,8 @@ export * from "./shared.mjs";
3
3
  export { Agent, } from "./agent.mjs";
4
4
  export { Batches } from "./batches.mjs";
5
5
  export { Crawl, } from "./crawl.mjs";
6
+ export { DomainKnowledge, } from "./domain-knowledge.mjs";
7
+ export { Media, } from "./media.mjs";
8
+ export { Serp, } from "./serp.mjs";
6
9
  export { Tasks, } from "./tasks.mjs";
7
10
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,KAAK,GAeN;OACM,EAAE,OAAO,EAAqD;OAC9D,EACL,KAAK,GAON;OACM,EACL,KAAK,GAKN"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,KAAK,GAeN;OACM,EAAE,OAAO,EAAqD;OAC9D,EACL,KAAK,GAON;OACM,EACL,eAAe,GAGhB;OACM,EACL,KAAK,GAKN;OACM,EACL,IAAI,GAOL;OACM,EACL,KAAK,GAKN"}
@@ -0,0 +1,390 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ export declare class Media extends APIResource {
5
+ /**
6
+ * Download media from a URL. Waits for the result before responding.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const response = await client.media.run({
11
+ * url: 'https://example.com',
12
+ * });
13
+ * ```
14
+ */
15
+ run(body: MediaRunParams, options?: RequestOptions): APIPromise<MediaRunResponse>;
16
+ /**
17
+ * Download media from a URL asynchronously. Returns a task ID immediately.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const response = await client.media.runAsync({
22
+ * url: 'https://example.com',
23
+ * });
24
+ * ```
25
+ */
26
+ runAsync(body: MediaRunAsyncParams, options?: RequestOptions): APIPromise<MediaRunAsyncResponse>;
27
+ }
28
+ export interface MediaRunResponse {
29
+ data: MediaRunResponse.Data;
30
+ metadata: MediaRunResponse.Metadata;
31
+ /**
32
+ * The status of the task.
33
+ */
34
+ status: 'success' | 'skipped' | 'fatal' | 'error' | 'postponed' | 'ignored' | 'rejected' | 'blocked';
35
+ /**
36
+ * Unique identifier for the task.
37
+ */
38
+ task_id: string;
39
+ /**
40
+ * The final URL.
41
+ */
42
+ url: string;
43
+ debug?: MediaRunResponse.Debug;
44
+ /**
45
+ * Pagination information if applicable.
46
+ */
47
+ pagination?: MediaRunResponse.NextPageParams | Array<MediaRunResponse.UnionMember1>;
48
+ /**
49
+ * The HTTP status code of the task.
50
+ */
51
+ status_code?: number;
52
+ /**
53
+ * List of warnings generated during the task.
54
+ */
55
+ warnings?: Array<string>;
56
+ }
57
+ export declare namespace MediaRunResponse {
58
+ interface Data {
59
+ /**
60
+ * Browser actions execution results. Present only when browser_actions were
61
+ * specified in the request.
62
+ */
63
+ browser_actions?: Data.BrowserActions;
64
+ /**
65
+ * The cookies collected from browser actions during the task.
66
+ */
67
+ cookies?: Array<unknown>;
68
+ /**
69
+ * The evaluation results from browser actions during the task.
70
+ */
71
+ eval?: Array<unknown>;
72
+ /**
73
+ * The http requests from browser actions made during the task.
74
+ */
75
+ fetch?: Array<unknown>;
76
+ /**
77
+ * The headers received during the task.
78
+ */
79
+ headers?: {
80
+ [key: string]: string;
81
+ };
82
+ /**
83
+ * The HTML content of the page.
84
+ */
85
+ html?: string;
86
+ /**
87
+ * List of all unique URLs found on the page.
88
+ */
89
+ links?: Array<string>;
90
+ /**
91
+ * The Markdown version of the HTML content.
92
+ */
93
+ markdown?: string;
94
+ /**
95
+ * The network capture data collected during the task.
96
+ */
97
+ network_capture?: Array<Data.NetworkCapture>;
98
+ /**
99
+ * Individual HTML content of each pagination page, before merging.
100
+ */
101
+ pages_html?: Array<string>;
102
+ /**
103
+ * The parsing results extracted from the HTML & network content.
104
+ */
105
+ parsing?: Data.ParsingSuccessResult | Data.ParsingErrorResult | {
106
+ [key: string]: unknown;
107
+ };
108
+ /**
109
+ * The list of redirects that occurred during the task.
110
+ */
111
+ redirects?: Array<Data.Redirect>;
112
+ /**
113
+ * Screenshots taken during the task, from browser actions, or the screenshot
114
+ * format.
115
+ */
116
+ screenshots?: Array<unknown>;
117
+ }
118
+ namespace Data {
119
+ /**
120
+ * Browser actions execution results. Present only when browser_actions were
121
+ * specified in the request.
122
+ */
123
+ interface BrowserActions {
124
+ results: Array<BrowserActions.Result>;
125
+ success: boolean;
126
+ total_duration: number;
127
+ }
128
+ namespace BrowserActions {
129
+ interface Result {
130
+ duration: number;
131
+ name: 'goto' | 'wait' | 'wait_for_element' | 'wait_for_navigation' | 'click' | 'fill' | 'press' | 'scroll' | 'auto_scroll' | 'screenshot' | 'get_cookies' | 'eval' | 'fetch';
132
+ status: 'no-run' | 'in-progress' | 'done' | 'error' | 'skipped';
133
+ error?: string;
134
+ result?: unknown;
135
+ }
136
+ }
137
+ interface NetworkCapture {
138
+ filter: NetworkCapture.Filter;
139
+ results: Array<NetworkCapture.Result>;
140
+ errorMessage?: string;
141
+ }
142
+ namespace NetworkCapture {
143
+ interface Filter {
144
+ validation: boolean;
145
+ wait_for_requests_count: number;
146
+ method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
147
+ /**
148
+ * Resource type for network capture filtering
149
+ */
150
+ resource_type?: 'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm' | Array<'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm'>;
151
+ status_code?: number | Array<number>;
152
+ url?: Filter.URL;
153
+ wait_for_requests_count_timeout?: number;
154
+ }
155
+ namespace Filter {
156
+ interface URL {
157
+ type: 'exact' | 'contains';
158
+ value: string;
159
+ }
160
+ }
161
+ interface Result {
162
+ request: Result.Request;
163
+ response: Result.Response;
164
+ }
165
+ namespace Result {
166
+ interface Request {
167
+ headers: {
168
+ [key: string]: string;
169
+ };
170
+ method: string;
171
+ /**
172
+ * Resource type for network capture filtering
173
+ */
174
+ resource_type: 'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm';
175
+ url: string;
176
+ body?: string;
177
+ }
178
+ interface Response {
179
+ body: string;
180
+ headers: {
181
+ [key: string]: string;
182
+ };
183
+ serialization: 'none' | 'base64';
184
+ status: number;
185
+ status_text: string;
186
+ }
187
+ }
188
+ }
189
+ interface ParsingSuccessResult {
190
+ entities: {
191
+ [key: string]: unknown;
192
+ };
193
+ status: 'success';
194
+ }
195
+ interface ParsingErrorResult {
196
+ error: string;
197
+ status: 'error';
198
+ }
199
+ interface Redirect {
200
+ status_code: number;
201
+ url: string;
202
+ }
203
+ }
204
+ interface Metadata {
205
+ /**
206
+ * The name of the agent used for the query.
207
+ */
208
+ agent?: string;
209
+ /**
210
+ * The driver used for the task.
211
+ */
212
+ driver?: string;
213
+ /**
214
+ * The localization identifier for the query.
215
+ */
216
+ localization_id?: string;
217
+ /**
218
+ * The duration in milliseconds of the query processing.
219
+ */
220
+ query_duration?: number;
221
+ /**
222
+ * The time when the query was received.
223
+ */
224
+ query_time?: string;
225
+ /**
226
+ * Additional response parameters.
227
+ */
228
+ response_parameters?: unknown;
229
+ /**
230
+ * A tag associated with the query.
231
+ */
232
+ tag?: string;
233
+ }
234
+ interface Debug {
235
+ /**
236
+ * Performance metrics collected during the task.
237
+ */
238
+ performance_metrics?: {
239
+ [key: string]: number;
240
+ };
241
+ /**
242
+ * Total bytes used by the proxy during the task.
243
+ */
244
+ proxy_total_bytes_usage?: number;
245
+ /**
246
+ * The transformed output after applying any transformations.
247
+ */
248
+ transformed_output?: unknown;
249
+ /**
250
+ * The userbrowser instance using during the task.
251
+ */
252
+ userbrowser?: unknown;
253
+ }
254
+ interface NextPageParams {
255
+ next_page_params: {
256
+ [key: string]: unknown;
257
+ };
258
+ }
259
+ interface UnionMember1 {
260
+ next_page_params: {
261
+ [key: string]: unknown;
262
+ };
263
+ }
264
+ }
265
+ /**
266
+ * Response when an async media download task is created successfully.
267
+ */
268
+ export interface MediaRunAsyncResponse {
269
+ /**
270
+ * Status indicating the async task was created successfully.
271
+ */
272
+ status: 'success';
273
+ /**
274
+ * The created async task details.
275
+ */
276
+ task: MediaRunAsyncResponse.Task;
277
+ }
278
+ export declare namespace MediaRunAsyncResponse {
279
+ /**
280
+ * The created async task details.
281
+ */
282
+ interface Task {
283
+ /**
284
+ * Unique task identifier.
285
+ */
286
+ id: string;
287
+ _query: unknown;
288
+ /**
289
+ * Timestamp when the task was created.
290
+ */
291
+ created_at: string;
292
+ /**
293
+ * Original input data for the task.
294
+ */
295
+ input: unknown;
296
+ /**
297
+ * Current state of the task.
298
+ */
299
+ state: 'pending' | 'success' | 'error';
300
+ /**
301
+ * URL for checking the task status.
302
+ */
303
+ status_url: string;
304
+ /**
305
+ * Account name that owns the task.
306
+ */
307
+ account_name?: string;
308
+ api_type?: 'web' | 'serp' | 'ecommerce' | 'social' | 'media' | 'agent' | 'extract';
309
+ /**
310
+ * Batch ID if this task is part of a batch.
311
+ */
312
+ batch_id?: string;
313
+ /**
314
+ * URL for downloading the task results.
315
+ */
316
+ download_url?: string;
317
+ /**
318
+ * Error message if the task failed.
319
+ */
320
+ error?: string;
321
+ /**
322
+ * Classification of the error type.
323
+ */
324
+ error_type?: string;
325
+ /**
326
+ * Timestamp when the task was last modified.
327
+ */
328
+ modified_at?: string;
329
+ /**
330
+ * Storage location of the output data.
331
+ */
332
+ output_url?: string;
333
+ /**
334
+ * HTTP status code from the task execution.
335
+ */
336
+ status_code?: number;
337
+ }
338
+ }
339
+ export interface MediaRunParams {
340
+ url: string;
341
+ country?: string;
342
+ expected_mime_types?: Array<string>;
343
+ locale?: string;
344
+ storage?: MediaRunParams.Storage;
345
+ }
346
+ export declare namespace MediaRunParams {
347
+ interface Storage {
348
+ url: string;
349
+ object_name?: string;
350
+ type?: 's3' | 'gcs' | 'do';
351
+ }
352
+ }
353
+ export interface MediaRunAsyncParams {
354
+ url: string;
355
+ /**
356
+ * URL to call back when async operation completes
357
+ */
358
+ callback_url?: string;
359
+ country?: string;
360
+ expected_mime_types?: Array<string>;
361
+ locale?: string;
362
+ storage?: MediaRunAsyncParams.Storage;
363
+ /**
364
+ * Whether to compress stored data
365
+ */
366
+ storage_compress?: boolean;
367
+ /**
368
+ * Custom name for the stored object
369
+ */
370
+ storage_object_name?: string;
371
+ /**
372
+ * Type of storage to use for results
373
+ */
374
+ storage_type?: string;
375
+ /**
376
+ * URL for storage location
377
+ */
378
+ storage_url?: string;
379
+ }
380
+ export declare namespace MediaRunAsyncParams {
381
+ interface Storage {
382
+ url: string;
383
+ object_name?: string;
384
+ type?: 's3' | 'gcs' | 'do';
385
+ }
386
+ }
387
+ export declare namespace Media {
388
+ export { type MediaRunResponse as MediaRunResponse, type MediaRunAsyncResponse as MediaRunAsyncResponse, type MediaRunParams as MediaRunParams, type MediaRunAsyncParams as MediaRunAsyncParams, };
389
+ }
390
+ //# sourceMappingURL=media.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.d.mts","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAIjF;;;;;;;;;OASG;IACH,QAAQ,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGjG;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;IAE5B,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAAC;IAEpC;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAErG;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAA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