profoundai 0.35.1 → 0.36.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/CHANGELOG.md +25 -0
  2. package/client.d.mts +13 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +13 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +2 -1
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +2 -1
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +3 -1
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +1 -0
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/logs/raw.d.mts +1 -17
  20. package/resources/logs/raw.d.mts.map +1 -1
  21. package/resources/logs/raw.d.ts +1 -17
  22. package/resources/logs/raw.d.ts.map +1 -1
  23. package/resources/prompt-volumes.d.mts +112 -0
  24. package/resources/prompt-volumes.d.mts.map +1 -0
  25. package/resources/prompt-volumes.d.ts +112 -0
  26. package/resources/prompt-volumes.d.ts.map +1 -0
  27. package/resources/prompt-volumes.js +21 -0
  28. package/resources/prompt-volumes.js.map +1 -0
  29. package/resources/prompt-volumes.mjs +17 -0
  30. package/resources/prompt-volumes.mjs.map +1 -0
  31. package/resources/prompts.d.mts +1 -46
  32. package/resources/prompts.d.mts.map +1 -1
  33. package/resources/prompts.d.ts +1 -46
  34. package/resources/prompts.d.ts.map +1 -1
  35. package/resources/reports.d.mts +229 -147
  36. package/resources/reports.d.mts.map +1 -1
  37. package/resources/reports.d.ts +229 -147
  38. package/resources/reports.d.ts.map +1 -1
  39. package/resources/reports.js +68 -0
  40. package/resources/reports.js.map +1 -1
  41. package/resources/reports.mjs +68 -0
  42. package/resources/reports.mjs.map +1 -1
  43. package/resources/shared.d.mts +76 -0
  44. package/resources/shared.d.mts.map +1 -1
  45. package/resources/shared.d.ts +76 -0
  46. package/resources/shared.d.ts.map +1 -1
  47. package/src/client.ts +33 -0
  48. package/src/resources/index.ts +11 -0
  49. package/src/resources/logs/raw.ts +2 -136
  50. package/src/resources/prompt-volumes.ts +203 -0
  51. package/src/resources/prompts.ts +6 -78
  52. package/src/resources/reports.ts +322 -299
  53. package/src/resources/shared.ts +221 -0
  54. package/src/version.ts +1 -1
  55. package/version.d.mts +1 -1
  56. package/version.d.ts +1 -1
  57. package/version.js +1 -1
  58. package/version.mjs +1 -1
@@ -43,6 +43,38 @@ export class Reports extends APIResource {
43
43
  getBotsReport(body, options) {
44
44
  return this._client.post('/v1/reports/bots', { body, ...options });
45
45
  }
46
+ /**
47
+ * Get bot traffic report from the hourly aggregated materialized view (UTC-based).
48
+ *
49
+ * Supports date_interval="day" (default, UTC daily buckets) or "hour" (UTC hourly
50
+ * buckets).
51
+ *
52
+ * Metrics:
53
+ *
54
+ * - count: unique bot visits
55
+ * - citations: unique citation events (ai_assistant bot type)
56
+ * - indexing: unique indexing events (index bot type)
57
+ * - training: unique training events (ai_training bot type)
58
+ * - last_visit: most recent visit timestamp
59
+ *
60
+ * Dimensions:
61
+ *
62
+ * - date, path, bot_name, bot_provider, bot_type
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const reportResponse = await client.reports.getBotsReportV2(
67
+ * {
68
+ * domain: 'domain',
69
+ * metrics: ['count'],
70
+ * start_date: '2019-12-27T18:11:19.117Z',
71
+ * },
72
+ * );
73
+ * ```
74
+ */
75
+ getBotsReportV2(body, options) {
76
+ return this._client.post('/v2/reports/bots', { body, ...options });
77
+ }
46
78
  /**
47
79
  * Get referral traffic report from the daily aggregated materialized view.
48
80
  *
@@ -62,6 +94,42 @@ export class Reports extends APIResource {
62
94
  getReferralsReport(body, options) {
63
95
  return this._client.post('/v1/reports/referrals', { body, ...options });
64
96
  }
97
+ /**
98
+ * Get referral traffic report from the hourly aggregated materialized view
99
+ * (UTC-based).
100
+ *
101
+ * Supports date_interval="day" (default, UTC daily buckets) or "hour" (UTC hourly
102
+ * buckets).
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * const reportResponse =
107
+ * await client.reports.getReferralsReportV2({
108
+ * domain: 'domain',
109
+ * metrics: ['visits'],
110
+ * start_date: '2019-12-27T18:11:19.117Z',
111
+ * });
112
+ * ```
113
+ */
114
+ getReferralsReportV2(body, options) {
115
+ return this._client.post('/v2/reports/referrals', { body, ...options });
116
+ }
117
+ /**
118
+ * Query Fanouts
119
+ *
120
+ * @example
121
+ * ```ts
122
+ * const reportResponse = await client.reports.queryFanouts({
123
+ * category_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
124
+ * end_date: '2019-12-27T18:11:19.117Z',
125
+ * metrics: ['fanouts_per_execution'],
126
+ * start_date: '2019-12-27T18:11:19.117Z',
127
+ * });
128
+ * ```
129
+ */
130
+ queryFanouts(body, options) {
131
+ return this._client.post('/v1/reports/query-fanouts', { body, ...options });
132
+ }
65
133
  /**
66
134
  * Get citations for a given category.
67
135
  *
@@ -1 +1 @@
1
- {"version":3,"file":"reports.mjs","sourceRoot":"","sources":["../src/resources/reports.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAA2B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAAa,CAAC,IAA+B,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;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EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAChB,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,CAClB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,IAA8B,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAA2B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF"}
@@ -6,6 +6,33 @@ export interface AssetNameFilter {
6
6
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
7
7
  value: string | Array<string>;
8
8
  }
9
+ /**
10
+ * Filter by bot name (user agent)
11
+ */
12
+ export interface BotNameFilter {
13
+ field: 'bot_name';
14
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
15
+ value: 'Amazonbot' | 'ClaudeBot' | 'Claude-User' | 'Claude-SearchBot' | 'Applebot' | 'Applebot-Extended' | 'Bytespider' | 'DeepSeek' | 'DuckAssistBot' | 'DuckDuckBot' | 'Googlebot' | 'Googlebot-News' | 'Googlebot-Video' | 'Googlebot-Image' | 'Google-Extended' | 'Storebot-Google' | 'Google-CloudVertexBot' | 'meta-externalfetcher' | 'meta-externalagent' | 'bingbot' | 'MicrosoftPreview' | 'ChatGPT-User' | 'GPTBot' | 'OAI-SearchBot' | 'OAI-Operator' | 'PerplexityBot' | 'Perplexity-User' | 'Grok-PageBrowser' | 'YouBot' | Array<'Amazonbot' | 'ClaudeBot' | 'Claude-User' | 'Claude-SearchBot' | 'Applebot' | 'Applebot-Extended' | 'Bytespider' | 'DeepSeek' | 'DuckAssistBot' | 'DuckDuckBot' | 'Googlebot' | 'Googlebot-News' | 'Googlebot-Video' | 'Googlebot-Image' | 'Google-Extended' | 'Storebot-Google' | 'Google-CloudVertexBot' | 'meta-externalfetcher' | 'meta-externalagent' | 'bingbot' | 'MicrosoftPreview' | 'ChatGPT-User' | 'GPTBot' | 'OAI-SearchBot' | 'OAI-Operator' | 'PerplexityBot' | 'Perplexity-User' | 'Grok-PageBrowser' | 'YouBot'>;
16
+ }
17
+ /**
18
+ * Filter by bot provider
19
+ */
20
+ export interface BotProviderFilter {
21
+ field: 'bot_provider';
22
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
23
+ value: 'openai' | 'anthropic' | 'chatgpt' | 'deepseek' | 'google' | 'microsoft' | 'perplexity' | 'apple' | 'bytedance' | 'amazon' | 'meta' | 'duckduckgo' | 'you' | 'xai' | 'grok' | 'gemini' | Array<'openai' | 'anthropic' | 'chatgpt' | 'deepseek' | 'google' | 'microsoft' | 'perplexity' | 'apple' | 'bytedance' | 'amazon' | 'meta' | 'duckduckgo' | 'you' | 'xai' | 'grok' | 'gemini'>;
24
+ }
25
+ /**
26
+ * Filter by AI model/platform UUID.
27
+ */
28
+ export interface ModelIDFilter {
29
+ /**
30
+ * - `model` - Deprecated
31
+ */
32
+ field: 'model_id' | 'model';
33
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
34
+ value: string | Array<string>;
35
+ }
9
36
  /**
10
37
  * Report pagination model.
11
38
  */
@@ -27,6 +54,14 @@ export interface PathFilter {
27
54
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
28
55
  value: string | Array<string>;
29
56
  }
57
+ /**
58
+ * Filter by persona UUID.
59
+ */
60
+ export interface PersonaIDFilter {
61
+ field: 'persona_id';
62
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
63
+ value: string | Array<string>;
64
+ }
30
65
  /**
31
66
  * Filter by prompt text
32
67
  */
@@ -35,4 +70,45 @@ export interface PromptFilter {
35
70
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
36
71
  value: string | Array<string>;
37
72
  }
73
+ /**
74
+ * Filter by prompt type (visibility or sentiment).
75
+ */
76
+ export interface PromptTypeFilter {
77
+ field: 'prompt_type';
78
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
79
+ value: 'visibility' | 'sentiment' | Array<'visibility' | 'sentiment'>;
80
+ }
81
+ /**
82
+ * Filter by region UUID.
83
+ */
84
+ export interface RegionIDFilter {
85
+ /**
86
+ * - `region` - Deprecated
87
+ */
88
+ field: 'region_id' | 'region';
89
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
90
+ value: string | Array<string>;
91
+ }
92
+ /**
93
+ * Filter by tag (prompt group) UUID.
94
+ */
95
+ export interface TagIDFilter {
96
+ /**
97
+ * - `tag` - Deprecated
98
+ */
99
+ field: 'tag_id' | 'tag';
100
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
101
+ value: string | Array<string>;
102
+ }
103
+ /**
104
+ * Filter by topic UUID.
105
+ */
106
+ export interface TopicIDFilter {
107
+ /**
108
+ * - `topic` - Deprecated
109
+ */
110
+ field: 'topic_id' | 'topic';
111
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
112
+ value: string | Array<string>;
113
+ }
38
114
  //# sourceMappingURL=shared.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,YAAY,CAAC;IAEpB,QAAQ,EACJ,IAAI,GACJ,QAAQ,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,SAAS,GACT,2BAA2B,GAC3B,+BAA+B,CAAC;IAEpC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EACJ,IAAI,GACJ,QAAQ,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,SAAS,GACT,2BAA2B,GAC3B,+BAA+B,CAAC;IAEpC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,QAAQ,CAAC;IAEhB,QAAQ,EACJ,IAAI,GACJ,QAAQ,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,SAAS,GACT,2BAA2B,GAC3B,+BAA+B,CAAC;IAEpC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
1
+ {"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,YAAY,CAAC;IAEpB,QAAQ,EACJ,IAAI,GACJ,QAAQ,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,SAAS,GACT,2BAA2B,GAC3B,+BAA+B,CAAC;IAEpC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,UAAU,CAAC;IAElB,QAAQ,EACJ,IAAI,GACJ,QAAQ,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,SAAS,GACT,2BAA2B,GAC3B,+BAA+B,CAAC;IAEpC,KAAK,EACD,WAAW,GACX,WAAW,GACX,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,mBAAmB,GACnB,YAAY,GACZ,UAAU,GACV,eAAe,GACf,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,uBAAuB,GACvB,sBAAsB,GACtB,oBAAoB,GACpB,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,QAAQ,GACR,eAAe,GACf,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,QAAQ,GACR,KAAK,CACD,WAAW,GACX,WAAW,GACX,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,mBAAmB,GACnB,YAAY,GACZ,UAAU,GACV,eAAe,GACf,aAAa,GACb,WAAW,GACX,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CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAC;IAExB,QAAQ,EAAE,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAC;IAE5C,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC;IAE5B,QAAQ,EAAE,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAC;IAE5C,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
@@ -6,6 +6,33 @@ export interface AssetNameFilter {
6
6
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
7
7
  value: string | Array<string>;
8
8
  }
9
+ /**
10
+ * Filter by bot name (user agent)
11
+ */
12
+ export interface BotNameFilter {
13
+ field: 'bot_name';
14
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
15
+ value: 'Amazonbot' | 'ClaudeBot' | 'Claude-User' | 'Claude-SearchBot' | 'Applebot' | 'Applebot-Extended' | 'Bytespider' | 'DeepSeek' | 'DuckAssistBot' | 'DuckDuckBot' | 'Googlebot' | 'Googlebot-News' | 'Googlebot-Video' | 'Googlebot-Image' | 'Google-Extended' | 'Storebot-Google' | 'Google-CloudVertexBot' | 'meta-externalfetcher' | 'meta-externalagent' | 'bingbot' | 'MicrosoftPreview' | 'ChatGPT-User' | 'GPTBot' | 'OAI-SearchBot' | 'OAI-Operator' | 'PerplexityBot' | 'Perplexity-User' | 'Grok-PageBrowser' | 'YouBot' | Array<'Amazonbot' | 'ClaudeBot' | 'Claude-User' | 'Claude-SearchBot' | 'Applebot' | 'Applebot-Extended' | 'Bytespider' | 'DeepSeek' | 'DuckAssistBot' | 'DuckDuckBot' | 'Googlebot' | 'Googlebot-News' | 'Googlebot-Video' | 'Googlebot-Image' | 'Google-Extended' | 'Storebot-Google' | 'Google-CloudVertexBot' | 'meta-externalfetcher' | 'meta-externalagent' | 'bingbot' | 'MicrosoftPreview' | 'ChatGPT-User' | 'GPTBot' | 'OAI-SearchBot' | 'OAI-Operator' | 'PerplexityBot' | 'Perplexity-User' | 'Grok-PageBrowser' | 'YouBot'>;
16
+ }
17
+ /**
18
+ * Filter by bot provider
19
+ */
20
+ export interface BotProviderFilter {
21
+ field: 'bot_provider';
22
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
23
+ value: 'openai' | 'anthropic' | 'chatgpt' | 'deepseek' | 'google' | 'microsoft' | 'perplexity' | 'apple' | 'bytedance' | 'amazon' | 'meta' | 'duckduckgo' | 'you' | 'xai' | 'grok' | 'gemini' | Array<'openai' | 'anthropic' | 'chatgpt' | 'deepseek' | 'google' | 'microsoft' | 'perplexity' | 'apple' | 'bytedance' | 'amazon' | 'meta' | 'duckduckgo' | 'you' | 'xai' | 'grok' | 'gemini'>;
24
+ }
25
+ /**
26
+ * Filter by AI model/platform UUID.
27
+ */
28
+ export interface ModelIDFilter {
29
+ /**
30
+ * - `model` - Deprecated
31
+ */
32
+ field: 'model_id' | 'model';
33
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
34
+ value: string | Array<string>;
35
+ }
9
36
  /**
10
37
  * Report pagination model.
11
38
  */
@@ -27,6 +54,14 @@ export interface PathFilter {
27
54
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
28
55
  value: string | Array<string>;
29
56
  }
57
+ /**
58
+ * Filter by persona UUID.
59
+ */
60
+ export interface PersonaIDFilter {
61
+ field: 'persona_id';
62
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
63
+ value: string | Array<string>;
64
+ }
30
65
  /**
31
66
  * Filter by prompt text
32
67
  */
@@ -35,4 +70,45 @@ export interface PromptFilter {
35
70
  operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
36
71
  value: string | Array<string>;
37
72
  }
73
+ /**
74
+ * Filter by prompt type (visibility or sentiment).
75
+ */
76
+ export interface PromptTypeFilter {
77
+ field: 'prompt_type';
78
+ operator: 'is' | 'not_is' | 'in' | 'not_in' | 'contains' | 'not_contains' | 'matches' | 'contains_case_insensitive' | 'not_contains_case_insensitive';
79
+ value: 'visibility' | 'sentiment' | Array<'visibility' | 'sentiment'>;
80
+ }
81
+ /**
82
+ * Filter by region UUID.
83
+ */
84
+ export interface RegionIDFilter {
85
+ /**
86
+ * - `region` - Deprecated
87
+ */
88
+ field: 'region_id' | 'region';
89
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
90
+ value: string | Array<string>;
91
+ }
92
+ /**
93
+ * Filter by tag (prompt group) UUID.
94
+ */
95
+ export interface TagIDFilter {
96
+ /**
97
+ * - `tag` - Deprecated
98
+ */
99
+ field: 'tag_id' | 'tag';
100
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
101
+ value: string | Array<string>;
102
+ }
103
+ /**
104
+ * Filter by topic UUID.
105
+ */
106
+ export interface TopicIDFilter {
107
+ /**
108
+ * - `topic` - Deprecated
109
+ */
110
+ field: 'topic_id' | 'topic';
111
+ operator: 'is' | 'not_is' | 'in' | 'not_in';
112
+ value: string | Array<string>;
113
+ }
38
114
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,YAAY,CAAC;IA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ploads';
18
18
  import * as API from './resources/index';
19
19
  import { APIPromise } from './core/api-promise';
20
+ import {
21
+ PromptVolumeCreateVolumeParams,
22
+ PromptVolumeCreateVolumeResponse,
23
+ PromptVolumeListCitationPromptsParams,
24
+ PromptVolumeListCitationPromptsResponse,
25
+ PromptVolumes,
26
+ } from './resources/prompt-volumes';
20
27
  import { PromptAnswersParams, PromptAnswersResponse, Prompts } from './resources/prompts';
21
28
  import {
29
+ PromptIDFilter,
22
30
  ReportCitationsParams,
23
31
  ReportCitationsResponse,
24
32
  ReportGetBotsReportParams,
33
+ ReportGetBotsReportV2Params,
25
34
  ReportGetReferralsReportParams,
35
+ ReportGetReferralsReportV2Params,
26
36
  ReportInfo,
37
+ ReportQueryFanoutsParams,
27
38
  ReportResponse,
28
39
  ReportResult,
29
40
  ReportSentimentParams,
@@ -748,6 +759,7 @@ export class Profound {
748
759
  reports: API.Reports = new API.Reports(this);
749
760
  logs: API.Logs = new API.Logs(this);
750
761
  content: API.Content = new API.Content(this);
762
+ promptVolumes: API.PromptVolumes = new API.PromptVolumes(this);
751
763
  }
752
764
 
753
765
  Profound.Organizations = Organizations;
@@ -755,6 +767,7 @@ Profound.Prompts = Prompts;
755
767
  Profound.Reports = Reports;
756
768
  Profound.Logs = Logs;
757
769
  Profound.Content = Content;
770
+ Profound.PromptVolumes = PromptVolumes;
758
771
 
759
772
  export declare namespace Profound {
760
773
  export type RequestOptions = Opts.RequestOptions;
@@ -781,6 +794,7 @@ export declare namespace Profound {
781
794
 
782
795
  export {
783
796
  Reports as Reports,
797
+ type PromptIDFilter as PromptIDFilter,
784
798
  type ReportInfo as ReportInfo,
785
799
  type ReportResponse as ReportResponse,
786
800
  type ReportResult as ReportResult,
@@ -788,7 +802,10 @@ export declare namespace Profound {
788
802
  type ReportCitationsResponse as ReportCitationsResponse,
789
803
  type ReportCitationsParams as ReportCitationsParams,
790
804
  type ReportGetBotsReportParams as ReportGetBotsReportParams,
805
+ type ReportGetBotsReportV2Params as ReportGetBotsReportV2Params,
791
806
  type ReportGetReferralsReportParams as ReportGetReferralsReportParams,
807
+ type ReportGetReferralsReportV2Params as ReportGetReferralsReportV2Params,
808
+ type ReportQueryFanoutsParams as ReportQueryFanoutsParams,
792
809
  type ReportSentimentParams as ReportSentimentParams,
793
810
  type ReportVisibilityParams as ReportVisibilityParams,
794
811
  };
@@ -797,8 +814,24 @@ export declare namespace Profound {
797
814
 
798
815
  export { Content as Content };
799
816
 
817
+ export {
818
+ PromptVolumes as PromptVolumes,
819
+ type PromptVolumeCreateVolumeResponse as PromptVolumeCreateVolumeResponse,
820
+ type PromptVolumeListCitationPromptsResponse as PromptVolumeListCitationPromptsResponse,
821
+ type PromptVolumeCreateVolumeParams as PromptVolumeCreateVolumeParams,
822
+ type PromptVolumeListCitationPromptsParams as PromptVolumeListCitationPromptsParams,
823
+ };
824
+
800
825
  export type AssetNameFilter = API.AssetNameFilter;
826
+ export type BotNameFilter = API.BotNameFilter;
827
+ export type BotProviderFilter = API.BotProviderFilter;
828
+ export type ModelIDFilter = API.ModelIDFilter;
801
829
  export type Pagination = API.Pagination;
802
830
  export type PathFilter = API.PathFilter;
831
+ export type PersonaIDFilter = API.PersonaIDFilter;
803
832
  export type PromptFilter = API.PromptFilter;
833
+ export type PromptTypeFilter = API.PromptTypeFilter;
834
+ export type RegionIDFilter = API.RegionIDFilter;
835
+ export type TagIDFilter = API.TagIDFilter;
836
+ export type TopicIDFilter = API.TopicIDFilter;
804
837
  }
@@ -16,9 +16,17 @@ export {
16
16
  type OrganizationModelsResponse,
17
17
  type OrganizationRegionsResponse,
18
18
  } from './organizations/organizations';
19
+ export {
20
+ PromptVolumes,
21
+ type PromptVolumeCreateVolumeResponse,
22
+ type PromptVolumeListCitationPromptsResponse,
23
+ type PromptVolumeCreateVolumeParams,
24
+ type PromptVolumeListCitationPromptsParams,
25
+ } from './prompt-volumes';
19
26
  export { Prompts, type PromptAnswersResponse, type PromptAnswersParams } from './prompts';
20
27
  export {
21
28
  Reports,
29
+ type PromptIDFilter,
22
30
  type ReportInfo,
23
31
  type ReportResponse,
24
32
  type ReportResult,
@@ -26,7 +34,10 @@ export {
26
34
  type ReportCitationsResponse,
27
35
  type ReportCitationsParams,
28
36
  type ReportGetBotsReportParams,
37
+ type ReportGetBotsReportV2Params,
29
38
  type ReportGetReferralsReportParams,
39
+ type ReportGetReferralsReportV2Params,
40
+ type ReportQueryFanoutsParams,
30
41
  type ReportSentimentParams,
31
42
  type ReportVisibilityParams,
32
43
  } from './reports';
@@ -149,8 +149,8 @@ export interface RawBotsParams {
149
149
  * List of filters to apply to the bots logs query.
150
150
  */
151
151
  filters?: Array<
152
- | RawBotsParams.BotNameFilter
153
- | RawBotsParams.BotProviderFilter
152
+ | Shared.BotNameFilter
153
+ | Shared.BotProviderFilter
154
154
  | RawBotsParams.BotTypesFilter
155
155
  | RawBotsParams.MethodFilter
156
156
  | Shared.PathFilter
@@ -184,140 +184,6 @@ export interface RawBotsParams {
184
184
  }
185
185
 
186
186
  export namespace RawBotsParams {
187
- /**
188
- * Filter by bot name (user agent)
189
- */
190
- export interface BotNameFilter {
191
- field: 'bot_name';
192
-
193
- operator:
194
- | 'is'
195
- | 'not_is'
196
- | 'in'
197
- | 'not_in'
198
- | 'contains'
199
- | 'not_contains'
200
- | 'matches'
201
- | 'contains_case_insensitive'
202
- | 'not_contains_case_insensitive';
203
-
204
- value:
205
- | 'Amazonbot'
206
- | 'ClaudeBot'
207
- | 'Claude-User'
208
- | 'Claude-SearchBot'
209
- | 'Applebot'
210
- | 'Applebot-Extended'
211
- | 'Bytespider'
212
- | 'DeepSeek'
213
- | 'DuckAssistBot'
214
- | 'DuckDuckBot'
215
- | 'Googlebot'
216
- | 'Googlebot-News'
217
- | 'Googlebot-Video'
218
- | 'Googlebot-Image'
219
- | 'Google-Extended'
220
- | 'Storebot-Google'
221
- | 'Google-CloudVertexBot'
222
- | 'meta-externalfetcher'
223
- | 'meta-externalagent'
224
- | 'bingbot'
225
- | 'MicrosoftPreview'
226
- | 'ChatGPT-User'
227
- | 'GPTBot'
228
- | 'OAI-SearchBot'
229
- | 'OAI-Operator'
230
- | 'PerplexityBot'
231
- | 'Perplexity-User'
232
- | 'Grok-PageBrowser'
233
- | 'YouBot'
234
- | Array<
235
- | 'Amazonbot'
236
- | 'ClaudeBot'
237
- | 'Claude-User'
238
- | 'Claude-SearchBot'
239
- | 'Applebot'
240
- | 'Applebot-Extended'
241
- | 'Bytespider'
242
- | 'DeepSeek'
243
- | 'DuckAssistBot'
244
- | 'DuckDuckBot'
245
- | 'Googlebot'
246
- | 'Googlebot-News'
247
- | 'Googlebot-Video'
248
- | 'Googlebot-Image'
249
- | 'Google-Extended'
250
- | 'Storebot-Google'
251
- | 'Google-CloudVertexBot'
252
- | 'meta-externalfetcher'
253
- | 'meta-externalagent'
254
- | 'bingbot'
255
- | 'MicrosoftPreview'
256
- | 'ChatGPT-User'
257
- | 'GPTBot'
258
- | 'OAI-SearchBot'
259
- | 'OAI-Operator'
260
- | 'PerplexityBot'
261
- | 'Perplexity-User'
262
- | 'Grok-PageBrowser'
263
- | 'YouBot'
264
- >;
265
- }
266
-
267
- /**
268
- * Filter by bot provider
269
- */
270
- export interface BotProviderFilter {
271
- field: 'bot_provider';
272
-
273
- operator:
274
- | 'is'
275
- | 'not_is'
276
- | 'in'
277
- | 'not_in'
278
- | 'contains'
279
- | 'not_contains'
280
- | 'matches'
281
- | 'contains_case_insensitive'
282
- | 'not_contains_case_insensitive';
283
-
284
- value:
285
- | 'openai'
286
- | 'anthropic'
287
- | 'chatgpt'
288
- | 'deepseek'
289
- | 'google'
290
- | 'microsoft'
291
- | 'perplexity'
292
- | 'apple'
293
- | 'bytedance'
294
- | 'amazon'
295
- | 'meta'
296
- | 'duckduckgo'
297
- | 'you'
298
- | 'xai'
299
- | 'grok'
300
- | 'gemini'
301
- | Array<
302
- | 'openai'
303
- | 'anthropic'
304
- | 'chatgpt'
305
- | 'deepseek'
306
- | 'google'
307
- | 'microsoft'
308
- | 'perplexity'
309
- | 'apple'
310
- | 'bytedance'
311
- | 'amazon'
312
- | 'meta'
313
- | 'duckduckgo'
314
- | 'you'
315
- | 'xai'
316
- | 'grok'
317
- | 'gemini'
318
- >;
319
- }
320
-
321
187
  /**
322
188
  * Filter by bot types (ai_assistant, ai_training, or index)
323
189
  */