@epilot/file-client 1.16.0-alpha.0 → 1.16.0-alpha.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.
- package/dist/openapi.d.ts +19 -40
- package/dist/openapi.json +23 -52
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -359,64 +359,45 @@ declare namespace Components {
|
|
|
359
359
|
* A file folder with identifiers and timestamps
|
|
360
360
|
*/
|
|
361
361
|
export interface FileFolderItem {
|
|
362
|
-
id: /* Generated uuid for a file folder */ FileFolderId /* uuid */;
|
|
363
362
|
/**
|
|
364
|
-
*
|
|
363
|
+
* Full slug for the folder
|
|
365
364
|
* example:
|
|
366
|
-
* 123
|
|
367
|
-
*/
|
|
368
|
-
orgId: string;
|
|
369
|
-
entityId: /**
|
|
370
|
-
* example:
|
|
371
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
372
|
-
*/
|
|
373
|
-
EntityId;
|
|
374
|
-
/**
|
|
375
|
-
* Logical type for this item (e.g. "folder")
|
|
376
|
-
* example:
|
|
377
|
-
* folder
|
|
365
|
+
* _system_files_collection_entity-123:documents
|
|
378
366
|
*/
|
|
379
|
-
|
|
367
|
+
slug?: string;
|
|
380
368
|
/**
|
|
369
|
+
* Display name of the folder
|
|
381
370
|
* example:
|
|
382
|
-
*
|
|
371
|
+
* Documents
|
|
383
372
|
*/
|
|
384
373
|
name: string;
|
|
385
|
-
|
|
386
|
-
* example:
|
|
387
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
388
|
-
*/
|
|
389
|
-
EntityId;
|
|
390
|
-
/**
|
|
391
|
-
* URL-friendly identifier for the folder
|
|
392
|
-
* example:
|
|
393
|
-
* documents
|
|
394
|
-
*/
|
|
395
|
-
slug: string;
|
|
374
|
+
id?: /* Generated uuid for a file folder */ FileFolderId /* uuid */;
|
|
396
375
|
/**
|
|
397
|
-
* Array of
|
|
376
|
+
* Array of parent folder slugs, empty array if top-level folder
|
|
398
377
|
* example:
|
|
399
378
|
* [
|
|
400
|
-
* "
|
|
379
|
+
* "_system_files_collection_entity-123"
|
|
401
380
|
* ]
|
|
402
381
|
*/
|
|
403
|
-
|
|
382
|
+
parents?: string[];
|
|
404
383
|
/**
|
|
405
|
-
*
|
|
384
|
+
* Whether the folder is starred / favorited
|
|
406
385
|
* example:
|
|
407
|
-
*
|
|
386
|
+
* false
|
|
408
387
|
*/
|
|
409
|
-
|
|
388
|
+
starred?: boolean;
|
|
410
389
|
/**
|
|
390
|
+
* Timestamp when the folder was created
|
|
411
391
|
* example:
|
|
412
|
-
*
|
|
392
|
+
* 2024-01-01T12:00:00Z
|
|
413
393
|
*/
|
|
414
|
-
created_at
|
|
394
|
+
created_at?: string; // date-time
|
|
415
395
|
/**
|
|
396
|
+
* Timestamp when the folder was last updated
|
|
416
397
|
* example:
|
|
417
|
-
*
|
|
398
|
+
* 2024-01-02T12:00:00Z
|
|
418
399
|
*/
|
|
419
|
-
updated_at
|
|
400
|
+
updated_at?: string; // date-time
|
|
420
401
|
}
|
|
421
402
|
export interface FileItem {
|
|
422
403
|
s3ref?: S3Ref;
|
|
@@ -1032,9 +1013,7 @@ declare namespace Paths {
|
|
|
1032
1013
|
parents?: Parameters.Parents;
|
|
1033
1014
|
}
|
|
1034
1015
|
namespace Responses {
|
|
1035
|
-
export
|
|
1036
|
-
results?: /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem[];
|
|
1037
|
-
}
|
|
1016
|
+
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem[];
|
|
1038
1017
|
export type $404 = /**
|
|
1039
1018
|
* A generic error returned by the API
|
|
1040
1019
|
* example:
|
package/dist/openapi.json
CHANGED
|
@@ -1127,14 +1127,9 @@
|
|
|
1127
1127
|
"content": {
|
|
1128
1128
|
"application/json": {
|
|
1129
1129
|
"schema": {
|
|
1130
|
-
"type": "
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1133
|
-
"type": "array",
|
|
1134
|
-
"items": {
|
|
1135
|
-
"$ref": "#/components/schemas/FileFolderItem"
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1130
|
+
"type": "array",
|
|
1131
|
+
"items": {
|
|
1132
|
+
"$ref": "#/components/schemas/FileFolderItem"
|
|
1138
1133
|
}
|
|
1139
1134
|
}
|
|
1140
1135
|
}
|
|
@@ -1910,73 +1905,49 @@
|
|
|
1910
1905
|
"description": "A file folder with identifiers and timestamps",
|
|
1911
1906
|
"type": "object",
|
|
1912
1907
|
"properties": {
|
|
1913
|
-
"
|
|
1914
|
-
"$ref": "#/components/schemas/FileFolderId"
|
|
1915
|
-
},
|
|
1916
|
-
"orgId": {
|
|
1917
|
-
"type": "string",
|
|
1918
|
-
"description": "Organization ID",
|
|
1919
|
-
"example": "123"
|
|
1920
|
-
},
|
|
1921
|
-
"entityId": {
|
|
1922
|
-
"$ref": "#/components/schemas/EntityId"
|
|
1923
|
-
},
|
|
1924
|
-
"type": {
|
|
1908
|
+
"slug": {
|
|
1925
1909
|
"type": "string",
|
|
1926
|
-
"description": "
|
|
1927
|
-
"example": "
|
|
1910
|
+
"description": "Full slug for the folder",
|
|
1911
|
+
"example": "_system_files_collection_entity-123:documents"
|
|
1928
1912
|
},
|
|
1929
1913
|
"name": {
|
|
1930
1914
|
"type": "string",
|
|
1931
|
-
"
|
|
1932
|
-
|
|
1933
|
-
"entity_id": {
|
|
1934
|
-
"$ref": "#/components/schemas/EntityId"
|
|
1915
|
+
"description": "Display name of the folder",
|
|
1916
|
+
"example": "Documents"
|
|
1935
1917
|
},
|
|
1936
|
-
"
|
|
1937
|
-
"
|
|
1938
|
-
"description": "URL-friendly identifier for the folder",
|
|
1939
|
-
"example": "documents"
|
|
1918
|
+
"id": {
|
|
1919
|
+
"$ref": "#/components/schemas/FileFolderId"
|
|
1940
1920
|
},
|
|
1941
|
-
"
|
|
1921
|
+
"parents": {
|
|
1942
1922
|
"type": "array",
|
|
1943
|
-
"description": "Array of
|
|
1923
|
+
"description": "Array of parent folder slugs, empty array if top-level folder",
|
|
1944
1924
|
"items": {
|
|
1945
|
-
"type": "string"
|
|
1946
|
-
"format": "uuid"
|
|
1925
|
+
"type": "string"
|
|
1947
1926
|
},
|
|
1948
1927
|
"example": [
|
|
1949
|
-
"
|
|
1928
|
+
"_system_files_collection_entity-123"
|
|
1950
1929
|
]
|
|
1951
1930
|
},
|
|
1952
|
-
"
|
|
1953
|
-
"type": "
|
|
1954
|
-
"description": "
|
|
1955
|
-
"example":
|
|
1931
|
+
"starred": {
|
|
1932
|
+
"type": "boolean",
|
|
1933
|
+
"description": "Whether the folder is starred / favorited",
|
|
1934
|
+
"example": false
|
|
1956
1935
|
},
|
|
1957
1936
|
"created_at": {
|
|
1958
1937
|
"type": "string",
|
|
1959
1938
|
"format": "date-time",
|
|
1960
|
-
"
|
|
1939
|
+
"description": "Timestamp when the folder was created",
|
|
1940
|
+
"example": "2024-01-01T12:00:00Z"
|
|
1961
1941
|
},
|
|
1962
1942
|
"updated_at": {
|
|
1963
1943
|
"type": "string",
|
|
1964
1944
|
"format": "date-time",
|
|
1965
|
-
"
|
|
1945
|
+
"description": "Timestamp when the folder was last updated",
|
|
1946
|
+
"example": "2024-01-02T12:00:00Z"
|
|
1966
1947
|
}
|
|
1967
1948
|
},
|
|
1968
1949
|
"required": [
|
|
1969
|
-
"
|
|
1970
|
-
"orgId",
|
|
1971
|
-
"entityId",
|
|
1972
|
-
"type",
|
|
1973
|
-
"name",
|
|
1974
|
-
"entity_id",
|
|
1975
|
-
"slug",
|
|
1976
|
-
"files",
|
|
1977
|
-
"created_by",
|
|
1978
|
-
"created_at",
|
|
1979
|
-
"updated_at"
|
|
1950
|
+
"name"
|
|
1980
1951
|
]
|
|
1981
1952
|
},
|
|
1982
1953
|
"ErrorObject": {
|