@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.
- package/CHANGELOG.md +23 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/{client-CfC5wM9f.d.ts → client-CULULKFQ.d.ts} +5 -4
- package/dist/client-CULULKFQ.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{errors-CrAVfGv9.d.ts → errors-BZvRatQn.d.ts} +2 -2
- package/dist/{errors-CrAVfGv9.d.ts.map → errors-BZvRatQn.d.ts.map} +1 -1
- package/dist/{index-CiQYVPsR.d.ts → index-0_K3HaXB.d.ts} +264 -166
- package/dist/index-0_K3HaXB.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-CA6ZPOfu.js → services-CTpA4P73.js} +3 -2
- package/dist/services-CTpA4P73.js.map +1 -0
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +3 -3
- package/dist/client-CfC5wM9f.d.ts.map +0 -1
- package/dist/index-CiQYVPsR.d.ts.map +0 -1
- package/dist/services-CA6ZPOfu.js.map +0 -1
|
@@ -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:
|
|
8693
|
-
*
|
|
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 `
|
|
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 `
|
|
8733
|
-
*
|
|
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
|
-
|
|
8737
|
-
activityType: "workspace.created";
|
|
8738
|
-
} & components["schemas"]["WorkspaceActivityParams"]) | ({
|
|
8818
|
+
ActivityPayload: {
|
|
8819
|
+
data: components["schemas"]["WorkspaceActivityParams"];
|
|
8739
8820
|
/** @constant */
|
|
8740
|
-
|
|
8741
|
-
}
|
|
8821
|
+
type: "workspace.created";
|
|
8822
|
+
} | {
|
|
8823
|
+
data: components["schemas"]["WorkspaceActivityParams"];
|
|
8742
8824
|
/** @constant */
|
|
8743
|
-
|
|
8744
|
-
}
|
|
8825
|
+
type: "workspace.updated";
|
|
8826
|
+
} | {
|
|
8827
|
+
data: components["schemas"]["WorkspaceActivityParams"];
|
|
8745
8828
|
/** @constant */
|
|
8746
|
-
|
|
8747
|
-
}
|
|
8829
|
+
type: "workspace.deleted";
|
|
8830
|
+
} | {
|
|
8831
|
+
data: components["schemas"]["MemberActivityParams"];
|
|
8748
8832
|
/** @constant */
|
|
8749
|
-
|
|
8750
|
-
}
|
|
8833
|
+
type: "member.added";
|
|
8834
|
+
} | {
|
|
8835
|
+
data: components["schemas"]["MemberActivityParams"];
|
|
8751
8836
|
/** @constant */
|
|
8752
|
-
|
|
8753
|
-
}
|
|
8837
|
+
type: "member.updated";
|
|
8838
|
+
} | {
|
|
8839
|
+
data: components["schemas"]["MemberActivityParams"];
|
|
8754
8840
|
/** @constant */
|
|
8755
|
-
|
|
8756
|
-
}
|
|
8841
|
+
type: "member.deleted";
|
|
8842
|
+
} | {
|
|
8843
|
+
data: components["schemas"]["InviteActivityParams"];
|
|
8757
8844
|
/** @constant */
|
|
8758
|
-
|
|
8759
|
-
}
|
|
8845
|
+
type: "invite.created";
|
|
8846
|
+
} | {
|
|
8847
|
+
data: components["schemas"]["InviteActivityParams"];
|
|
8760
8848
|
/** @constant */
|
|
8761
|
-
|
|
8762
|
-
}
|
|
8849
|
+
type: "invite.accepted";
|
|
8850
|
+
} | {
|
|
8851
|
+
data: components["schemas"]["InviteActivityParams"];
|
|
8763
8852
|
/** @constant */
|
|
8764
|
-
|
|
8765
|
-
}
|
|
8853
|
+
type: "invite.declined";
|
|
8854
|
+
} | {
|
|
8855
|
+
data: components["schemas"]["InviteActivityParams"];
|
|
8766
8856
|
/** @constant */
|
|
8767
|
-
|
|
8768
|
-
}
|
|
8857
|
+
type: "invite.canceled";
|
|
8858
|
+
} | {
|
|
8859
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8769
8860
|
/** @constant */
|
|
8770
|
-
|
|
8771
|
-
}
|
|
8861
|
+
type: "connection.created";
|
|
8862
|
+
} | {
|
|
8863
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8772
8864
|
/** @constant */
|
|
8773
|
-
|
|
8774
|
-
}
|
|
8865
|
+
type: "connection.updated";
|
|
8866
|
+
} | {
|
|
8867
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8775
8868
|
/** @constant */
|
|
8776
|
-
|
|
8777
|
-
}
|
|
8869
|
+
type: "connection.deleted";
|
|
8870
|
+
} | {
|
|
8871
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8778
8872
|
/** @constant */
|
|
8779
|
-
|
|
8780
|
-
}
|
|
8873
|
+
type: "connection.sync.started";
|
|
8874
|
+
} | {
|
|
8875
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8781
8876
|
/** @constant */
|
|
8782
|
-
|
|
8783
|
-
}
|
|
8877
|
+
type: "connection.sync.completed";
|
|
8878
|
+
} | {
|
|
8879
|
+
data: components["schemas"]["ConnectionActivityParams"];
|
|
8784
8880
|
/** @constant */
|
|
8785
|
-
|
|
8786
|
-
}
|
|
8881
|
+
type: "connection.sync.failed";
|
|
8882
|
+
} | {
|
|
8883
|
+
data: components["schemas"]["WebhookActivityParams"];
|
|
8787
8884
|
/** @constant */
|
|
8788
|
-
|
|
8789
|
-
}
|
|
8885
|
+
type: "webhook.created";
|
|
8886
|
+
} | {
|
|
8887
|
+
data: components["schemas"]["WebhookActivityParams"];
|
|
8790
8888
|
/** @constant */
|
|
8791
|
-
|
|
8792
|
-
}
|
|
8889
|
+
type: "webhook.updated";
|
|
8890
|
+
} | {
|
|
8891
|
+
data: components["schemas"]["WebhookActivityParams"];
|
|
8793
8892
|
/** @constant */
|
|
8794
|
-
|
|
8795
|
-
}
|
|
8893
|
+
type: "webhook.deleted";
|
|
8894
|
+
} | {
|
|
8895
|
+
data: components["schemas"]["FileActivityParams"];
|
|
8796
8896
|
/** @constant */
|
|
8797
|
-
|
|
8798
|
-
}
|
|
8897
|
+
type: "file.created";
|
|
8898
|
+
} | {
|
|
8899
|
+
data: components["schemas"]["FileActivityParams"];
|
|
8799
8900
|
/** @constant */
|
|
8800
|
-
|
|
8801
|
-
}
|
|
8901
|
+
type: "file.updated";
|
|
8902
|
+
} | {
|
|
8903
|
+
data: components["schemas"]["FileActivityParams"];
|
|
8802
8904
|
/** @constant */
|
|
8803
|
-
|
|
8804
|
-
}
|
|
8905
|
+
type: "file.deleted";
|
|
8906
|
+
} | {
|
|
8907
|
+
data: components["schemas"]["PipelineActivityParams"];
|
|
8805
8908
|
/** @constant */
|
|
8806
|
-
|
|
8807
|
-
}
|
|
8909
|
+
type: "pipeline.created";
|
|
8910
|
+
} | {
|
|
8911
|
+
data: components["schemas"]["PipelineActivityParams"];
|
|
8808
8912
|
/** @constant */
|
|
8809
|
-
|
|
8810
|
-
}
|
|
8913
|
+
type: "pipeline.updated";
|
|
8914
|
+
} | {
|
|
8915
|
+
data: components["schemas"]["PipelineActivityParams"];
|
|
8811
8916
|
/** @constant */
|
|
8812
|
-
|
|
8813
|
-
}
|
|
8917
|
+
type: "pipeline.deleted";
|
|
8918
|
+
} | {
|
|
8919
|
+
data: components["schemas"]["PipelineRunActivityParams"];
|
|
8814
8920
|
/** @constant */
|
|
8815
|
-
|
|
8816
|
-
}
|
|
8921
|
+
type: "pipeline.run.started";
|
|
8922
|
+
} | {
|
|
8923
|
+
data: components["schemas"]["PipelineRunActivityParams"];
|
|
8817
8924
|
/** @constant */
|
|
8818
|
-
|
|
8819
|
-
}
|
|
8925
|
+
type: "pipeline.run.analyzed";
|
|
8926
|
+
} | {
|
|
8927
|
+
data: components["schemas"]["PipelineRunActivityParams"];
|
|
8820
8928
|
/** @constant */
|
|
8821
|
-
|
|
8822
|
-
}
|
|
8929
|
+
type: "pipeline.run.completed";
|
|
8930
|
+
} | {
|
|
8931
|
+
data: components["schemas"]["PipelineRunActivityParams"];
|
|
8823
8932
|
/** @constant */
|
|
8824
|
-
|
|
8825
|
-
}
|
|
8933
|
+
type: "pipeline.run.failed";
|
|
8934
|
+
} | {
|
|
8935
|
+
data: components["schemas"]["PolicyActivityParams"];
|
|
8826
8936
|
/** @constant */
|
|
8827
|
-
|
|
8828
|
-
}
|
|
8937
|
+
type: "policy.created";
|
|
8938
|
+
} | {
|
|
8939
|
+
data: components["schemas"]["PolicyActivityParams"];
|
|
8829
8940
|
/** @constant */
|
|
8830
|
-
|
|
8831
|
-
}
|
|
8941
|
+
type: "policy.updated";
|
|
8942
|
+
} | {
|
|
8943
|
+
data: components["schemas"]["PolicyActivityParams"];
|
|
8832
8944
|
/** @constant */
|
|
8833
|
-
|
|
8834
|
-
}
|
|
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
|
-
|
|
9825
|
-
|
|
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
|
-
|
|
9910
|
-
|
|
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
|
-
|
|
9923
|
-
|
|
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
|
-
/**
|
|
11005
|
-
|
|
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?:
|
|
11602
|
+
invitedBy?: components["schemas"]["Handle"];
|
|
11483
11603
|
/** @description Slug of the workspace the account was invited to. */
|
|
11484
|
-
workspaceSlug:
|
|
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:
|
|
11609
|
+
memberUsername: components["schemas"]["Handle"];
|
|
11490
11610
|
/** @description Slug of the workspace the member joined. */
|
|
11491
|
-
workspaceSlug:
|
|
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"
|
|
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 `
|
|
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
|
-
* `
|
|
11664
|
-
*
|
|
11784
|
+
* `type` values match `NotificationEvent`, so the same key drives the member's
|
|
11785
|
+
* per-event preferences.
|
|
11665
11786
|
*/
|
|
11666
|
-
NotificationPayload:
|
|
11667
|
-
|
|
11668
|
-
notifyType: "member.invited";
|
|
11669
|
-
} & components["schemas"]["MemberInvitedParams"]) | ({
|
|
11787
|
+
NotificationPayload: {
|
|
11788
|
+
data: components["schemas"]["MemberInvitedParams"];
|
|
11670
11789
|
/** @constant */
|
|
11671
|
-
|
|
11672
|
-
}
|
|
11673
|
-
|
|
11674
|
-
notifyType: "connection.sync.completed";
|
|
11675
|
-
} & components["schemas"]["ConnectionSyncCompletedParams"]) | ({
|
|
11790
|
+
type: "member.invited";
|
|
11791
|
+
} | {
|
|
11792
|
+
data: components["schemas"]["MemberJoinedParams"];
|
|
11676
11793
|
/** @constant */
|
|
11677
|
-
|
|
11678
|
-
}
|
|
11794
|
+
type: "member.joined";
|
|
11795
|
+
} | {
|
|
11796
|
+
data: components["schemas"]["ConnectionSyncCompletedParams"];
|
|
11679
11797
|
/** @constant */
|
|
11680
|
-
|
|
11681
|
-
}
|
|
11798
|
+
type: "connection.sync.completed";
|
|
11799
|
+
} | {
|
|
11800
|
+
data: components["schemas"]["ConnectionSyncFailedParams"];
|
|
11682
11801
|
/** @constant */
|
|
11683
|
-
|
|
11684
|
-
}
|
|
11802
|
+
type: "connection.sync.failed";
|
|
11803
|
+
} | {
|
|
11804
|
+
data: components["schemas"]["PipelineRunAnalyzedParams"];
|
|
11685
11805
|
/** @constant */
|
|
11686
|
-
|
|
11687
|
-
}
|
|
11806
|
+
type: "pipeline.run.analyzed";
|
|
11807
|
+
} | {
|
|
11808
|
+
data: components["schemas"]["PipelineRunCompletedParams"];
|
|
11688
11809
|
/** @constant */
|
|
11689
|
-
|
|
11690
|
-
}
|
|
11810
|
+
type: "pipeline.run.completed";
|
|
11811
|
+
} | {
|
|
11812
|
+
data: components["schemas"]["PipelineRunFailedParams"];
|
|
11691
11813
|
/** @constant */
|
|
11692
|
-
|
|
11693
|
-
}
|
|
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
|
-
|
|
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:
|
|
11961
|
-
/**
|
|
11962
|
-
|
|
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:
|
|
11973
|
-
/**
|
|
11974
|
-
|
|
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:
|
|
11987
|
-
/**
|
|
11988
|
-
|
|
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
|
-
|
|
14607
|
-
|
|
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 $,
|
|
15215
|
-
//# sourceMappingURL=index-
|
|
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
|