sim 2.2.12-preview.226.2 → 2.2.12-preview.228.1
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.
|
@@ -83,6 +83,45 @@ type AbortKnowledgeDocumentUploadResponseRef1 = {
|
|
|
83
83
|
export type AbortKnowledgeDocumentUploadResponse = {
|
|
84
84
|
data: AbortKnowledgeDocumentUploadResponseRef1;
|
|
85
85
|
};
|
|
86
|
+
/** `DELETE /api/v2/projects/[projectId]/files/uploads/[uploadId]` */
|
|
87
|
+
export type AbortProjectFileUploadParams = {
|
|
88
|
+
projectId: string;
|
|
89
|
+
uploadId: string;
|
|
90
|
+
};
|
|
91
|
+
export type AbortProjectFileUploadQuery = Record<string, unknown>;
|
|
92
|
+
export type AbortProjectFileUploadHeaders = {
|
|
93
|
+
'upload-token': string;
|
|
94
|
+
};
|
|
95
|
+
type AbortProjectFileUploadResponseRef0 = {
|
|
96
|
+
id: string;
|
|
97
|
+
name: string;
|
|
98
|
+
size: number;
|
|
99
|
+
type: string;
|
|
100
|
+
key: string;
|
|
101
|
+
folderPath: string;
|
|
102
|
+
uploadedAt: string;
|
|
103
|
+
updatedAt: string;
|
|
104
|
+
deletedAt: string | null;
|
|
105
|
+
owner: {
|
|
106
|
+
entityType: 'project';
|
|
107
|
+
entityId: string;
|
|
108
|
+
};
|
|
109
|
+
uploadedBy: string;
|
|
110
|
+
revision?: string;
|
|
111
|
+
};
|
|
112
|
+
type AbortProjectFileUploadResponseRef1 = {
|
|
113
|
+
id: string;
|
|
114
|
+
status: 'uploading' | 'completing' | 'finalizing' | 'completed' | 'failed' | 'aborting' | 'aborted' | 'expired';
|
|
115
|
+
name: string;
|
|
116
|
+
contentType: string;
|
|
117
|
+
size: number;
|
|
118
|
+
expiresAt: string;
|
|
119
|
+
error: string | null;
|
|
120
|
+
file: AbortProjectFileUploadResponseRef0 | null;
|
|
121
|
+
};
|
|
122
|
+
export type AbortProjectFileUploadResponse = {
|
|
123
|
+
data: AbortProjectFileUploadResponseRef1;
|
|
124
|
+
};
|
|
86
125
|
/** `POST /api/v2/workflows/[workflowId]/versions/[version]/activate` */
|
|
87
126
|
export type ActivateWorkflowVersionParams = {
|
|
88
127
|
version: number;
|
|
@@ -545,6 +584,27 @@ type ApplyWorkflowVariablesResponseRef0 = {
|
|
|
545
584
|
export type ApplyWorkflowVariablesResponse = {
|
|
546
585
|
data: ApplyWorkflowVariablesResponseRef0;
|
|
547
586
|
};
|
|
587
|
+
/** `POST /api/v2/projects/[projectId]/files/archive` */
|
|
588
|
+
export type ArchiveProjectFileItemsParams = {
|
|
589
|
+
projectId: string;
|
|
590
|
+
};
|
|
591
|
+
export type ArchiveProjectFileItemsQuery = Record<string, unknown>;
|
|
592
|
+
export type ArchiveProjectFileItemsBody = {
|
|
593
|
+
fileIds?: Array<string>;
|
|
594
|
+
folderIds?: Array<string>;
|
|
595
|
+
};
|
|
596
|
+
export type ArchiveProjectFileItemsResponse = {
|
|
597
|
+
data: {
|
|
598
|
+
deletedItems: {
|
|
599
|
+
files: number;
|
|
600
|
+
folders: number;
|
|
601
|
+
};
|
|
602
|
+
affectedIds: {
|
|
603
|
+
fileIds: Array<string>;
|
|
604
|
+
folderIds: Array<string>;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
548
608
|
/** `POST /api/v2/organizations/[organizationId]/permission-groups/[groupId]/members/bulk` */
|
|
549
609
|
export type BulkAddPermissionGroupMembersParams = {
|
|
550
610
|
organizationId: string;
|
|
@@ -1193,6 +1253,45 @@ type CompleteKnowledgeDocumentUploadResponseRef1 = {
|
|
|
1193
1253
|
export type CompleteKnowledgeDocumentUploadResponse = {
|
|
1194
1254
|
data: CompleteKnowledgeDocumentUploadResponseRef1;
|
|
1195
1255
|
};
|
|
1256
|
+
/** `POST /api/v2/projects/[projectId]/files/uploads/[uploadId]/complete` */
|
|
1257
|
+
export type CompleteProjectFileUploadParams = {
|
|
1258
|
+
projectId: string;
|
|
1259
|
+
uploadId: string;
|
|
1260
|
+
};
|
|
1261
|
+
export type CompleteProjectFileUploadQuery = Record<string, unknown>;
|
|
1262
|
+
export type CompleteProjectFileUploadHeaders = {
|
|
1263
|
+
'upload-token': string;
|
|
1264
|
+
};
|
|
1265
|
+
type CompleteProjectFileUploadResponseRef0 = {
|
|
1266
|
+
id: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
size: number;
|
|
1269
|
+
type: string;
|
|
1270
|
+
key: string;
|
|
1271
|
+
folderPath: string;
|
|
1272
|
+
uploadedAt: string;
|
|
1273
|
+
updatedAt: string;
|
|
1274
|
+
deletedAt: string | null;
|
|
1275
|
+
owner: {
|
|
1276
|
+
entityType: 'project';
|
|
1277
|
+
entityId: string;
|
|
1278
|
+
};
|
|
1279
|
+
uploadedBy: string;
|
|
1280
|
+
revision?: string;
|
|
1281
|
+
};
|
|
1282
|
+
type CompleteProjectFileUploadResponseRef1 = {
|
|
1283
|
+
id: string;
|
|
1284
|
+
status: 'uploading' | 'completing' | 'finalizing' | 'completed' | 'failed' | 'aborting' | 'aborted' | 'expired';
|
|
1285
|
+
name: string;
|
|
1286
|
+
contentType: string;
|
|
1287
|
+
size: number;
|
|
1288
|
+
expiresAt: string;
|
|
1289
|
+
error: string | null;
|
|
1290
|
+
file: CompleteProjectFileUploadResponseRef0 | null;
|
|
1291
|
+
};
|
|
1292
|
+
export type CompleteProjectFileUploadResponse = {
|
|
1293
|
+
data: CompleteProjectFileUploadResponseRef1;
|
|
1294
|
+
};
|
|
1196
1295
|
/** `POST /api/v2/tables/imports/[importId]/complete` */
|
|
1197
1296
|
export type CompleteTableImportParams = {
|
|
1198
1297
|
importId: string;
|
|
@@ -1957,6 +2056,124 @@ type CreatePermissionGroupResponseRef0 = {
|
|
|
1957
2056
|
export type CreatePermissionGroupResponse = {
|
|
1958
2057
|
data: CreatePermissionGroupResponseRef0;
|
|
1959
2058
|
};
|
|
2059
|
+
/** `POST /api/v2/projects/[projectId]/files` */
|
|
2060
|
+
export type CreateProjectFileParams = {
|
|
2061
|
+
projectId: string;
|
|
2062
|
+
};
|
|
2063
|
+
export type CreateProjectFileQuery = Record<string, unknown>;
|
|
2064
|
+
type CreateProjectFileBodyRef0 = string;
|
|
2065
|
+
export type CreateProjectFileBody = {
|
|
2066
|
+
name: string;
|
|
2067
|
+
contentType?: string;
|
|
2068
|
+
content?: string;
|
|
2069
|
+
encoding?: 'utf-8' | 'base64';
|
|
2070
|
+
folderPath?: CreateProjectFileBodyRef0;
|
|
2071
|
+
};
|
|
2072
|
+
type CreateProjectFileResponseRef0 = {
|
|
2073
|
+
id: string;
|
|
2074
|
+
name: string;
|
|
2075
|
+
size: number;
|
|
2076
|
+
type: string;
|
|
2077
|
+
key: string;
|
|
2078
|
+
folderPath: string;
|
|
2079
|
+
uploadedAt: string;
|
|
2080
|
+
updatedAt: string;
|
|
2081
|
+
deletedAt: string | null;
|
|
2082
|
+
owner: {
|
|
2083
|
+
entityType: 'project';
|
|
2084
|
+
entityId: string;
|
|
2085
|
+
};
|
|
2086
|
+
uploadedBy: string;
|
|
2087
|
+
revision?: string;
|
|
2088
|
+
};
|
|
2089
|
+
export type CreateProjectFileResponse = {
|
|
2090
|
+
data: CreateProjectFileResponseRef0;
|
|
2091
|
+
};
|
|
2092
|
+
/** `POST /api/v2/projects/[projectId]/files/folders` */
|
|
2093
|
+
export type CreateProjectFileFolderParams = {
|
|
2094
|
+
projectId: string;
|
|
2095
|
+
};
|
|
2096
|
+
export type CreateProjectFileFolderQuery = Record<string, unknown>;
|
|
2097
|
+
export type CreateProjectFileFolderBody = {
|
|
2098
|
+
name: string;
|
|
2099
|
+
parentId?: string | null;
|
|
2100
|
+
};
|
|
2101
|
+
export type CreateProjectFileFolderResponse = {
|
|
2102
|
+
data: {
|
|
2103
|
+
id: string;
|
|
2104
|
+
userId: string;
|
|
2105
|
+
name: string;
|
|
2106
|
+
parentId: string | null;
|
|
2107
|
+
path: string;
|
|
2108
|
+
sortOrder: number;
|
|
2109
|
+
deletedAt: string | null;
|
|
2110
|
+
createdAt: string;
|
|
2111
|
+
updatedAt: string;
|
|
2112
|
+
owner: {
|
|
2113
|
+
entityType: 'project';
|
|
2114
|
+
entityId: string;
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
/** `POST /api/v2/projects/[projectId]/files/uploads` */
|
|
2119
|
+
export type CreateProjectFileUploadParams = {
|
|
2120
|
+
projectId: string;
|
|
2121
|
+
};
|
|
2122
|
+
export type CreateProjectFileUploadQuery = Record<string, unknown>;
|
|
2123
|
+
type CreateProjectFileUploadBodyRef0 = string;
|
|
2124
|
+
export type CreateProjectFileUploadBody = {
|
|
2125
|
+
name: string;
|
|
2126
|
+
contentType: string;
|
|
2127
|
+
size: number;
|
|
2128
|
+
folderPath?: CreateProjectFileUploadBodyRef0;
|
|
2129
|
+
folderId?: string | null;
|
|
2130
|
+
};
|
|
2131
|
+
type CreateProjectFileUploadResponseRef0 = {
|
|
2132
|
+
id: string;
|
|
2133
|
+
name: string;
|
|
2134
|
+
size: number;
|
|
2135
|
+
type: string;
|
|
2136
|
+
key: string;
|
|
2137
|
+
folderPath: string;
|
|
2138
|
+
uploadedAt: string;
|
|
2139
|
+
updatedAt: string;
|
|
2140
|
+
deletedAt: string | null;
|
|
2141
|
+
owner: {
|
|
2142
|
+
entityType: 'project';
|
|
2143
|
+
entityId: string;
|
|
2144
|
+
};
|
|
2145
|
+
uploadedBy: string;
|
|
2146
|
+
revision?: string;
|
|
2147
|
+
};
|
|
2148
|
+
type CreateProjectFileUploadResponseRef1 = {
|
|
2149
|
+
id: string;
|
|
2150
|
+
status: 'uploading' | 'completing' | 'finalizing' | 'completed' | 'failed' | 'aborting' | 'aborted' | 'expired';
|
|
2151
|
+
name: string;
|
|
2152
|
+
contentType: string;
|
|
2153
|
+
size: number;
|
|
2154
|
+
expiresAt: string;
|
|
2155
|
+
error: string | null;
|
|
2156
|
+
file: CreateProjectFileUploadResponseRef0 | null;
|
|
2157
|
+
};
|
|
2158
|
+
type CreateProjectFileUploadResponseRef2 = {
|
|
2159
|
+
method: 'put';
|
|
2160
|
+
url: string;
|
|
2161
|
+
headers: Record<string, string>;
|
|
2162
|
+
expiresAt: string;
|
|
2163
|
+
};
|
|
2164
|
+
type CreateProjectFileUploadResponseRef3 = {
|
|
2165
|
+
method: 'multipart';
|
|
2166
|
+
partSize: number;
|
|
2167
|
+
partCount: number;
|
|
2168
|
+
};
|
|
2169
|
+
type CreateProjectFileUploadResponseRef4 = {
|
|
2170
|
+
session: CreateProjectFileUploadResponseRef1;
|
|
2171
|
+
uploadToken: string;
|
|
2172
|
+
transfer: CreateProjectFileUploadResponseRef2 | CreateProjectFileUploadResponseRef3;
|
|
2173
|
+
};
|
|
2174
|
+
export type CreateProjectFileUploadResponse = {
|
|
2175
|
+
data: CreateProjectFileUploadResponseRef4;
|
|
2176
|
+
};
|
|
1960
2177
|
/** `POST /api/v2/sandboxes` */
|
|
1961
2178
|
export type CreateSandboxQuery = Record<string, unknown>;
|
|
1962
2179
|
export type CreateSandboxBody = {
|
|
@@ -2828,6 +3045,20 @@ type DeletePermissionGroupResponseRef0 = {
|
|
|
2828
3045
|
export type DeletePermissionGroupResponse = {
|
|
2829
3046
|
data: DeletePermissionGroupResponseRef0;
|
|
2830
3047
|
};
|
|
3048
|
+
/** `DELETE /api/v2/projects/[projectId]/files/[fileId]/versions/[version]` */
|
|
3049
|
+
export type DeleteProjectFileVersionParams = {
|
|
3050
|
+
projectId: string;
|
|
3051
|
+
fileId: string;
|
|
3052
|
+
version: number;
|
|
3053
|
+
};
|
|
3054
|
+
export type DeleteProjectFileVersionQuery = Record<string, unknown>;
|
|
3055
|
+
export type DeleteProjectFileVersionResponse = {
|
|
3056
|
+
data: {
|
|
3057
|
+
fileId: string;
|
|
3058
|
+
version: number;
|
|
3059
|
+
deleted: true;
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
2831
3062
|
/** `DELETE /api/v2/sandboxes/[sandboxId]` */
|
|
2832
3063
|
export type DeleteSandboxParams = {
|
|
2833
3064
|
sandboxId: string;
|
|
@@ -4567,6 +4798,122 @@ type GetPermissionGroupResponseRef0 = {
|
|
|
4567
4798
|
export type GetPermissionGroupResponse = {
|
|
4568
4799
|
data: GetPermissionGroupResponseRef0;
|
|
4569
4800
|
};
|
|
4801
|
+
/** `GET /api/v2/projects/[projectId]/files/[fileId]/metadata` */
|
|
4802
|
+
export type GetProjectFileMetadataParams = {
|
|
4803
|
+
projectId: string;
|
|
4804
|
+
fileId: string;
|
|
4805
|
+
};
|
|
4806
|
+
export type GetProjectFileMetadataQuery = Record<string, unknown>;
|
|
4807
|
+
type GetProjectFileMetadataResponseRef0 = {
|
|
4808
|
+
id: string;
|
|
4809
|
+
name: string;
|
|
4810
|
+
size: number;
|
|
4811
|
+
type: string;
|
|
4812
|
+
key: string;
|
|
4813
|
+
folderPath: string;
|
|
4814
|
+
uploadedAt: string;
|
|
4815
|
+
updatedAt: string;
|
|
4816
|
+
deletedAt: string | null;
|
|
4817
|
+
owner: {
|
|
4818
|
+
entityType: 'project';
|
|
4819
|
+
entityId: string;
|
|
4820
|
+
};
|
|
4821
|
+
uploadedBy: string;
|
|
4822
|
+
revision?: string;
|
|
4823
|
+
};
|
|
4824
|
+
export type GetProjectFileMetadataResponse = {
|
|
4825
|
+
data: GetProjectFileMetadataResponseRef0;
|
|
4826
|
+
};
|
|
4827
|
+
/** `GET /api/v2/projects/[projectId]/files/uploads/[uploadId]` */
|
|
4828
|
+
export type GetProjectFileUploadParams = {
|
|
4829
|
+
projectId: string;
|
|
4830
|
+
uploadId: string;
|
|
4831
|
+
};
|
|
4832
|
+
export type GetProjectFileUploadQuery = Record<string, unknown>;
|
|
4833
|
+
export type GetProjectFileUploadHeaders = {
|
|
4834
|
+
'upload-token': string;
|
|
4835
|
+
};
|
|
4836
|
+
type GetProjectFileUploadResponseRef0 = {
|
|
4837
|
+
id: string;
|
|
4838
|
+
name: string;
|
|
4839
|
+
size: number;
|
|
4840
|
+
type: string;
|
|
4841
|
+
key: string;
|
|
4842
|
+
folderPath: string;
|
|
4843
|
+
uploadedAt: string;
|
|
4844
|
+
updatedAt: string;
|
|
4845
|
+
deletedAt: string | null;
|
|
4846
|
+
owner: {
|
|
4847
|
+
entityType: 'project';
|
|
4848
|
+
entityId: string;
|
|
4849
|
+
};
|
|
4850
|
+
uploadedBy: string;
|
|
4851
|
+
revision?: string;
|
|
4852
|
+
};
|
|
4853
|
+
type GetProjectFileUploadResponseRef1 = {
|
|
4854
|
+
id: string;
|
|
4855
|
+
status: 'uploading' | 'completing' | 'finalizing' | 'completed' | 'failed' | 'aborting' | 'aborted' | 'expired';
|
|
4856
|
+
name: string;
|
|
4857
|
+
contentType: string;
|
|
4858
|
+
size: number;
|
|
4859
|
+
expiresAt: string;
|
|
4860
|
+
error: string | null;
|
|
4861
|
+
file: GetProjectFileUploadResponseRef0 | null;
|
|
4862
|
+
};
|
|
4863
|
+
export type GetProjectFileUploadResponse = {
|
|
4864
|
+
data: GetProjectFileUploadResponseRef1;
|
|
4865
|
+
};
|
|
4866
|
+
/** `POST /api/v2/projects/[projectId]/files/uploads/[uploadId]/parts` */
|
|
4867
|
+
export type GetProjectFileUploadPartUrlsParams = {
|
|
4868
|
+
projectId: string;
|
|
4869
|
+
uploadId: string;
|
|
4870
|
+
};
|
|
4871
|
+
export type GetProjectFileUploadPartUrlsQuery = Record<string, unknown>;
|
|
4872
|
+
export type GetProjectFileUploadPartUrlsBody = {
|
|
4873
|
+
partNumbers: Array<number>;
|
|
4874
|
+
};
|
|
4875
|
+
export type GetProjectFileUploadPartUrlsHeaders = {
|
|
4876
|
+
'upload-token': string;
|
|
4877
|
+
};
|
|
4878
|
+
type GetProjectFileUploadPartUrlsResponseRef0 = {
|
|
4879
|
+
partNumber: number;
|
|
4880
|
+
url: string;
|
|
4881
|
+
headers: Record<string, string>;
|
|
4882
|
+
expiresAt: string;
|
|
4883
|
+
};
|
|
4884
|
+
type GetProjectFileUploadPartUrlsResponseRef1 = {
|
|
4885
|
+
parts: Array<GetProjectFileUploadPartUrlsResponseRef0>;
|
|
4886
|
+
};
|
|
4887
|
+
export type GetProjectFileUploadPartUrlsResponse = {
|
|
4888
|
+
data: GetProjectFileUploadPartUrlsResponseRef1;
|
|
4889
|
+
};
|
|
4890
|
+
/** `GET /api/v2/projects/[projectId]/files/[fileId]/versions/[version]` */
|
|
4891
|
+
export type GetProjectFileVersionParams = {
|
|
4892
|
+
projectId: string;
|
|
4893
|
+
fileId: string;
|
|
4894
|
+
version: number;
|
|
4895
|
+
};
|
|
4896
|
+
export type GetProjectFileVersionQuery = Record<string, unknown>;
|
|
4897
|
+
type GetProjectFileVersionResponseRef0 = GetProjectFileVersionResponseRef1;
|
|
4898
|
+
type GetProjectFileVersionResponseRef1 = {
|
|
4899
|
+
fileId: string;
|
|
4900
|
+
version: number;
|
|
4901
|
+
isCurrent: boolean;
|
|
4902
|
+
size: number;
|
|
4903
|
+
contentType: string;
|
|
4904
|
+
source: 'upload' | 'user' | 'api' | 'copilot' | 'workflow' | 'collab' | 'revert' | 'unknown';
|
|
4905
|
+
authors: Array<{
|
|
4906
|
+
id: string;
|
|
4907
|
+
email: string | null;
|
|
4908
|
+
}>;
|
|
4909
|
+
restoredFromVersion: number | null;
|
|
4910
|
+
createdAt: string;
|
|
4911
|
+
updatedAt: string;
|
|
4912
|
+
supersededAt: string | null;
|
|
4913
|
+
};
|
|
4914
|
+
export type GetProjectFileVersionResponse = {
|
|
4915
|
+
data: GetProjectFileVersionResponseRef0;
|
|
4916
|
+
};
|
|
4570
4917
|
/** `GET /api/v2/tables/[tableId]/rows/[rowId]/enrichment/[groupId]` */
|
|
4571
4918
|
export type GetRowEnrichmentParams = {
|
|
4572
4919
|
tableId: string;
|
|
@@ -6801,6 +7148,99 @@ export type ListPermissionGroupsResponse = {
|
|
|
6801
7148
|
data: Array<ListPermissionGroupsResponseRef0>;
|
|
6802
7149
|
nextCursor: string | null;
|
|
6803
7150
|
};
|
|
7151
|
+
/** `GET /api/v2/projects/[projectId]/files/folders` */
|
|
7152
|
+
export type ListProjectFileFoldersParams = {
|
|
7153
|
+
projectId: string;
|
|
7154
|
+
};
|
|
7155
|
+
export type ListProjectFileFoldersQuery = {
|
|
7156
|
+
scope?: 'active' | 'archived' | 'all';
|
|
7157
|
+
};
|
|
7158
|
+
export type ListProjectFileFoldersResponse = {
|
|
7159
|
+
data: Array<{
|
|
7160
|
+
id: string;
|
|
7161
|
+
userId: string;
|
|
7162
|
+
name: string;
|
|
7163
|
+
parentId: string | null;
|
|
7164
|
+
path: string;
|
|
7165
|
+
sortOrder: number;
|
|
7166
|
+
deletedAt: string | null;
|
|
7167
|
+
createdAt: string;
|
|
7168
|
+
updatedAt: string;
|
|
7169
|
+
owner: {
|
|
7170
|
+
entityType: 'project';
|
|
7171
|
+
entityId: string;
|
|
7172
|
+
};
|
|
7173
|
+
}>;
|
|
7174
|
+
nextCursor: string | null;
|
|
7175
|
+
};
|
|
7176
|
+
/** `GET /api/v2/projects/[projectId]/files` */
|
|
7177
|
+
export type ListProjectFilesParams = {
|
|
7178
|
+
projectId: string;
|
|
7179
|
+
};
|
|
7180
|
+
type ListProjectFilesQueryRef0 = string;
|
|
7181
|
+
export type ListProjectFilesQuery = {
|
|
7182
|
+
folderPath?: ListProjectFilesQueryRef0;
|
|
7183
|
+
recursive?: 'true' | '1' | 'yes' | 'on' | 'y' | 'enabled' | 'false' | '0' | 'no' | 'off' | 'n' | 'disabled';
|
|
7184
|
+
scope?: 'active' | 'archived';
|
|
7185
|
+
search?: string;
|
|
7186
|
+
sortBy?: 'name' | 'size' | 'uploadedAt' | 'updatedAt';
|
|
7187
|
+
sortOrder?: 'asc' | 'desc';
|
|
7188
|
+
limit?: number;
|
|
7189
|
+
cursor?: string;
|
|
7190
|
+
};
|
|
7191
|
+
type ListProjectFilesResponseRef0 = {
|
|
7192
|
+
id: string;
|
|
7193
|
+
name: string;
|
|
7194
|
+
size: number;
|
|
7195
|
+
type: string;
|
|
7196
|
+
key: string;
|
|
7197
|
+
folderPath: string;
|
|
7198
|
+
uploadedAt: string;
|
|
7199
|
+
updatedAt: string;
|
|
7200
|
+
deletedAt: string | null;
|
|
7201
|
+
owner: {
|
|
7202
|
+
entityType: 'project';
|
|
7203
|
+
entityId: string;
|
|
7204
|
+
};
|
|
7205
|
+
uploadedBy: string;
|
|
7206
|
+
revision?: string;
|
|
7207
|
+
};
|
|
7208
|
+
export type ListProjectFilesResponse = {
|
|
7209
|
+
data: Array<ListProjectFilesResponseRef0>;
|
|
7210
|
+
nextCursor: string | null;
|
|
7211
|
+
};
|
|
7212
|
+
/** `GET /api/v2/projects/[projectId]/files/[fileId]/versions` */
|
|
7213
|
+
export type ListProjectFileVersionsParams = {
|
|
7214
|
+
projectId: string;
|
|
7215
|
+
fileId: string;
|
|
7216
|
+
};
|
|
7217
|
+
export type ListProjectFileVersionsQuery = {
|
|
7218
|
+
sortBy?: 'version';
|
|
7219
|
+
sortOrder?: 'asc' | 'desc';
|
|
7220
|
+
limit?: number;
|
|
7221
|
+
cursor?: string;
|
|
7222
|
+
};
|
|
7223
|
+
type ListProjectFileVersionsResponseRef0 = ListProjectFileVersionsResponseRef1;
|
|
7224
|
+
type ListProjectFileVersionsResponseRef1 = {
|
|
7225
|
+
fileId: string;
|
|
7226
|
+
version: number;
|
|
7227
|
+
isCurrent: boolean;
|
|
7228
|
+
size: number;
|
|
7229
|
+
contentType: string;
|
|
7230
|
+
source: 'upload' | 'user' | 'api' | 'copilot' | 'workflow' | 'collab' | 'revert' | 'unknown';
|
|
7231
|
+
authors: Array<{
|
|
7232
|
+
id: string;
|
|
7233
|
+
email: string | null;
|
|
7234
|
+
}>;
|
|
7235
|
+
restoredFromVersion: number | null;
|
|
7236
|
+
createdAt: string;
|
|
7237
|
+
updatedAt: string;
|
|
7238
|
+
supersededAt: string | null;
|
|
7239
|
+
};
|
|
7240
|
+
export type ListProjectFileVersionsResponse = {
|
|
7241
|
+
data: Array<ListProjectFileVersionsResponseRef0>;
|
|
7242
|
+
nextCursor: string | null;
|
|
7243
|
+
};
|
|
6804
7244
|
/** `GET /api/v2/sandboxes` */
|
|
6805
7245
|
export type ListSandboxesQuery = {
|
|
6806
7246
|
workspaceId: string;
|
|
@@ -7471,6 +7911,25 @@ type MoveFileItemsResponseRef0 = {
|
|
|
7471
7911
|
export type MoveFileItemsResponse = {
|
|
7472
7912
|
data: MoveFileItemsResponseRef0;
|
|
7473
7913
|
};
|
|
7914
|
+
/** `POST /api/v2/projects/[projectId]/files/move` */
|
|
7915
|
+
export type MoveProjectFileItemsParams = {
|
|
7916
|
+
projectId: string;
|
|
7917
|
+
};
|
|
7918
|
+
export type MoveProjectFileItemsQuery = Record<string, unknown>;
|
|
7919
|
+
type MoveProjectFileItemsBodyRef0 = string;
|
|
7920
|
+
export type MoveProjectFileItemsBody = {
|
|
7921
|
+
fileIds?: Array<string>;
|
|
7922
|
+
folderIds?: Array<string>;
|
|
7923
|
+
targetFolderPath?: MoveProjectFileItemsBodyRef0;
|
|
7924
|
+
};
|
|
7925
|
+
export type MoveProjectFileItemsResponse = {
|
|
7926
|
+
data: {
|
|
7927
|
+
movedFiles: number;
|
|
7928
|
+
movedFolders: number;
|
|
7929
|
+
movedFileIds: Array<string>;
|
|
7930
|
+
movedFolderIds: Array<string>;
|
|
7931
|
+
};
|
|
7932
|
+
};
|
|
7474
7933
|
/** `POST /api/v2/tables/move` */
|
|
7475
7934
|
export type MoveTablesQuery = Record<string, unknown>;
|
|
7476
7935
|
type MoveTablesBodyRef0 = string;
|
|
@@ -8304,6 +8763,23 @@ type ReadFileVersionTextResponseRef0 = {
|
|
|
8304
8763
|
export type ReadFileVersionTextResponse = {
|
|
8305
8764
|
data: ReadFileVersionTextResponseRef0;
|
|
8306
8765
|
};
|
|
8766
|
+
/** `GET /api/v2/projects/[projectId]/files/[fileId]/content` */
|
|
8767
|
+
export type ReadProjectFileContentParams = {
|
|
8768
|
+
projectId: string;
|
|
8769
|
+
fileId: string;
|
|
8770
|
+
};
|
|
8771
|
+
export type ReadProjectFileContentQuery = Record<string, unknown>;
|
|
8772
|
+
/** Non-JSON response (`binary`). */
|
|
8773
|
+
export type ReadProjectFileContentResponse = never;
|
|
8774
|
+
/** `GET /api/v2/projects/[projectId]/files/[fileId]/versions/[version]/content` */
|
|
8775
|
+
export type ReadProjectFileVersionContentParams = {
|
|
8776
|
+
projectId: string;
|
|
8777
|
+
fileId: string;
|
|
8778
|
+
version: number;
|
|
8779
|
+
};
|
|
8780
|
+
export type ReadProjectFileVersionContentQuery = Record<string, unknown>;
|
|
8781
|
+
/** Non-JSON response (`binary`). */
|
|
8782
|
+
export type ReadProjectFileVersionContentResponse = never;
|
|
8307
8783
|
/** `PATCH /api/v2/files/folders` */
|
|
8308
8784
|
export type RelocateFileFolderQuery = Record<string, unknown>;
|
|
8309
8785
|
type RelocateFileFolderBodyRef0 = string;
|
|
@@ -8459,6 +8935,35 @@ type RenameFileResponseRef0 = {
|
|
|
8459
8935
|
export type RenameFileResponse = {
|
|
8460
8936
|
data: RenameFileResponseRef0;
|
|
8461
8937
|
};
|
|
8938
|
+
/** `PATCH /api/v2/projects/[projectId]/files/[fileId]` */
|
|
8939
|
+
export type RenameProjectFileParams = {
|
|
8940
|
+
projectId: string;
|
|
8941
|
+
fileId: string;
|
|
8942
|
+
};
|
|
8943
|
+
export type RenameProjectFileQuery = Record<string, unknown>;
|
|
8944
|
+
export type RenameProjectFileBody = {
|
|
8945
|
+
name: string;
|
|
8946
|
+
};
|
|
8947
|
+
type RenameProjectFileResponseRef0 = {
|
|
8948
|
+
id: string;
|
|
8949
|
+
name: string;
|
|
8950
|
+
size: number;
|
|
8951
|
+
type: string;
|
|
8952
|
+
key: string;
|
|
8953
|
+
folderPath: string;
|
|
8954
|
+
uploadedAt: string;
|
|
8955
|
+
updatedAt: string;
|
|
8956
|
+
deletedAt: string | null;
|
|
8957
|
+
owner: {
|
|
8958
|
+
entityType: 'project';
|
|
8959
|
+
entityId: string;
|
|
8960
|
+
};
|
|
8961
|
+
uploadedBy: string;
|
|
8962
|
+
revision?: string;
|
|
8963
|
+
};
|
|
8964
|
+
export type RenameProjectFileResponse = {
|
|
8965
|
+
data: RenameProjectFileResponseRef0;
|
|
8966
|
+
};
|
|
8462
8967
|
/** `PUT /api/v2/workflows/[workflowId]/deployments/chat` */
|
|
8463
8968
|
export type ReplaceWorkflowChatDeploymentParams = {
|
|
8464
8969
|
workflowId: string;
|
|
@@ -8857,6 +9362,63 @@ type RestoreKnowledgeBaseResponseRef1 = {
|
|
|
8857
9362
|
export type RestoreKnowledgeBaseResponse = {
|
|
8858
9363
|
data: RestoreKnowledgeBaseResponseRef1;
|
|
8859
9364
|
};
|
|
9365
|
+
/** `POST /api/v2/projects/[projectId]/files/[fileId]/restore` */
|
|
9366
|
+
export type RestoreProjectFileParams = {
|
|
9367
|
+
projectId: string;
|
|
9368
|
+
fileId: string;
|
|
9369
|
+
};
|
|
9370
|
+
export type RestoreProjectFileQuery = Record<string, unknown>;
|
|
9371
|
+
export type RestoreProjectFileBody = Record<string, unknown>;
|
|
9372
|
+
type RestoreProjectFileResponseRef0 = {
|
|
9373
|
+
id: string;
|
|
9374
|
+
name: string;
|
|
9375
|
+
size: number;
|
|
9376
|
+
type: string;
|
|
9377
|
+
key: string;
|
|
9378
|
+
folderPath: string;
|
|
9379
|
+
uploadedAt: string;
|
|
9380
|
+
updatedAt: string;
|
|
9381
|
+
deletedAt: string | null;
|
|
9382
|
+
owner: {
|
|
9383
|
+
entityType: 'project';
|
|
9384
|
+
entityId: string;
|
|
9385
|
+
};
|
|
9386
|
+
uploadedBy: string;
|
|
9387
|
+
revision?: string;
|
|
9388
|
+
};
|
|
9389
|
+
export type RestoreProjectFileResponse = {
|
|
9390
|
+
data: RestoreProjectFileResponseRef0;
|
|
9391
|
+
};
|
|
9392
|
+
/** `POST /api/v2/projects/[projectId]/files/folders/[folderId]/restore` */
|
|
9393
|
+
export type RestoreProjectFileFolderParams = {
|
|
9394
|
+
projectId: string;
|
|
9395
|
+
folderId: string;
|
|
9396
|
+
};
|
|
9397
|
+
export type RestoreProjectFileFolderQuery = Record<string, unknown>;
|
|
9398
|
+
export type RestoreProjectFileFolderBody = Record<string, unknown>;
|
|
9399
|
+
export type RestoreProjectFileFolderResponse = {
|
|
9400
|
+
data: {
|
|
9401
|
+
folder: {
|
|
9402
|
+
id: string;
|
|
9403
|
+
userId: string;
|
|
9404
|
+
name: string;
|
|
9405
|
+
parentId: string | null;
|
|
9406
|
+
path: string;
|
|
9407
|
+
sortOrder: number;
|
|
9408
|
+
deletedAt: string | null;
|
|
9409
|
+
createdAt: string;
|
|
9410
|
+
updatedAt: string;
|
|
9411
|
+
owner: {
|
|
9412
|
+
entityType: 'project';
|
|
9413
|
+
entityId: string;
|
|
9414
|
+
};
|
|
9415
|
+
};
|
|
9416
|
+
restoredItems: {
|
|
9417
|
+
files: number;
|
|
9418
|
+
folders: number;
|
|
9419
|
+
};
|
|
9420
|
+
};
|
|
9421
|
+
};
|
|
8860
9422
|
/** `POST /api/v2/tables/[tableId]/restore` */
|
|
8861
9423
|
export type RestoreTableParams = {
|
|
8862
9424
|
tableId: string;
|
|
@@ -9043,6 +9605,59 @@ type RevertFileVersionResponseRef2 = {
|
|
|
9043
9605
|
export type RevertFileVersionResponse = {
|
|
9044
9606
|
data: RevertFileVersionResponseRef2;
|
|
9045
9607
|
};
|
|
9608
|
+
/** `POST /api/v2/projects/[projectId]/files/[fileId]/versions/[version]/revert` */
|
|
9609
|
+
export type RevertProjectFileVersionParams = {
|
|
9610
|
+
projectId: string;
|
|
9611
|
+
fileId: string;
|
|
9612
|
+
version: number;
|
|
9613
|
+
};
|
|
9614
|
+
export type RevertProjectFileVersionQuery = Record<string, unknown>;
|
|
9615
|
+
export type RevertProjectFileVersionBody = {
|
|
9616
|
+
expectedCurrentVersion?: number;
|
|
9617
|
+
expectedRevision?: string;
|
|
9618
|
+
};
|
|
9619
|
+
type RevertProjectFileVersionResponseRef0 = {
|
|
9620
|
+
id: string;
|
|
9621
|
+
name: string;
|
|
9622
|
+
size: number;
|
|
9623
|
+
type: string;
|
|
9624
|
+
key: string;
|
|
9625
|
+
folderPath: string;
|
|
9626
|
+
uploadedAt: string;
|
|
9627
|
+
updatedAt: string;
|
|
9628
|
+
deletedAt: string | null;
|
|
9629
|
+
owner: {
|
|
9630
|
+
entityType: 'project';
|
|
9631
|
+
entityId: string;
|
|
9632
|
+
};
|
|
9633
|
+
uploadedBy: string;
|
|
9634
|
+
revision?: string;
|
|
9635
|
+
};
|
|
9636
|
+
type RevertProjectFileVersionResponseRef1 = RevertProjectFileVersionResponseRef2;
|
|
9637
|
+
type RevertProjectFileVersionResponseRef2 = {
|
|
9638
|
+
fileId: string;
|
|
9639
|
+
version: number;
|
|
9640
|
+
isCurrent: boolean;
|
|
9641
|
+
size: number;
|
|
9642
|
+
contentType: string;
|
|
9643
|
+
source: 'upload' | 'user' | 'api' | 'copilot' | 'workflow' | 'collab' | 'revert' | 'unknown';
|
|
9644
|
+
authors: Array<{
|
|
9645
|
+
id: string;
|
|
9646
|
+
email: string | null;
|
|
9647
|
+
}>;
|
|
9648
|
+
restoredFromVersion: number | null;
|
|
9649
|
+
createdAt: string;
|
|
9650
|
+
updatedAt: string;
|
|
9651
|
+
supersededAt: string | null;
|
|
9652
|
+
};
|
|
9653
|
+
export type RevertProjectFileVersionResponse = {
|
|
9654
|
+
data: {
|
|
9655
|
+
reverted: boolean;
|
|
9656
|
+
file: RevertProjectFileVersionResponseRef0;
|
|
9657
|
+
version: RevertProjectFileVersionResponseRef1;
|
|
9658
|
+
revision?: string;
|
|
9659
|
+
};
|
|
9660
|
+
};
|
|
9046
9661
|
/** `POST /api/v2/workflows/[workflowId]/versions/[version]/revert` */
|
|
9047
9662
|
export type RevertWorkflowVersionParams = {
|
|
9048
9663
|
version: number | 'active';
|
|
@@ -10044,6 +10659,65 @@ type UpdatePermissionGroupResponseRef0 = {
|
|
|
10044
10659
|
export type UpdatePermissionGroupResponse = {
|
|
10045
10660
|
data: UpdatePermissionGroupResponseRef0;
|
|
10046
10661
|
};
|
|
10662
|
+
/** `PUT /api/v2/projects/[projectId]/files/[fileId]/content` */
|
|
10663
|
+
export type UpdateProjectFileContentParams = {
|
|
10664
|
+
projectId: string;
|
|
10665
|
+
fileId: string;
|
|
10666
|
+
};
|
|
10667
|
+
export type UpdateProjectFileContentQuery = Record<string, unknown>;
|
|
10668
|
+
export type UpdateProjectFileContentBody = {
|
|
10669
|
+
content: string;
|
|
10670
|
+
encoding?: 'utf-8' | 'base64';
|
|
10671
|
+
expectedRevision?: string;
|
|
10672
|
+
};
|
|
10673
|
+
type UpdateProjectFileContentResponseRef0 = {
|
|
10674
|
+
id: string;
|
|
10675
|
+
name: string;
|
|
10676
|
+
size: number;
|
|
10677
|
+
type: string;
|
|
10678
|
+
key: string;
|
|
10679
|
+
folderPath: string;
|
|
10680
|
+
uploadedAt: string;
|
|
10681
|
+
updatedAt: string;
|
|
10682
|
+
deletedAt: string | null;
|
|
10683
|
+
owner: {
|
|
10684
|
+
entityType: 'project';
|
|
10685
|
+
entityId: string;
|
|
10686
|
+
};
|
|
10687
|
+
uploadedBy: string;
|
|
10688
|
+
revision?: string;
|
|
10689
|
+
};
|
|
10690
|
+
export type UpdateProjectFileContentResponse = {
|
|
10691
|
+
data: UpdateProjectFileContentResponseRef0;
|
|
10692
|
+
};
|
|
10693
|
+
/** `PATCH /api/v2/projects/[projectId]/files/folders/[folderId]` */
|
|
10694
|
+
export type UpdateProjectFileFolderParams = {
|
|
10695
|
+
projectId: string;
|
|
10696
|
+
folderId: string;
|
|
10697
|
+
};
|
|
10698
|
+
export type UpdateProjectFileFolderQuery = Record<string, unknown>;
|
|
10699
|
+
export type UpdateProjectFileFolderBody = {
|
|
10700
|
+
name?: string;
|
|
10701
|
+
parentId?: string | null;
|
|
10702
|
+
sortOrder?: number;
|
|
10703
|
+
};
|
|
10704
|
+
export type UpdateProjectFileFolderResponse = {
|
|
10705
|
+
data: {
|
|
10706
|
+
id: string;
|
|
10707
|
+
userId: string;
|
|
10708
|
+
name: string;
|
|
10709
|
+
parentId: string | null;
|
|
10710
|
+
path: string;
|
|
10711
|
+
sortOrder: number;
|
|
10712
|
+
deletedAt: string | null;
|
|
10713
|
+
createdAt: string;
|
|
10714
|
+
updatedAt: string;
|
|
10715
|
+
owner: {
|
|
10716
|
+
entityType: 'project';
|
|
10717
|
+
entityId: string;
|
|
10718
|
+
};
|
|
10719
|
+
};
|
|
10720
|
+
};
|
|
10047
10721
|
/** `PATCH /api/v2/tables/[tableId]/rows` */
|
|
10048
10722
|
export type UpdateRowsByFilterParams = {
|
|
10049
10723
|
tableId: string;
|
|
@@ -10742,6 +11416,25 @@ export declare const V2_OPERATIONS: {
|
|
|
10742
11416
|
};
|
|
10743
11417
|
};
|
|
10744
11418
|
};
|
|
11419
|
+
readonly abortProjectFileUpload: {
|
|
11420
|
+
readonly method: 'DELETE';
|
|
11421
|
+
readonly path: '/api/v2/projects/[projectId]/files/uploads/[uploadId]';
|
|
11422
|
+
readonly pathParams: readonly ['projectId', 'uploadId'];
|
|
11423
|
+
readonly pathParamDocs: {
|
|
11424
|
+
readonly projectId: 'Project identifier.';
|
|
11425
|
+
readonly uploadId: 'Upload session identifier within the Project.';
|
|
11426
|
+
};
|
|
11427
|
+
readonly responseMode: 'json';
|
|
11428
|
+
readonly summary: 'Abort Project file upload';
|
|
11429
|
+
readonly workspaceKeyUnsupported: true;
|
|
11430
|
+
readonly headers: {
|
|
11431
|
+
readonly 'upload-token': {
|
|
11432
|
+
readonly kind: 'string';
|
|
11433
|
+
readonly required: true;
|
|
11434
|
+
readonly describe: 'Signed upload control token returned when the upload session was created.';
|
|
11435
|
+
};
|
|
11436
|
+
};
|
|
11437
|
+
};
|
|
10745
11438
|
readonly activateWorkflowVersion: {
|
|
10746
11439
|
readonly method: 'POST';
|
|
10747
11440
|
readonly path: '/api/v2/workflows/[workflowId]/versions/[version]/activate';
|
|
@@ -10924,6 +11617,29 @@ export declare const V2_OPERATIONS: {
|
|
|
10924
11617
|
};
|
|
10925
11618
|
};
|
|
10926
11619
|
};
|
|
11620
|
+
readonly archiveProjectFileItems: {
|
|
11621
|
+
readonly method: 'POST';
|
|
11622
|
+
readonly path: '/api/v2/projects/[projectId]/files/archive';
|
|
11623
|
+
readonly pathParams: readonly ['projectId'];
|
|
11624
|
+
readonly pathParamDocs: {
|
|
11625
|
+
readonly projectId: 'Project identifier.';
|
|
11626
|
+
};
|
|
11627
|
+
readonly responseMode: 'json';
|
|
11628
|
+
readonly summary: 'Archive Project File Items';
|
|
11629
|
+
readonly workspaceKeyUnsupported: true;
|
|
11630
|
+
readonly body: {
|
|
11631
|
+
readonly fileIds: {
|
|
11632
|
+
readonly kind: 'array';
|
|
11633
|
+
readonly default: readonly [];
|
|
11634
|
+
readonly describe: 'Identifiers of the files to archive.';
|
|
11635
|
+
};
|
|
11636
|
+
readonly folderIds: {
|
|
11637
|
+
readonly kind: 'array';
|
|
11638
|
+
readonly default: readonly [];
|
|
11639
|
+
readonly describe: 'Identifiers of folders to archive recursively, including their files and descendants.';
|
|
11640
|
+
};
|
|
11641
|
+
};
|
|
11642
|
+
};
|
|
10927
11643
|
readonly bulkAddPermissionGroupMembers: {
|
|
10928
11644
|
readonly method: 'POST';
|
|
10929
11645
|
readonly path: '/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members/bulk';
|
|
@@ -11349,6 +12065,25 @@ export declare const V2_OPERATIONS: {
|
|
|
11349
12065
|
};
|
|
11350
12066
|
};
|
|
11351
12067
|
};
|
|
12068
|
+
readonly completeProjectFileUpload: {
|
|
12069
|
+
readonly method: 'POST';
|
|
12070
|
+
readonly path: '/api/v2/projects/[projectId]/files/uploads/[uploadId]/complete';
|
|
12071
|
+
readonly pathParams: readonly ['projectId', 'uploadId'];
|
|
12072
|
+
readonly pathParamDocs: {
|
|
12073
|
+
readonly projectId: 'Project identifier.';
|
|
12074
|
+
readonly uploadId: 'Upload session identifier within the Project.';
|
|
12075
|
+
};
|
|
12076
|
+
readonly responseMode: 'json';
|
|
12077
|
+
readonly summary: 'Complete Project file upload';
|
|
12078
|
+
readonly workspaceKeyUnsupported: true;
|
|
12079
|
+
readonly headers: {
|
|
12080
|
+
readonly 'upload-token': {
|
|
12081
|
+
readonly kind: 'string';
|
|
12082
|
+
readonly required: true;
|
|
12083
|
+
readonly describe: 'Signed upload control token returned when the upload session was created.';
|
|
12084
|
+
};
|
|
12085
|
+
};
|
|
12086
|
+
};
|
|
11352
12087
|
readonly completeTableImport: {
|
|
11353
12088
|
readonly method: 'POST';
|
|
11354
12089
|
readonly path: '/api/v2/tables/imports/[importId]/complete';
|
|
@@ -11923,9 +12658,104 @@ export declare const V2_OPERATIONS: {
|
|
|
11923
12658
|
readonly kind: 'boolean';
|
|
11924
12659
|
readonly describe: 'Whether the group is the organization default. Only one group can be the default.';
|
|
11925
12660
|
};
|
|
11926
|
-
readonly workspaceIds: {
|
|
11927
|
-
readonly kind: 'array';
|
|
11928
|
-
readonly describe: 'Workspace IDs targeted by a non-default group. Required when creating a non-default group; omit for a default group.';
|
|
12661
|
+
readonly workspaceIds: {
|
|
12662
|
+
readonly kind: 'array';
|
|
12663
|
+
readonly describe: 'Workspace IDs targeted by a non-default group. Required when creating a non-default group; omit for a default group.';
|
|
12664
|
+
};
|
|
12665
|
+
};
|
|
12666
|
+
};
|
|
12667
|
+
readonly createProjectFile: {
|
|
12668
|
+
readonly method: 'POST';
|
|
12669
|
+
readonly path: '/api/v2/projects/[projectId]/files';
|
|
12670
|
+
readonly pathParams: readonly ['projectId'];
|
|
12671
|
+
readonly pathParamDocs: {
|
|
12672
|
+
readonly projectId: 'Project identifier.';
|
|
12673
|
+
};
|
|
12674
|
+
readonly responseMode: 'json';
|
|
12675
|
+
readonly summary: 'Create Project File';
|
|
12676
|
+
readonly workspaceKeyUnsupported: true;
|
|
12677
|
+
readonly body: {
|
|
12678
|
+
readonly name: {
|
|
12679
|
+
readonly kind: 'string';
|
|
12680
|
+
readonly required: true;
|
|
12681
|
+
readonly describe: 'File name, including its extension. Path separators and dot segments are rejected.';
|
|
12682
|
+
};
|
|
12683
|
+
readonly contentType: {
|
|
12684
|
+
readonly kind: 'string';
|
|
12685
|
+
readonly describe: 'MIME type. When omitted, it is inferred from the file extension.';
|
|
12686
|
+
};
|
|
12687
|
+
readonly content: {
|
|
12688
|
+
readonly kind: 'string';
|
|
12689
|
+
readonly default: '';
|
|
12690
|
+
readonly describe: 'Initial file content. Omit or send an empty string for a zero-byte file. The complete JSON request is capped at 70 MiB, including UTF-8 encoding, escaping, base64, and the envelope. The decoded-file limit is 50 MiB. Use an upload session for larger payloads.';
|
|
12691
|
+
};
|
|
12692
|
+
readonly encoding: {
|
|
12693
|
+
readonly kind: 'enum';
|
|
12694
|
+
readonly values: readonly ['utf-8', 'base64'];
|
|
12695
|
+
readonly default: 'utf-8';
|
|
12696
|
+
readonly describe: 'Encoding of the content field.';
|
|
12697
|
+
};
|
|
12698
|
+
readonly folderPath: {
|
|
12699
|
+
readonly kind: 'string';
|
|
12700
|
+
readonly describe: 'Canonical containing-folder path. Omit for the Project root.';
|
|
12701
|
+
};
|
|
12702
|
+
};
|
|
12703
|
+
};
|
|
12704
|
+
readonly createProjectFileFolder: {
|
|
12705
|
+
readonly method: 'POST';
|
|
12706
|
+
readonly path: '/api/v2/projects/[projectId]/files/folders';
|
|
12707
|
+
readonly pathParams: readonly ['projectId'];
|
|
12708
|
+
readonly pathParamDocs: {
|
|
12709
|
+
readonly projectId: 'Project identifier.';
|
|
12710
|
+
};
|
|
12711
|
+
readonly responseMode: 'json';
|
|
12712
|
+
readonly summary: 'Create Project file folder';
|
|
12713
|
+
readonly workspaceKeyUnsupported: true;
|
|
12714
|
+
readonly body: {
|
|
12715
|
+
readonly name: {
|
|
12716
|
+
readonly kind: 'string';
|
|
12717
|
+
readonly required: true;
|
|
12718
|
+
readonly describe: 'Name for the new folder.';
|
|
12719
|
+
};
|
|
12720
|
+
readonly parentId: {
|
|
12721
|
+
readonly kind: 'string';
|
|
12722
|
+
readonly describe: 'Parent folder identifier; omit or use null for the root.';
|
|
12723
|
+
};
|
|
12724
|
+
};
|
|
12725
|
+
};
|
|
12726
|
+
readonly createProjectFileUpload: {
|
|
12727
|
+
readonly method: 'POST';
|
|
12728
|
+
readonly path: '/api/v2/projects/[projectId]/files/uploads';
|
|
12729
|
+
readonly pathParams: readonly ['projectId'];
|
|
12730
|
+
readonly pathParamDocs: {
|
|
12731
|
+
readonly projectId: 'Project identifier.';
|
|
12732
|
+
};
|
|
12733
|
+
readonly responseMode: 'json';
|
|
12734
|
+
readonly summary: 'Create Project file upload';
|
|
12735
|
+
readonly workspaceKeyUnsupported: true;
|
|
12736
|
+
readonly body: {
|
|
12737
|
+
readonly name: {
|
|
12738
|
+
readonly kind: 'string';
|
|
12739
|
+
readonly required: true;
|
|
12740
|
+
readonly describe: 'File name, including its extension.';
|
|
12741
|
+
};
|
|
12742
|
+
readonly contentType: {
|
|
12743
|
+
readonly kind: 'string';
|
|
12744
|
+
readonly required: true;
|
|
12745
|
+
readonly describe: 'MIME type of the uploaded file.';
|
|
12746
|
+
};
|
|
12747
|
+
readonly size: {
|
|
12748
|
+
readonly kind: 'integer';
|
|
12749
|
+
readonly required: true;
|
|
12750
|
+
readonly describe: 'Exact file size in bytes.';
|
|
12751
|
+
};
|
|
12752
|
+
readonly folderPath: {
|
|
12753
|
+
readonly kind: 'string';
|
|
12754
|
+
readonly describe: 'Canonical destination folder path. Specify either folderId or folderPath, not both.';
|
|
12755
|
+
};
|
|
12756
|
+
readonly folderId: {
|
|
12757
|
+
readonly kind: 'string';
|
|
12758
|
+
readonly describe: 'Destination folder identifier; omit or use null for the Project root.';
|
|
11929
12759
|
};
|
|
11930
12760
|
};
|
|
11931
12761
|
};
|
|
@@ -12672,6 +13502,19 @@ export declare const V2_OPERATIONS: {
|
|
|
12672
13502
|
readonly summary: 'Delete permission group';
|
|
12673
13503
|
readonly workspaceKeyUnsupported: true;
|
|
12674
13504
|
};
|
|
13505
|
+
readonly deleteProjectFileVersion: {
|
|
13506
|
+
readonly method: 'DELETE';
|
|
13507
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/versions/[version]';
|
|
13508
|
+
readonly pathParams: readonly ['projectId', 'fileId', 'version'];
|
|
13509
|
+
readonly pathParamDocs: {
|
|
13510
|
+
readonly projectId: 'Project identifier.';
|
|
13511
|
+
readonly fileId: 'File identifier within the Project.';
|
|
13512
|
+
readonly version: 'Version number.';
|
|
13513
|
+
};
|
|
13514
|
+
readonly responseMode: 'json';
|
|
13515
|
+
readonly summary: 'Delete Project File Version';
|
|
13516
|
+
readonly workspaceKeyUnsupported: true;
|
|
13517
|
+
};
|
|
12675
13518
|
readonly deleteSandbox: {
|
|
12676
13519
|
readonly method: 'DELETE';
|
|
12677
13520
|
readonly path: '/api/v2/sandboxes/[sandboxId]';
|
|
@@ -13840,6 +14683,76 @@ export declare const V2_OPERATIONS: {
|
|
|
13840
14683
|
readonly summary: 'Get permission group';
|
|
13841
14684
|
readonly workspaceKeyUnsupported: true;
|
|
13842
14685
|
};
|
|
14686
|
+
readonly getProjectFileMetadata: {
|
|
14687
|
+
readonly method: 'GET';
|
|
14688
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/metadata';
|
|
14689
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
14690
|
+
readonly pathParamDocs: {
|
|
14691
|
+
readonly projectId: 'Project identifier.';
|
|
14692
|
+
readonly fileId: 'File identifier within the Project.';
|
|
14693
|
+
};
|
|
14694
|
+
readonly responseMode: 'json';
|
|
14695
|
+
readonly summary: 'Get Project File Metadata';
|
|
14696
|
+
readonly workspaceKeyUnsupported: true;
|
|
14697
|
+
};
|
|
14698
|
+
readonly getProjectFileUpload: {
|
|
14699
|
+
readonly method: 'GET';
|
|
14700
|
+
readonly path: '/api/v2/projects/[projectId]/files/uploads/[uploadId]';
|
|
14701
|
+
readonly pathParams: readonly ['projectId', 'uploadId'];
|
|
14702
|
+
readonly pathParamDocs: {
|
|
14703
|
+
readonly projectId: 'Project identifier.';
|
|
14704
|
+
readonly uploadId: 'Upload session identifier within the Project.';
|
|
14705
|
+
};
|
|
14706
|
+
readonly responseMode: 'json';
|
|
14707
|
+
readonly summary: 'Get Project file upload';
|
|
14708
|
+
readonly workspaceKeyUnsupported: true;
|
|
14709
|
+
readonly headers: {
|
|
14710
|
+
readonly 'upload-token': {
|
|
14711
|
+
readonly kind: 'string';
|
|
14712
|
+
readonly required: true;
|
|
14713
|
+
readonly describe: 'Signed upload control token returned when the upload session was created.';
|
|
14714
|
+
};
|
|
14715
|
+
};
|
|
14716
|
+
};
|
|
14717
|
+
readonly getProjectFileUploadPartUrls: {
|
|
14718
|
+
readonly method: 'POST';
|
|
14719
|
+
readonly path: '/api/v2/projects/[projectId]/files/uploads/[uploadId]/parts';
|
|
14720
|
+
readonly pathParams: readonly ['projectId', 'uploadId'];
|
|
14721
|
+
readonly pathParamDocs: {
|
|
14722
|
+
readonly projectId: 'Project identifier.';
|
|
14723
|
+
readonly uploadId: 'Upload session identifier within the Project.';
|
|
14724
|
+
};
|
|
14725
|
+
readonly responseMode: 'json';
|
|
14726
|
+
readonly summary: 'Get Project file upload part URLs';
|
|
14727
|
+
readonly workspaceKeyUnsupported: true;
|
|
14728
|
+
readonly body: {
|
|
14729
|
+
readonly partNumbers: {
|
|
14730
|
+
readonly kind: 'array';
|
|
14731
|
+
readonly required: true;
|
|
14732
|
+
readonly describe: 'Multipart part numbers for which signed URLs should be created.';
|
|
14733
|
+
};
|
|
14734
|
+
};
|
|
14735
|
+
readonly headers: {
|
|
14736
|
+
readonly 'upload-token': {
|
|
14737
|
+
readonly kind: 'string';
|
|
14738
|
+
readonly required: true;
|
|
14739
|
+
readonly describe: 'Signed upload control token returned when the upload session was created.';
|
|
14740
|
+
};
|
|
14741
|
+
};
|
|
14742
|
+
};
|
|
14743
|
+
readonly getProjectFileVersion: {
|
|
14744
|
+
readonly method: 'GET';
|
|
14745
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/versions/[version]';
|
|
14746
|
+
readonly pathParams: readonly ['projectId', 'fileId', 'version'];
|
|
14747
|
+
readonly pathParamDocs: {
|
|
14748
|
+
readonly projectId: 'Project identifier.';
|
|
14749
|
+
readonly fileId: 'File identifier within the Project.';
|
|
14750
|
+
readonly version: 'Version number.';
|
|
14751
|
+
};
|
|
14752
|
+
readonly responseMode: 'json';
|
|
14753
|
+
readonly summary: 'Get Project File Version';
|
|
14754
|
+
readonly workspaceKeyUnsupported: true;
|
|
14755
|
+
};
|
|
13843
14756
|
readonly getRowEnrichment: {
|
|
13844
14757
|
readonly method: 'GET';
|
|
13845
14758
|
readonly path: '/api/v2/tables/[tableId]/rows/[rowId]/enrichment/[groupId]';
|
|
@@ -15805,6 +16718,113 @@ export declare const V2_OPERATIONS: {
|
|
|
15805
16718
|
};
|
|
15806
16719
|
};
|
|
15807
16720
|
};
|
|
16721
|
+
readonly listProjectFileFolders: {
|
|
16722
|
+
readonly method: 'GET';
|
|
16723
|
+
readonly path: '/api/v2/projects/[projectId]/files/folders';
|
|
16724
|
+
readonly pathParams: readonly ['projectId'];
|
|
16725
|
+
readonly pathParamDocs: {
|
|
16726
|
+
readonly projectId: 'Project identifier.';
|
|
16727
|
+
};
|
|
16728
|
+
readonly responseMode: 'json';
|
|
16729
|
+
readonly summary: 'List Project file folders';
|
|
16730
|
+
readonly workspaceKeyUnsupported: true;
|
|
16731
|
+
readonly query: {
|
|
16732
|
+
readonly scope: {
|
|
16733
|
+
readonly kind: 'enum';
|
|
16734
|
+
readonly values: readonly ['active', 'archived', 'all'];
|
|
16735
|
+
readonly default: 'active';
|
|
16736
|
+
readonly describe: 'Folder lifecycle scope.';
|
|
16737
|
+
};
|
|
16738
|
+
};
|
|
16739
|
+
};
|
|
16740
|
+
readonly listProjectFiles: {
|
|
16741
|
+
readonly method: 'GET';
|
|
16742
|
+
readonly path: '/api/v2/projects/[projectId]/files';
|
|
16743
|
+
readonly pathParams: readonly ['projectId'];
|
|
16744
|
+
readonly pathParamDocs: {
|
|
16745
|
+
readonly projectId: 'Project identifier.';
|
|
16746
|
+
};
|
|
16747
|
+
readonly responseMode: 'json';
|
|
16748
|
+
readonly summary: 'List Project Files';
|
|
16749
|
+
readonly workspaceKeyUnsupported: true;
|
|
16750
|
+
readonly query: {
|
|
16751
|
+
readonly folderPath: {
|
|
16752
|
+
readonly kind: 'string';
|
|
16753
|
+
readonly describe: 'Restrict files to this folder, including subfolders when `recursive` is true. Unknown folder paths contribute no matches.';
|
|
16754
|
+
};
|
|
16755
|
+
readonly recursive: {
|
|
16756
|
+
readonly kind: 'enum';
|
|
16757
|
+
readonly values: readonly ['true', '1', 'yes', 'on', 'y', 'enabled', 'false', '0', 'no', 'off', 'n', 'disabled'];
|
|
16758
|
+
readonly describe: 'Include subfolders in the folder filter. Defaults to true when searching and false otherwise. Ignored without a folder filter.';
|
|
16759
|
+
};
|
|
16760
|
+
readonly scope: {
|
|
16761
|
+
readonly kind: 'enum';
|
|
16762
|
+
readonly values: readonly ['active', 'archived'];
|
|
16763
|
+
readonly default: 'active';
|
|
16764
|
+
readonly describe: 'Which lifecycle set to list: `active` (default) for live files, `archived` for files a delete soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too.';
|
|
16765
|
+
};
|
|
16766
|
+
readonly search: {
|
|
16767
|
+
readonly kind: 'string';
|
|
16768
|
+
readonly describe: 'Case-insensitive substring match against the file name.';
|
|
16769
|
+
};
|
|
16770
|
+
readonly sortBy: {
|
|
16771
|
+
readonly kind: 'enum';
|
|
16772
|
+
readonly values: readonly ['name', 'size', 'uploadedAt', 'updatedAt'];
|
|
16773
|
+
readonly default: 'uploadedAt';
|
|
16774
|
+
readonly describe: 'Field used to sort the result. Do not rely on case-insensitive ordering when sorting by `name`.';
|
|
16775
|
+
};
|
|
16776
|
+
readonly sortOrder: {
|
|
16777
|
+
readonly kind: 'enum';
|
|
16778
|
+
readonly values: readonly ['asc', 'desc'];
|
|
16779
|
+
readonly default: 'asc';
|
|
16780
|
+
readonly describe: 'Sort direction.';
|
|
16781
|
+
};
|
|
16782
|
+
readonly limit: {
|
|
16783
|
+
readonly kind: 'integer';
|
|
16784
|
+
readonly default: 100;
|
|
16785
|
+
readonly describe: 'Maximum files per page. Must be a whole number from 1 to 1000. Defaults to 100.';
|
|
16786
|
+
};
|
|
16787
|
+
readonly cursor: {
|
|
16788
|
+
readonly kind: 'string';
|
|
16789
|
+
readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
|
|
16790
|
+
};
|
|
16791
|
+
};
|
|
16792
|
+
};
|
|
16793
|
+
readonly listProjectFileVersions: {
|
|
16794
|
+
readonly method: 'GET';
|
|
16795
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/versions';
|
|
16796
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
16797
|
+
readonly pathParamDocs: {
|
|
16798
|
+
readonly projectId: 'Project identifier.';
|
|
16799
|
+
readonly fileId: 'File identifier within the Project.';
|
|
16800
|
+
};
|
|
16801
|
+
readonly responseMode: 'json';
|
|
16802
|
+
readonly summary: 'List Project File Versions';
|
|
16803
|
+
readonly workspaceKeyUnsupported: true;
|
|
16804
|
+
readonly query: {
|
|
16805
|
+
readonly sortBy: {
|
|
16806
|
+
readonly kind: 'enum';
|
|
16807
|
+
readonly values: readonly ['version'];
|
|
16808
|
+
readonly default: 'version';
|
|
16809
|
+
readonly describe: 'Field used to sort the result.';
|
|
16810
|
+
};
|
|
16811
|
+
readonly sortOrder: {
|
|
16812
|
+
readonly kind: 'enum';
|
|
16813
|
+
readonly values: readonly ['asc', 'desc'];
|
|
16814
|
+
readonly default: 'desc';
|
|
16815
|
+
readonly describe: 'Sort direction.';
|
|
16816
|
+
};
|
|
16817
|
+
readonly limit: {
|
|
16818
|
+
readonly kind: 'integer';
|
|
16819
|
+
readonly default: 50;
|
|
16820
|
+
readonly describe: 'Maximum versions to return per page. Must be a whole number from 1 to 100. Defaults to 50.';
|
|
16821
|
+
};
|
|
16822
|
+
readonly cursor: {
|
|
16823
|
+
readonly kind: 'string';
|
|
16824
|
+
readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
|
|
16825
|
+
};
|
|
16826
|
+
};
|
|
16827
|
+
};
|
|
15808
16828
|
readonly listSandboxes: {
|
|
15809
16829
|
readonly method: 'GET';
|
|
15810
16830
|
readonly path: '/api/v2/sandboxes';
|
|
@@ -16623,6 +17643,33 @@ export declare const V2_OPERATIONS: {
|
|
|
16623
17643
|
};
|
|
16624
17644
|
};
|
|
16625
17645
|
};
|
|
17646
|
+
readonly moveProjectFileItems: {
|
|
17647
|
+
readonly method: 'POST';
|
|
17648
|
+
readonly path: '/api/v2/projects/[projectId]/files/move';
|
|
17649
|
+
readonly pathParams: readonly ['projectId'];
|
|
17650
|
+
readonly pathParamDocs: {
|
|
17651
|
+
readonly projectId: 'Project identifier.';
|
|
17652
|
+
};
|
|
17653
|
+
readonly responseMode: 'json';
|
|
17654
|
+
readonly summary: 'Move Project File Items';
|
|
17655
|
+
readonly workspaceKeyUnsupported: true;
|
|
17656
|
+
readonly body: {
|
|
17657
|
+
readonly fileIds: {
|
|
17658
|
+
readonly kind: 'array';
|
|
17659
|
+
readonly default: readonly [];
|
|
17660
|
+
readonly describe: 'Identifiers of the files to move.';
|
|
17661
|
+
};
|
|
17662
|
+
readonly folderIds: {
|
|
17663
|
+
readonly kind: 'array';
|
|
17664
|
+
readonly default: readonly [];
|
|
17665
|
+
readonly describe: 'Identifiers of folders to move with their contents.';
|
|
17666
|
+
};
|
|
17667
|
+
readonly targetFolderPath: {
|
|
17668
|
+
readonly kind: 'string';
|
|
17669
|
+
readonly describe: 'Existing destination folder path within the Project. Omit to move items to the Project root.';
|
|
17670
|
+
};
|
|
17671
|
+
};
|
|
17672
|
+
};
|
|
16626
17673
|
readonly moveTables: {
|
|
16627
17674
|
readonly method: 'POST';
|
|
16628
17675
|
readonly path: '/api/v2/tables/move';
|
|
@@ -17050,6 +18097,31 @@ export declare const V2_OPERATIONS: {
|
|
|
17050
18097
|
};
|
|
17051
18098
|
};
|
|
17052
18099
|
};
|
|
18100
|
+
readonly readProjectFileContent: {
|
|
18101
|
+
readonly method: 'GET';
|
|
18102
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/content';
|
|
18103
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
18104
|
+
readonly pathParamDocs: {
|
|
18105
|
+
readonly projectId: 'Project identifier.';
|
|
18106
|
+
readonly fileId: 'File identifier within the Project.';
|
|
18107
|
+
};
|
|
18108
|
+
readonly responseMode: 'binary';
|
|
18109
|
+
readonly summary: 'Read Project File Source';
|
|
18110
|
+
readonly workspaceKeyUnsupported: true;
|
|
18111
|
+
};
|
|
18112
|
+
readonly readProjectFileVersionContent: {
|
|
18113
|
+
readonly method: 'GET';
|
|
18114
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/versions/[version]/content';
|
|
18115
|
+
readonly pathParams: readonly ['projectId', 'fileId', 'version'];
|
|
18116
|
+
readonly pathParamDocs: {
|
|
18117
|
+
readonly projectId: 'Project identifier.';
|
|
18118
|
+
readonly fileId: 'File identifier within the Project.';
|
|
18119
|
+
readonly version: 'Version number.';
|
|
18120
|
+
};
|
|
18121
|
+
readonly responseMode: 'binary';
|
|
18122
|
+
readonly summary: 'Read Project File Version Content';
|
|
18123
|
+
readonly workspaceKeyUnsupported: true;
|
|
18124
|
+
};
|
|
17053
18125
|
readonly relocateFileFolder: {
|
|
17054
18126
|
readonly method: 'PATCH';
|
|
17055
18127
|
readonly path: '/api/v2/files/folders';
|
|
@@ -17224,6 +18296,25 @@ export declare const V2_OPERATIONS: {
|
|
|
17224
18296
|
};
|
|
17225
18297
|
};
|
|
17226
18298
|
};
|
|
18299
|
+
readonly renameProjectFile: {
|
|
18300
|
+
readonly method: 'PATCH';
|
|
18301
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]';
|
|
18302
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
18303
|
+
readonly pathParamDocs: {
|
|
18304
|
+
readonly projectId: 'Project identifier.';
|
|
18305
|
+
readonly fileId: 'File identifier within the Project.';
|
|
18306
|
+
};
|
|
18307
|
+
readonly responseMode: 'json';
|
|
18308
|
+
readonly summary: 'Rename Project File';
|
|
18309
|
+
readonly workspaceKeyUnsupported: true;
|
|
18310
|
+
readonly body: {
|
|
18311
|
+
readonly name: {
|
|
18312
|
+
readonly kind: 'string';
|
|
18313
|
+
readonly required: true;
|
|
18314
|
+
readonly describe: 'New file name, including its extension.';
|
|
18315
|
+
};
|
|
18316
|
+
};
|
|
18317
|
+
};
|
|
17227
18318
|
readonly replaceWorkflowChatDeployment: {
|
|
17228
18319
|
readonly method: 'PUT';
|
|
17229
18320
|
readonly path: '/api/v2/workflows/[workflowId]/deployments/chat';
|
|
@@ -17454,6 +18545,32 @@ export declare const V2_OPERATIONS: {
|
|
|
17454
18545
|
};
|
|
17455
18546
|
};
|
|
17456
18547
|
};
|
|
18548
|
+
readonly restoreProjectFile: {
|
|
18549
|
+
readonly method: 'POST';
|
|
18550
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/restore';
|
|
18551
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
18552
|
+
readonly pathParamDocs: {
|
|
18553
|
+
readonly projectId: 'Project identifier.';
|
|
18554
|
+
readonly fileId: 'File identifier within the Project.';
|
|
18555
|
+
};
|
|
18556
|
+
readonly responseMode: 'json';
|
|
18557
|
+
readonly summary: 'Restore Project File';
|
|
18558
|
+
readonly workspaceKeyUnsupported: true;
|
|
18559
|
+
readonly body: {};
|
|
18560
|
+
};
|
|
18561
|
+
readonly restoreProjectFileFolder: {
|
|
18562
|
+
readonly method: 'POST';
|
|
18563
|
+
readonly path: '/api/v2/projects/[projectId]/files/folders/[folderId]/restore';
|
|
18564
|
+
readonly pathParams: readonly ['projectId', 'folderId'];
|
|
18565
|
+
readonly pathParamDocs: {
|
|
18566
|
+
readonly projectId: 'Project identifier.';
|
|
18567
|
+
readonly folderId: 'Folder identifier within the Project.';
|
|
18568
|
+
};
|
|
18569
|
+
readonly responseMode: 'json';
|
|
18570
|
+
readonly summary: 'Restore Project file folder';
|
|
18571
|
+
readonly workspaceKeyUnsupported: true;
|
|
18572
|
+
readonly body: {};
|
|
18573
|
+
};
|
|
17457
18574
|
readonly restoreTable: {
|
|
17458
18575
|
readonly method: 'POST';
|
|
17459
18576
|
readonly path: '/api/v2/tables/[tableId]/restore';
|
|
@@ -17548,6 +18665,29 @@ export declare const V2_OPERATIONS: {
|
|
|
17548
18665
|
};
|
|
17549
18666
|
};
|
|
17550
18667
|
};
|
|
18668
|
+
readonly revertProjectFileVersion: {
|
|
18669
|
+
readonly method: 'POST';
|
|
18670
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/versions/[version]/revert';
|
|
18671
|
+
readonly pathParams: readonly ['projectId', 'fileId', 'version'];
|
|
18672
|
+
readonly pathParamDocs: {
|
|
18673
|
+
readonly projectId: 'Project identifier.';
|
|
18674
|
+
readonly fileId: 'File identifier within the Project.';
|
|
18675
|
+
readonly version: 'Version number.';
|
|
18676
|
+
};
|
|
18677
|
+
readonly responseMode: 'json';
|
|
18678
|
+
readonly summary: 'Revert Project File Version';
|
|
18679
|
+
readonly workspaceKeyUnsupported: true;
|
|
18680
|
+
readonly body: {
|
|
18681
|
+
readonly expectedCurrentVersion: {
|
|
18682
|
+
readonly kind: 'integer';
|
|
18683
|
+
readonly describe: 'Revert only while this is still the current version; otherwise the request fails with `409`. Omit to revert whatever is current. Collaborative edits and repeated workflow writes that fold into the current version keep its number, so prefer `expectedRevision` to guard content.';
|
|
18684
|
+
};
|
|
18685
|
+
readonly expectedRevision: {
|
|
18686
|
+
readonly kind: 'string';
|
|
18687
|
+
readonly describe: 'Revert only while the file still holds the content this revision names, as returned by Get file metadata or an earlier write; otherwise the request fails with `409`. Unlike a version number, it also catches edits that folded into the current version.';
|
|
18688
|
+
};
|
|
18689
|
+
};
|
|
18690
|
+
};
|
|
17551
18691
|
readonly revertWorkflowVersion: {
|
|
17552
18692
|
readonly method: 'POST';
|
|
17553
18693
|
readonly path: '/api/v2/workflows/[workflowId]/versions/[version]/revert';
|
|
@@ -18777,6 +19917,61 @@ export declare const V2_OPERATIONS: {
|
|
|
18777
19917
|
};
|
|
18778
19918
|
};
|
|
18779
19919
|
};
|
|
19920
|
+
readonly updateProjectFileContent: {
|
|
19921
|
+
readonly method: 'PUT';
|
|
19922
|
+
readonly path: '/api/v2/projects/[projectId]/files/[fileId]/content';
|
|
19923
|
+
readonly pathParams: readonly ['projectId', 'fileId'];
|
|
19924
|
+
readonly pathParamDocs: {
|
|
19925
|
+
readonly projectId: 'Project identifier.';
|
|
19926
|
+
readonly fileId: 'File identifier within the Project.';
|
|
19927
|
+
};
|
|
19928
|
+
readonly responseMode: 'json';
|
|
19929
|
+
readonly summary: 'Replace Project File Content';
|
|
19930
|
+
readonly workspaceKeyUnsupported: true;
|
|
19931
|
+
readonly body: {
|
|
19932
|
+
readonly content: {
|
|
19933
|
+
readonly kind: 'string';
|
|
19934
|
+
readonly required: true;
|
|
19935
|
+
readonly describe: 'Complete replacement content for the file. The complete JSON request is capped at 70 MiB, including UTF-8 encoding, escaping, base64, and the envelope. The decoded-file limit is 50 MiB.';
|
|
19936
|
+
};
|
|
19937
|
+
readonly encoding: {
|
|
19938
|
+
readonly kind: 'enum';
|
|
19939
|
+
readonly values: readonly ['utf-8', 'base64'];
|
|
19940
|
+
readonly default: 'utf-8';
|
|
19941
|
+
readonly describe: 'Encoding of the content field.';
|
|
19942
|
+
};
|
|
19943
|
+
readonly expectedRevision: {
|
|
19944
|
+
readonly kind: 'string';
|
|
19945
|
+
readonly describe: 'Revision from Get file metadata or an earlier write; the request is refused with `409` when the content moved on.';
|
|
19946
|
+
};
|
|
19947
|
+
};
|
|
19948
|
+
};
|
|
19949
|
+
readonly updateProjectFileFolder: {
|
|
19950
|
+
readonly method: 'PATCH';
|
|
19951
|
+
readonly path: '/api/v2/projects/[projectId]/files/folders/[folderId]';
|
|
19952
|
+
readonly pathParams: readonly ['projectId', 'folderId'];
|
|
19953
|
+
readonly pathParamDocs: {
|
|
19954
|
+
readonly projectId: 'Project identifier.';
|
|
19955
|
+
readonly folderId: 'Folder identifier within the Project.';
|
|
19956
|
+
};
|
|
19957
|
+
readonly responseMode: 'json';
|
|
19958
|
+
readonly summary: 'Update Project file folder';
|
|
19959
|
+
readonly workspaceKeyUnsupported: true;
|
|
19960
|
+
readonly body: {
|
|
19961
|
+
readonly name: {
|
|
19962
|
+
readonly kind: 'string';
|
|
19963
|
+
readonly describe: 'New folder name; omit to leave unchanged.';
|
|
19964
|
+
};
|
|
19965
|
+
readonly parentId: {
|
|
19966
|
+
readonly kind: 'string';
|
|
19967
|
+
readonly describe: 'New parent folder identifier; null moves to the root, omission leaves the parent unchanged.';
|
|
19968
|
+
};
|
|
19969
|
+
readonly sortOrder: {
|
|
19970
|
+
readonly kind: 'integer';
|
|
19971
|
+
readonly describe: 'New manual position; omit to leave unchanged.';
|
|
19972
|
+
};
|
|
19973
|
+
};
|
|
19974
|
+
};
|
|
18780
19975
|
readonly updateRowsByFilter: {
|
|
18781
19976
|
readonly method: 'PATCH';
|
|
18782
19977
|
readonly path: '/api/v2/tables/[tableId]/rows';
|