@sixb/client 0.1.20 → 0.1.21
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/activity-attribution.d.ts +29 -0
- package/dist/activity-attribution.d.ts.map +1 -0
- package/dist/activity-tracker.d.ts +105 -0
- package/dist/activity-tracker.d.ts.map +1 -0
- package/dist/browser.d.ts +2 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +513 -11
- package/dist/browser.js.map +6 -4
- package/dist/{chunk-g05ar78c.js → chunk-3b154p8n.js} +3 -3
- package/dist/{chunk-tkjkrcdt.js → chunk-3f2pjdzk.js} +155 -2
- package/dist/chunk-3f2pjdzk.js.map +19 -0
- package/dist/{chunk-awbb496e.js → chunk-9wd8x2em.js} +1 -1
- package/dist/{chunk-3aa3m9z6.js → chunk-ana8rtgb.js} +2 -2
- package/dist/{chunk-95bnb04n.js → chunk-qdq5gfqx.js} +1 -1
- package/dist/{chunk-12s8gbwj.js → chunk-s5zamywm.js} +2 -2
- package/dist/generated/@tanstack/react-query.gen.d.ts +2281 -591
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +89 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +1669 -448
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +299 -6
- package/dist/hooks.js.map +3 -3
- package/dist/index.js +40 -6
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.js +36 -2
- package/dist/models.js.map +1 -1
- package/dist/query.js +3 -3
- package/package.json +2 -2
- package/src/activity-attribution.ts +211 -0
- package/src/activity-tracker.ts +527 -0
- package/src/browser.ts +14 -1
- package/src/generated/@tanstack/react-query.gen.ts +580 -0
- package/src/generated/index.ts +101 -0
- package/src/generated/sdk.gen.ts +389 -0
- package/src/generated/types.gen.ts +2405 -1090
- package/dist/chunk-tkjkrcdt.js.map +0 -19
- /package/dist/{chunk-g05ar78c.js.map → chunk-3b154p8n.js.map} +0 -0
- /package/dist/{chunk-awbb496e.js.map → chunk-9wd8x2em.js.map} +0 -0
- /package/dist/{chunk-3aa3m9z6.js.map → chunk-ana8rtgb.js.map} +0 -0
- /package/dist/{chunk-95bnb04n.js.map → chunk-qdq5gfqx.js.map} +0 -0
- /package/dist/{chunk-12s8gbwj.js.map → chunk-s5zamywm.js.map} +0 -0
|
@@ -8843,10 +8843,9 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8843
8843
|
errorText: string;
|
|
8844
8844
|
}>;
|
|
8845
8845
|
annotations: Array<{
|
|
8846
|
-
code: "
|
|
8846
|
+
code: "step_limit_reached";
|
|
8847
8847
|
severity: "warning" | "error";
|
|
8848
|
-
scope: "
|
|
8849
|
-
path?: string;
|
|
8848
|
+
scope: "run";
|
|
8850
8849
|
message: string;
|
|
8851
8850
|
}>;
|
|
8852
8851
|
compaction?: {
|
|
@@ -9022,10 +9021,9 @@ export type PostAgentThreadMessageResponses = {
|
|
|
9022
9021
|
unvaluedCallCount: number;
|
|
9023
9022
|
};
|
|
9024
9023
|
diagnostics?: Array<{
|
|
9025
|
-
code: "
|
|
9024
|
+
code: "step_limit_reached";
|
|
9026
9025
|
severity: "warning" | "error";
|
|
9027
|
-
scope: "
|
|
9028
|
-
path?: string;
|
|
9026
|
+
scope: "run";
|
|
9029
9027
|
message: string;
|
|
9030
9028
|
}>;
|
|
9031
9029
|
error?: {
|
|
@@ -9229,10 +9227,9 @@ export type CancelAgentRunResponses = {
|
|
|
9229
9227
|
unvaluedCallCount: number;
|
|
9230
9228
|
};
|
|
9231
9229
|
diagnostics?: Array<{
|
|
9232
|
-
code: "
|
|
9230
|
+
code: "step_limit_reached";
|
|
9233
9231
|
severity: "warning" | "error";
|
|
9234
|
-
scope: "
|
|
9235
|
-
path?: string;
|
|
9232
|
+
scope: "run";
|
|
9236
9233
|
message: string;
|
|
9237
9234
|
}>;
|
|
9238
9235
|
error?: {
|
|
@@ -9360,10 +9357,9 @@ export type RetryAgentRunResponses = {
|
|
|
9360
9357
|
unvaluedCallCount: number;
|
|
9361
9358
|
};
|
|
9362
9359
|
diagnostics?: Array<{
|
|
9363
|
-
code: "
|
|
9360
|
+
code: "step_limit_reached";
|
|
9364
9361
|
severity: "warning" | "error";
|
|
9365
|
-
scope: "
|
|
9366
|
-
path?: string;
|
|
9362
|
+
scope: "run";
|
|
9367
9363
|
message: string;
|
|
9368
9364
|
}>;
|
|
9369
9365
|
error?: {
|
|
@@ -9473,10 +9469,9 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9473
9469
|
unvaluedCallCount: number;
|
|
9474
9470
|
};
|
|
9475
9471
|
diagnostics?: Array<{
|
|
9476
|
-
code: "
|
|
9472
|
+
code: "step_limit_reached";
|
|
9477
9473
|
severity: "warning" | "error";
|
|
9478
|
-
scope: "
|
|
9479
|
-
path?: string;
|
|
9474
|
+
scope: "run";
|
|
9480
9475
|
message: string;
|
|
9481
9476
|
}>;
|
|
9482
9477
|
error?: {
|
|
@@ -9582,10 +9577,9 @@ export type GetAgentRunResponses = {
|
|
|
9582
9577
|
unvaluedCallCount: number;
|
|
9583
9578
|
};
|
|
9584
9579
|
diagnostics?: Array<{
|
|
9585
|
-
code: "
|
|
9580
|
+
code: "step_limit_reached";
|
|
9586
9581
|
severity: "warning" | "error";
|
|
9587
|
-
scope: "
|
|
9588
|
-
path?: string;
|
|
9582
|
+
scope: "run";
|
|
9589
9583
|
message: string;
|
|
9590
9584
|
}>;
|
|
9591
9585
|
error?: {
|
|
@@ -9611,353 +9605,1112 @@ export type GetAgentRunResponses = {
|
|
|
9611
9605
|
};
|
|
9612
9606
|
};
|
|
9613
9607
|
export type GetAgentRunResponse = GetAgentRunResponses[keyof GetAgentRunResponses];
|
|
9614
|
-
export type
|
|
9608
|
+
export type ListArtifactsData = {
|
|
9615
9609
|
body?: never;
|
|
9616
9610
|
path?: never;
|
|
9617
|
-
query?:
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
isDefault: boolean;
|
|
9629
|
-
name: string;
|
|
9630
|
-
description?: string;
|
|
9631
|
-
publisher: {
|
|
9632
|
-
id: string;
|
|
9633
|
-
name: string;
|
|
9634
|
-
};
|
|
9635
|
-
via?: string;
|
|
9636
|
-
capabilities: {
|
|
9637
|
-
input: Array<"text" | "image" | "audio" | "video" | "pdf">;
|
|
9638
|
-
output: Array<"text" | "image" | "audio" | "video" | "pdf">;
|
|
9639
|
-
attachments?: boolean;
|
|
9640
|
-
reasoning?: boolean;
|
|
9641
|
-
tools?: boolean;
|
|
9642
|
-
structuredOutput?: boolean;
|
|
9643
|
-
contextWindowTokens?: number;
|
|
9644
|
-
};
|
|
9645
|
-
reasoningLevels: Array<"provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max">;
|
|
9646
|
-
defaultReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
9647
|
-
}>;
|
|
9648
|
-
};
|
|
9649
|
-
};
|
|
9650
|
-
export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
|
|
9651
|
-
export type RemoveObjectLinkData = {
|
|
9652
|
-
body?: never;
|
|
9653
|
-
path: {
|
|
9654
|
-
objectTypeId: string;
|
|
9655
|
-
objectId: string;
|
|
9656
|
-
linkId: string;
|
|
9657
|
-
};
|
|
9658
|
-
query: {
|
|
9659
|
-
targetTypeId: string;
|
|
9660
|
-
targetId: string;
|
|
9611
|
+
query?: {
|
|
9612
|
+
/**
|
|
9613
|
+
* Only artifacts with a version the Agent published in this thread
|
|
9614
|
+
*/
|
|
9615
|
+
thread?: string;
|
|
9616
|
+
/**
|
|
9617
|
+
* Only artifacts of this kind
|
|
9618
|
+
*/
|
|
9619
|
+
kind?: "document" | "sheet" | "slides" | "file";
|
|
9620
|
+
limit?: string;
|
|
9621
|
+
offset?: string;
|
|
9661
9622
|
};
|
|
9662
|
-
url: "/api/
|
|
9623
|
+
url: "/api/artifacts";
|
|
9663
9624
|
};
|
|
9664
|
-
export type
|
|
9625
|
+
export type ListArtifactsErrors = {
|
|
9665
9626
|
/**
|
|
9666
9627
|
* Response for status 400
|
|
9667
9628
|
*/
|
|
9668
9629
|
400: {
|
|
9669
9630
|
error: string;
|
|
9631
|
+
/**
|
|
9632
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9633
|
+
*/
|
|
9634
|
+
code?: string;
|
|
9670
9635
|
};
|
|
9671
9636
|
/**
|
|
9672
|
-
* Response for status
|
|
9673
|
-
*/
|
|
9674
|
-
403: {
|
|
9675
|
-
error: string;
|
|
9676
|
-
};
|
|
9677
|
-
/**
|
|
9678
|
-
* Response for status 404
|
|
9637
|
+
* Response for status 501
|
|
9679
9638
|
*/
|
|
9680
|
-
|
|
9639
|
+
501: {
|
|
9681
9640
|
error: string;
|
|
9641
|
+
/**
|
|
9642
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9643
|
+
*/
|
|
9644
|
+
code?: string;
|
|
9682
9645
|
};
|
|
9683
9646
|
};
|
|
9684
|
-
export type
|
|
9685
|
-
export type
|
|
9647
|
+
export type ListArtifactsError = ListArtifactsErrors[keyof ListArtifactsErrors];
|
|
9648
|
+
export type ListArtifactsResponses = {
|
|
9686
9649
|
/**
|
|
9687
9650
|
* Response for status 200
|
|
9688
9651
|
*/
|
|
9689
9652
|
200: {
|
|
9690
|
-
|
|
9653
|
+
artifacts: Array<{
|
|
9654
|
+
id: string;
|
|
9655
|
+
projectId: string;
|
|
9656
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
9657
|
+
title: string;
|
|
9658
|
+
owner: {
|
|
9659
|
+
type: "user" | "serviceAccount" | "system";
|
|
9660
|
+
id: string;
|
|
9661
|
+
};
|
|
9662
|
+
latestVersion: number;
|
|
9663
|
+
createdAt: string;
|
|
9664
|
+
updatedAt: string;
|
|
9665
|
+
}>;
|
|
9666
|
+
hasMore: boolean;
|
|
9667
|
+
total: number;
|
|
9691
9668
|
};
|
|
9692
9669
|
};
|
|
9693
|
-
export type
|
|
9694
|
-
export type
|
|
9670
|
+
export type ListArtifactsResponse = ListArtifactsResponses[keyof ListArtifactsResponses];
|
|
9671
|
+
export type CreateArtifactData = {
|
|
9695
9672
|
body: {
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9673
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
9674
|
+
title: string;
|
|
9675
|
+
/**
|
|
9676
|
+
* Files stored with POST /api/files, at their paths in the artifact
|
|
9677
|
+
*/
|
|
9678
|
+
files: Array<{
|
|
9679
|
+
/**
|
|
9680
|
+
* The file's path inside the artifact, such as figures/revenue.svg
|
|
9681
|
+
*/
|
|
9682
|
+
path: string;
|
|
9683
|
+
file: {
|
|
9684
|
+
blobId: string;
|
|
9685
|
+
digest: string;
|
|
9686
|
+
sizeBytes: number;
|
|
9687
|
+
fileName?: string;
|
|
9688
|
+
mediaType?: string;
|
|
9689
|
+
logicalPath?: string;
|
|
9690
|
+
};
|
|
9691
|
+
}>;
|
|
9706
9692
|
};
|
|
9693
|
+
path?: never;
|
|
9707
9694
|
query?: never;
|
|
9708
|
-
url: "/api/
|
|
9695
|
+
url: "/api/artifacts";
|
|
9709
9696
|
};
|
|
9710
|
-
export type
|
|
9697
|
+
export type CreateArtifactErrors = {
|
|
9711
9698
|
/**
|
|
9712
9699
|
* Response for status 400
|
|
9713
9700
|
*/
|
|
9714
9701
|
400: {
|
|
9715
9702
|
error: string;
|
|
9703
|
+
/**
|
|
9704
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9705
|
+
*/
|
|
9706
|
+
code?: string;
|
|
9716
9707
|
};
|
|
9717
9708
|
/**
|
|
9718
9709
|
* Response for status 403
|
|
9719
9710
|
*/
|
|
9720
9711
|
403: {
|
|
9721
9712
|
error: string;
|
|
9713
|
+
/**
|
|
9714
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9715
|
+
*/
|
|
9716
|
+
code?: string;
|
|
9722
9717
|
};
|
|
9723
9718
|
/**
|
|
9724
9719
|
* Response for status 404
|
|
9725
9720
|
*/
|
|
9726
9721
|
404: {
|
|
9727
9722
|
error: string;
|
|
9723
|
+
/**
|
|
9724
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9725
|
+
*/
|
|
9726
|
+
code?: string;
|
|
9728
9727
|
};
|
|
9729
|
-
};
|
|
9730
|
-
export type UpsertObjectLinkError = UpsertObjectLinkErrors[keyof UpsertObjectLinkErrors];
|
|
9731
|
-
export type UpsertObjectLinkResponses = {
|
|
9732
9728
|
/**
|
|
9733
|
-
* Response for status
|
|
9729
|
+
* Response for status 409
|
|
9734
9730
|
*/
|
|
9735
|
-
|
|
9736
|
-
|
|
9731
|
+
409: {
|
|
9732
|
+
error: string;
|
|
9733
|
+
/**
|
|
9734
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9735
|
+
*/
|
|
9736
|
+
code?: string;
|
|
9737
|
+
};
|
|
9738
|
+
/**
|
|
9739
|
+
* Response for status 501
|
|
9740
|
+
*/
|
|
9741
|
+
501: {
|
|
9742
|
+
error: string;
|
|
9743
|
+
/**
|
|
9744
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9745
|
+
*/
|
|
9746
|
+
code?: string;
|
|
9737
9747
|
};
|
|
9738
9748
|
};
|
|
9739
|
-
export type
|
|
9740
|
-
export type
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9749
|
+
export type CreateArtifactError = CreateArtifactErrors[keyof CreateArtifactErrors];
|
|
9750
|
+
export type CreateArtifactResponses = {
|
|
9751
|
+
/**
|
|
9752
|
+
* Response for status 201
|
|
9753
|
+
*/
|
|
9754
|
+
201: {
|
|
9755
|
+
artifact: {
|
|
9756
|
+
id: string;
|
|
9757
|
+
projectId: string;
|
|
9758
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
9759
|
+
title: string;
|
|
9760
|
+
owner: {
|
|
9761
|
+
type: "user" | "serviceAccount" | "system";
|
|
9762
|
+
id: string;
|
|
9763
|
+
};
|
|
9764
|
+
latestVersion: number;
|
|
9765
|
+
createdAt: string;
|
|
9766
|
+
updatedAt: string;
|
|
9767
|
+
};
|
|
9768
|
+
version: {
|
|
9769
|
+
artifactId: string;
|
|
9770
|
+
version: number;
|
|
9771
|
+
title: string;
|
|
9772
|
+
entry: string;
|
|
9773
|
+
files: Array<{
|
|
9774
|
+
/**
|
|
9775
|
+
* The file's path inside the artifact, such as figures/revenue.svg
|
|
9776
|
+
*/
|
|
9777
|
+
path: string;
|
|
9778
|
+
file: {
|
|
9779
|
+
blobId: string;
|
|
9780
|
+
digest: string;
|
|
9781
|
+
sizeBytes: number;
|
|
9782
|
+
fileName?: string;
|
|
9783
|
+
mediaType?: string;
|
|
9784
|
+
logicalPath?: string;
|
|
9785
|
+
};
|
|
9786
|
+
}>;
|
|
9787
|
+
outline: {
|
|
9788
|
+
kind: "document";
|
|
9789
|
+
headings: Array<{
|
|
9790
|
+
depth: number;
|
|
9791
|
+
text: string;
|
|
9792
|
+
slug: string;
|
|
9793
|
+
}>;
|
|
9794
|
+
} | {
|
|
9795
|
+
kind: "sheet";
|
|
9796
|
+
sheets: Array<{
|
|
9797
|
+
name: string;
|
|
9798
|
+
rows: number;
|
|
9799
|
+
columns: Array<string>;
|
|
9800
|
+
}>;
|
|
9801
|
+
charts: Array<string>;
|
|
9802
|
+
} | {
|
|
9803
|
+
kind: "slides";
|
|
9804
|
+
slides: Array<{
|
|
9805
|
+
title?: string;
|
|
9806
|
+
}>;
|
|
9807
|
+
} | {
|
|
9808
|
+
kind: "file";
|
|
9809
|
+
mediaType: string;
|
|
9810
|
+
};
|
|
9811
|
+
references: Array<{
|
|
9812
|
+
address: string;
|
|
9813
|
+
as: "embed" | "link";
|
|
9814
|
+
at: string;
|
|
9815
|
+
resolvedVersion: number;
|
|
9816
|
+
}>;
|
|
9817
|
+
author: {
|
|
9818
|
+
type: "user" | "serviceAccount" | "system";
|
|
9819
|
+
id: string;
|
|
9820
|
+
};
|
|
9821
|
+
origin?: {
|
|
9822
|
+
threadId: string;
|
|
9823
|
+
runId: string;
|
|
9824
|
+
};
|
|
9825
|
+
createdAt: string;
|
|
9826
|
+
};
|
|
9827
|
+
warnings: Array<{
|
|
9828
|
+
code: string;
|
|
9829
|
+
message: string;
|
|
9830
|
+
part?: string;
|
|
9831
|
+
}>;
|
|
9745
9832
|
};
|
|
9833
|
+
};
|
|
9834
|
+
export type CreateArtifactResponse = CreateArtifactResponses[keyof CreateArtifactResponses];
|
|
9835
|
+
export type DeleteArtifactData = {
|
|
9836
|
+
body?: never;
|
|
9746
9837
|
path: {
|
|
9747
|
-
|
|
9748
|
-
objectId: string;
|
|
9749
|
-
propertyId: string;
|
|
9838
|
+
artifactId: string;
|
|
9750
9839
|
};
|
|
9751
9840
|
query?: never;
|
|
9752
|
-
url: "/api/
|
|
9841
|
+
url: "/api/artifacts/{artifactId}";
|
|
9753
9842
|
};
|
|
9754
|
-
export type
|
|
9755
|
-
/**
|
|
9756
|
-
* Response for status 400
|
|
9757
|
-
*/
|
|
9758
|
-
400: {
|
|
9759
|
-
error: string;
|
|
9760
|
-
};
|
|
9843
|
+
export type DeleteArtifactErrors = {
|
|
9761
9844
|
/**
|
|
9762
|
-
* Response for status
|
|
9845
|
+
* Response for status 404
|
|
9763
9846
|
*/
|
|
9764
|
-
|
|
9847
|
+
404: {
|
|
9765
9848
|
error: string;
|
|
9849
|
+
/**
|
|
9850
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9851
|
+
*/
|
|
9852
|
+
code?: string;
|
|
9766
9853
|
};
|
|
9767
9854
|
/**
|
|
9768
|
-
* Response for status
|
|
9855
|
+
* Response for status 501
|
|
9769
9856
|
*/
|
|
9770
|
-
|
|
9857
|
+
501: {
|
|
9771
9858
|
error: string;
|
|
9859
|
+
/**
|
|
9860
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9861
|
+
*/
|
|
9862
|
+
code?: string;
|
|
9772
9863
|
};
|
|
9773
9864
|
};
|
|
9774
|
-
export type
|
|
9775
|
-
export type
|
|
9865
|
+
export type DeleteArtifactError = DeleteArtifactErrors[keyof DeleteArtifactErrors];
|
|
9866
|
+
export type DeleteArtifactResponses = {
|
|
9776
9867
|
/**
|
|
9777
9868
|
* Response for status 200
|
|
9778
9869
|
*/
|
|
9779
9870
|
200: {
|
|
9780
|
-
|
|
9871
|
+
deleted: true;
|
|
9781
9872
|
};
|
|
9782
9873
|
};
|
|
9783
|
-
export type
|
|
9784
|
-
export type
|
|
9785
|
-
body
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
objectId: string;
|
|
9789
|
-
propertyId: string;
|
|
9790
|
-
}>;
|
|
9791
|
-
from?: string;
|
|
9792
|
-
to?: string;
|
|
9793
|
-
limitPerSeries?: number;
|
|
9794
|
-
order?: "asc" | "desc";
|
|
9874
|
+
export type DeleteArtifactResponse = DeleteArtifactResponses[keyof DeleteArtifactResponses];
|
|
9875
|
+
export type GetArtifactData = {
|
|
9876
|
+
body?: never;
|
|
9877
|
+
path: {
|
|
9878
|
+
artifactId: string;
|
|
9795
9879
|
};
|
|
9796
|
-
path?: never;
|
|
9797
9880
|
query?: never;
|
|
9798
|
-
url: "/api/
|
|
9881
|
+
url: "/api/artifacts/{artifactId}";
|
|
9799
9882
|
};
|
|
9800
|
-
export type
|
|
9883
|
+
export type GetArtifactErrors = {
|
|
9801
9884
|
/**
|
|
9802
|
-
* Response for status
|
|
9885
|
+
* Response for status 404
|
|
9803
9886
|
*/
|
|
9804
|
-
|
|
9887
|
+
404: {
|
|
9805
9888
|
error: string;
|
|
9889
|
+
/**
|
|
9890
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9891
|
+
*/
|
|
9892
|
+
code?: string;
|
|
9806
9893
|
};
|
|
9807
9894
|
/**
|
|
9808
|
-
* Response for status
|
|
9895
|
+
* Response for status 501
|
|
9809
9896
|
*/
|
|
9810
|
-
|
|
9897
|
+
501: {
|
|
9811
9898
|
error: string;
|
|
9899
|
+
/**
|
|
9900
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9901
|
+
*/
|
|
9902
|
+
code?: string;
|
|
9812
9903
|
};
|
|
9813
9904
|
};
|
|
9814
|
-
export type
|
|
9815
|
-
export type
|
|
9905
|
+
export type GetArtifactError = GetArtifactErrors[keyof GetArtifactErrors];
|
|
9906
|
+
export type GetArtifactResponses = {
|
|
9816
9907
|
/**
|
|
9817
9908
|
* Response for status 200
|
|
9818
9909
|
*/
|
|
9819
9910
|
200: {
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9911
|
+
artifact: {
|
|
9912
|
+
id: string;
|
|
9913
|
+
projectId: string;
|
|
9914
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
9915
|
+
title: string;
|
|
9916
|
+
owner: {
|
|
9917
|
+
type: "user" | "serviceAccount" | "system";
|
|
9918
|
+
id: string;
|
|
9919
|
+
};
|
|
9920
|
+
latestVersion: number;
|
|
9921
|
+
createdAt: string;
|
|
9922
|
+
updatedAt: string;
|
|
9923
|
+
};
|
|
9924
|
+
/**
|
|
9925
|
+
* Newest first
|
|
9926
|
+
*/
|
|
9927
|
+
versions: Array<{
|
|
9928
|
+
version: number;
|
|
9929
|
+
title: string;
|
|
9930
|
+
author: {
|
|
9931
|
+
type: "user" | "serviceAccount" | "system";
|
|
9932
|
+
id: string;
|
|
9933
|
+
};
|
|
9934
|
+
origin?: {
|
|
9935
|
+
threadId: string;
|
|
9936
|
+
runId: string;
|
|
9937
|
+
};
|
|
9938
|
+
createdAt: string;
|
|
9833
9939
|
}>;
|
|
9834
9940
|
};
|
|
9835
9941
|
};
|
|
9836
|
-
export type
|
|
9837
|
-
export type
|
|
9838
|
-
body
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9942
|
+
export type GetArtifactResponse = GetArtifactResponses[keyof GetArtifactResponses];
|
|
9943
|
+
export type PublishArtifactVersionData = {
|
|
9944
|
+
body: {
|
|
9945
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
9946
|
+
title: string;
|
|
9947
|
+
/**
|
|
9948
|
+
* Files stored with POST /api/files, at their paths in the artifact
|
|
9949
|
+
*/
|
|
9950
|
+
files: Array<{
|
|
9951
|
+
/**
|
|
9952
|
+
* The file's path inside the artifact, such as figures/revenue.svg
|
|
9953
|
+
*/
|
|
9954
|
+
path: string;
|
|
9955
|
+
file: {
|
|
9956
|
+
blobId: string;
|
|
9957
|
+
digest: string;
|
|
9958
|
+
sizeBytes: number;
|
|
9959
|
+
fileName?: string;
|
|
9960
|
+
mediaType?: string;
|
|
9961
|
+
logicalPath?: string;
|
|
9962
|
+
};
|
|
9963
|
+
}>;
|
|
9843
9964
|
};
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
to?: string;
|
|
9847
|
-
limit?: string;
|
|
9848
|
-
order?: "asc" | "desc";
|
|
9965
|
+
path: {
|
|
9966
|
+
artifactId: string;
|
|
9849
9967
|
};
|
|
9850
|
-
|
|
9968
|
+
query?: never;
|
|
9969
|
+
url: "/api/artifacts/{artifactId}/versions";
|
|
9851
9970
|
};
|
|
9852
|
-
export type
|
|
9971
|
+
export type PublishArtifactVersionErrors = {
|
|
9853
9972
|
/**
|
|
9854
9973
|
* Response for status 400
|
|
9855
9974
|
*/
|
|
9856
9975
|
400: {
|
|
9857
9976
|
error: string;
|
|
9977
|
+
/**
|
|
9978
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9979
|
+
*/
|
|
9980
|
+
code?: string;
|
|
9981
|
+
};
|
|
9982
|
+
/**
|
|
9983
|
+
* Response for status 403
|
|
9984
|
+
*/
|
|
9985
|
+
403: {
|
|
9986
|
+
error: string;
|
|
9987
|
+
/**
|
|
9988
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9989
|
+
*/
|
|
9990
|
+
code?: string;
|
|
9858
9991
|
};
|
|
9859
9992
|
/**
|
|
9860
9993
|
* Response for status 404
|
|
9861
9994
|
*/
|
|
9862
9995
|
404: {
|
|
9863
9996
|
error: string;
|
|
9997
|
+
/**
|
|
9998
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
9999
|
+
*/
|
|
10000
|
+
code?: string;
|
|
10001
|
+
};
|
|
10002
|
+
/**
|
|
10003
|
+
* Response for status 409
|
|
10004
|
+
*/
|
|
10005
|
+
409: {
|
|
10006
|
+
error: string;
|
|
10007
|
+
/**
|
|
10008
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10009
|
+
*/
|
|
10010
|
+
code?: string;
|
|
10011
|
+
};
|
|
10012
|
+
/**
|
|
10013
|
+
* Response for status 501
|
|
10014
|
+
*/
|
|
10015
|
+
501: {
|
|
10016
|
+
error: string;
|
|
10017
|
+
/**
|
|
10018
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10019
|
+
*/
|
|
10020
|
+
code?: string;
|
|
9864
10021
|
};
|
|
9865
10022
|
};
|
|
9866
|
-
export type
|
|
9867
|
-
export type
|
|
10023
|
+
export type PublishArtifactVersionError = PublishArtifactVersionErrors[keyof PublishArtifactVersionErrors];
|
|
10024
|
+
export type PublishArtifactVersionResponses = {
|
|
9868
10025
|
/**
|
|
9869
|
-
* Response for status
|
|
10026
|
+
* Response for status 201
|
|
9870
10027
|
*/
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
10028
|
+
201: {
|
|
10029
|
+
artifact: {
|
|
10030
|
+
id: string;
|
|
10031
|
+
projectId: string;
|
|
10032
|
+
kind: "document" | "sheet" | "slides" | "file";
|
|
10033
|
+
title: string;
|
|
10034
|
+
owner: {
|
|
10035
|
+
type: "user" | "serviceAccount" | "system";
|
|
10036
|
+
id: string;
|
|
10037
|
+
};
|
|
10038
|
+
latestVersion: number;
|
|
10039
|
+
createdAt: string;
|
|
10040
|
+
updatedAt: string;
|
|
10041
|
+
};
|
|
10042
|
+
version: {
|
|
10043
|
+
artifactId: string;
|
|
10044
|
+
version: number;
|
|
10045
|
+
title: string;
|
|
10046
|
+
entry: string;
|
|
10047
|
+
files: Array<{
|
|
10048
|
+
/**
|
|
10049
|
+
* The file's path inside the artifact, such as figures/revenue.svg
|
|
10050
|
+
*/
|
|
10051
|
+
path: string;
|
|
10052
|
+
file: {
|
|
10053
|
+
blobId: string;
|
|
10054
|
+
digest: string;
|
|
10055
|
+
sizeBytes: number;
|
|
10056
|
+
fileName?: string;
|
|
10057
|
+
mediaType?: string;
|
|
10058
|
+
logicalPath?: string;
|
|
10059
|
+
};
|
|
10060
|
+
}>;
|
|
10061
|
+
outline: {
|
|
10062
|
+
kind: "document";
|
|
10063
|
+
headings: Array<{
|
|
10064
|
+
depth: number;
|
|
10065
|
+
text: string;
|
|
10066
|
+
slug: string;
|
|
10067
|
+
}>;
|
|
10068
|
+
} | {
|
|
10069
|
+
kind: "sheet";
|
|
10070
|
+
sheets: Array<{
|
|
10071
|
+
name: string;
|
|
10072
|
+
rows: number;
|
|
10073
|
+
columns: Array<string>;
|
|
10074
|
+
}>;
|
|
10075
|
+
charts: Array<string>;
|
|
10076
|
+
} | {
|
|
10077
|
+
kind: "slides";
|
|
10078
|
+
slides: Array<{
|
|
10079
|
+
title?: string;
|
|
10080
|
+
}>;
|
|
10081
|
+
} | {
|
|
10082
|
+
kind: "file";
|
|
10083
|
+
mediaType: string;
|
|
10084
|
+
};
|
|
10085
|
+
references: Array<{
|
|
10086
|
+
address: string;
|
|
10087
|
+
as: "embed" | "link";
|
|
10088
|
+
at: string;
|
|
10089
|
+
resolvedVersion: number;
|
|
10090
|
+
}>;
|
|
10091
|
+
author: {
|
|
10092
|
+
type: "user" | "serviceAccount" | "system";
|
|
10093
|
+
id: string;
|
|
10094
|
+
};
|
|
10095
|
+
origin?: {
|
|
10096
|
+
threadId: string;
|
|
10097
|
+
runId: string;
|
|
10098
|
+
};
|
|
10099
|
+
createdAt: string;
|
|
10100
|
+
};
|
|
10101
|
+
warnings: Array<{
|
|
10102
|
+
code: string;
|
|
10103
|
+
message: string;
|
|
10104
|
+
part?: string;
|
|
10105
|
+
}>;
|
|
10106
|
+
};
|
|
9880
10107
|
};
|
|
9881
|
-
export type
|
|
9882
|
-
export type
|
|
10108
|
+
export type PublishArtifactVersionResponse = PublishArtifactVersionResponses[keyof PublishArtifactVersionResponses];
|
|
10109
|
+
export type CreateArtifactFrameData = {
|
|
9883
10110
|
body?: never;
|
|
9884
10111
|
path: {
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
10112
|
+
artifactId: string;
|
|
10113
|
+
/**
|
|
10114
|
+
* A version number, or "latest"
|
|
10115
|
+
*/
|
|
10116
|
+
version: string;
|
|
9888
10117
|
};
|
|
9889
10118
|
query?: never;
|
|
9890
|
-
url: "/api/
|
|
10119
|
+
url: "/api/artifacts/{artifactId}/versions/{version}/frame";
|
|
9891
10120
|
};
|
|
9892
|
-
export type
|
|
10121
|
+
export type CreateArtifactFrameErrors = {
|
|
9893
10122
|
/**
|
|
9894
|
-
* Response for status
|
|
10123
|
+
* Response for status 404
|
|
9895
10124
|
*/
|
|
9896
|
-
|
|
10125
|
+
404: {
|
|
9897
10126
|
error: string;
|
|
10127
|
+
/**
|
|
10128
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10129
|
+
*/
|
|
10130
|
+
code?: string;
|
|
9898
10131
|
};
|
|
9899
10132
|
/**
|
|
9900
|
-
* Response for status
|
|
10133
|
+
* Response for status 409
|
|
9901
10134
|
*/
|
|
9902
|
-
|
|
10135
|
+
409: {
|
|
10136
|
+
error: string;
|
|
10137
|
+
/**
|
|
10138
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10139
|
+
*/
|
|
10140
|
+
code?: string;
|
|
10141
|
+
};
|
|
10142
|
+
/**
|
|
10143
|
+
* Response for status 501
|
|
10144
|
+
*/
|
|
10145
|
+
501: {
|
|
9903
10146
|
error: string;
|
|
10147
|
+
/**
|
|
10148
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10149
|
+
*/
|
|
10150
|
+
code?: string;
|
|
9904
10151
|
};
|
|
9905
10152
|
};
|
|
9906
|
-
export type
|
|
9907
|
-
export type
|
|
10153
|
+
export type CreateArtifactFrameError = CreateArtifactFrameErrors[keyof CreateArtifactFrameErrors];
|
|
10154
|
+
export type CreateArtifactFrameResponses = {
|
|
9908
10155
|
/**
|
|
9909
10156
|
* Response for status 200
|
|
9910
10157
|
*/
|
|
9911
10158
|
200: {
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
10159
|
+
/**
|
|
10160
|
+
* The frame's base path on this API, ending in /; the deck's entry is served under it
|
|
10161
|
+
*/
|
|
10162
|
+
path: string;
|
|
10163
|
+
/**
|
|
10164
|
+
* When the frame stops serving; ask for a new one before then
|
|
10165
|
+
*/
|
|
10166
|
+
expiresAt: string;
|
|
9919
10167
|
};
|
|
9920
10168
|
};
|
|
9921
|
-
export type
|
|
9922
|
-
export type
|
|
10169
|
+
export type CreateArtifactFrameResponse = CreateArtifactFrameResponses[keyof CreateArtifactFrameResponses];
|
|
10170
|
+
export type GetArtifactVersionData = {
|
|
9923
10171
|
body?: never;
|
|
9924
|
-
path
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
10172
|
+
path: {
|
|
10173
|
+
artifactId: string;
|
|
10174
|
+
/**
|
|
10175
|
+
* A version number, or "latest"
|
|
10176
|
+
*/
|
|
10177
|
+
version: string;
|
|
9930
10178
|
};
|
|
9931
|
-
|
|
10179
|
+
query?: never;
|
|
10180
|
+
url: "/api/artifacts/{artifactId}/versions/{version}";
|
|
9932
10181
|
};
|
|
9933
|
-
export type
|
|
10182
|
+
export type GetArtifactVersionErrors = {
|
|
9934
10183
|
/**
|
|
9935
|
-
* Response for status
|
|
10184
|
+
* Response for status 404
|
|
9936
10185
|
*/
|
|
9937
|
-
|
|
10186
|
+
404: {
|
|
9938
10187
|
error: string;
|
|
10188
|
+
/**
|
|
10189
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10190
|
+
*/
|
|
10191
|
+
code?: string;
|
|
9939
10192
|
};
|
|
9940
10193
|
/**
|
|
9941
|
-
* Response for status
|
|
10194
|
+
* Response for status 501
|
|
9942
10195
|
*/
|
|
9943
|
-
|
|
10196
|
+
501: {
|
|
9944
10197
|
error: string;
|
|
10198
|
+
/**
|
|
10199
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, invalid_artifact, not_allowed, or storage_unavailable.
|
|
10200
|
+
*/
|
|
10201
|
+
code?: string;
|
|
9945
10202
|
};
|
|
9946
10203
|
};
|
|
9947
|
-
export type
|
|
9948
|
-
export type
|
|
10204
|
+
export type GetArtifactVersionError = GetArtifactVersionErrors[keyof GetArtifactVersionErrors];
|
|
10205
|
+
export type GetArtifactVersionResponses = {
|
|
9949
10206
|
/**
|
|
9950
10207
|
* Response for status 200
|
|
9951
10208
|
*/
|
|
9952
10209
|
200: {
|
|
9953
|
-
|
|
9954
|
-
|
|
10210
|
+
artifactId: string;
|
|
10211
|
+
version: number;
|
|
10212
|
+
title: string;
|
|
10213
|
+
entry: string;
|
|
10214
|
+
files: Array<{
|
|
10215
|
+
/**
|
|
10216
|
+
* The file's path inside the artifact, such as figures/revenue.svg
|
|
10217
|
+
*/
|
|
10218
|
+
path: string;
|
|
10219
|
+
file: {
|
|
10220
|
+
blobId: string;
|
|
10221
|
+
digest: string;
|
|
10222
|
+
sizeBytes: number;
|
|
10223
|
+
fileName?: string;
|
|
10224
|
+
mediaType?: string;
|
|
10225
|
+
logicalPath?: string;
|
|
10226
|
+
};
|
|
10227
|
+
}>;
|
|
10228
|
+
outline: {
|
|
10229
|
+
kind: "document";
|
|
10230
|
+
headings: Array<{
|
|
10231
|
+
depth: number;
|
|
10232
|
+
text: string;
|
|
10233
|
+
slug: string;
|
|
10234
|
+
}>;
|
|
10235
|
+
} | {
|
|
10236
|
+
kind: "sheet";
|
|
10237
|
+
sheets: Array<{
|
|
10238
|
+
name: string;
|
|
10239
|
+
rows: number;
|
|
10240
|
+
columns: Array<string>;
|
|
10241
|
+
}>;
|
|
10242
|
+
charts: Array<string>;
|
|
10243
|
+
} | {
|
|
10244
|
+
kind: "slides";
|
|
10245
|
+
slides: Array<{
|
|
10246
|
+
title?: string;
|
|
10247
|
+
}>;
|
|
10248
|
+
} | {
|
|
10249
|
+
kind: "file";
|
|
10250
|
+
mediaType: string;
|
|
10251
|
+
};
|
|
10252
|
+
references: Array<{
|
|
10253
|
+
address: string;
|
|
10254
|
+
as: "embed" | "link";
|
|
10255
|
+
at: string;
|
|
10256
|
+
resolvedVersion: number;
|
|
10257
|
+
}>;
|
|
10258
|
+
author: {
|
|
10259
|
+
type: "user" | "serviceAccount" | "system";
|
|
9955
10260
|
id: string;
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
10261
|
+
};
|
|
10262
|
+
origin?: {
|
|
10263
|
+
threadId: string;
|
|
10264
|
+
runId: string;
|
|
10265
|
+
};
|
|
10266
|
+
createdAt: string;
|
|
10267
|
+
};
|
|
10268
|
+
};
|
|
10269
|
+
export type GetArtifactVersionResponse = GetArtifactVersionResponses[keyof GetArtifactVersionResponses];
|
|
10270
|
+
export type GetArtifactFileContentData = {
|
|
10271
|
+
body?: never;
|
|
10272
|
+
path: {
|
|
10273
|
+
artifactId: string;
|
|
10274
|
+
/**
|
|
10275
|
+
* A version number, or "latest"
|
|
10276
|
+
*/
|
|
10277
|
+
version: string;
|
|
10278
|
+
};
|
|
10279
|
+
query: {
|
|
10280
|
+
path: string;
|
|
10281
|
+
disposition?: "inline" | "attachment";
|
|
10282
|
+
/**
|
|
10283
|
+
* Client cache key; the route still resolves the current file
|
|
10284
|
+
*/
|
|
10285
|
+
v?: string;
|
|
10286
|
+
};
|
|
10287
|
+
url: "/api/artifacts/{artifactId}/versions/{version}/content";
|
|
10288
|
+
};
|
|
10289
|
+
export type GetArtifactFileContentErrors = {
|
|
10290
|
+
/**
|
|
10291
|
+
* Response for status 400
|
|
10292
|
+
*/
|
|
10293
|
+
400: ErrorResponse;
|
|
10294
|
+
/**
|
|
10295
|
+
* Response for status 404
|
|
10296
|
+
*/
|
|
10297
|
+
404: ErrorResponse;
|
|
10298
|
+
/**
|
|
10299
|
+
* Requested byte range is not satisfiable
|
|
10300
|
+
*/
|
|
10301
|
+
416: unknown;
|
|
10302
|
+
/**
|
|
10303
|
+
* The storage role backing this content is not configured
|
|
10304
|
+
*/
|
|
10305
|
+
501: ErrorResponse;
|
|
10306
|
+
};
|
|
10307
|
+
export type GetArtifactFileContentError = GetArtifactFileContentErrors[keyof GetArtifactFileContentErrors];
|
|
10308
|
+
export type GetArtifactFileContentResponses = {
|
|
10309
|
+
/**
|
|
10310
|
+
* File content
|
|
10311
|
+
*/
|
|
10312
|
+
200: Blob | File;
|
|
10313
|
+
/**
|
|
10314
|
+
* Partial file content
|
|
10315
|
+
*/
|
|
10316
|
+
206: Blob | File;
|
|
10317
|
+
};
|
|
10318
|
+
export type GetArtifactFileContentResponse = GetArtifactFileContentResponses[keyof GetArtifactFileContentResponses];
|
|
10319
|
+
export type HeadArtifactFileContentData = {
|
|
10320
|
+
body?: never;
|
|
10321
|
+
path: {
|
|
10322
|
+
artifactId: string;
|
|
10323
|
+
/**
|
|
10324
|
+
* A version number, or "latest"
|
|
10325
|
+
*/
|
|
10326
|
+
version: string;
|
|
10327
|
+
};
|
|
10328
|
+
query: {
|
|
10329
|
+
path: string;
|
|
10330
|
+
disposition?: "inline" | "attachment";
|
|
10331
|
+
/**
|
|
10332
|
+
* Client cache key; the route still resolves the current file
|
|
10333
|
+
*/
|
|
10334
|
+
v?: string;
|
|
10335
|
+
};
|
|
10336
|
+
url: "/api/artifacts/{artifactId}/versions/{version}/content";
|
|
10337
|
+
};
|
|
10338
|
+
export type HeadArtifactFileContentErrors = {
|
|
10339
|
+
/**
|
|
10340
|
+
* Response for status 400
|
|
10341
|
+
*/
|
|
10342
|
+
400: ErrorResponse;
|
|
10343
|
+
/**
|
|
10344
|
+
* Response for status 404
|
|
10345
|
+
*/
|
|
10346
|
+
404: ErrorResponse;
|
|
10347
|
+
/**
|
|
10348
|
+
* Requested byte range is not satisfiable
|
|
10349
|
+
*/
|
|
10350
|
+
416: unknown;
|
|
10351
|
+
/**
|
|
10352
|
+
* The storage role backing this content is not configured
|
|
10353
|
+
*/
|
|
10354
|
+
501: ErrorResponse;
|
|
10355
|
+
};
|
|
10356
|
+
export type HeadArtifactFileContentError = HeadArtifactFileContentErrors[keyof HeadArtifactFileContentErrors];
|
|
10357
|
+
export type HeadArtifactFileContentResponses = {
|
|
10358
|
+
/**
|
|
10359
|
+
* File content headers
|
|
10360
|
+
*/
|
|
10361
|
+
200: unknown;
|
|
10362
|
+
/**
|
|
10363
|
+
* Partial file content headers
|
|
10364
|
+
*/
|
|
10365
|
+
206: unknown;
|
|
10366
|
+
};
|
|
10367
|
+
export type ListModelsData = {
|
|
10368
|
+
body?: never;
|
|
10369
|
+
path?: never;
|
|
10370
|
+
query?: never;
|
|
10371
|
+
url: "/api/models";
|
|
10372
|
+
};
|
|
10373
|
+
export type ListModelsResponses = {
|
|
10374
|
+
/**
|
|
10375
|
+
* Response for status 200
|
|
10376
|
+
*/
|
|
10377
|
+
200: {
|
|
10378
|
+
language: Array<{
|
|
10379
|
+
provider: string;
|
|
10380
|
+
modelId: string;
|
|
10381
|
+
isDefault: boolean;
|
|
10382
|
+
name: string;
|
|
10383
|
+
description?: string;
|
|
10384
|
+
publisher: {
|
|
10385
|
+
id: string;
|
|
10386
|
+
name: string;
|
|
10387
|
+
};
|
|
10388
|
+
via?: string;
|
|
10389
|
+
capabilities: {
|
|
10390
|
+
input: Array<"text" | "image" | "audio" | "video" | "pdf">;
|
|
10391
|
+
output: Array<"text" | "image" | "audio" | "video" | "pdf">;
|
|
10392
|
+
attachments?: boolean;
|
|
10393
|
+
reasoning?: boolean;
|
|
10394
|
+
tools?: boolean;
|
|
10395
|
+
structuredOutput?: boolean;
|
|
10396
|
+
contextWindowTokens?: number;
|
|
10397
|
+
};
|
|
10398
|
+
reasoningLevels: Array<"provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max">;
|
|
10399
|
+
defaultReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
10400
|
+
}>;
|
|
10401
|
+
};
|
|
10402
|
+
};
|
|
10403
|
+
export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
|
|
10404
|
+
export type RemoveObjectLinkData = {
|
|
10405
|
+
body?: never;
|
|
10406
|
+
path: {
|
|
10407
|
+
objectTypeId: string;
|
|
10408
|
+
objectId: string;
|
|
10409
|
+
linkId: string;
|
|
10410
|
+
};
|
|
10411
|
+
query: {
|
|
10412
|
+
targetTypeId: string;
|
|
10413
|
+
targetId: string;
|
|
10414
|
+
};
|
|
10415
|
+
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}";
|
|
10416
|
+
};
|
|
10417
|
+
export type RemoveObjectLinkErrors = {
|
|
10418
|
+
/**
|
|
10419
|
+
* Response for status 400
|
|
10420
|
+
*/
|
|
10421
|
+
400: {
|
|
10422
|
+
error: string;
|
|
10423
|
+
};
|
|
10424
|
+
/**
|
|
10425
|
+
* Response for status 403
|
|
10426
|
+
*/
|
|
10427
|
+
403: {
|
|
10428
|
+
error: string;
|
|
10429
|
+
};
|
|
10430
|
+
/**
|
|
10431
|
+
* Response for status 404
|
|
10432
|
+
*/
|
|
10433
|
+
404: {
|
|
10434
|
+
error: string;
|
|
10435
|
+
};
|
|
10436
|
+
};
|
|
10437
|
+
export type RemoveObjectLinkError = RemoveObjectLinkErrors[keyof RemoveObjectLinkErrors];
|
|
10438
|
+
export type RemoveObjectLinkResponses = {
|
|
10439
|
+
/**
|
|
10440
|
+
* Response for status 200
|
|
10441
|
+
*/
|
|
10442
|
+
200: {
|
|
10443
|
+
success: boolean;
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
export type RemoveObjectLinkResponse = RemoveObjectLinkResponses[keyof RemoveObjectLinkResponses];
|
|
10447
|
+
export type UpsertObjectLinkData = {
|
|
10448
|
+
body: {
|
|
10449
|
+
targetTypeId: string;
|
|
10450
|
+
targetId: string;
|
|
10451
|
+
properties?: {
|
|
10452
|
+
[key: string]: unknown;
|
|
10453
|
+
};
|
|
10454
|
+
};
|
|
10455
|
+
path: {
|
|
10456
|
+
objectTypeId: string;
|
|
10457
|
+
objectId: string;
|
|
10458
|
+
linkId: string;
|
|
10459
|
+
};
|
|
10460
|
+
query?: never;
|
|
10461
|
+
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}";
|
|
10462
|
+
};
|
|
10463
|
+
export type UpsertObjectLinkErrors = {
|
|
10464
|
+
/**
|
|
10465
|
+
* Response for status 400
|
|
10466
|
+
*/
|
|
10467
|
+
400: {
|
|
10468
|
+
error: string;
|
|
10469
|
+
};
|
|
10470
|
+
/**
|
|
10471
|
+
* Response for status 403
|
|
10472
|
+
*/
|
|
10473
|
+
403: {
|
|
10474
|
+
error: string;
|
|
10475
|
+
};
|
|
10476
|
+
/**
|
|
10477
|
+
* Response for status 404
|
|
10478
|
+
*/
|
|
10479
|
+
404: {
|
|
10480
|
+
error: string;
|
|
10481
|
+
};
|
|
10482
|
+
};
|
|
10483
|
+
export type UpsertObjectLinkError = UpsertObjectLinkErrors[keyof UpsertObjectLinkErrors];
|
|
10484
|
+
export type UpsertObjectLinkResponses = {
|
|
10485
|
+
/**
|
|
10486
|
+
* Response for status 200
|
|
10487
|
+
*/
|
|
10488
|
+
200: {
|
|
10489
|
+
success: boolean;
|
|
10490
|
+
};
|
|
10491
|
+
};
|
|
10492
|
+
export type UpsertObjectLinkResponse = UpsertObjectLinkResponses[keyof UpsertObjectLinkResponses];
|
|
10493
|
+
export type AppendTelemetryData = {
|
|
10494
|
+
body: {
|
|
10495
|
+
value?: unknown;
|
|
10496
|
+
unit?: string;
|
|
10497
|
+
at?: string;
|
|
10498
|
+
};
|
|
10499
|
+
path: {
|
|
10500
|
+
objectTypeId: string;
|
|
10501
|
+
objectId: string;
|
|
10502
|
+
propertyId: string;
|
|
10503
|
+
};
|
|
10504
|
+
query?: never;
|
|
10505
|
+
url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}";
|
|
10506
|
+
};
|
|
10507
|
+
export type AppendTelemetryErrors = {
|
|
10508
|
+
/**
|
|
10509
|
+
* Response for status 400
|
|
10510
|
+
*/
|
|
10511
|
+
400: {
|
|
10512
|
+
error: string;
|
|
10513
|
+
};
|
|
10514
|
+
/**
|
|
10515
|
+
* Response for status 403
|
|
10516
|
+
*/
|
|
10517
|
+
403: {
|
|
10518
|
+
error: string;
|
|
10519
|
+
};
|
|
10520
|
+
/**
|
|
10521
|
+
* Response for status 404
|
|
10522
|
+
*/
|
|
10523
|
+
404: {
|
|
10524
|
+
error: string;
|
|
10525
|
+
};
|
|
10526
|
+
};
|
|
10527
|
+
export type AppendTelemetryError = AppendTelemetryErrors[keyof AppendTelemetryErrors];
|
|
10528
|
+
export type AppendTelemetryResponses = {
|
|
10529
|
+
/**
|
|
10530
|
+
* Response for status 200
|
|
10531
|
+
*/
|
|
10532
|
+
200: {
|
|
10533
|
+
success: boolean;
|
|
10534
|
+
};
|
|
10535
|
+
};
|
|
10536
|
+
export type AppendTelemetryResponse = AppendTelemetryResponses[keyof AppendTelemetryResponses];
|
|
10537
|
+
export type GetBulkTelemetryHistoryData = {
|
|
10538
|
+
body: {
|
|
10539
|
+
series: Array<{
|
|
10540
|
+
objectTypeId: string;
|
|
10541
|
+
objectId: string;
|
|
10542
|
+
propertyId: string;
|
|
10543
|
+
}>;
|
|
10544
|
+
from?: string;
|
|
10545
|
+
to?: string;
|
|
10546
|
+
limitPerSeries?: number;
|
|
10547
|
+
order?: "asc" | "desc";
|
|
10548
|
+
};
|
|
10549
|
+
path?: never;
|
|
10550
|
+
query?: never;
|
|
10551
|
+
url: "/api/telemetry/history";
|
|
10552
|
+
};
|
|
10553
|
+
export type GetBulkTelemetryHistoryErrors = {
|
|
10554
|
+
/**
|
|
10555
|
+
* Response for status 400
|
|
10556
|
+
*/
|
|
10557
|
+
400: {
|
|
10558
|
+
error: string;
|
|
10559
|
+
};
|
|
10560
|
+
/**
|
|
10561
|
+
* Response for status 403
|
|
10562
|
+
*/
|
|
10563
|
+
403: {
|
|
10564
|
+
error: string;
|
|
10565
|
+
};
|
|
10566
|
+
};
|
|
10567
|
+
export type GetBulkTelemetryHistoryError = GetBulkTelemetryHistoryErrors[keyof GetBulkTelemetryHistoryErrors];
|
|
10568
|
+
export type GetBulkTelemetryHistoryResponses = {
|
|
10569
|
+
/**
|
|
10570
|
+
* Response for status 200
|
|
10571
|
+
*/
|
|
10572
|
+
200: {
|
|
10573
|
+
series: Array<{
|
|
10574
|
+
objectTypeId: string;
|
|
10575
|
+
objectId: string;
|
|
10576
|
+
propertyId: string;
|
|
10577
|
+
points: Array<{
|
|
10578
|
+
projectId: string;
|
|
10579
|
+
objectTypeId: string;
|
|
10580
|
+
objectId: string;
|
|
10581
|
+
propertyId: string;
|
|
10582
|
+
value?: unknown;
|
|
10583
|
+
unit?: string;
|
|
10584
|
+
at: string;
|
|
10585
|
+
}>;
|
|
10586
|
+
}>;
|
|
10587
|
+
};
|
|
10588
|
+
};
|
|
10589
|
+
export type GetBulkTelemetryHistoryResponse = GetBulkTelemetryHistoryResponses[keyof GetBulkTelemetryHistoryResponses];
|
|
10590
|
+
export type GetTelemetryHistoryData = {
|
|
10591
|
+
body?: never;
|
|
10592
|
+
path: {
|
|
10593
|
+
objectTypeId: string;
|
|
10594
|
+
objectId: string;
|
|
10595
|
+
propertyId: string;
|
|
10596
|
+
};
|
|
10597
|
+
query?: {
|
|
10598
|
+
from?: string;
|
|
10599
|
+
to?: string;
|
|
10600
|
+
limit?: string;
|
|
10601
|
+
order?: "asc" | "desc";
|
|
10602
|
+
};
|
|
10603
|
+
url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}/history";
|
|
10604
|
+
};
|
|
10605
|
+
export type GetTelemetryHistoryErrors = {
|
|
10606
|
+
/**
|
|
10607
|
+
* Response for status 400
|
|
10608
|
+
*/
|
|
10609
|
+
400: {
|
|
10610
|
+
error: string;
|
|
10611
|
+
};
|
|
10612
|
+
/**
|
|
10613
|
+
* Response for status 404
|
|
10614
|
+
*/
|
|
10615
|
+
404: {
|
|
10616
|
+
error: string;
|
|
10617
|
+
};
|
|
10618
|
+
};
|
|
10619
|
+
export type GetTelemetryHistoryError = GetTelemetryHistoryErrors[keyof GetTelemetryHistoryErrors];
|
|
10620
|
+
export type GetTelemetryHistoryResponses = {
|
|
10621
|
+
/**
|
|
10622
|
+
* Response for status 200
|
|
10623
|
+
*/
|
|
10624
|
+
200: Array<{
|
|
10625
|
+
projectId: string;
|
|
10626
|
+
objectTypeId: string;
|
|
10627
|
+
objectId: string;
|
|
10628
|
+
propertyId: string;
|
|
10629
|
+
value?: unknown;
|
|
10630
|
+
unit?: string;
|
|
10631
|
+
at: string;
|
|
10632
|
+
}>;
|
|
10633
|
+
};
|
|
10634
|
+
export type GetTelemetryHistoryResponse = GetTelemetryHistoryResponses[keyof GetTelemetryHistoryResponses];
|
|
10635
|
+
export type GetLatestTelemetryData = {
|
|
10636
|
+
body?: never;
|
|
10637
|
+
path: {
|
|
10638
|
+
objectTypeId: string;
|
|
10639
|
+
objectId: string;
|
|
10640
|
+
propertyId: string;
|
|
10641
|
+
};
|
|
10642
|
+
query?: never;
|
|
10643
|
+
url: "/api/objects/{objectTypeId}/{objectId}/telemetry/{propertyId}/latest";
|
|
10644
|
+
};
|
|
10645
|
+
export type GetLatestTelemetryErrors = {
|
|
10646
|
+
/**
|
|
10647
|
+
* Response for status 400
|
|
10648
|
+
*/
|
|
10649
|
+
400: {
|
|
10650
|
+
error: string;
|
|
10651
|
+
};
|
|
10652
|
+
/**
|
|
10653
|
+
* Response for status 404
|
|
10654
|
+
*/
|
|
10655
|
+
404: {
|
|
10656
|
+
error: string;
|
|
10657
|
+
};
|
|
10658
|
+
};
|
|
10659
|
+
export type GetLatestTelemetryError = GetLatestTelemetryErrors[keyof GetLatestTelemetryErrors];
|
|
10660
|
+
export type GetLatestTelemetryResponses = {
|
|
10661
|
+
/**
|
|
10662
|
+
* Response for status 200
|
|
10663
|
+
*/
|
|
10664
|
+
200: {
|
|
10665
|
+
projectId: string;
|
|
10666
|
+
objectTypeId: string;
|
|
10667
|
+
objectId: string;
|
|
10668
|
+
propertyId: string;
|
|
10669
|
+
value?: unknown;
|
|
10670
|
+
unit?: string;
|
|
10671
|
+
at: string;
|
|
10672
|
+
};
|
|
10673
|
+
};
|
|
10674
|
+
export type GetLatestTelemetryResponse = GetLatestTelemetryResponses[keyof GetLatestTelemetryResponses];
|
|
10675
|
+
export type ListEventsData = {
|
|
10676
|
+
body?: never;
|
|
10677
|
+
path?: never;
|
|
10678
|
+
query?: {
|
|
10679
|
+
topic?: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules";
|
|
10680
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved";
|
|
10681
|
+
afterCursor?: string;
|
|
10682
|
+
limit?: string;
|
|
10683
|
+
};
|
|
10684
|
+
url: "/api/events";
|
|
10685
|
+
};
|
|
10686
|
+
export type ListEventsErrors = {
|
|
10687
|
+
/**
|
|
10688
|
+
* Response for status 400
|
|
10689
|
+
*/
|
|
10690
|
+
400: {
|
|
10691
|
+
error: string;
|
|
10692
|
+
};
|
|
10693
|
+
/**
|
|
10694
|
+
* Response for status 403
|
|
10695
|
+
*/
|
|
10696
|
+
403: {
|
|
10697
|
+
error: string;
|
|
10698
|
+
};
|
|
10699
|
+
};
|
|
10700
|
+
export type ListEventsError = ListEventsErrors[keyof ListEventsErrors];
|
|
10701
|
+
export type ListEventsResponses = {
|
|
10702
|
+
/**
|
|
10703
|
+
* Response for status 200
|
|
10704
|
+
*/
|
|
10705
|
+
200: {
|
|
10706
|
+
count: number;
|
|
10707
|
+
events: Array<{
|
|
10708
|
+
id: string;
|
|
10709
|
+
cursor: string;
|
|
10710
|
+
schemaVersion: 1;
|
|
10711
|
+
projectId: string;
|
|
10712
|
+
occurredAt: string;
|
|
10713
|
+
partitionKey: string;
|
|
9961
10714
|
origin: {
|
|
9962
10715
|
kind: "action";
|
|
9963
10716
|
actionId: string;
|
|
@@ -10541,229 +11294,683 @@ export type ListEventsResponses = {
|
|
|
10541
11294
|
indexingId: string;
|
|
10542
11295
|
};
|
|
10543
11296
|
};
|
|
10544
|
-
commitId: string;
|
|
10545
|
-
commitOrdinal: number;
|
|
10546
|
-
type: "link.updated";
|
|
10547
|
-
topic: "links";
|
|
10548
|
-
payload: {
|
|
10549
|
-
sourceTypeId: string;
|
|
10550
|
-
sourceId: string;
|
|
10551
|
-
linkId: string;
|
|
10552
|
-
targetTypeId: string;
|
|
10553
|
-
targetId: string;
|
|
10554
|
-
properties?: {
|
|
10555
|
-
[key: string]: string | number | boolean | Array<unknown> | {
|
|
10556
|
-
[key: string]: unknown;
|
|
10557
|
-
} | null;
|
|
10558
|
-
};
|
|
10559
|
-
propertyChanges: {
|
|
10560
|
-
[key: string]: {
|
|
10561
|
-
operation: "created";
|
|
10562
|
-
/**
|
|
10563
|
-
* Any JSON-compatible value.
|
|
10564
|
-
*/
|
|
10565
|
-
after: string | number | boolean | Array<unknown> | {
|
|
10566
|
-
[key: string]: unknown;
|
|
10567
|
-
} | null;
|
|
10568
|
-
} | {
|
|
10569
|
-
operation: "updated";
|
|
10570
|
-
/**
|
|
10571
|
-
* Any JSON-compatible value.
|
|
10572
|
-
*/
|
|
10573
|
-
before: string | number | boolean | Array<unknown> | {
|
|
10574
|
-
[key: string]: unknown;
|
|
10575
|
-
} | null;
|
|
10576
|
-
/**
|
|
10577
|
-
* Any JSON-compatible value.
|
|
10578
|
-
*/
|
|
10579
|
-
after: string | number | boolean | Array<unknown> | {
|
|
10580
|
-
[key: string]: unknown;
|
|
10581
|
-
} | null;
|
|
10582
|
-
} | {
|
|
10583
|
-
operation: "cleared";
|
|
10584
|
-
/**
|
|
10585
|
-
* Any JSON-compatible value.
|
|
10586
|
-
*/
|
|
10587
|
-
before: string | number | boolean | Array<unknown> | {
|
|
10588
|
-
[key: string]: unknown;
|
|
10589
|
-
} | null;
|
|
10590
|
-
after: null;
|
|
10591
|
-
};
|
|
11297
|
+
commitId: string;
|
|
11298
|
+
commitOrdinal: number;
|
|
11299
|
+
type: "link.updated";
|
|
11300
|
+
topic: "links";
|
|
11301
|
+
payload: {
|
|
11302
|
+
sourceTypeId: string;
|
|
11303
|
+
sourceId: string;
|
|
11304
|
+
linkId: string;
|
|
11305
|
+
targetTypeId: string;
|
|
11306
|
+
targetId: string;
|
|
11307
|
+
properties?: {
|
|
11308
|
+
[key: string]: string | number | boolean | Array<unknown> | {
|
|
11309
|
+
[key: string]: unknown;
|
|
11310
|
+
} | null;
|
|
11311
|
+
};
|
|
11312
|
+
propertyChanges: {
|
|
11313
|
+
[key: string]: {
|
|
11314
|
+
operation: "created";
|
|
11315
|
+
/**
|
|
11316
|
+
* Any JSON-compatible value.
|
|
11317
|
+
*/
|
|
11318
|
+
after: string | number | boolean | Array<unknown> | {
|
|
11319
|
+
[key: string]: unknown;
|
|
11320
|
+
} | null;
|
|
11321
|
+
} | {
|
|
11322
|
+
operation: "updated";
|
|
11323
|
+
/**
|
|
11324
|
+
* Any JSON-compatible value.
|
|
11325
|
+
*/
|
|
11326
|
+
before: string | number | boolean | Array<unknown> | {
|
|
11327
|
+
[key: string]: unknown;
|
|
11328
|
+
} | null;
|
|
11329
|
+
/**
|
|
11330
|
+
* Any JSON-compatible value.
|
|
11331
|
+
*/
|
|
11332
|
+
after: string | number | boolean | Array<unknown> | {
|
|
11333
|
+
[key: string]: unknown;
|
|
11334
|
+
} | null;
|
|
11335
|
+
} | {
|
|
11336
|
+
operation: "cleared";
|
|
11337
|
+
/**
|
|
11338
|
+
* Any JSON-compatible value.
|
|
11339
|
+
*/
|
|
11340
|
+
before: string | number | boolean | Array<unknown> | {
|
|
11341
|
+
[key: string]: unknown;
|
|
11342
|
+
} | null;
|
|
11343
|
+
after: null;
|
|
11344
|
+
};
|
|
11345
|
+
};
|
|
11346
|
+
};
|
|
11347
|
+
} | {
|
|
11348
|
+
id: string;
|
|
11349
|
+
cursor: string;
|
|
11350
|
+
schemaVersion: 1;
|
|
11351
|
+
projectId: string;
|
|
11352
|
+
occurredAt: string;
|
|
11353
|
+
partitionKey: string;
|
|
11354
|
+
origin: {
|
|
11355
|
+
kind: "action";
|
|
11356
|
+
actionId: string;
|
|
11357
|
+
runId: string;
|
|
11358
|
+
} | {
|
|
11359
|
+
kind: "runtime";
|
|
11360
|
+
requestId: string;
|
|
11361
|
+
} | {
|
|
11362
|
+
kind: "projection";
|
|
11363
|
+
projectionId: string;
|
|
11364
|
+
projectionRunId: string;
|
|
11365
|
+
datasetId: string;
|
|
11366
|
+
datasetVersionId: string;
|
|
11367
|
+
} | {
|
|
11368
|
+
kind: "telemetry";
|
|
11369
|
+
source: {
|
|
11370
|
+
kind: "runtime";
|
|
11371
|
+
requestId: string;
|
|
11372
|
+
} | {
|
|
11373
|
+
kind: "projection";
|
|
11374
|
+
projectionId: string;
|
|
11375
|
+
projectionRunId: string;
|
|
11376
|
+
datasetId: string;
|
|
11377
|
+
datasetVersionId: string;
|
|
11378
|
+
batchOrdinal: number;
|
|
11379
|
+
};
|
|
11380
|
+
};
|
|
11381
|
+
/**
|
|
11382
|
+
* Principal on whose behalf the write ran; absent for automatic or anonymous work.
|
|
11383
|
+
*/
|
|
11384
|
+
requestedBy?: {
|
|
11385
|
+
type: "user" | "serviceAccount";
|
|
11386
|
+
id: string;
|
|
11387
|
+
};
|
|
11388
|
+
executor: {
|
|
11389
|
+
type: "request";
|
|
11390
|
+
requestId: string;
|
|
11391
|
+
} | {
|
|
11392
|
+
type: "primitive";
|
|
11393
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
11394
|
+
id: string;
|
|
11395
|
+
runId: string;
|
|
11396
|
+
} | {
|
|
11397
|
+
type: "agent";
|
|
11398
|
+
runId: string;
|
|
11399
|
+
} | {
|
|
11400
|
+
type: "kernel";
|
|
11401
|
+
operation: {
|
|
11402
|
+
type: "ontology.recover";
|
|
11403
|
+
recoveryId: string;
|
|
11404
|
+
} | {
|
|
11405
|
+
type: "ontology.indexVectors";
|
|
11406
|
+
indexingId: string;
|
|
11407
|
+
};
|
|
11408
|
+
};
|
|
11409
|
+
commitId: string;
|
|
11410
|
+
commitOrdinal: number;
|
|
11411
|
+
type: "link.deleted";
|
|
11412
|
+
topic: "links";
|
|
11413
|
+
payload: {
|
|
11414
|
+
sourceTypeId: string;
|
|
11415
|
+
sourceId: string;
|
|
11416
|
+
linkId: string;
|
|
11417
|
+
targetTypeId: string;
|
|
11418
|
+
targetId: string;
|
|
11419
|
+
propertyChanges: {
|
|
11420
|
+
[key: string]: {
|
|
11421
|
+
operation: "created";
|
|
11422
|
+
/**
|
|
11423
|
+
* Any JSON-compatible value.
|
|
11424
|
+
*/
|
|
11425
|
+
after: string | number | boolean | Array<unknown> | {
|
|
11426
|
+
[key: string]: unknown;
|
|
11427
|
+
} | null;
|
|
11428
|
+
} | {
|
|
11429
|
+
operation: "updated";
|
|
11430
|
+
/**
|
|
11431
|
+
* Any JSON-compatible value.
|
|
11432
|
+
*/
|
|
11433
|
+
before: string | number | boolean | Array<unknown> | {
|
|
11434
|
+
[key: string]: unknown;
|
|
11435
|
+
} | null;
|
|
11436
|
+
/**
|
|
11437
|
+
* Any JSON-compatible value.
|
|
11438
|
+
*/
|
|
11439
|
+
after: string | number | boolean | Array<unknown> | {
|
|
11440
|
+
[key: string]: unknown;
|
|
11441
|
+
} | null;
|
|
11442
|
+
} | {
|
|
11443
|
+
operation: "cleared";
|
|
11444
|
+
/**
|
|
11445
|
+
* Any JSON-compatible value.
|
|
11446
|
+
*/
|
|
11447
|
+
before: string | number | boolean | Array<unknown> | {
|
|
11448
|
+
[key: string]: unknown;
|
|
11449
|
+
} | null;
|
|
11450
|
+
after: null;
|
|
11451
|
+
};
|
|
11452
|
+
};
|
|
11453
|
+
};
|
|
11454
|
+
} | {
|
|
11455
|
+
id: string;
|
|
11456
|
+
cursor: string;
|
|
11457
|
+
schemaVersion: 1;
|
|
11458
|
+
projectId: string;
|
|
11459
|
+
occurredAt: string;
|
|
11460
|
+
partitionKey: string;
|
|
11461
|
+
correlationId?: string;
|
|
11462
|
+
causationId?: string;
|
|
11463
|
+
idempotencyKey?: string;
|
|
11464
|
+
origin?: {
|
|
11465
|
+
kind: "action";
|
|
11466
|
+
actionId: string;
|
|
11467
|
+
runId: string;
|
|
11468
|
+
} | {
|
|
11469
|
+
kind: "runtime";
|
|
11470
|
+
requestId: string;
|
|
11471
|
+
} | {
|
|
11472
|
+
kind: "projection";
|
|
11473
|
+
projectionId: string;
|
|
11474
|
+
projectionRunId: string;
|
|
11475
|
+
datasetId: string;
|
|
11476
|
+
datasetVersionId: string;
|
|
11477
|
+
} | {
|
|
11478
|
+
kind: "telemetry";
|
|
11479
|
+
source: {
|
|
11480
|
+
kind: "runtime";
|
|
11481
|
+
requestId: string;
|
|
11482
|
+
} | {
|
|
11483
|
+
kind: "projection";
|
|
11484
|
+
projectionId: string;
|
|
11485
|
+
projectionRunId: string;
|
|
11486
|
+
datasetId: string;
|
|
11487
|
+
datasetVersionId: string;
|
|
11488
|
+
batchOrdinal: number;
|
|
11489
|
+
};
|
|
11490
|
+
};
|
|
11491
|
+
metadata?: {
|
|
11492
|
+
[key: string]: string | number | boolean | Array<unknown> | {
|
|
11493
|
+
[key: string]: unknown;
|
|
11494
|
+
} | null;
|
|
11495
|
+
};
|
|
11496
|
+
type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved";
|
|
11497
|
+
topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules";
|
|
11498
|
+
payload: {
|
|
11499
|
+
[key: string]: unknown;
|
|
11500
|
+
};
|
|
11501
|
+
}>;
|
|
11502
|
+
};
|
|
11503
|
+
};
|
|
11504
|
+
export type ListEventsResponse = ListEventsResponses[keyof ListEventsResponses];
|
|
11505
|
+
export type ListLogsData = {
|
|
11506
|
+
body?: never;
|
|
11507
|
+
path?: never;
|
|
11508
|
+
query?: {
|
|
11509
|
+
kind?: "action" | "agent" | "pipeline" | "projection" | "sync" | "webhook" | "workflow";
|
|
11510
|
+
runId?: string;
|
|
11511
|
+
level?: "debug" | "info" | "warn" | "error";
|
|
11512
|
+
direction?: "forward" | "backward";
|
|
11513
|
+
afterCursor?: string;
|
|
11514
|
+
beforeCursor?: string;
|
|
11515
|
+
limit?: number;
|
|
11516
|
+
};
|
|
11517
|
+
url: "/api/logs";
|
|
11518
|
+
};
|
|
11519
|
+
export type ListLogsErrors = {
|
|
11520
|
+
/**
|
|
11521
|
+
* Response for status 400
|
|
11522
|
+
*/
|
|
11523
|
+
400: {
|
|
11524
|
+
error: string;
|
|
11525
|
+
};
|
|
11526
|
+
/**
|
|
11527
|
+
* Response for status 403
|
|
11528
|
+
*/
|
|
11529
|
+
403: {
|
|
11530
|
+
error: string;
|
|
11531
|
+
};
|
|
11532
|
+
};
|
|
11533
|
+
export type ListLogsError = ListLogsErrors[keyof ListLogsErrors];
|
|
11534
|
+
export type ListLogsResponses = {
|
|
11535
|
+
/**
|
|
11536
|
+
* Response for status 200
|
|
11537
|
+
*/
|
|
11538
|
+
200: {
|
|
11539
|
+
count: number;
|
|
11540
|
+
lines: Array<{
|
|
11541
|
+
level: "debug" | "info" | "warn" | "error";
|
|
11542
|
+
message: string;
|
|
11543
|
+
fields?: {
|
|
11544
|
+
[key: string]: unknown;
|
|
11545
|
+
};
|
|
11546
|
+
at: string;
|
|
11547
|
+
context: {
|
|
11548
|
+
run: {
|
|
11549
|
+
kind: "action" | "agent" | "pipeline" | "projection" | "sync" | "webhook" | "workflow";
|
|
11550
|
+
id: string;
|
|
10592
11551
|
};
|
|
11552
|
+
stepId?: string;
|
|
11553
|
+
phase?: string;
|
|
11554
|
+
attempt?: number;
|
|
11555
|
+
};
|
|
11556
|
+
cursor: string;
|
|
11557
|
+
}>;
|
|
11558
|
+
cursor?: string;
|
|
11559
|
+
hasMore: boolean;
|
|
11560
|
+
};
|
|
11561
|
+
};
|
|
11562
|
+
export type ListLogsResponse = ListLogsResponses[keyof ListLogsResponses];
|
|
11563
|
+
export type GetActivityCaptureConfigData = {
|
|
11564
|
+
body?: never;
|
|
11565
|
+
path?: never;
|
|
11566
|
+
query?: never;
|
|
11567
|
+
url: "/api/activity/capture-config";
|
|
11568
|
+
};
|
|
11569
|
+
export type GetActivityCaptureConfigErrors = {
|
|
11570
|
+
/**
|
|
11571
|
+
* Response for status 400
|
|
11572
|
+
*/
|
|
11573
|
+
400: {
|
|
11574
|
+
error: string;
|
|
11575
|
+
};
|
|
11576
|
+
/**
|
|
11577
|
+
* Response for status 403
|
|
11578
|
+
*/
|
|
11579
|
+
403: {
|
|
11580
|
+
error: string;
|
|
11581
|
+
};
|
|
11582
|
+
};
|
|
11583
|
+
export type GetActivityCaptureConfigError = GetActivityCaptureConfigErrors[keyof GetActivityCaptureConfigErrors];
|
|
11584
|
+
export type GetActivityCaptureConfigResponses = {
|
|
11585
|
+
/**
|
|
11586
|
+
* Response for status 200
|
|
11587
|
+
*/
|
|
11588
|
+
200: {
|
|
11589
|
+
enabled: boolean;
|
|
11590
|
+
idleTimeoutMs: number;
|
|
11591
|
+
};
|
|
11592
|
+
};
|
|
11593
|
+
export type GetActivityCaptureConfigResponse = GetActivityCaptureConfigResponses[keyof GetActivityCaptureConfigResponses];
|
|
11594
|
+
export type CaptureActivityData = {
|
|
11595
|
+
body: {
|
|
11596
|
+
events: Array<{
|
|
11597
|
+
id: string;
|
|
11598
|
+
type: "page.view" | "visit.activity";
|
|
11599
|
+
route: string;
|
|
11600
|
+
attribution?: {
|
|
11601
|
+
source?: string;
|
|
11602
|
+
medium?: string;
|
|
11603
|
+
campaign?: string;
|
|
11604
|
+
referrer?: string;
|
|
10593
11605
|
};
|
|
10594
11606
|
} | {
|
|
10595
11607
|
id: string;
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
11608
|
+
type: "ui.interaction";
|
|
11609
|
+
name: string;
|
|
11610
|
+
route: string;
|
|
11611
|
+
}>;
|
|
11612
|
+
};
|
|
11613
|
+
path?: never;
|
|
11614
|
+
query?: never;
|
|
11615
|
+
url: "/api/activity/events";
|
|
11616
|
+
};
|
|
11617
|
+
export type CaptureActivityErrors = {
|
|
11618
|
+
/**
|
|
11619
|
+
* Response for status 400
|
|
11620
|
+
*/
|
|
11621
|
+
400: {
|
|
11622
|
+
error: string;
|
|
11623
|
+
};
|
|
11624
|
+
/**
|
|
11625
|
+
* Response for status 403
|
|
11626
|
+
*/
|
|
11627
|
+
403: {
|
|
11628
|
+
error: string;
|
|
11629
|
+
};
|
|
11630
|
+
/**
|
|
11631
|
+
* Response for status 429
|
|
11632
|
+
*/
|
|
11633
|
+
429: {
|
|
11634
|
+
status: "accepted" | "disabled" | "throttled";
|
|
11635
|
+
accepted: number;
|
|
11636
|
+
};
|
|
11637
|
+
};
|
|
11638
|
+
export type CaptureActivityError = CaptureActivityErrors[keyof CaptureActivityErrors];
|
|
11639
|
+
export type CaptureActivityResponses = {
|
|
11640
|
+
/**
|
|
11641
|
+
* Response for status 200
|
|
11642
|
+
*/
|
|
11643
|
+
200: {
|
|
11644
|
+
status: "accepted" | "disabled" | "throttled";
|
|
11645
|
+
accepted: number;
|
|
11646
|
+
};
|
|
11647
|
+
};
|
|
11648
|
+
export type CaptureActivityResponse = CaptureActivityResponses[keyof CaptureActivityResponses];
|
|
11649
|
+
export type ListActivityVisitsData = {
|
|
11650
|
+
body?: never;
|
|
11651
|
+
path?: never;
|
|
11652
|
+
query: {
|
|
11653
|
+
from: string;
|
|
11654
|
+
to: string;
|
|
11655
|
+
userId?: string;
|
|
11656
|
+
limit?: number;
|
|
11657
|
+
beforeAt?: string;
|
|
11658
|
+
beforeId?: string;
|
|
11659
|
+
};
|
|
11660
|
+
url: "/api/activity/visits";
|
|
11661
|
+
};
|
|
11662
|
+
export type ListActivityVisitsErrors = {
|
|
11663
|
+
/**
|
|
11664
|
+
* Response for status 400
|
|
11665
|
+
*/
|
|
11666
|
+
400: {
|
|
11667
|
+
error: string;
|
|
11668
|
+
};
|
|
11669
|
+
/**
|
|
11670
|
+
* Response for status 403
|
|
11671
|
+
*/
|
|
11672
|
+
403: {
|
|
11673
|
+
error: string;
|
|
11674
|
+
};
|
|
11675
|
+
};
|
|
11676
|
+
export type ListActivityVisitsError = ListActivityVisitsErrors[keyof ListActivityVisitsErrors];
|
|
11677
|
+
export type ListActivityVisitsResponses = {
|
|
11678
|
+
/**
|
|
11679
|
+
* Response for status 200
|
|
11680
|
+
*/
|
|
11681
|
+
200: {
|
|
11682
|
+
visits: Array<{
|
|
11683
|
+
id: string;
|
|
11684
|
+
actor: {
|
|
11685
|
+
type: "user";
|
|
11686
|
+
userId: string;
|
|
11687
|
+
} | {
|
|
11688
|
+
type: "share";
|
|
11689
|
+
grantId: string;
|
|
11690
|
+
definitionId?: string;
|
|
11691
|
+
};
|
|
11692
|
+
attribution: {
|
|
11693
|
+
source?: string;
|
|
11694
|
+
medium?: string;
|
|
11695
|
+
campaign?: string;
|
|
11696
|
+
referrer?: string;
|
|
11697
|
+
} | null;
|
|
11698
|
+
startedAt: string;
|
|
11699
|
+
lastSeenAt: string;
|
|
11700
|
+
pageViews: number;
|
|
11701
|
+
interactions: number;
|
|
11702
|
+
}>;
|
|
11703
|
+
hasMore: boolean;
|
|
11704
|
+
};
|
|
11705
|
+
};
|
|
11706
|
+
export type ListActivityVisitsResponse = ListActivityVisitsResponses[keyof ListActivityVisitsResponses];
|
|
11707
|
+
export type ListActivityUsersData = {
|
|
11708
|
+
body?: never;
|
|
11709
|
+
path?: never;
|
|
11710
|
+
query: {
|
|
11711
|
+
from: string;
|
|
11712
|
+
to: string;
|
|
11713
|
+
userId?: string;
|
|
11714
|
+
limit?: number;
|
|
11715
|
+
beforeAt?: string;
|
|
11716
|
+
beforeId?: string;
|
|
11717
|
+
};
|
|
11718
|
+
url: "/api/activity/users";
|
|
11719
|
+
};
|
|
11720
|
+
export type ListActivityUsersErrors = {
|
|
11721
|
+
/**
|
|
11722
|
+
* Response for status 400
|
|
11723
|
+
*/
|
|
11724
|
+
400: {
|
|
11725
|
+
error: string;
|
|
11726
|
+
};
|
|
11727
|
+
/**
|
|
11728
|
+
* Response for status 403
|
|
11729
|
+
*/
|
|
11730
|
+
403: {
|
|
11731
|
+
error: string;
|
|
11732
|
+
};
|
|
11733
|
+
};
|
|
11734
|
+
export type ListActivityUsersError = ListActivityUsersErrors[keyof ListActivityUsersErrors];
|
|
11735
|
+
export type ListActivityUsersResponses = {
|
|
11736
|
+
/**
|
|
11737
|
+
* Response for status 200
|
|
11738
|
+
*/
|
|
11739
|
+
200: {
|
|
11740
|
+
users: Array<{
|
|
11741
|
+
userId: string;
|
|
11742
|
+
displayName?: string;
|
|
11743
|
+
lastSeenAt: string;
|
|
11744
|
+
visits: number;
|
|
11745
|
+
pageViews: number;
|
|
11746
|
+
}>;
|
|
11747
|
+
hasMore: boolean;
|
|
11748
|
+
};
|
|
11749
|
+
};
|
|
11750
|
+
export type ListActivityUsersResponse = ListActivityUsersResponses[keyof ListActivityUsersResponses];
|
|
11751
|
+
export type GetActivitySummaryData = {
|
|
11752
|
+
body?: never;
|
|
11753
|
+
path?: never;
|
|
11754
|
+
query: {
|
|
11755
|
+
from: string;
|
|
11756
|
+
to: string;
|
|
11757
|
+
userId?: string;
|
|
11758
|
+
};
|
|
11759
|
+
url: "/api/activity/summary";
|
|
11760
|
+
};
|
|
11761
|
+
export type GetActivitySummaryErrors = {
|
|
11762
|
+
/**
|
|
11763
|
+
* Response for status 400
|
|
11764
|
+
*/
|
|
11765
|
+
400: {
|
|
11766
|
+
error: string;
|
|
11767
|
+
};
|
|
11768
|
+
/**
|
|
11769
|
+
* Response for status 403
|
|
11770
|
+
*/
|
|
11771
|
+
403: {
|
|
11772
|
+
error: string;
|
|
11773
|
+
};
|
|
11774
|
+
};
|
|
11775
|
+
export type GetActivitySummaryError = GetActivitySummaryErrors[keyof GetActivitySummaryErrors];
|
|
11776
|
+
export type GetActivitySummaryResponses = {
|
|
11777
|
+
/**
|
|
11778
|
+
* Response for status 200
|
|
11779
|
+
*/
|
|
11780
|
+
200: {
|
|
11781
|
+
users: number;
|
|
11782
|
+
visits: number;
|
|
11783
|
+
sharedVisits: number;
|
|
11784
|
+
pageViews: number;
|
|
11785
|
+
};
|
|
11786
|
+
};
|
|
11787
|
+
export type GetActivitySummaryResponse = GetActivitySummaryResponses[keyof GetActivitySummaryResponses];
|
|
11788
|
+
export type GetActivityCalendarData = {
|
|
11789
|
+
body?: never;
|
|
11790
|
+
path?: never;
|
|
11791
|
+
query: {
|
|
11792
|
+
userId: string;
|
|
11793
|
+
year: number;
|
|
11794
|
+
};
|
|
11795
|
+
url: "/api/activity/calendar";
|
|
11796
|
+
};
|
|
11797
|
+
export type GetActivityCalendarErrors = {
|
|
11798
|
+
/**
|
|
11799
|
+
* Response for status 400
|
|
11800
|
+
*/
|
|
11801
|
+
400: {
|
|
11802
|
+
error: string;
|
|
11803
|
+
};
|
|
11804
|
+
/**
|
|
11805
|
+
* Response for status 403
|
|
11806
|
+
*/
|
|
11807
|
+
403: {
|
|
11808
|
+
error: string;
|
|
11809
|
+
};
|
|
11810
|
+
};
|
|
11811
|
+
export type GetActivityCalendarError = GetActivityCalendarErrors[keyof GetActivityCalendarErrors];
|
|
11812
|
+
export type GetActivityCalendarResponses = {
|
|
11813
|
+
/**
|
|
11814
|
+
* Response for status 200
|
|
11815
|
+
*/
|
|
11816
|
+
200: {
|
|
11817
|
+
userId: string;
|
|
11818
|
+
year: number;
|
|
11819
|
+
days: Array<{
|
|
11820
|
+
day: string;
|
|
11821
|
+
visits: number;
|
|
11822
|
+
pageViews: number;
|
|
11823
|
+
}>;
|
|
11824
|
+
};
|
|
11825
|
+
};
|
|
11826
|
+
export type GetActivityCalendarResponse = GetActivityCalendarResponses[keyof GetActivityCalendarResponses];
|
|
11827
|
+
export type GetActivityVisitTimelineData = {
|
|
11828
|
+
body?: never;
|
|
11829
|
+
path: {
|
|
11830
|
+
visitId: string;
|
|
11831
|
+
};
|
|
11832
|
+
query?: never;
|
|
11833
|
+
url: "/api/activity/visits/{visitId}/timeline";
|
|
11834
|
+
};
|
|
11835
|
+
export type GetActivityVisitTimelineErrors = {
|
|
11836
|
+
/**
|
|
11837
|
+
* Response for status 400
|
|
11838
|
+
*/
|
|
11839
|
+
400: {
|
|
11840
|
+
error: string;
|
|
11841
|
+
};
|
|
11842
|
+
/**
|
|
11843
|
+
* Response for status 403
|
|
11844
|
+
*/
|
|
11845
|
+
403: {
|
|
11846
|
+
error: string;
|
|
11847
|
+
};
|
|
11848
|
+
/**
|
|
11849
|
+
* Response for status 404
|
|
11850
|
+
*/
|
|
11851
|
+
404: {
|
|
11852
|
+
error: string;
|
|
11853
|
+
};
|
|
11854
|
+
};
|
|
11855
|
+
export type GetActivityVisitTimelineError = GetActivityVisitTimelineErrors[keyof GetActivityVisitTimelineErrors];
|
|
11856
|
+
export type GetActivityVisitTimelineResponses = {
|
|
11857
|
+
/**
|
|
11858
|
+
* Response for status 200
|
|
11859
|
+
*/
|
|
11860
|
+
200: {
|
|
11861
|
+
visit: {
|
|
11862
|
+
id: string;
|
|
11863
|
+
actor: {
|
|
11864
|
+
type: "user";
|
|
11865
|
+
userId: string;
|
|
10614
11866
|
} | {
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
11867
|
+
type: "share";
|
|
11868
|
+
grantId: string;
|
|
11869
|
+
definitionId?: string;
|
|
11870
|
+
};
|
|
11871
|
+
attribution: {
|
|
11872
|
+
source?: string;
|
|
11873
|
+
medium?: string;
|
|
11874
|
+
campaign?: string;
|
|
11875
|
+
referrer?: string;
|
|
11876
|
+
} | null;
|
|
11877
|
+
startedAt: string;
|
|
11878
|
+
lastSeenAt: string;
|
|
11879
|
+
pageViews: number;
|
|
11880
|
+
interactions: number;
|
|
11881
|
+
};
|
|
11882
|
+
connection?: {
|
|
11883
|
+
type: "session";
|
|
11884
|
+
device: {
|
|
11885
|
+
browser?: string;
|
|
11886
|
+
os?: string;
|
|
10627
11887
|
};
|
|
11888
|
+
clientName?: string;
|
|
11889
|
+
status: "active" | "expired" | "revoked";
|
|
11890
|
+
createdAt: string;
|
|
11891
|
+
lastSeenAt?: string;
|
|
11892
|
+
revokedAt?: string;
|
|
11893
|
+
} | {
|
|
11894
|
+
type: "share";
|
|
11895
|
+
grantId: string;
|
|
11896
|
+
definitionId?: string;
|
|
11897
|
+
status: "active" | "expired" | "revoked";
|
|
11898
|
+
createdAt: string;
|
|
11899
|
+
revokedAt?: string;
|
|
11900
|
+
};
|
|
11901
|
+
entries: Array<{
|
|
11902
|
+
kind: "page";
|
|
11903
|
+
at: string;
|
|
11904
|
+
sequence: number;
|
|
11905
|
+
route: string;
|
|
11906
|
+
} | {
|
|
11907
|
+
kind: "interaction";
|
|
11908
|
+
at: string;
|
|
11909
|
+
sequence: number;
|
|
11910
|
+
name: string;
|
|
11911
|
+
route: string;
|
|
11912
|
+
} | {
|
|
11913
|
+
kind: "action";
|
|
11914
|
+
at: string;
|
|
11915
|
+
executionId: string;
|
|
11916
|
+
actionId: string;
|
|
11917
|
+
runId: string;
|
|
11918
|
+
status: "succeeded" | "failed" | "incomplete";
|
|
10628
11919
|
/**
|
|
10629
|
-
*
|
|
11920
|
+
* Whether the viewer may read the run itself.
|
|
10630
11921
|
*/
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
executor: {
|
|
10636
|
-
type: "request";
|
|
10637
|
-
requestId: string;
|
|
10638
|
-
} | {
|
|
10639
|
-
type: "primitive";
|
|
10640
|
-
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
10641
|
-
id: string;
|
|
10642
|
-
runId: string;
|
|
10643
|
-
} | {
|
|
10644
|
-
type: "agent";
|
|
10645
|
-
runId: string;
|
|
10646
|
-
} | {
|
|
10647
|
-
type: "kernel";
|
|
10648
|
-
operation: {
|
|
10649
|
-
type: "ontology.recover";
|
|
10650
|
-
recoveryId: string;
|
|
10651
|
-
} | {
|
|
10652
|
-
type: "ontology.indexVectors";
|
|
10653
|
-
indexingId: string;
|
|
10654
|
-
};
|
|
10655
|
-
};
|
|
10656
|
-
commitId: string;
|
|
10657
|
-
commitOrdinal: number;
|
|
10658
|
-
type: "link.deleted";
|
|
10659
|
-
topic: "links";
|
|
10660
|
-
payload: {
|
|
10661
|
-
sourceTypeId: string;
|
|
10662
|
-
sourceId: string;
|
|
10663
|
-
linkId: string;
|
|
10664
|
-
targetTypeId: string;
|
|
10665
|
-
targetId: string;
|
|
10666
|
-
propertyChanges: {
|
|
10667
|
-
[key: string]: {
|
|
10668
|
-
operation: "created";
|
|
10669
|
-
/**
|
|
10670
|
-
* Any JSON-compatible value.
|
|
10671
|
-
*/
|
|
10672
|
-
after: string | number | boolean | Array<unknown> | {
|
|
10673
|
-
[key: string]: unknown;
|
|
10674
|
-
} | null;
|
|
10675
|
-
} | {
|
|
10676
|
-
operation: "updated";
|
|
10677
|
-
/**
|
|
10678
|
-
* Any JSON-compatible value.
|
|
10679
|
-
*/
|
|
10680
|
-
before: string | number | boolean | Array<unknown> | {
|
|
10681
|
-
[key: string]: unknown;
|
|
10682
|
-
} | null;
|
|
10683
|
-
/**
|
|
10684
|
-
* Any JSON-compatible value.
|
|
10685
|
-
*/
|
|
10686
|
-
after: string | number | boolean | Array<unknown> | {
|
|
10687
|
-
[key: string]: unknown;
|
|
10688
|
-
} | null;
|
|
10689
|
-
} | {
|
|
10690
|
-
operation: "cleared";
|
|
10691
|
-
/**
|
|
10692
|
-
* Any JSON-compatible value.
|
|
10693
|
-
*/
|
|
10694
|
-
before: string | number | boolean | Array<unknown> | {
|
|
10695
|
-
[key: string]: unknown;
|
|
10696
|
-
} | null;
|
|
10697
|
-
after: null;
|
|
10698
|
-
};
|
|
10699
|
-
};
|
|
11922
|
+
runVisible: boolean;
|
|
11923
|
+
object?: {
|
|
11924
|
+
objectTypeId: string;
|
|
11925
|
+
primaryId: string;
|
|
10700
11926
|
};
|
|
10701
11927
|
} | {
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
requestId: string;
|
|
10729
|
-
} | {
|
|
10730
|
-
kind: "projection";
|
|
10731
|
-
projectionId: string;
|
|
10732
|
-
projectionRunId: string;
|
|
10733
|
-
datasetId: string;
|
|
10734
|
-
datasetVersionId: string;
|
|
10735
|
-
batchOrdinal: number;
|
|
10736
|
-
};
|
|
10737
|
-
};
|
|
10738
|
-
metadata?: {
|
|
10739
|
-
[key: string]: string | number | boolean | Array<unknown> | {
|
|
10740
|
-
[key: string]: unknown;
|
|
10741
|
-
} | null;
|
|
10742
|
-
};
|
|
10743
|
-
type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved";
|
|
10744
|
-
topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules";
|
|
10745
|
-
payload: {
|
|
10746
|
-
[key: string]: unknown;
|
|
11928
|
+
kind: "workflow";
|
|
11929
|
+
at: string;
|
|
11930
|
+
executionId: string;
|
|
11931
|
+
workflowId: string;
|
|
11932
|
+
runId: string;
|
|
11933
|
+
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "incomplete";
|
|
11934
|
+
/**
|
|
11935
|
+
* Whether the viewer may read the run itself.
|
|
11936
|
+
*/
|
|
11937
|
+
runVisible: boolean;
|
|
11938
|
+
} | {
|
|
11939
|
+
kind: "agent";
|
|
11940
|
+
at: string;
|
|
11941
|
+
executionId: string;
|
|
11942
|
+
runId: string;
|
|
11943
|
+
threadId: string;
|
|
11944
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
11945
|
+
messages: number;
|
|
11946
|
+
cost?: {
|
|
11947
|
+
amounts: Array<{
|
|
11948
|
+
currency: string;
|
|
11949
|
+
amountNanos: string;
|
|
11950
|
+
}>;
|
|
11951
|
+
ratedCallCount: number;
|
|
11952
|
+
unpriceableCallCount: number;
|
|
11953
|
+
unvaluedCallCount: number;
|
|
10747
11954
|
};
|
|
10748
11955
|
}>;
|
|
11956
|
+
truncated: boolean;
|
|
10749
11957
|
};
|
|
10750
11958
|
};
|
|
10751
|
-
export type
|
|
10752
|
-
export type
|
|
11959
|
+
export type GetActivityVisitTimelineResponse = GetActivityVisitTimelineResponses[keyof GetActivityVisitTimelineResponses];
|
|
11960
|
+
export type ListActivityConnectionsData = {
|
|
10753
11961
|
body?: never;
|
|
10754
11962
|
path?: never;
|
|
10755
|
-
query
|
|
10756
|
-
|
|
10757
|
-
runId?: string;
|
|
10758
|
-
level?: "debug" | "info" | "warn" | "error";
|
|
10759
|
-
direction?: "forward" | "backward";
|
|
10760
|
-
afterCursor?: string;
|
|
10761
|
-
beforeCursor?: string;
|
|
11963
|
+
query: {
|
|
11964
|
+
userId: string;
|
|
10762
11965
|
limit?: number;
|
|
11966
|
+
/**
|
|
11967
|
+
* The previous page's nextCursor.
|
|
11968
|
+
*/
|
|
11969
|
+
cursor?: string;
|
|
10763
11970
|
};
|
|
10764
|
-
url: "/api/
|
|
11971
|
+
url: "/api/activity/connections";
|
|
10765
11972
|
};
|
|
10766
|
-
export type
|
|
11973
|
+
export type ListActivityConnectionsErrors = {
|
|
10767
11974
|
/**
|
|
10768
11975
|
* Response for status 400
|
|
10769
11976
|
*/
|
|
@@ -10777,36 +11984,50 @@ export type ListLogsErrors = {
|
|
|
10777
11984
|
error: string;
|
|
10778
11985
|
};
|
|
10779
11986
|
};
|
|
10780
|
-
export type
|
|
10781
|
-
export type
|
|
11987
|
+
export type ListActivityConnectionsError = ListActivityConnectionsErrors[keyof ListActivityConnectionsErrors];
|
|
11988
|
+
export type ListActivityConnectionsResponses = {
|
|
10782
11989
|
/**
|
|
10783
11990
|
* Response for status 200
|
|
10784
11991
|
*/
|
|
10785
11992
|
200: {
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
[key: string]: unknown;
|
|
11993
|
+
connections: Array<{
|
|
11994
|
+
type: "session";
|
|
11995
|
+
device: {
|
|
11996
|
+
browser?: string;
|
|
11997
|
+
os?: string;
|
|
10792
11998
|
};
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
11999
|
+
clientName?: string;
|
|
12000
|
+
status: "active" | "expired" | "revoked";
|
|
12001
|
+
createdAt: string;
|
|
12002
|
+
lastSeenAt?: string;
|
|
12003
|
+
revokedAt?: string;
|
|
12004
|
+
visits: number;
|
|
12005
|
+
latestVisits: Array<{
|
|
12006
|
+
id: string;
|
|
12007
|
+
actor: {
|
|
12008
|
+
type: "user";
|
|
12009
|
+
userId: string;
|
|
12010
|
+
} | {
|
|
12011
|
+
type: "share";
|
|
12012
|
+
grantId: string;
|
|
12013
|
+
definitionId?: string;
|
|
10798
12014
|
};
|
|
10799
|
-
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
12015
|
+
attribution: {
|
|
12016
|
+
source?: string;
|
|
12017
|
+
medium?: string;
|
|
12018
|
+
campaign?: string;
|
|
12019
|
+
referrer?: string;
|
|
12020
|
+
} | null;
|
|
12021
|
+
startedAt: string;
|
|
12022
|
+
lastSeenAt: string;
|
|
12023
|
+
pageViews: number;
|
|
12024
|
+
interactions: number;
|
|
12025
|
+
}>;
|
|
10804
12026
|
}>;
|
|
10805
|
-
|
|
10806
|
-
hasMore: boolean;
|
|
12027
|
+
nextCursor?: string;
|
|
10807
12028
|
};
|
|
10808
12029
|
};
|
|
10809
|
-
export type
|
|
12030
|
+
export type ListActivityConnectionsResponse = ListActivityConnectionsResponses[keyof ListActivityConnectionsResponses];
|
|
10810
12031
|
export type ListProjectionsData = {
|
|
10811
12032
|
body?: never;
|
|
10812
12033
|
path?: never;
|