@nvisy/sdk 0.32.0 → 0.33.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.
@@ -1227,16 +1227,23 @@ interface paths {
1227
1227
  };
1228
1228
  /**
1229
1229
  * List workspace activities
1230
- * @description Returns the workspace's activity log, most recent first, cursor-paginated.
1230
+ * @description Returns the workspace's activity log, most recent first, cursor-paginated. Optional filters: `type` (repeatable, e.g. `file.created`), `actor` (an account id), and a `from`/`to` day range (each bound narrows only when given; the feed is otherwise all-time).
1231
1231
  */
1232
1232
  get: {
1233
1233
  parameters: {
1234
1234
  query?: {
1235
+ /** @description Keep only activities performed by this account. Omit for any actor. */
1236
+ actor?: string;
1235
1237
  /**
1236
1238
  * @description Cursor pointing to the last item of the previous page.
1237
1239
  * Obtain this from the `nextCursor` field in the response.
1238
1240
  */
1239
1241
  after?: string;
1242
+ /**
1243
+ * @description First day of the range (inclusive), `YYYY-MM-DD`. Defaults so the range
1244
+ * spans the last `DEFAULT_WINDOW_DAYS` days through `to`.
1245
+ */
1246
+ from?: string;
1240
1247
  /**
1241
1248
  * @description Whether to include the total item count in the response's `total` field.
1242
1249
  * Defaults to `false`, since counting is an extra query; set it to `true`
@@ -1245,6 +1252,14 @@ interface paths {
1245
1252
  includeCount?: boolean;
1246
1253
  /** @description The maximum number of records to return (1-100, default: 20). */
1247
1254
  limit?: number;
1255
+ /** @description Last day of the range (inclusive), `YYYY-MM-DD`. Defaults to today (UTC). */
1256
+ to?: string;
1257
+ /**
1258
+ * @description Keep only these activity types (e.g. `file.created`). Repeat the `type`
1259
+ * parameter for several; omit for no type constraint. The field is `types`
1260
+ * since `type` is a reserved word.
1261
+ */
1262
+ type?: components["schemas"]["ActivityType"][];
1248
1263
  };
1249
1264
  header?: never;
1250
1265
  path: {
@@ -1319,11 +1334,13 @@ interface paths {
1319
1334
  };
1320
1335
  /**
1321
1336
  * Export workspace activities
1322
- * @description Exports a workspace's activity log over a date window as a downloadable file. The window is `from`/`to` (inclusive, YYYY-MM-DD); it defaults to the last 30 days and is capped at 366 days. `format` is `csv` (default) or `json`. Each activity is a flat row: timestamp, the type split into object/action, the actor, and the acted-on object's id and label, oldest first. At most 100,000 rows are returned (the oldest in the window); a truncated export sets the `X-Export-Truncated` response header.
1337
+ * @description Exports a workspace's activity log over a date window as a downloadable file. The window is `from`/`to` (inclusive, YYYY-MM-DD); it defaults to the last 30 days and is capped at 366 days. The same `type` (repeatable) and `actor` filters as the feed apply. `format` is `csv` (default) or `json`. Each activity is a flat row: timestamp, the type split into object/action, the actor, and the acted-on object's id and label, oldest first. At most 100,000 rows are returned (the oldest in the window); a truncated export sets the `X-Export-Truncated` response header.
1323
1338
  */
1324
1339
  get: {
1325
1340
  parameters: {
1326
1341
  query?: {
1342
+ /** @description Keep only activities performed by this account. Omit for any actor. */
1343
+ actor?: string;
1327
1344
  /** @description Output format; defaults to `csv`. */
1328
1345
  format?: components["schemas"]["ExportFormat"];
1329
1346
  /**
@@ -1333,6 +1350,12 @@ interface paths {
1333
1350
  from?: string;
1334
1351
  /** @description Last day of the range (inclusive), `YYYY-MM-DD`. Defaults to today (UTC). */
1335
1352
  to?: string;
1353
+ /**
1354
+ * @description Keep only these activity types (e.g. `file.created`). Repeat the `type`
1355
+ * parameter for several; omit for no type constraint. The field is `types`
1356
+ * since `type` is a reserved word.
1357
+ */
1358
+ type?: components["schemas"]["ActivityType"][];
1336
1359
  };
1337
1360
  header?: never;
1338
1361
  path: {
@@ -8689,10 +8712,16 @@ interface components {
8689
8712
  workspaceSlug: components["schemas"]["Handle"];
8690
8713
  };
8691
8714
  /**
8692
- * @description Query parameters for the activity export: a `from`/`to` day range (inclusive)
8693
- * and the output `format`. See [`DateWindow`] for the range defaults and bounds.
8715
+ * @description Query parameters for the activity export: the type/actor filter, a bounded date
8716
+ * window (defaulted and capped, since the export materializes rows), and the
8717
+ * output `format`. See [`DateWindow`] for the range defaults and bounds.
8694
8718
  */
8695
8719
  ActivityExportQuery: {
8720
+ /**
8721
+ * Format: uuid
8722
+ * @description Keep only activities performed by this account. Omit for any actor.
8723
+ */
8724
+ actor?: string;
8696
8725
  /** @description Output format; defaults to `csv`. */
8697
8726
  format?: components["schemas"]["ExportFormat"];
8698
8727
  /**
@@ -8706,6 +8735,58 @@ interface components {
8706
8735
  * @description Last day of the range (inclusive), `YYYY-MM-DD`. Defaults to today (UTC).
8707
8736
  */
8708
8737
  to?: string;
8738
+ /**
8739
+ * @description Keep only these activity types (e.g. `file.created`). Repeat the `type`
8740
+ * parameter for several; omit for no type constraint. The field is `types`
8741
+ * since `type` is a reserved word.
8742
+ */
8743
+ type?: components["schemas"]["ActivityType"][];
8744
+ };
8745
+ /**
8746
+ * @description Query parameters for the activity feed: the type/actor filter, an optional date
8747
+ * window (narrows only when given — the feed is otherwise all-time), and cursor
8748
+ * pagination.
8749
+ */
8750
+ ActivityListQuery: {
8751
+ /**
8752
+ * Format: uuid
8753
+ * @description Keep only activities performed by this account. Omit for any actor.
8754
+ */
8755
+ actor?: string;
8756
+ /**
8757
+ * @description Cursor pointing to the last item of the previous page.
8758
+ * Obtain this from the `nextCursor` field in the response.
8759
+ */
8760
+ after?: string;
8761
+ /**
8762
+ * Format: date
8763
+ * @description First day of the range (inclusive), `YYYY-MM-DD`. Defaults so the range
8764
+ * spans the last `DEFAULT_WINDOW_DAYS` days through `to`.
8765
+ */
8766
+ from?: string;
8767
+ /**
8768
+ * @description Whether to include the total item count in the response's `total` field.
8769
+ * Defaults to `false`, since counting is an extra query; set it to `true`
8770
+ * only when the count is actually needed.
8771
+ * @default false
8772
+ */
8773
+ includeCount?: boolean;
8774
+ /**
8775
+ * Format: uint32
8776
+ * @description The maximum number of records to return (1-100, default: 20).
8777
+ */
8778
+ limit?: number;
8779
+ /**
8780
+ * Format: date
8781
+ * @description Last day of the range (inclusive), `YYYY-MM-DD`. Defaults to today (UTC).
8782
+ */
8783
+ to?: string;
8784
+ /**
8785
+ * @description Keep only these activity types (e.g. `file.created`). Repeat the `type`
8786
+ * parameter for several; omit for no type constraint. The field is `types`
8787
+ * since `type` is a reserved word.
8788
+ */
8789
+ type?: components["schemas"]["ActivityType"][];
8709
8790
  };
8710
8791
  /**
8711
8792
  * @description Generic paginated response wrapper.
@@ -8726,112 +8807,151 @@ interface components {
8726
8807
  total?: number;
8727
8808
  };
8728
8809
  /**
8729
- * @description The typed payload of an audit-log activity, tagged by `activityType`.
8810
+ * @description The typed payload of an audit-log activity, tagged by `type` with its params
8811
+ * under `data` (the same `{type, data}` envelope the notification payload and
8812
+ * outbox event use).
8730
8813
  *
8731
8814
  * Each variant is one activity type carrying its own params. No rendered text is
8732
- * included — the client localizes the copy from `activityType` and the params.
8733
- * The `activityType` values match the `ACTIVITY_TYPE` enum.
8815
+ * included — the client localizes the copy from `type` and the params. The `type`
8816
+ * values match the `ACTIVITY_TYPE` enum.
8734
8817
  */
8735
- ActivityPayload: ({
8736
- /** @constant */
8737
- activityType: "workspace.created";
8738
- } & components["schemas"]["WorkspaceActivityParams"]) | ({
8818
+ ActivityPayload: {
8819
+ data: components["schemas"]["WorkspaceActivityParams"];
8739
8820
  /** @constant */
8740
- activityType: "workspace.updated";
8741
- } & components["schemas"]["WorkspaceActivityParams"]) | ({
8821
+ type: "workspace.created";
8822
+ } | {
8823
+ data: components["schemas"]["WorkspaceActivityParams"];
8742
8824
  /** @constant */
8743
- activityType: "workspace.deleted";
8744
- } & components["schemas"]["WorkspaceActivityParams"]) | ({
8825
+ type: "workspace.updated";
8826
+ } | {
8827
+ data: components["schemas"]["WorkspaceActivityParams"];
8745
8828
  /** @constant */
8746
- activityType: "member.added";
8747
- } & components["schemas"]["MemberActivityParams"]) | ({
8829
+ type: "workspace.deleted";
8830
+ } | {
8831
+ data: components["schemas"]["MemberActivityParams"];
8748
8832
  /** @constant */
8749
- activityType: "member.updated";
8750
- } & components["schemas"]["MemberActivityParams"]) | ({
8833
+ type: "member.added";
8834
+ } | {
8835
+ data: components["schemas"]["MemberActivityParams"];
8751
8836
  /** @constant */
8752
- activityType: "member.deleted";
8753
- } & components["schemas"]["MemberActivityParams"]) | ({
8837
+ type: "member.updated";
8838
+ } | {
8839
+ data: components["schemas"]["MemberActivityParams"];
8754
8840
  /** @constant */
8755
- activityType: "invite.created";
8756
- } & components["schemas"]["InviteActivityParams"]) | ({
8841
+ type: "member.deleted";
8842
+ } | {
8843
+ data: components["schemas"]["InviteActivityParams"];
8757
8844
  /** @constant */
8758
- activityType: "invite.accepted";
8759
- } & components["schemas"]["InviteActivityParams"]) | ({
8845
+ type: "invite.created";
8846
+ } | {
8847
+ data: components["schemas"]["InviteActivityParams"];
8760
8848
  /** @constant */
8761
- activityType: "invite.declined";
8762
- } & components["schemas"]["InviteActivityParams"]) | ({
8849
+ type: "invite.accepted";
8850
+ } | {
8851
+ data: components["schemas"]["InviteActivityParams"];
8763
8852
  /** @constant */
8764
- activityType: "invite.canceled";
8765
- } & components["schemas"]["InviteActivityParams"]) | ({
8853
+ type: "invite.declined";
8854
+ } | {
8855
+ data: components["schemas"]["InviteActivityParams"];
8766
8856
  /** @constant */
8767
- activityType: "connection.created";
8768
- } & components["schemas"]["ConnectionActivityParams"]) | ({
8857
+ type: "invite.canceled";
8858
+ } | {
8859
+ data: components["schemas"]["ConnectionActivityParams"];
8769
8860
  /** @constant */
8770
- activityType: "connection.updated";
8771
- } & components["schemas"]["ConnectionActivityParams"]) | ({
8861
+ type: "connection.created";
8862
+ } | {
8863
+ data: components["schemas"]["ConnectionActivityParams"];
8772
8864
  /** @constant */
8773
- activityType: "connection.deleted";
8774
- } & components["schemas"]["ConnectionActivityParams"]) | ({
8865
+ type: "connection.updated";
8866
+ } | {
8867
+ data: components["schemas"]["ConnectionActivityParams"];
8775
8868
  /** @constant */
8776
- activityType: "connection.sync.completed";
8777
- } & components["schemas"]["ConnectionActivityParams"]) | ({
8869
+ type: "connection.deleted";
8870
+ } | {
8871
+ data: components["schemas"]["ConnectionActivityParams"];
8778
8872
  /** @constant */
8779
- activityType: "connection.sync.failed";
8780
- } & components["schemas"]["ConnectionActivityParams"]) | ({
8873
+ type: "connection.sync.started";
8874
+ } | {
8875
+ data: components["schemas"]["ConnectionActivityParams"];
8781
8876
  /** @constant */
8782
- activityType: "webhook.created";
8783
- } & components["schemas"]["WebhookActivityParams"]) | ({
8877
+ type: "connection.sync.completed";
8878
+ } | {
8879
+ data: components["schemas"]["ConnectionActivityParams"];
8784
8880
  /** @constant */
8785
- activityType: "webhook.updated";
8786
- } & components["schemas"]["WebhookActivityParams"]) | ({
8881
+ type: "connection.sync.failed";
8882
+ } | {
8883
+ data: components["schemas"]["WebhookActivityParams"];
8787
8884
  /** @constant */
8788
- activityType: "webhook.deleted";
8789
- } & components["schemas"]["WebhookActivityParams"]) | ({
8885
+ type: "webhook.created";
8886
+ } | {
8887
+ data: components["schemas"]["WebhookActivityParams"];
8790
8888
  /** @constant */
8791
- activityType: "webhook.triggered";
8792
- } & components["schemas"]["WebhookActivityParams"]) | ({
8889
+ type: "webhook.updated";
8890
+ } | {
8891
+ data: components["schemas"]["WebhookActivityParams"];
8793
8892
  /** @constant */
8794
- activityType: "file.created";
8795
- } & components["schemas"]["FileActivityParams"]) | ({
8893
+ type: "webhook.deleted";
8894
+ } | {
8895
+ data: components["schemas"]["FileActivityParams"];
8796
8896
  /** @constant */
8797
- activityType: "file.updated";
8798
- } & components["schemas"]["FileActivityParams"]) | ({
8897
+ type: "file.created";
8898
+ } | {
8899
+ data: components["schemas"]["FileActivityParams"];
8799
8900
  /** @constant */
8800
- activityType: "file.deleted";
8801
- } & components["schemas"]["FileActivityParams"]) | ({
8901
+ type: "file.updated";
8902
+ } | {
8903
+ data: components["schemas"]["FileActivityParams"];
8802
8904
  /** @constant */
8803
- activityType: "file.verified";
8804
- } & components["schemas"]["FileActivityParams"]) | ({
8905
+ type: "file.deleted";
8906
+ } | {
8907
+ data: components["schemas"]["PipelineActivityParams"];
8805
8908
  /** @constant */
8806
- activityType: "pipeline.created";
8807
- } & components["schemas"]["PipelineActivityParams"]) | ({
8909
+ type: "pipeline.created";
8910
+ } | {
8911
+ data: components["schemas"]["PipelineActivityParams"];
8808
8912
  /** @constant */
8809
- activityType: "pipeline.updated";
8810
- } & components["schemas"]["PipelineActivityParams"]) | ({
8913
+ type: "pipeline.updated";
8914
+ } | {
8915
+ data: components["schemas"]["PipelineActivityParams"];
8811
8916
  /** @constant */
8812
- activityType: "pipeline.deleted";
8813
- } & components["schemas"]["PipelineActivityParams"]) | ({
8917
+ type: "pipeline.deleted";
8918
+ } | {
8919
+ data: components["schemas"]["PipelineRunActivityParams"];
8814
8920
  /** @constant */
8815
- activityType: "pipeline.run.started";
8816
- } & components["schemas"]["PipelineRunActivityParams"]) | ({
8921
+ type: "pipeline.run.started";
8922
+ } | {
8923
+ data: components["schemas"]["PipelineRunActivityParams"];
8817
8924
  /** @constant */
8818
- activityType: "pipeline.run.analyzed";
8819
- } & components["schemas"]["PipelineRunActivityParams"]) | ({
8925
+ type: "pipeline.run.analyzed";
8926
+ } | {
8927
+ data: components["schemas"]["PipelineRunActivityParams"];
8820
8928
  /** @constant */
8821
- activityType: "pipeline.run.completed";
8822
- } & components["schemas"]["PipelineRunActivityParams"]) | ({
8929
+ type: "pipeline.run.completed";
8930
+ } | {
8931
+ data: components["schemas"]["PipelineRunActivityParams"];
8823
8932
  /** @constant */
8824
- activityType: "pipeline.run.failed";
8825
- } & components["schemas"]["PipelineRunActivityParams"]) | ({
8933
+ type: "pipeline.run.failed";
8934
+ } | {
8935
+ data: components["schemas"]["PolicyActivityParams"];
8826
8936
  /** @constant */
8827
- activityType: "policy.created";
8828
- } & components["schemas"]["PolicyActivityParams"]) | ({
8937
+ type: "policy.created";
8938
+ } | {
8939
+ data: components["schemas"]["PolicyActivityParams"];
8829
8940
  /** @constant */
8830
- activityType: "policy.updated";
8831
- } & components["schemas"]["PolicyActivityParams"]) | ({
8941
+ type: "policy.updated";
8942
+ } | {
8943
+ data: components["schemas"]["PolicyActivityParams"];
8832
8944
  /** @constant */
8833
- activityType: "policy.deleted";
8834
- } & components["schemas"]["PolicyActivityParams"]);
8945
+ type: "policy.deleted";
8946
+ };
8947
+ /**
8948
+ * @description Defines the type of activity performed in a workspace for audit logging.
8949
+ *
8950
+ * This enumeration corresponds to the `ACTIVITY_TYPE` PostgreSQL enum and is used
8951
+ * to categorize different types of activities that occur within workspaces for comprehensive
8952
+ * audit trail and activity tracking.
8953
+ */
8954
+ ActivityType: "workspace.created" | "workspace.updated" | "workspace.deleted" | "member.added" | "member.updated" | "member.deleted" | "invite.created" | "invite.accepted" | "invite.declined" | "invite.canceled" | "connection.created" | "connection.updated" | "connection.deleted" | "connection.sync.started" | "connection.sync.completed" | "connection.sync.failed" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "file.created" | "file.updated" | "file.deleted" | "pipeline.created" | "pipeline.updated" | "pipeline.deleted" | "pipeline.run.started" | "pipeline.run.analyzed" | "pipeline.run.completed" | "pipeline.run.failed" | "policy.created" | "policy.updated" | "policy.deleted";
8835
8955
  /** @description Anthropic API credentials. */
8836
8956
  AnthropicCredentials: {
8837
8957
  /** @description Anthropic API key. */
@@ -9820,11 +9940,10 @@ interface components {
9820
9940
  };
9821
9941
  /** @description Params of a connection activity (`connection.*`). */
9822
9942
  ConnectionActivityParams: {
9823
- /**
9824
- * Format: uuid
9825
- * @description Id of the connection.
9826
- */
9827
- connectionId: string;
9943
+ /** @description Id of the connection. */
9944
+ connectionId: components["schemas"]["ConnectionId"];
9945
+ /** @description Display name of the connection. */
9946
+ connectionName: string;
9828
9947
  };
9829
9948
  /**
9830
9949
  * @description A fully-typed connection configuration for any capability.
@@ -9905,11 +10024,10 @@ interface components {
9905
10024
  };
9906
10025
  /** @description Params of a `connection.sync.completed` notification. */
9907
10026
  ConnectionSyncCompletedParams: {
9908
- /**
9909
- * Format: uuid
9910
- * @description Id of the connection that synced.
9911
- */
9912
- connectionId: string;
10027
+ /** @description Id of the connection that synced. */
10028
+ connectionId: components["schemas"]["ConnectionId"];
10029
+ /** @description Display name of the connection that synced. */
10030
+ connectionName: string;
9913
10031
  /**
9914
10032
  * Format: int64
9915
10033
  * @description Number of records synced, if known.
@@ -9918,11 +10036,10 @@ interface components {
9918
10036
  };
9919
10037
  /** @description Params of a `connection.sync.failed` notification. */
9920
10038
  ConnectionSyncFailedParams: {
9921
- /**
9922
- * Format: uuid
9923
- * @description Id of the connection that failed to sync.
9924
- */
9925
- connectionId: string;
10039
+ /** @description Id of the connection that failed to sync. */
10040
+ connectionId: components["schemas"]["ConnectionId"];
10041
+ /** @description Display name of the connection that failed to sync. */
10042
+ connectionName: string;
9926
10043
  /** @description Failure reason, if available. */
9927
10044
  error?: string;
9928
10045
  };
@@ -11001,8 +11118,11 @@ interface components {
11001
11118
  };
11002
11119
  /** @description Params of an invite activity (`invite.*`). */
11003
11120
  InviteActivityParams: {
11004
- /** @description Email the invite was addressed to. */
11005
- email: string;
11121
+ /**
11122
+ * @description Email the invite was addressed to, when it recorded one. `None` keeps an
11123
+ * absent address distinct from a blank one.
11124
+ */
11125
+ email?: string;
11006
11126
  /**
11007
11127
  * Format: uuid
11008
11128
  * @description Id of the invite.
@@ -11479,16 +11599,16 @@ interface components {
11479
11599
  /** @description Params of a `member.invited` notification. */
11480
11600
  MemberInvitedParams: {
11481
11601
  /** @description Username of the account that sent the invite, if known. */
11482
- invitedBy?: string;
11602
+ invitedBy?: components["schemas"]["Handle"];
11483
11603
  /** @description Slug of the workspace the account was invited to. */
11484
- workspaceSlug: string;
11604
+ workspaceSlug: components["schemas"]["Handle"];
11485
11605
  };
11486
11606
  /** @description Params of a `member.joined` notification. */
11487
11607
  MemberJoinedParams: {
11488
11608
  /** @description Username of the member that joined. */
11489
- memberUsername: string;
11609
+ memberUsername: components["schemas"]["Handle"];
11490
11610
  /** @description Slug of the workspace the member joined. */
11491
- workspaceSlug: string;
11611
+ workspaceSlug: components["schemas"]["Handle"];
11492
11612
  };
11493
11613
  /**
11494
11614
  * @description Generic paginated response wrapper.
@@ -11624,7 +11744,7 @@ interface components {
11624
11744
  * The values mirror the [`WebhookEvent`](super::WebhookEvent) naming for the
11625
11745
  * events the two channels share.
11626
11746
  */
11627
- NotificationEvent: "member.invited" | "member.joined" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.run.analyzed" | "pipeline.run.completed" | "pipeline.run.failed" | "system.announcement" | "system.report";
11747
+ NotificationEvent: "member.invited" | "member.joined" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.run.analyzed" | "pipeline.run.completed" | "pipeline.run.failed";
11628
11748
  /**
11629
11749
  * @description Generic paginated response wrapper.
11630
11750
  *
@@ -11657,40 +11777,42 @@ interface components {
11657
11777
  notificationId: string;
11658
11778
  };
11659
11779
  /**
11660
- * @description The typed payload of a notification, tagged by `notifyType`.
11780
+ * @description The typed payload of a notification, tagged by `type` with its params under
11781
+ * `data` (the same `{type, data}` envelope the activity log and outbox event use).
11661
11782
  *
11662
11783
  * Each variant is one notification type carrying its own params struct. The
11663
- * `notifyType` values match [`NotificationEvent`], so the same key drives the
11664
- * member's per-event preferences.
11784
+ * `type` values match `NotificationEvent`, so the same key drives the member's
11785
+ * per-event preferences.
11665
11786
  */
11666
- NotificationPayload: ({
11667
- /** @constant */
11668
- notifyType: "member.invited";
11669
- } & components["schemas"]["MemberInvitedParams"]) | ({
11787
+ NotificationPayload: {
11788
+ data: components["schemas"]["MemberInvitedParams"];
11670
11789
  /** @constant */
11671
- notifyType: "member.joined";
11672
- } & components["schemas"]["MemberJoinedParams"]) | ({
11673
- /** @constant */
11674
- notifyType: "connection.sync.completed";
11675
- } & components["schemas"]["ConnectionSyncCompletedParams"]) | ({
11790
+ type: "member.invited";
11791
+ } | {
11792
+ data: components["schemas"]["MemberJoinedParams"];
11676
11793
  /** @constant */
11677
- notifyType: "connection.sync.failed";
11678
- } & components["schemas"]["ConnectionSyncFailedParams"]) | ({
11794
+ type: "member.joined";
11795
+ } | {
11796
+ data: components["schemas"]["ConnectionSyncCompletedParams"];
11679
11797
  /** @constant */
11680
- notifyType: "pipeline.run.analyzed";
11681
- } & components["schemas"]["PipelineRunAnalyzedParams"]) | ({
11798
+ type: "connection.sync.completed";
11799
+ } | {
11800
+ data: components["schemas"]["ConnectionSyncFailedParams"];
11682
11801
  /** @constant */
11683
- notifyType: "pipeline.run.completed";
11684
- } & components["schemas"]["PipelineRunCompletedParams"]) | ({
11802
+ type: "connection.sync.failed";
11803
+ } | {
11804
+ data: components["schemas"]["PipelineRunAnalyzedParams"];
11685
11805
  /** @constant */
11686
- notifyType: "pipeline.run.failed";
11687
- } & components["schemas"]["PipelineRunFailedParams"]) | ({
11806
+ type: "pipeline.run.analyzed";
11807
+ } | {
11808
+ data: components["schemas"]["PipelineRunCompletedParams"];
11688
11809
  /** @constant */
11689
- notifyType: "system.announcement";
11690
- } & components["schemas"]["SystemAnnouncementParams"]) | ({
11810
+ type: "pipeline.run.completed";
11811
+ } | {
11812
+ data: components["schemas"]["PipelineRunFailedParams"];
11691
11813
  /** @constant */
11692
- notifyType: "system.report";
11693
- } & components["schemas"]["SystemReportParams"]);
11814
+ type: "pipeline.run.failed";
11815
+ };
11694
11816
  /** @description Response for notification settings within a workspace. */
11695
11817
  NotificationSettings: {
11696
11818
  /** @description Notification events to receive in-app. */
@@ -11946,35 +12068,26 @@ interface components {
11946
12068
  PipelineRunActivityParams: {
11947
12069
  /** @description Slug of the owning pipeline. */
11948
12070
  pipelineSlug: components["schemas"]["Handle"];
11949
- /**
11950
- * Format: uuid
11951
- * @description Id of the run.
11952
- */
11953
- runId: string;
12071
+ /** @description Id of the run. */
12072
+ runId: components["schemas"]["RunId"];
11954
12073
  };
11955
12074
  /** @description Params of a `pipeline.run.analyzed` notification. */
11956
12075
  PipelineRunAnalyzedParams: {
11957
12076
  /** @description Display name of the analyzed file, if known. */
11958
12077
  inputFileName?: string;
11959
12078
  /** @description Slug of the owning pipeline. */
11960
- pipelineSlug: string;
11961
- /**
11962
- * Format: uuid
11963
- * @description Id of the run.
11964
- */
11965
- runId: string;
12079
+ pipelineSlug: components["schemas"]["Handle"];
12080
+ /** @description Id of the run. */
12081
+ runId: components["schemas"]["RunId"];
11966
12082
  };
11967
12083
  /** @description Params of a `pipeline.run.completed` notification. */
11968
12084
  PipelineRunCompletedParams: {
11969
12085
  /** @description Display name of the analyzed file, if known. */
11970
12086
  inputFileName?: string;
11971
12087
  /** @description Slug of the owning pipeline. */
11972
- pipelineSlug: string;
11973
- /**
11974
- * Format: uuid
11975
- * @description Id of the run.
11976
- */
11977
- runId: string;
12088
+ pipelineSlug: components["schemas"]["Handle"];
12089
+ /** @description Id of the run. */
12090
+ runId: components["schemas"]["RunId"];
11978
12091
  };
11979
12092
  /** @description Params of a `pipeline.run.failed` notification. */
11980
12093
  PipelineRunFailedParams: {
@@ -11983,12 +12096,9 @@ interface components {
11983
12096
  /** @description Display name of the analyzed file, if known. */
11984
12097
  inputFileName?: string;
11985
12098
  /** @description Slug of the owning pipeline. */
11986
- pipelineSlug: string;
11987
- /**
11988
- * Format: uuid
11989
- * @description Id of the run.
11990
- */
11991
- runId: string;
12099
+ pipelineSlug: components["schemas"]["Handle"];
12100
+ /** @description Id of the run. */
12101
+ runId: components["schemas"]["RunId"];
11992
12102
  };
11993
12103
  /**
11994
12104
  * @description Generic paginated response wrapper.
@@ -12156,6 +12266,8 @@ interface components {
12156
12266
  * @description Id of the policy.
12157
12267
  */
12158
12268
  policyId: string;
12269
+ /** @description Slug of the policy. */
12270
+ policySlug: components["schemas"]["Handle"];
12159
12271
  };
12160
12272
  /**
12161
12273
  * @description A named governance policy.
@@ -13216,19 +13328,6 @@ interface components {
13216
13328
  * to track whether a run was manually triggered, scheduled, or triggered by a webhook.
13217
13329
  */
13218
13330
  SyncTriggerType: "manual" | "scheduled" | "webhook";
13219
- /** @description Params of a `system.announcement` notification. */
13220
- SystemAnnouncementParams: {
13221
- /** @description Announcement message key or body. */
13222
- message: string;
13223
- };
13224
- /** @description Params of a `system.report` notification. */
13225
- SystemReportParams: {
13226
- /**
13227
- * Format: uuid
13228
- * @description Id of the generated report, if any.
13229
- */
13230
- reportId?: string;
13231
- };
13232
13331
  /**
13233
13332
  * @description One node in an entity's audit DAG: a thing that happened, with its
13234
13333
  * effect on confidence and its tamper-evident links.
@@ -14602,11 +14701,10 @@ interface components {
14602
14701
  };
14603
14702
  /** @description Params of a webhook activity (`webhook.*`). */
14604
14703
  WebhookActivityParams: {
14605
- /**
14606
- * Format: uuid
14607
- * @description Id of the webhook.
14608
- */
14609
- webhookId: string;
14704
+ /** @description Id of the webhook. */
14705
+ webhookId: components["schemas"]["WebhookId"];
14706
+ /** @description Display name of the webhook. */
14707
+ webhookName: string;
14610
14708
  };
14611
14709
  /**
14612
14710
  * @description Webhook creation response that includes the secret (visible only once).
@@ -14886,6 +14984,8 @@ type AccountRef = Schemas$22["AccountRef"];
14886
14984
  type Schemas$21 = components["schemas"];
14887
14985
  type Activity = Schemas$21["Activity"];
14888
14986
  type ActivityPage = Schemas$21["ActivityPage"];
14987
+ type ActivityType = Schemas$21["ActivityType"];
14988
+ type ActivityListQuery = Schemas$21["ActivityListQuery"];
14889
14989
  type ActivityExportQuery = Schemas$21["ActivityExportQuery"];
14890
14990
  type ActivityPayload = Schemas$21["ActivityPayload"];
14891
14991
  type WorkspaceActivityParams = Schemas$21["WorkspaceActivityParams"];
@@ -15103,8 +15203,6 @@ type ConnectionSyncFailedParams = Schemas$7["ConnectionSyncFailedParams"];
15103
15203
  type PipelineRunAnalyzedParams = Schemas$7["PipelineRunAnalyzedParams"];
15104
15204
  type PipelineRunCompletedParams = Schemas$7["PipelineRunCompletedParams"];
15105
15205
  type PipelineRunFailedParams = Schemas$7["PipelineRunFailedParams"];
15106
- type SystemAnnouncementParams = Schemas$7["SystemAnnouncementParams"];
15107
- type SystemReportParams = Schemas$7["SystemReportParams"];
15108
15206
  //#endregion
15109
15207
  //#region src/datatypes/pagination.d.ts
15110
15208
  type Schemas$6 = components["schemas"];
@@ -15211,5 +15309,5 @@ type Retention = Schemas["Retention"];
15211
15309
  type RetentionSettings = Schemas["RetentionSettings"];
15212
15310
  type RetentionOverride = Schemas["RetentionOverride"];
15213
15311
  //#endregion
15214
- export { LabelRef as $, ChatRole as $n, TabularHint as $r, UpdateMember as $t, CreatePipelineRun as A, UsageReport as Ai, Connection as An, ImageAuditKind as Ar, CursorPagination as At, Color as B, PipelineActivityParams as Bi, LlmConfig as Bn, PatternEvent as Br, NotificationSettings as Bt, Language as C, RunStatusEntry as Ci, DateWindow as Cn, BoundingBox as Cr, PipelineDefinition as Ct, ScopeMetadata as D, TokenCounts as Di, ValidationErrorDetail as Dn, EntityCoRef as Dr, PipelineSummaryPage as Dt, Languages as E, StorageKindEntry as Ei, ErrorResponse as En, Dpi as Er, PipelineSummary as Et, RunId as F, ActivityPayload as Fi, ConnectionSyncPage as Fn, ImageHint as Fr, MemberJoinedParams as Ft, GdprArticle9Treatment as G, Account as Gi, SyncDeletionPolicy as Gn, Review as Gr, SystemReportParams as Gt, CreatePolicy as H, PolicyActivityParams as Hi, S3Credentials as Hn, Polygon as Hr, PipelineRunCompletedParams as Ht, RunMetadata as I, ConnectionActivityParams as Ii, ConnectionVerification as In, ImageLocation as Ir, Notification as It, HipaaDeidMethod as J, PasswordChange as Ji, SyncScheduleInput as Jn, TabularAuditEvent as Jr, UpdateNotificationSettings as Jt, GdprSensitiveScope as K, AccountRef as Ki, SyncMode as Kn, RuleMatch as Kr, UnreadCountEvent as Kt, RunStatusEvent as L, FileActivityParams as Li, ConnectionsQuery as Ln, LeakProfile as Lr, NotificationEvent as Lt, PipelineRunPage as M, Activity as Mi, ConnectionId as Mn, ImageData as Mr, ConnectionSyncFailedParams as Mt, PipelineRunStatus as N, ActivityExportQuery as Ni, ConnectionPage as Nn, ImageEntity as Nr, MarkedReadStatus as Nt, ScopeParams as O, Usage as Oi, AnthropicCredentials as On, EntityGroup as Or, PipelineTriggerType as Ot, PipelineRunsQuery as P, ActivityPage as Pi, ConnectionSync as Pn, ImageEntityRecord as Pr, MemberInvitedParams as Pt, LabelLocale as Q, ChatMessage as Qn, TabularEntityRecord as Qr, MemberSortField as Qt, AudioRedaction as R, InviteActivityParams as Ri, CreateConnection as Rn, ModelEvent as Rr, NotificationPage as Rt, CountryCode as S, RunDayEntry as Si, UpdateFile as Sn, AuditHash as Sr, Pipeline as St, LanguageSpan as T, StorageAnalytics as Ti, ExportQuery as Tn, Dimensions as Tr, PipelineStatus as Tt, DateGranularity as U, WebhookActivityParams as Ui, StorageConfig as Un, RangeOfUint as Ur, PipelineRunFailedParams as Ut, ConfidenceThreshold as V, PipelineRunActivityParams as Vi, OpenAiCredentials as Vn, Point as Vr, PipelineRunAnalyzedParams as Vt, DateStyle as W, WorkspaceActivityParams as Wi, SyncConnection as Wn, RasterMode as Wr, SystemAnnouncementParams as Wt, Label as X, UpdateAccount as Xi, SyncTriggerType as Xn, TabularAuditLog as Xr, Member as Xt, ImageRedaction as Y, PublicAccount as Yi, SyncStatus as Yn, TabularAuditKind as Yr, ListMembers as Yt, LabelEntry as Z, paths as Zi, UpdateConnection as Zn, TabularEntity as Zr, MemberPage as Zt, WebhookId as _, ModelUsage as _i, FileKind as _n, AudioEntity as _r, TerminalFallback as _t, RetentionSettings as a, TextEntity as ai, InvitePage as an, LabelCatalog as ar, PciPanRender as at, WebhookStatus as b, RecognizerId as bi, ListFiles as bn, AudioLocation as br, Waveform as bt, WorkspacePage as c, TextLocation as ci, InviteSortField as cn, AuthToken as cr, PolicyDraft as ct, CreateWebhook as d, ApiTokenPage as di, ReplyInvite as dn, Attribution as dr, PolicySummaryPage as dt, TabularLocation as ei, CreateInvite as en, ChatSession as er, LabelScope as et, TestWebhook as f, ApiTokenType as fi, SortOrder as fn, AttributionKind as fr, PolicyTemplate as ft, WebhookEvent as g, UpdateApiToken as gi, File as gn, AudioData as gr, TemplateOrigin as gt, WebhookCreated as h, TokenExpiration as hi, HealthStatus as hn, AudioAuditLog as hr, TabularRedaction as ht, RetentionOverride as i, TextData as ii, InviteExpiration as in, SendChatMessage as ir, PciDssPart as it, PipelineRun as j, WorkspaceAnalytics as ji, ConnectionConfig as jn, ImageAuditLog as jr, ConnectionSyncCompletedParams as jt, Audit as k, UsageAnalytics as ki, AzureCredentials as kn, ImageAuditEvent as kr, UpdatePipeline as kt, WorkspaceRole as l, TimeSpan as li, InviteStatus as ln, Login as lr, PolicyRule as lt, Webhook as m, CreateApiToken as mi, Health as mn, AudioAuditKind as mr, Sha2Algorithm as mt, OcrPolicy as n, TextAuditKind as ni, Invite as nn, ChatToken as nr, LocalizedText as nt, UpdateWorkspace as o, TextEntityRecord as oi, InvitePreview as on, RecognizerCatalog as or, Policy as ot, UpdateWebhook as p, ApiTokenWithJWT as pi, ComponentHealth as pn, AudioAuditEvent as pr, Predicate as pt, HipaaAccountNumbers as q, Handle as qi, SyncSchedule as qn, SourceRef as qr, UnreadStatus as qt, Retention as r, TextAuditLog as ri, InviteCode as rn, CreateChatSession as rr, ModalityRedactions as rt, Workspace as s, TextHint as si, InviteSent as sn, RegisteredRecognizer as sr, PolicyDefinition as st, CreateWorkspace as t, TextAuditEvent as ti, GenerateInviteCode as tn, ChatSessionPage as tr, LanguageTag as tt, WorkspaceSettings as u, ApiToken as ui, ListInvites as un, Signup as ur, PolicySummary as ut, WebhookPage as v, ModelUsageEntry as vi, FilePage as vn, AudioEntityRecord as vr, TextRedaction as vt, LanguageProvenance as w, RunTimeSeries as wi, ExportFormat as wn, Category as wr, PipelineFilter as wt, Confidence as x, RunAnalytics as xi, ModalityToken as xn, AuditContext as xr, CreatePipeline as xt, WebhookResult as y, ProviderType as yi, FormatToken as yn, AudioHint as yr, UpdatePolicy as yt, ClampBucket as z, MemberActivityParams as zi, GcsCredentials as zn, OperatorId as zr, NotificationPayload as zt };
15215
- //# sourceMappingURL=index-CiQYVPsR.d.ts.map
15312
+ export { LabelRef as $, ChatSessionPage as $n, TextAuditEvent as $r, GenerateInviteCode as $t, CreatePipelineRun as A, Activity as Ai, ConnectionId as An, ImageData as Ar, CursorPagination as At, Color as B, PipelineActivityParams as Bi, S3Credentials as Bn, Polygon as Br, NotificationSettings as Bt, Language as C, StorageAnalytics as Ci, ExportQuery as Cn, Dimensions as Cr, PipelineDefinition as Ct, ScopeMetadata as D, UsageAnalytics as Di, AzureCredentials as Dn, ImageAuditEvent as Dr, PipelineSummaryPage as Dt, Languages as E, Usage as Ei, AnthropicCredentials as En, EntityGroup as Er, PipelineSummary as Et, RunId as F, ActivityType as Fi, ConnectionsQuery as Fn, LeakProfile as Fr, MemberJoinedParams as Ft, GdprArticle9Treatment as G, Account as Gi, SyncSchedule as Gn, SourceRef as Gr, UnreadStatus as Gt, CreatePolicy as H, PolicyActivityParams as Hi, SyncConnection as Hn, RasterMode as Hr, PipelineRunCompletedParams as Ht, RunMetadata as I, ConnectionActivityParams as Ii, CreateConnection as In, ModelEvent as Ir, Notification as It, HipaaDeidMethod as J, PasswordChange as Ji, SyncTriggerType as Jn, TabularAuditLog as Jr, Member as Jt, GdprSensitiveScope as K, AccountRef as Ki, SyncScheduleInput as Kn, TabularAuditEvent as Kr, UpdateNotificationSettings as Kt, RunStatusEvent as L, FileActivityParams as Li, GcsCredentials as Ln, OperatorId as Lr, NotificationEvent as Lt, PipelineRunPage as M, ActivityListQuery as Mi, ConnectionSync as Mn, ImageEntityRecord as Mr, ConnectionSyncFailedParams as Mt, PipelineRunStatus as N, ActivityPage as Ni, ConnectionSyncPage as Nn, ImageHint as Nr, MarkedReadStatus as Nt, ScopeParams as O, UsageReport as Oi, Connection as On, ImageAuditKind as Or, PipelineTriggerType as Ot, PipelineRunsQuery as P, ActivityPayload as Pi, ConnectionVerification as Pn, ImageLocation as Pr, MemberInvitedParams as Pt, LabelLocale as Q, ChatSession as Qn, TabularLocation as Qr, CreateInvite as Qt, AudioRedaction as R, InviteActivityParams as Ri, LlmConfig as Rn, PatternEvent as Rr, NotificationPage as Rt, CountryCode as S, RunTimeSeries as Si, ExportFormat as Sn, Category as Sr, Pipeline as St, LanguageSpan as T, TokenCounts as Ti, ValidationErrorDetail as Tn, EntityCoRef as Tr, PipelineStatus as Tt, DateGranularity as U, WebhookActivityParams as Ui, SyncDeletionPolicy as Un, Review as Ur, PipelineRunFailedParams as Ut, ConfidenceThreshold as V, PipelineRunActivityParams as Vi, StorageConfig as Vn, RangeOfUint as Vr, PipelineRunAnalyzedParams as Vt, DateStyle as W, WorkspaceActivityParams as Wi, SyncMode as Wn, RuleMatch as Wr, UnreadCountEvent as Wt, Label as X, UpdateAccount as Xi, ChatMessage as Xn, TabularEntityRecord as Xr, MemberSortField as Xt, ImageRedaction as Y, PublicAccount as Yi, UpdateConnection as Yn, TabularEntity as Yr, MemberPage as Yt, LabelEntry as Z, paths as Zi, ChatRole as Zn, TabularHint as Zr, UpdateMember as Zt, WebhookId as _, ProviderType as _i, FormatToken as _n, AudioHint as _r, TerminalFallback as _t, RetentionSettings as a, TextHint as ai, InviteSent as an, RegisteredRecognizer as ar, PciPanRender as at, WebhookStatus as b, RunDayEntry as bi, UpdateFile as bn, AuditHash as br, Waveform as bt, WorkspacePage as c, ApiToken as ci, ListInvites as cn, Signup as cr, PolicyDraft as ct, CreateWebhook as d, ApiTokenWithJWT as di, ComponentHealth as dn, AudioAuditEvent as dr, PolicySummaryPage as dt, TextAuditKind as ei, Invite as en, ChatToken as er, LabelScope as et, TestWebhook as f, CreateApiToken as fi, Health as fn, AudioAuditKind as fr, PolicyTemplate as ft, WebhookEvent as g, ModelUsageEntry as gi, FilePage as gn, AudioEntityRecord as gr, TemplateOrigin as gt, WebhookCreated as h, ModelUsage as hi, FileKind as hn, AudioEntity as hr, TabularRedaction as ht, RetentionOverride as i, TextEntityRecord as ii, InvitePreview as in, RecognizerCatalog as ir, PciDssPart as it, PipelineRun as j, ActivityExportQuery as ji, ConnectionPage as jn, ImageEntity as jr, ConnectionSyncCompletedParams as jt, Audit as k, WorkspaceAnalytics as ki, ConnectionConfig as kn, ImageAuditLog as kr, UpdatePipeline as kt, WorkspaceRole as l, ApiTokenPage as li, ReplyInvite as ln, Attribution as lr, PolicyRule as lt, Webhook as m, UpdateApiToken as mi, File as mn, AudioData as mr, Sha2Algorithm as mt, OcrPolicy as n, TextData as ni, InviteExpiration as nn, SendChatMessage as nr, LocalizedText as nt, UpdateWorkspace as o, TextLocation as oi, InviteSortField as on, AuthToken as or, Policy as ot, UpdateWebhook as p, TokenExpiration as pi, HealthStatus as pn, AudioAuditLog as pr, Predicate as pt, HipaaAccountNumbers as q, Handle as qi, SyncStatus as qn, TabularAuditKind as qr, ListMembers as qt, Retention as r, TextEntity as ri, InvitePage as rn, LabelCatalog as rr, ModalityRedactions as rt, Workspace as s, TimeSpan as si, InviteStatus as sn, Login as sr, PolicyDefinition as st, CreateWorkspace as t, TextAuditLog as ti, InviteCode as tn, CreateChatSession as tr, LanguageTag as tt, WorkspaceSettings as u, ApiTokenType as ui, SortOrder as un, AttributionKind as ur, PolicySummary as ut, WebhookPage as v, RecognizerId as vi, ListFiles as vn, AudioLocation as vr, TextRedaction as vt, LanguageProvenance as w, StorageKindEntry as wi, ErrorResponse as wn, Dpi as wr, PipelineFilter as wt, Confidence as x, RunStatusEntry as xi, DateWindow as xn, BoundingBox as xr, CreatePipeline as xt, WebhookResult as y, RunAnalytics as yi, ModalityToken as yn, AuditContext as yr, UpdatePolicy as yt, ClampBucket as z, MemberActivityParams as zi, OpenAiCredentials as zn, Point as zr, NotificationPayload as zt };
15313
+ //# sourceMappingURL=index-0_K3HaXB.d.ts.map