@census-ai/census-sdk 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -203,6 +203,21 @@ interface TrackEventOptions {
203
203
  interface BatchEventsOptions {
204
204
  events: TrackEventOptions[];
205
205
  }
206
+ /**
207
+ * Feature group tag on a request
208
+ */
209
+ interface RequestFeatureGroup {
210
+ id: string;
211
+ name: string;
212
+ color: string | null;
213
+ }
214
+ /**
215
+ * Feature tag on a request
216
+ */
217
+ interface RequestFeature {
218
+ id: string;
219
+ name: string;
220
+ }
206
221
  /**
207
222
  * A user's submitted request (feedback, bug report, feature request)
208
223
  */
@@ -216,6 +231,8 @@ interface Request {
216
231
  rating: number | null;
217
232
  helpful: boolean | null;
218
233
  metadata: Record<string, unknown>;
234
+ feature_group: RequestFeatureGroup | null;
235
+ feature: RequestFeature | null;
219
236
  }
220
237
  /**
221
238
  * Options for fetching requests
package/dist/index.d.ts CHANGED
@@ -203,6 +203,21 @@ interface TrackEventOptions {
203
203
  interface BatchEventsOptions {
204
204
  events: TrackEventOptions[];
205
205
  }
206
+ /**
207
+ * Feature group tag on a request
208
+ */
209
+ interface RequestFeatureGroup {
210
+ id: string;
211
+ name: string;
212
+ color: string | null;
213
+ }
214
+ /**
215
+ * Feature tag on a request
216
+ */
217
+ interface RequestFeature {
218
+ id: string;
219
+ name: string;
220
+ }
206
221
  /**
207
222
  * A user's submitted request (feedback, bug report, feature request)
208
223
  */
@@ -216,6 +231,8 @@ interface Request {
216
231
  rating: number | null;
217
232
  helpful: boolean | null;
218
233
  metadata: Record<string, unknown>;
234
+ feature_group: RequestFeatureGroup | null;
235
+ feature: RequestFeature | null;
219
236
  }
220
237
  /**
221
238
  * Options for fetching requests