@utdk/posthog 1.0.0-20260712.5-dev.e2949a6

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 (151) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +172 -0
  3. package/docs/account_relationship_definitions.md +194 -0
  4. package/docs/accounts.md +380 -0
  5. package/docs/actions.md +274 -0
  6. package/docs/activity_logs.md +144 -0
  7. package/docs/advanced_activity_logs.md +101 -0
  8. package/docs/agent_platform.md +2525 -0
  9. package/docs/ai-observability.md +514 -0
  10. package/docs/alerts.md +444 -0
  11. package/docs/annotations.md +200 -0
  12. package/docs/batch_exports.md +2118 -0
  13. package/docs/business_knowledge.md +468 -0
  14. package/docs/code-invites.md +72 -0
  15. package/docs/cohorts.md +412 -0
  16. package/docs/comments.md +321 -0
  17. package/docs/conversations.md +695 -0
  18. package/docs/custom_property_definitions.md +442 -0
  19. package/docs/custom_property_sources.md +194 -0
  20. package/docs/customer_analytics.md +442 -0
  21. package/docs/customer_journeys.md +380 -0
  22. package/docs/customer_profile_configs.md +380 -0
  23. package/docs/dashboard_templates.md +258 -0
  24. package/docs/dashboards.md +1896 -0
  25. package/docs/data_color_themes.md +380 -0
  26. package/docs/data_modeling_jobs.md +264 -0
  27. package/docs/data_warehouse.md +928 -0
  28. package/docs/dataset_items.md +382 -0
  29. package/docs/datasets.md +382 -0
  30. package/docs/desktop_file_system.md +753 -0
  31. package/docs/desktop_file_system_shortcut.md +244 -0
  32. package/docs/docs.md +72 -0
  33. package/docs/early_access_feature.md +194 -0
  34. package/docs/elements.md +510 -0
  35. package/docs/endpoints.md +1030 -0
  36. package/docs/engineering_analytics.md +712 -0
  37. package/docs/environments.md +881 -0
  38. package/docs/error_tracking.md +5108 -0
  39. package/docs/evaluation_runs.md +78 -0
  40. package/docs/evaluations.md +446 -0
  41. package/docs/event_definitions.md +425 -0
  42. package/docs/event_filter.md +280 -0
  43. package/docs/event_schemas.md +163 -0
  44. package/docs/events.md +208 -0
  45. package/docs/experiment_holdouts.md +194 -0
  46. package/docs/experiment_saved_metrics.md +194 -0
  47. package/docs/experiments.md +1088 -0
  48. package/docs/exports.md +256 -0
  49. package/docs/external_data_schemas.md +752 -0
  50. package/docs/external_data_sources.md +2296 -0
  51. package/docs/feature_flags.md +808 -0
  52. package/docs/field_notes.md +206 -0
  53. package/docs/file_system.md +880 -0
  54. package/docs/file_system_shortcut.md +444 -0
  55. package/docs/flag_value.md +46 -0
  56. package/docs/groups.md +514 -0
  57. package/docs/groups_types.md +349 -0
  58. package/docs/health_issues.md +386 -0
  59. package/docs/heatmap_screenshots.md +72 -0
  60. package/docs/heatmaps.md +136 -0
  61. package/docs/hog_flows.md +1576 -0
  62. package/docs/hog_function_templates.md +101 -0
  63. package/docs/hog_functions.md +974 -0
  64. package/docs/ingestion_warnings_v2.md +40 -0
  65. package/docs/insight_variables.md +380 -0
  66. package/docs/insights.md +1722 -0
  67. package/docs/integrations.md +1954 -0
  68. package/docs/js-snippet.md +104 -0
  69. package/docs/live_debugger_breakpoints.md +264 -0
  70. package/docs/llm_analytics.md +3373 -0
  71. package/docs/llm_prompts.md +442 -0
  72. package/docs/llm_skills.md +952 -0
  73. package/docs/logs.md +2446 -0
  74. package/docs/managed_viewsets.md +140 -0
  75. package/docs/marketing_analytics.md +518 -0
  76. package/docs/max.md +772 -0
  77. package/docs/max_tools.md +70 -0
  78. package/docs/mcp_analytics.md +712 -0
  79. package/docs/mcp_server_installations.md +970 -0
  80. package/docs/mcp_servers.md +78 -0
  81. package/docs/mcp_tools.md +82 -0
  82. package/docs/messaging_templates.md +444 -0
  83. package/docs/metrics.md +462 -0
  84. package/docs/notebooks.md +838 -0
  85. package/docs/object_media_previews.md +228 -0
  86. package/docs/organizations.md +2958 -0
  87. package/docs/persons.md +1514 -0
  88. package/docs/platform_features.md +700 -0
  89. package/docs/plugin_configs.md +70 -0
  90. package/docs/product_enablement.md +39 -0
  91. package/docs/product_tours.md +357 -0
  92. package/docs/project_secret_api_keys.md +444 -0
  93. package/docs/property_access_controls.md +200 -0
  94. package/docs/property_definitions.md +244 -0
  95. package/docs/query.md +560 -0
  96. package/docs/quota_limits.md +40 -0
  97. package/docs/reminders.md +194 -0
  98. package/docs/replay.md +1020 -0
  99. package/docs/reverse_proxy.md +200 -0
  100. package/docs/sandbox-custom-images.md +209 -0
  101. package/docs/sandbox-environments.md +168 -0
  102. package/docs/saved.md +392 -0
  103. package/docs/saved_query_column_annotations.md +224 -0
  104. package/docs/scheduled_changes.md +200 -0
  105. package/docs/schema_property_groups.md +194 -0
  106. package/docs/sdk_health.md +40 -0
  107. package/docs/session_group_summaries.md +200 -0
  108. package/docs/session_recordings.md +260 -0
  109. package/docs/session_summaries.md +200 -0
  110. package/docs/sessions.md +132 -0
  111. package/docs/signals.md +1428 -0
  112. package/docs/single_session_summaries.md +72 -0
  113. package/docs/streamlit_apps.md +456 -0
  114. package/docs/subscriptions.md +634 -0
  115. package/docs/surveys.md +731 -0
  116. package/docs/taggers.md +446 -0
  117. package/docs/task-automations.md +200 -0
  118. package/docs/task-runs.md +654 -0
  119. package/docs/task_channels.md +136 -0
  120. package/docs/task_mentions.md +40 -0
  121. package/docs/tasks.md +776 -0
  122. package/docs/tracing.md +1186 -0
  123. package/docs/uploaded_media.md +44 -0
  124. package/docs/user_home_settings.md +72 -0
  125. package/docs/user_interview_topics.md +1288 -0
  126. package/docs/user_interviews.md +444 -0
  127. package/docs/users.md +1267 -0
  128. package/docs/vision.md +2022 -0
  129. package/docs/visual_review.md +816 -0
  130. package/docs/warehouse_column_annotations.md +224 -0
  131. package/docs/warehouse_column_statistics.md +80 -0
  132. package/docs/warehouse_dag.md +40 -0
  133. package/docs/warehouse_model_paths.md +70 -0
  134. package/docs/warehouse_saved_queries.md +1056 -0
  135. package/docs/warehouse_saved_query_folders.md +318 -0
  136. package/docs/warehouse_tables.md +584 -0
  137. package/docs/warehouse_view_link.md +456 -0
  138. package/docs/warehouse_view_links.md +456 -0
  139. package/docs/web_analytics.md +136 -0
  140. package/docs/web_analytics_achievements.md +200 -0
  141. package/docs/web_experiments.md +194 -0
  142. package/docs/web_vitals.md +74 -0
  143. package/docs/wizard.md +170 -0
  144. package/index.ts +22 -0
  145. package/metadata.ts +41419 -0
  146. package/openapi.json +297382 -0
  147. package/overlay.yaml +23 -0
  148. package/package.json +34 -0
  149. package/provenance.json +24 -0
  150. package/research.json +80 -0
  151. package/types/index.ts +17547 -0
@@ -0,0 +1,880 @@
1
+ # File System
2
+
3
+ ## Operations
4
+
5
+ ### `posthog.environmentsFileSystemList`
6
+
7
+ - **HTTP**: `GET /api/environments/{environment_id}/file_system/`
8
+ - **OpenAPI operationId**: `environments_file_system_list`
9
+ - **Path params**: None
10
+ - **Query params**: `limit`, `offset`, `search`
11
+ - **Response codes**: `200`
12
+ - **Transport options**: None
13
+ - **TypeScript**: [Client interface](../types.ts)
14
+
15
+ **Inputs**
16
+
17
+ - Client input type: `{ [key: string]: unknown }`
18
+ - Client transport options: None
19
+
20
+ **Outputs**
21
+
22
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean |...`
23
+ - OpenAPI response codes: `200`
24
+
25
+ ```ts
26
+ import posthog from "@utdk/posthog";
27
+
28
+ type EnvironmentsFileSystemListInput = Parameters<typeof posthog.environmentsFileSystemList> extends [infer T, ...unknown[]] ? T : undefined;
29
+ type EnvironmentsFileSystemListOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemList>>;
30
+
31
+ const result: EnvironmentsFileSystemListOutput = await posthog.environmentsFileSystemList();
32
+
33
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean |...
34
+ ```
35
+
36
+ ### `posthog.environmentsFileSystemCreate`
37
+
38
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/`
39
+ - **OpenAPI operationId**: `environments_file_system_create`
40
+ - **Path params**: None
41
+ - **Query params**: None
42
+ - **Response codes**: `201`
43
+ - **Transport options**: None
44
+ - **TypeScript**: [Client interface](../types.ts)
45
+
46
+ **Inputs**
47
+
48
+ - Client input type: `{ [key: string]: unknown }`
49
+ - Client transport options: None
50
+
51
+ **Outputs**
52
+
53
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
54
+ - OpenAPI response codes: `201`
55
+
56
+ ```ts
57
+ import posthog from "@utdk/posthog";
58
+
59
+ type EnvironmentsFileSystemCreateInput = Parameters<typeof posthog.environmentsFileSystemCreate> extends [infer T, ...unknown[]] ? T : undefined;
60
+ type EnvironmentsFileSystemCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemCreate>>;
61
+
62
+ const result: EnvironmentsFileSystemCreateOutput = await posthog.environmentsFileSystemCreate();
63
+
64
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
65
+ ```
66
+
67
+ ### `posthog.environmentsFileSystemDestroy`
68
+
69
+ - **HTTP**: `DELETE /api/environments/{environment_id}/file_system/{id}/`
70
+ - **OpenAPI operationId**: `environments_file_system_destroy`
71
+ - **Path params**: `id`
72
+ - **Query params**: None
73
+ - **Response codes**: `204`
74
+ - **Transport options**: None
75
+ - **TypeScript**: [Client interface](../types.ts)
76
+
77
+ **Inputs**
78
+
79
+ - Client input type: `{ [key: string]: unknown }`
80
+ - Client transport options: None
81
+
82
+ **Outputs**
83
+
84
+ - Client return type: `unknown`
85
+ - OpenAPI response codes: `204`
86
+
87
+ ```ts
88
+ import posthog from "@utdk/posthog";
89
+
90
+ type EnvironmentsFileSystemDestroyInput = Parameters<typeof posthog.environmentsFileSystemDestroy> extends [infer T, ...unknown[]] ? T : undefined;
91
+ type EnvironmentsFileSystemDestroyOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemDestroy>>;
92
+
93
+ const result: EnvironmentsFileSystemDestroyOutput = await posthog.environmentsFileSystemDestroy();
94
+
95
+ // Result shape (from schema): unknown
96
+ ```
97
+
98
+ ### `posthog.environmentsFileSystemRetrieve`
99
+
100
+ - **HTTP**: `GET /api/environments/{environment_id}/file_system/{id}/`
101
+ - **OpenAPI operationId**: `environments_file_system_retrieve`
102
+ - **Path params**: `id`
103
+ - **Query params**: None
104
+ - **Response codes**: `200`
105
+ - **Transport options**: None
106
+ - **TypeScript**: [Client interface](../types.ts)
107
+
108
+ **Inputs**
109
+
110
+ - Client input type: `{ [key: string]: unknown }`
111
+ - Client transport options: None
112
+
113
+ **Outputs**
114
+
115
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
116
+ - OpenAPI response codes: `200`
117
+
118
+ ```ts
119
+ import posthog from "@utdk/posthog";
120
+
121
+ type EnvironmentsFileSystemRetrieveInput = Parameters<typeof posthog.environmentsFileSystemRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
122
+ type EnvironmentsFileSystemRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemRetrieve>>;
123
+
124
+ const result: EnvironmentsFileSystemRetrieveOutput = await posthog.environmentsFileSystemRetrieve();
125
+
126
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
127
+ ```
128
+
129
+ ### `posthog.environmentsFileSystemPartialUpdate`
130
+
131
+ - **HTTP**: `PATCH /api/environments/{environment_id}/file_system/{id}/`
132
+ - **OpenAPI operationId**: `environments_file_system_partial_update`
133
+ - **Path params**: `id`
134
+ - **Query params**: None
135
+ - **Response codes**: `200`
136
+ - **Transport options**: None
137
+ - **TypeScript**: [Client interface](../types.ts)
138
+
139
+ **Inputs**
140
+
141
+ - Client input type: `{ [key: string]: unknown }`
142
+ - Client transport options: None
143
+
144
+ **Outputs**
145
+
146
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
147
+ - OpenAPI response codes: `200`
148
+
149
+ ```ts
150
+ import posthog from "@utdk/posthog";
151
+
152
+ type EnvironmentsFileSystemPartialUpdateInput = Parameters<typeof posthog.environmentsFileSystemPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
153
+ type EnvironmentsFileSystemPartialUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemPartialUpdate>>;
154
+
155
+ const result: EnvironmentsFileSystemPartialUpdateOutput = await posthog.environmentsFileSystemPartialUpdate();
156
+
157
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
158
+ ```
159
+
160
+ ### `posthog.environmentsFileSystemUpdate`
161
+
162
+ - **HTTP**: `PUT /api/environments/{environment_id}/file_system/{id}/`
163
+ - **OpenAPI operationId**: `environments_file_system_update`
164
+ - **Path params**: `id`
165
+ - **Query params**: None
166
+ - **Response codes**: `200`
167
+ - **Transport options**: None
168
+ - **TypeScript**: [Client interface](../types.ts)
169
+
170
+ **Inputs**
171
+
172
+ - Client input type: `{ [key: string]: unknown }`
173
+ - Client transport options: None
174
+
175
+ **Outputs**
176
+
177
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
178
+ - OpenAPI response codes: `200`
179
+
180
+ ```ts
181
+ import posthog from "@utdk/posthog";
182
+
183
+ type EnvironmentsFileSystemUpdateInput = Parameters<typeof posthog.environmentsFileSystemUpdate> extends [infer T, ...unknown[]] ? T : undefined;
184
+ type EnvironmentsFileSystemUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemUpdate>>;
185
+
186
+ const result: EnvironmentsFileSystemUpdateOutput = await posthog.environmentsFileSystemUpdate();
187
+
188
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
189
+ ```
190
+
191
+ ### `posthog.environmentsFileSystemCountCreate`
192
+
193
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/{id}/count/`
194
+ - **What it does**: Get count of all files in a folder.
195
+ - **OpenAPI operationId**: `environments_file_system_count_create`
196
+ - **Path params**: `id`
197
+ - **Query params**: None
198
+ - **Response codes**: `200`
199
+ - **Transport options**: None
200
+ - **TypeScript**: [Client interface](../types.ts)
201
+
202
+ **Inputs**
203
+
204
+ - Client input type: `{ [key: string]: unknown }`
205
+ - Client transport options: None
206
+
207
+ **Outputs**
208
+
209
+ - Client return type: `unknown`
210
+ - OpenAPI response codes: `200`
211
+
212
+ ```ts
213
+ import posthog from "@utdk/posthog";
214
+
215
+ type EnvironmentsFileSystemCountCreateInput = Parameters<typeof posthog.environmentsFileSystemCountCreate> extends [infer T, ...unknown[]] ? T : undefined;
216
+ type EnvironmentsFileSystemCountCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemCountCreate>>;
217
+
218
+ const result: EnvironmentsFileSystemCountCreateOutput = await posthog.environmentsFileSystemCountCreate();
219
+
220
+ // Result shape (from schema): unknown
221
+ ```
222
+
223
+ ### `posthog.environmentsFileSystemLinkCreate`
224
+
225
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/{id}/link/`
226
+ - **OpenAPI operationId**: `environments_file_system_link_create`
227
+ - **Path params**: `id`
228
+ - **Query params**: None
229
+ - **Response codes**: `200`
230
+ - **Transport options**: None
231
+ - **TypeScript**: [Client interface](../types.ts)
232
+
233
+ **Inputs**
234
+
235
+ - Client input type: `{ [key: string]: unknown }`
236
+ - Client transport options: None
237
+
238
+ **Outputs**
239
+
240
+ - Client return type: `unknown`
241
+ - OpenAPI response codes: `200`
242
+
243
+ ```ts
244
+ import posthog from "@utdk/posthog";
245
+
246
+ type EnvironmentsFileSystemLinkCreateInput = Parameters<typeof posthog.environmentsFileSystemLinkCreate> extends [infer T, ...unknown[]] ? T : undefined;
247
+ type EnvironmentsFileSystemLinkCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemLinkCreate>>;
248
+
249
+ const result: EnvironmentsFileSystemLinkCreateOutput = await posthog.environmentsFileSystemLinkCreate();
250
+
251
+ // Result shape (from schema): unknown
252
+ ```
253
+
254
+ ### `posthog.environmentsFileSystemMoveCreate`
255
+
256
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/{id}/move/`
257
+ - **OpenAPI operationId**: `environments_file_system_move_create`
258
+ - **Path params**: `id`
259
+ - **Query params**: None
260
+ - **Response codes**: `200`
261
+ - **Transport options**: None
262
+ - **TypeScript**: [Client interface](../types.ts)
263
+
264
+ **Inputs**
265
+
266
+ - Client input type: `{ [key: string]: unknown }`
267
+ - Client transport options: None
268
+
269
+ **Outputs**
270
+
271
+ - Client return type: `unknown`
272
+ - OpenAPI response codes: `200`
273
+
274
+ ```ts
275
+ import posthog from "@utdk/posthog";
276
+
277
+ type EnvironmentsFileSystemMoveCreateInput = Parameters<typeof posthog.environmentsFileSystemMoveCreate> extends [infer T, ...unknown[]] ? T : undefined;
278
+ type EnvironmentsFileSystemMoveCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemMoveCreate>>;
279
+
280
+ const result: EnvironmentsFileSystemMoveCreateOutput = await posthog.environmentsFileSystemMoveCreate();
281
+
282
+ // Result shape (from schema): unknown
283
+ ```
284
+
285
+ ### `posthog.environmentsFileSystemCountByPathCreate`
286
+
287
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/count_by_path/`
288
+ - **What it does**: Get count of all files in a folder.
289
+ - **OpenAPI operationId**: `environments_file_system_count_by_path_create`
290
+ - **Path params**: None
291
+ - **Query params**: None
292
+ - **Response codes**: `200`
293
+ - **Transport options**: None
294
+ - **TypeScript**: [Client interface](../types.ts)
295
+
296
+ **Inputs**
297
+
298
+ - Client input type: `{ [key: string]: unknown }`
299
+ - Client transport options: None
300
+
301
+ **Outputs**
302
+
303
+ - Client return type: `unknown`
304
+ - OpenAPI response codes: `200`
305
+
306
+ ```ts
307
+ import posthog from "@utdk/posthog";
308
+
309
+ type EnvironmentsFileSystemCountByPathCreateInput = Parameters<typeof posthog.environmentsFileSystemCountByPathCreate> extends [infer T, ...unknown[]] ? T : undefined;
310
+ type EnvironmentsFileSystemCountByPathCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemCountByPathCreate>>;
311
+
312
+ const result: EnvironmentsFileSystemCountByPathCreateOutput = await posthog.environmentsFileSystemCountByPathCreate();
313
+
314
+ // Result shape (from schema): unknown
315
+ ```
316
+
317
+ ### `posthog.environmentsFileSystemLogViewRetrieve`
318
+
319
+ - **HTTP**: `GET /api/environments/{environment_id}/file_system/log_view/`
320
+ - **OpenAPI operationId**: `environments_file_system_log_view_retrieve`
321
+ - **Path params**: None
322
+ - **Query params**: None
323
+ - **Response codes**: `200`
324
+ - **Transport options**: None
325
+ - **TypeScript**: [Client interface](../types.ts)
326
+
327
+ **Inputs**
328
+
329
+ - Client input type: `{ [key: string]: unknown }`
330
+ - Client transport options: None
331
+
332
+ **Outputs**
333
+
334
+ - Client return type: `unknown`
335
+ - OpenAPI response codes: `200`
336
+
337
+ ```ts
338
+ import posthog from "@utdk/posthog";
339
+
340
+ type EnvironmentsFileSystemLogViewRetrieveInput = Parameters<typeof posthog.environmentsFileSystemLogViewRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
341
+ type EnvironmentsFileSystemLogViewRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemLogViewRetrieve>>;
342
+
343
+ const result: EnvironmentsFileSystemLogViewRetrieveOutput = await posthog.environmentsFileSystemLogViewRetrieve();
344
+
345
+ // Result shape (from schema): unknown
346
+ ```
347
+
348
+ ### `posthog.environmentsFileSystemLogViewCreate`
349
+
350
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/log_view/`
351
+ - **OpenAPI operationId**: `environments_file_system_log_view_create`
352
+ - **Path params**: None
353
+ - **Query params**: None
354
+ - **Response codes**: `200`
355
+ - **Transport options**: None
356
+ - **TypeScript**: [Client interface](../types.ts)
357
+
358
+ **Inputs**
359
+
360
+ - Client input type: `{ [key: string]: unknown }`
361
+ - Client transport options: None
362
+
363
+ **Outputs**
364
+
365
+ - Client return type: `unknown`
366
+ - OpenAPI response codes: `200`
367
+
368
+ ```ts
369
+ import posthog from "@utdk/posthog";
370
+
371
+ type EnvironmentsFileSystemLogViewCreateInput = Parameters<typeof posthog.environmentsFileSystemLogViewCreate> extends [infer T, ...unknown[]] ? T : undefined;
372
+ type EnvironmentsFileSystemLogViewCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemLogViewCreate>>;
373
+
374
+ const result: EnvironmentsFileSystemLogViewCreateOutput = await posthog.environmentsFileSystemLogViewCreate();
375
+
376
+ // Result shape (from schema): unknown
377
+ ```
378
+
379
+ ### `posthog.environmentsFileSystemUndoDeleteCreate`
380
+
381
+ - **HTTP**: `POST /api/environments/{environment_id}/file_system/undo_delete/`
382
+ - **OpenAPI operationId**: `environments_file_system_undo_delete_create`
383
+ - **Path params**: None
384
+ - **Query params**: None
385
+ - **Response codes**: `200`
386
+ - **Transport options**: None
387
+ - **TypeScript**: [Client interface](../types.ts)
388
+
389
+ **Inputs**
390
+
391
+ - Client input type: `{ [key: string]: unknown }`
392
+ - Client transport options: None
393
+
394
+ **Outputs**
395
+
396
+ - Client return type: `unknown`
397
+ - OpenAPI response codes: `200`
398
+
399
+ ```ts
400
+ import posthog from "@utdk/posthog";
401
+
402
+ type EnvironmentsFileSystemUndoDeleteCreateInput = Parameters<typeof posthog.environmentsFileSystemUndoDeleteCreate> extends [infer T, ...unknown[]] ? T : undefined;
403
+ type EnvironmentsFileSystemUndoDeleteCreateOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemUndoDeleteCreate>>;
404
+
405
+ const result: EnvironmentsFileSystemUndoDeleteCreateOutput = await posthog.environmentsFileSystemUndoDeleteCreate();
406
+
407
+ // Result shape (from schema): unknown
408
+ ```
409
+
410
+ ### `posthog.environmentsFileSystemUnfiledRetrieve`
411
+
412
+ - **HTTP**: `GET /api/environments/{environment_id}/file_system/unfiled/`
413
+ - **OpenAPI operationId**: `environments_file_system_unfiled_retrieve`
414
+ - **Path params**: None
415
+ - **Query params**: None
416
+ - **Response codes**: `200`
417
+ - **Transport options**: None
418
+ - **TypeScript**: [Client interface](../types.ts)
419
+
420
+ **Inputs**
421
+
422
+ - Client input type: `{ [key: string]: unknown }`
423
+ - Client transport options: None
424
+
425
+ **Outputs**
426
+
427
+ - Client return type: `unknown`
428
+ - OpenAPI response codes: `200`
429
+
430
+ ```ts
431
+ import posthog from "@utdk/posthog";
432
+
433
+ type EnvironmentsFileSystemUnfiledRetrieveInput = Parameters<typeof posthog.environmentsFileSystemUnfiledRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
434
+ type EnvironmentsFileSystemUnfiledRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsFileSystemUnfiledRetrieve>>;
435
+
436
+ const result: EnvironmentsFileSystemUnfiledRetrieveOutput = await posthog.environmentsFileSystemUnfiledRetrieve();
437
+
438
+ // Result shape (from schema): unknown
439
+ ```
440
+
441
+ ### `posthog.fileSystemList`
442
+
443
+ - **HTTP**: `GET /api/projects/{project_id}/file_system/`
444
+ - **OpenAPI operationId**: `file_system_list`
445
+ - **Path params**: None
446
+ - **Query params**: `limit`, `offset`, `search`
447
+ - **Response codes**: `200`
448
+ - **Transport options**: None
449
+ - **TypeScript**: [Client interface](../types.ts)
450
+
451
+ **Inputs**
452
+
453
+ - Client input type: `{ [key: string]: unknown }`
454
+ - Client transport options: None
455
+
456
+ **Outputs**
457
+
458
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean |...`
459
+ - OpenAPI response codes: `200`
460
+
461
+ ```ts
462
+ import posthog from "@utdk/posthog";
463
+
464
+ type FileSystemListInput = Parameters<typeof posthog.fileSystemList> extends [infer T, ...unknown[]] ? T : undefined;
465
+ type FileSystemListOutput = Awaited<ReturnType<typeof posthog.fileSystemList>>;
466
+
467
+ const result: FileSystemListOutput = await posthog.fileSystemList();
468
+
469
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean |...
470
+ ```
471
+
472
+ ### `posthog.fileSystemCreate`
473
+
474
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/`
475
+ - **OpenAPI operationId**: `file_system_create`
476
+ - **Path params**: None
477
+ - **Query params**: None
478
+ - **Response codes**: `201`
479
+ - **Transport options**: None
480
+ - **TypeScript**: [Client interface](../types.ts)
481
+
482
+ **Inputs**
483
+
484
+ - Client input type: `{ [key: string]: unknown }`
485
+ - Client transport options: None
486
+
487
+ **Outputs**
488
+
489
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
490
+ - OpenAPI response codes: `201`
491
+
492
+ ```ts
493
+ import posthog from "@utdk/posthog";
494
+
495
+ type FileSystemCreateInput = Parameters<typeof posthog.fileSystemCreate> extends [infer T, ...unknown[]] ? T : undefined;
496
+ type FileSystemCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemCreate>>;
497
+
498
+ const result: FileSystemCreateOutput = await posthog.fileSystemCreate();
499
+
500
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
501
+ ```
502
+
503
+ ### `posthog.fileSystemDestroy`
504
+
505
+ - **HTTP**: `DELETE /api/projects/{project_id}/file_system/{id}/`
506
+ - **OpenAPI operationId**: `file_system_destroy`
507
+ - **Path params**: `id`
508
+ - **Query params**: None
509
+ - **Response codes**: `204`
510
+ - **Transport options**: None
511
+ - **TypeScript**: [Client interface](../types.ts)
512
+
513
+ **Inputs**
514
+
515
+ - Client input type: `{ [key: string]: unknown }`
516
+ - Client transport options: None
517
+
518
+ **Outputs**
519
+
520
+ - Client return type: `unknown`
521
+ - OpenAPI response codes: `204`
522
+
523
+ ```ts
524
+ import posthog from "@utdk/posthog";
525
+
526
+ type FileSystemDestroyInput = Parameters<typeof posthog.fileSystemDestroy> extends [infer T, ...unknown[]] ? T : undefined;
527
+ type FileSystemDestroyOutput = Awaited<ReturnType<typeof posthog.fileSystemDestroy>>;
528
+
529
+ const result: FileSystemDestroyOutput = await posthog.fileSystemDestroy();
530
+
531
+ // Result shape (from schema): unknown
532
+ ```
533
+
534
+ ### `posthog.fileSystemRetrieve`
535
+
536
+ - **HTTP**: `GET /api/projects/{project_id}/file_system/{id}/`
537
+ - **OpenAPI operationId**: `file_system_retrieve`
538
+ - **Path params**: `id`
539
+ - **Query params**: None
540
+ - **Response codes**: `200`
541
+ - **Transport options**: None
542
+ - **TypeScript**: [Client interface](../types.ts)
543
+
544
+ **Inputs**
545
+
546
+ - Client input type: `{ [key: string]: unknown }`
547
+ - Client transport options: None
548
+
549
+ **Outputs**
550
+
551
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
552
+ - OpenAPI response codes: `200`
553
+
554
+ ```ts
555
+ import posthog from "@utdk/posthog";
556
+
557
+ type FileSystemRetrieveInput = Parameters<typeof posthog.fileSystemRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
558
+ type FileSystemRetrieveOutput = Awaited<ReturnType<typeof posthog.fileSystemRetrieve>>;
559
+
560
+ const result: FileSystemRetrieveOutput = await posthog.fileSystemRetrieve();
561
+
562
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
563
+ ```
564
+
565
+ ### `posthog.fileSystemPartialUpdate`
566
+
567
+ - **HTTP**: `PATCH /api/projects/{project_id}/file_system/{id}/`
568
+ - **OpenAPI operationId**: `file_system_partial_update`
569
+ - **Path params**: `id`
570
+ - **Query params**: None
571
+ - **Response codes**: `200`
572
+ - **Transport options**: None
573
+ - **TypeScript**: [Client interface](../types.ts)
574
+
575
+ **Inputs**
576
+
577
+ - Client input type: `{ [key: string]: unknown }`
578
+ - Client transport options: None
579
+
580
+ **Outputs**
581
+
582
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
583
+ - OpenAPI response codes: `200`
584
+
585
+ ```ts
586
+ import posthog from "@utdk/posthog";
587
+
588
+ type FileSystemPartialUpdateInput = Parameters<typeof posthog.fileSystemPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
589
+ type FileSystemPartialUpdateOutput = Awaited<ReturnType<typeof posthog.fileSystemPartialUpdate>>;
590
+
591
+ const result: FileSystemPartialUpdateOutput = await posthog.fileSystemPartialUpdate();
592
+
593
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
594
+ ```
595
+
596
+ ### `posthog.fileSystemUpdate`
597
+
598
+ - **HTTP**: `PUT /api/projects/{project_id}/file_system/{id}/`
599
+ - **OpenAPI operationId**: `file_system_update`
600
+ - **Path params**: `id`
601
+ - **Query params**: None
602
+ - **Response codes**: `200`
603
+ - **Transport options**: None
604
+ - **TypeScript**: [Client interface](../types.ts)
605
+
606
+ **Inputs**
607
+
608
+ - Client input type: `{ [key: string]: unknown }`
609
+ - Client transport options: None
610
+
611
+ **Outputs**
612
+
613
+ - Client return type: `{ id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...`
614
+ - OpenAPI response codes: `200`
615
+
616
+ ```ts
617
+ import posthog from "@utdk/posthog";
618
+
619
+ type FileSystemUpdateInput = Parameters<typeof posthog.fileSystemUpdate> extends [infer T, ...unknown[]] ? T : undefined;
620
+ type FileSystemUpdateOutput = Awaited<ReturnType<typeof posthog.fileSystemUpdate>>;
621
+
622
+ const result: FileSystemUpdateOutput = await posthog.fileSystemUpdate();
623
+
624
+ // Result shape (from schema): { id: string; path: string; depth: number | null; type?: string; ref?: string | null; href?: string | null; meta?: unknown; shortcut?: boolean | null; created_at: string; last_viewed_at: string | null; user_access_level...
625
+ ```
626
+
627
+ ### `posthog.fileSystemCountCreate`
628
+
629
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/{id}/count/`
630
+ - **What it does**: Get count of all files in a folder.
631
+ - **OpenAPI operationId**: `file_system_count_create`
632
+ - **Path params**: `id`
633
+ - **Query params**: None
634
+ - **Response codes**: `200`
635
+ - **Transport options**: None
636
+ - **TypeScript**: [Client interface](../types.ts)
637
+
638
+ **Inputs**
639
+
640
+ - Client input type: `{ [key: string]: unknown }`
641
+ - Client transport options: None
642
+
643
+ **Outputs**
644
+
645
+ - Client return type: `unknown`
646
+ - OpenAPI response codes: `200`
647
+
648
+ ```ts
649
+ import posthog from "@utdk/posthog";
650
+
651
+ type FileSystemCountCreateInput = Parameters<typeof posthog.fileSystemCountCreate> extends [infer T, ...unknown[]] ? T : undefined;
652
+ type FileSystemCountCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemCountCreate>>;
653
+
654
+ const result: FileSystemCountCreateOutput = await posthog.fileSystemCountCreate();
655
+
656
+ // Result shape (from schema): unknown
657
+ ```
658
+
659
+ ### `posthog.fileSystemLinkCreate`
660
+
661
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/{id}/link/`
662
+ - **OpenAPI operationId**: `file_system_link_create`
663
+ - **Path params**: `id`
664
+ - **Query params**: None
665
+ - **Response codes**: `200`
666
+ - **Transport options**: None
667
+ - **TypeScript**: [Client interface](../types.ts)
668
+
669
+ **Inputs**
670
+
671
+ - Client input type: `{ [key: string]: unknown }`
672
+ - Client transport options: None
673
+
674
+ **Outputs**
675
+
676
+ - Client return type: `unknown`
677
+ - OpenAPI response codes: `200`
678
+
679
+ ```ts
680
+ import posthog from "@utdk/posthog";
681
+
682
+ type FileSystemLinkCreateInput = Parameters<typeof posthog.fileSystemLinkCreate> extends [infer T, ...unknown[]] ? T : undefined;
683
+ type FileSystemLinkCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemLinkCreate>>;
684
+
685
+ const result: FileSystemLinkCreateOutput = await posthog.fileSystemLinkCreate();
686
+
687
+ // Result shape (from schema): unknown
688
+ ```
689
+
690
+ ### `posthog.fileSystemMoveCreate`
691
+
692
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/{id}/move/`
693
+ - **OpenAPI operationId**: `file_system_move_create`
694
+ - **Path params**: `id`
695
+ - **Query params**: None
696
+ - **Response codes**: `200`
697
+ - **Transport options**: None
698
+ - **TypeScript**: [Client interface](../types.ts)
699
+
700
+ **Inputs**
701
+
702
+ - Client input type: `{ [key: string]: unknown }`
703
+ - Client transport options: None
704
+
705
+ **Outputs**
706
+
707
+ - Client return type: `unknown`
708
+ - OpenAPI response codes: `200`
709
+
710
+ ```ts
711
+ import posthog from "@utdk/posthog";
712
+
713
+ type FileSystemMoveCreateInput = Parameters<typeof posthog.fileSystemMoveCreate> extends [infer T, ...unknown[]] ? T : undefined;
714
+ type FileSystemMoveCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemMoveCreate>>;
715
+
716
+ const result: FileSystemMoveCreateOutput = await posthog.fileSystemMoveCreate();
717
+
718
+ // Result shape (from schema): unknown
719
+ ```
720
+
721
+ ### `posthog.fileSystemCountByPathCreate`
722
+
723
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/count_by_path/`
724
+ - **What it does**: Get count of all files in a folder.
725
+ - **OpenAPI operationId**: `file_system_count_by_path_create`
726
+ - **Path params**: None
727
+ - **Query params**: None
728
+ - **Response codes**: `200`
729
+ - **Transport options**: None
730
+ - **TypeScript**: [Client interface](../types.ts)
731
+
732
+ **Inputs**
733
+
734
+ - Client input type: `{ [key: string]: unknown }`
735
+ - Client transport options: None
736
+
737
+ **Outputs**
738
+
739
+ - Client return type: `unknown`
740
+ - OpenAPI response codes: `200`
741
+
742
+ ```ts
743
+ import posthog from "@utdk/posthog";
744
+
745
+ type FileSystemCountByPathCreateInput = Parameters<typeof posthog.fileSystemCountByPathCreate> extends [infer T, ...unknown[]] ? T : undefined;
746
+ type FileSystemCountByPathCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemCountByPathCreate>>;
747
+
748
+ const result: FileSystemCountByPathCreateOutput = await posthog.fileSystemCountByPathCreate();
749
+
750
+ // Result shape (from schema): unknown
751
+ ```
752
+
753
+ ### `posthog.fileSystemLogViewRetrieve`
754
+
755
+ - **HTTP**: `GET /api/projects/{project_id}/file_system/log_view/`
756
+ - **OpenAPI operationId**: `file_system_log_view_retrieve`
757
+ - **Path params**: None
758
+ - **Query params**: None
759
+ - **Response codes**: `200`
760
+ - **Transport options**: None
761
+ - **TypeScript**: [Client interface](../types.ts)
762
+
763
+ **Inputs**
764
+
765
+ - Client input type: `{ [key: string]: unknown }`
766
+ - Client transport options: None
767
+
768
+ **Outputs**
769
+
770
+ - Client return type: `unknown`
771
+ - OpenAPI response codes: `200`
772
+
773
+ ```ts
774
+ import posthog from "@utdk/posthog";
775
+
776
+ type FileSystemLogViewRetrieveInput = Parameters<typeof posthog.fileSystemLogViewRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
777
+ type FileSystemLogViewRetrieveOutput = Awaited<ReturnType<typeof posthog.fileSystemLogViewRetrieve>>;
778
+
779
+ const result: FileSystemLogViewRetrieveOutput = await posthog.fileSystemLogViewRetrieve();
780
+
781
+ // Result shape (from schema): unknown
782
+ ```
783
+
784
+ ### `posthog.fileSystemLogViewCreate`
785
+
786
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/log_view/`
787
+ - **OpenAPI operationId**: `file_system_log_view_create`
788
+ - **Path params**: None
789
+ - **Query params**: None
790
+ - **Response codes**: `200`
791
+ - **Transport options**: None
792
+ - **TypeScript**: [Client interface](../types.ts)
793
+
794
+ **Inputs**
795
+
796
+ - Client input type: `{ [key: string]: unknown }`
797
+ - Client transport options: None
798
+
799
+ **Outputs**
800
+
801
+ - Client return type: `unknown`
802
+ - OpenAPI response codes: `200`
803
+
804
+ ```ts
805
+ import posthog from "@utdk/posthog";
806
+
807
+ type FileSystemLogViewCreateInput = Parameters<typeof posthog.fileSystemLogViewCreate> extends [infer T, ...unknown[]] ? T : undefined;
808
+ type FileSystemLogViewCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemLogViewCreate>>;
809
+
810
+ const result: FileSystemLogViewCreateOutput = await posthog.fileSystemLogViewCreate();
811
+
812
+ // Result shape (from schema): unknown
813
+ ```
814
+
815
+ ### `posthog.fileSystemUndoDeleteCreate`
816
+
817
+ - **HTTP**: `POST /api/projects/{project_id}/file_system/undo_delete/`
818
+ - **OpenAPI operationId**: `file_system_undo_delete_create`
819
+ - **Path params**: None
820
+ - **Query params**: None
821
+ - **Response codes**: `200`
822
+ - **Transport options**: None
823
+ - **TypeScript**: [Client interface](../types.ts)
824
+
825
+ **Inputs**
826
+
827
+ - Client input type: `{ [key: string]: unknown }`
828
+ - Client transport options: None
829
+
830
+ **Outputs**
831
+
832
+ - Client return type: `unknown`
833
+ - OpenAPI response codes: `200`
834
+
835
+ ```ts
836
+ import posthog from "@utdk/posthog";
837
+
838
+ type FileSystemUndoDeleteCreateInput = Parameters<typeof posthog.fileSystemUndoDeleteCreate> extends [infer T, ...unknown[]] ? T : undefined;
839
+ type FileSystemUndoDeleteCreateOutput = Awaited<ReturnType<typeof posthog.fileSystemUndoDeleteCreate>>;
840
+
841
+ const result: FileSystemUndoDeleteCreateOutput = await posthog.fileSystemUndoDeleteCreate();
842
+
843
+ // Result shape (from schema): unknown
844
+ ```
845
+
846
+ ### `posthog.fileSystemUnfiledRetrieve`
847
+
848
+ - **HTTP**: `GET /api/projects/{project_id}/file_system/unfiled/`
849
+ - **OpenAPI operationId**: `file_system_unfiled_retrieve`
850
+ - **Path params**: None
851
+ - **Query params**: None
852
+ - **Response codes**: `200`
853
+ - **Transport options**: None
854
+ - **TypeScript**: [Client interface](../types.ts)
855
+
856
+ **Inputs**
857
+
858
+ - Client input type: `{ [key: string]: unknown }`
859
+ - Client transport options: None
860
+
861
+ **Outputs**
862
+
863
+ - Client return type: `unknown`
864
+ - OpenAPI response codes: `200`
865
+
866
+ ```ts
867
+ import posthog from "@utdk/posthog";
868
+
869
+ type FileSystemUnfiledRetrieveInput = Parameters<typeof posthog.fileSystemUnfiledRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
870
+ type FileSystemUnfiledRetrieveOutput = Awaited<ReturnType<typeof posthog.fileSystemUnfiledRetrieve>>;
871
+
872
+ const result: FileSystemUnfiledRetrieveOutput = await posthog.fileSystemUnfiledRetrieve();
873
+
874
+ // Result shape (from schema): unknown
875
+ ```
876
+
877
+
878
+ <!-- prompt-hash:
879
+ 8c3694991a4c289225f05a4e8f1e098cc74d085a088d7dffd82f00d93797b7f8
880
+ -->