@orchestraworks/cli 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/artifacts/prelude.js +416 -88
- package/dist/cli/api/execute.d.ts +2 -5
- package/dist/cli/api/execute.js +67 -40
- package/dist/cli/api/raw.d.ts +3 -1
- package/dist/cli/api/raw.js +33 -6
- package/dist/cli/api/register.js +6 -1
- package/dist/cli/preview.d.ts +5 -4
- package/dist/cli/preview.js +15 -9
- package/dist/cli/upload.d.ts +26 -0
- package/dist/cli/upload.js +64 -16
- package/dist/generated/cli-commands.d.ts +5 -0
- package/dist/generated/cli-commands.json +31040 -17110
- package/dist/generated/cli-dispatch.js +99 -0
- package/dist/generated/managed-skills.js +1 -0
- package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/FilesApi.d.ts +292 -2
- package/node_modules/@orchestraworks/client/dist/apis/FilesApi.js +988 -30
- package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.d.ts +292 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.js +986 -28
- package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.d.ts +12 -39
- package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.js +7 -20
- package/node_modules/@orchestraworks/client/dist/esm/models/Comment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Comment.js +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CommentSummary.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CommentSummary.js +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CopyFileRequest.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CopyFileRequest.js +47 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateArtifactRequest.d.ts +7 -7
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateAuthHandoffRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.d.ts +44 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.js +14 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateRoomTokenRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/FileMatch.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/FileMatch.js +47 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/FileVersion.d.ts +101 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/FileVersion.js +83 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.d.ts +69 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.js +36 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/PageArtifact.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/{PageArtifactSummary.js → PageArtifact.js} +11 -11
- package/node_modules/@orchestraworks/client/dist/esm/models/PageFileVersion.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/PageFileVersion.js +56 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/RoomTokenRoom.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/RoomTokenRoom.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/RoomTokenRoomRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/RoomTokenRoomRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/SelectorAnchor.d.ts +24 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/SelectorAnchor.js +8 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/SnapshotAnchor.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateArtifactRequest.d.ts +0 -8
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateArtifactRequest.js +0 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateFileRequest.d.ts +40 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateFileRequest.js +43 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItem.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItem.js +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/WriteFileDataRequest.d.ts +50 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/WriteFileDataRequest.js +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/index.d.ts +7 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/index.js +7 -3
- package/node_modules/@orchestraworks/client/dist/models/Artifact.d.ts +12 -39
- package/node_modules/@orchestraworks/client/dist/models/Artifact.js +7 -20
- package/node_modules/@orchestraworks/client/dist/models/Comment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Comment.js +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CommentSummary.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CommentSummary.js +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CopyFileRequest.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/models/CopyFileRequest.js +54 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateArtifactRequest.d.ts +7 -7
- package/node_modules/@orchestraworks/client/dist/models/CreateAuthHandoffRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.d.ts +44 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.js +14 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateRoomTokenRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/FileMatch.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/models/FileMatch.js +54 -0
- package/node_modules/@orchestraworks/client/dist/models/FileVersion.d.ts +101 -0
- package/node_modules/@orchestraworks/client/dist/models/FileVersion.js +91 -0
- package/node_modules/@orchestraworks/client/dist/models/ModelFile.d.ts +69 -0
- package/node_modules/@orchestraworks/client/dist/models/ModelFile.js +37 -1
- package/node_modules/@orchestraworks/client/dist/models/PageArtifact.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/models/{PageArtifactSummary.js → PageArtifact.js} +16 -16
- package/node_modules/@orchestraworks/client/dist/models/PageFileVersion.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/models/PageFileVersion.js +63 -0
- package/node_modules/@orchestraworks/client/dist/models/RoomTokenRoom.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/RoomTokenRoom.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/RoomTokenRoomRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/RoomTokenRoomRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/SelectorAnchor.d.ts +24 -0
- package/node_modules/@orchestraworks/client/dist/models/SelectorAnchor.js +8 -0
- package/node_modules/@orchestraworks/client/dist/models/SnapshotAnchor.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/UpdateArtifactRequest.d.ts +0 -8
- package/node_modules/@orchestraworks/client/dist/models/UpdateArtifactRequest.js +0 -2
- package/node_modules/@orchestraworks/client/dist/models/UpdateFileRequest.d.ts +40 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateFileRequest.js +50 -0
- package/node_modules/@orchestraworks/client/dist/models/WorkItem.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/WorkItem.js +3 -3
- package/node_modules/@orchestraworks/client/dist/models/WriteFileDataRequest.d.ts +50 -0
- package/node_modules/@orchestraworks/client/dist/models/WriteFileDataRequest.js +58 -0
- package/node_modules/@orchestraworks/client/dist/models/index.d.ts +7 -3
- package/node_modules/@orchestraworks/client/dist/models/index.js +7 -3
- package/node_modules/@orchestraworks/client/package.json +1 -1
- package/package.json +4 -4
- package/skills/orchestra/SKILL.md +1 -1
- package/templates/engineering-team/package.json +1 -1
- package/templates/todo-factory/package.json +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.d.ts +0 -125
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.js +0 -86
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactVersion.d.ts +0 -110
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactVersion.js +0 -77
- package/node_modules/@orchestraworks/client/dist/esm/models/PageArtifactSummary.d.ts +0 -51
- package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.d.ts +0 -125
- package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.js +0 -93
- package/node_modules/@orchestraworks/client/dist/models/ArtifactVersion.d.ts +0 -110
- package/node_modules/@orchestraworks/client/dist/models/ArtifactVersion.js +0 -84
- package/node_modules/@orchestraworks/client/dist/models/PageArtifactSummary.d.ts +0 -51
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestra platform API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IdentitySet } from './IdentitySet';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileVersion
|
|
17
|
+
*/
|
|
18
|
+
export interface FileVersion {
|
|
19
|
+
/**
|
|
20
|
+
* Version number, counting from 1
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof FileVersion
|
|
23
|
+
*/
|
|
24
|
+
number: number;
|
|
25
|
+
/**
|
|
26
|
+
* The fixed file holding this version's bytes; pin this id, never the library file's
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileVersion
|
|
29
|
+
*/
|
|
30
|
+
fileId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Content hash of the version's bytes (`sha256:<hex>`)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FileVersion
|
|
35
|
+
*/
|
|
36
|
+
sha256: string;
|
|
37
|
+
/**
|
|
38
|
+
* Size of the version's bytes
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof FileVersion
|
|
41
|
+
*/
|
|
42
|
+
sizeBytes: number;
|
|
43
|
+
/**
|
|
44
|
+
* MIME type of the version's bytes
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FileVersion
|
|
47
|
+
*/
|
|
48
|
+
contentType: string;
|
|
49
|
+
/**
|
|
50
|
+
* The status of the fixed file holding the bytes
|
|
51
|
+
* @type {FileVersionStatusEnum}
|
|
52
|
+
* @memberof FileVersion
|
|
53
|
+
*/
|
|
54
|
+
status: FileVersionStatusEnum;
|
|
55
|
+
/**
|
|
56
|
+
* One line saying what this version is, at most 200 characters; absent when the save gave none
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof FileVersion
|
|
59
|
+
*/
|
|
60
|
+
description?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Conversation that saved this version; absent when none was named
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FileVersion
|
|
65
|
+
*/
|
|
66
|
+
sessionId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The PNG or JPEG file picturing this version; absent when its save named none
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof FileVersion
|
|
71
|
+
*/
|
|
72
|
+
thumbnailFileId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Who created it, as `GET /users` or `GET /agents` answers them; absent when the creator no longer resolves
|
|
75
|
+
* @type {IdentitySet}
|
|
76
|
+
* @memberof FileVersion
|
|
77
|
+
*/
|
|
78
|
+
createdBy?: IdentitySet;
|
|
79
|
+
/**
|
|
80
|
+
* When the version was saved
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof FileVersion
|
|
83
|
+
*/
|
|
84
|
+
createdAt: Date;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const FileVersionStatusEnum: {
|
|
90
|
+
readonly Pending: "PENDING";
|
|
91
|
+
readonly Ready: "READY";
|
|
92
|
+
};
|
|
93
|
+
export type FileVersionStatusEnum = typeof FileVersionStatusEnum[keyof typeof FileVersionStatusEnum];
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the FileVersion interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfFileVersion(value: object): value is FileVersion;
|
|
98
|
+
export declare function FileVersionFromJSON(json: any): FileVersion;
|
|
99
|
+
export declare function FileVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileVersion;
|
|
100
|
+
export declare function FileVersionToJSON(json: any): FileVersion;
|
|
101
|
+
export declare function FileVersionToJSONTyped(value?: FileVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Orchestra platform API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { IdentitySetFromJSON, IdentitySetToJSON, } from './IdentitySet';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FileVersionStatusEnum = {
|
|
19
|
+
Pending: 'PENDING',
|
|
20
|
+
Ready: 'READY'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FileVersion interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfFileVersion(value) {
|
|
26
|
+
if (!('number' in value) || value['number'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('sha256' in value) || value['sha256'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
export function FileVersionFromJSON(json) {
|
|
43
|
+
return FileVersionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function FileVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'number': json['number'],
|
|
51
|
+
'fileId': json['fileId'],
|
|
52
|
+
'sha256': json['sha256'],
|
|
53
|
+
'sizeBytes': json['sizeBytes'],
|
|
54
|
+
'contentType': json['contentType'],
|
|
55
|
+
'status': json['status'],
|
|
56
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
57
|
+
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
58
|
+
'thumbnailFileId': json['thumbnailFileId'] == null ? undefined : json['thumbnailFileId'],
|
|
59
|
+
'createdBy': json['createdBy'] == null ? undefined : IdentitySetFromJSON(json['createdBy']),
|
|
60
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function FileVersionToJSON(json) {
|
|
64
|
+
return FileVersionToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function FileVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'number': value['number'],
|
|
72
|
+
'fileId': value['fileId'],
|
|
73
|
+
'sha256': value['sha256'],
|
|
74
|
+
'sizeBytes': value['sizeBytes'],
|
|
75
|
+
'contentType': value['contentType'],
|
|
76
|
+
'status': value['status'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'sessionId': value['sessionId'],
|
|
79
|
+
'thumbnailFileId': value['thumbnailFileId'],
|
|
80
|
+
'createdBy': IdentitySetToJSON(value['createdBy']),
|
|
81
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { IdentitySet } from './IdentitySet';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -83,6 +84,66 @@ export interface ModelFile {
|
|
|
83
84
|
labels: {
|
|
84
85
|
[key: string]: string;
|
|
85
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Library path, `/{team}/<path>`: the team's slug, then the path inside the team. Absent on a fixed file, which has no path
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ModelFile
|
|
91
|
+
*/
|
|
92
|
+
path?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Number of the current version: always 1 on a fixed file, and 0 on a folder and on an upload intent not yet completed
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof ModelFile
|
|
97
|
+
*/
|
|
98
|
+
currentVersion: number;
|
|
99
|
+
/**
|
|
100
|
+
* A library file's title: the HTML `<title>` or first `h1`, a Markdown file's first heading, else the last segment of its path. A fixed file's filename, else its id
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof ModelFile
|
|
103
|
+
*/
|
|
104
|
+
title: string;
|
|
105
|
+
/**
|
|
106
|
+
* The current version's one-line description, else, on an HTML, Markdown or plain-text file, its first 200 characters; absent when it has neither
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof ModelFile
|
|
109
|
+
*/
|
|
110
|
+
description?: string;
|
|
111
|
+
/**
|
|
112
|
+
* How many of its comments are open; always 0 on a fixed file, which takes none
|
|
113
|
+
* @type {number}
|
|
114
|
+
* @memberof ModelFile
|
|
115
|
+
*/
|
|
116
|
+
openCommentCount: number;
|
|
117
|
+
/**
|
|
118
|
+
* Who created it, as `GET /users` or `GET /agents` answers them; absent when the creator no longer resolves
|
|
119
|
+
* @type {IdentitySet}
|
|
120
|
+
* @memberof ModelFile
|
|
121
|
+
*/
|
|
122
|
+
createdBy?: IdentitySet;
|
|
123
|
+
/**
|
|
124
|
+
* True on a folder, which holds no bytes and no versions
|
|
125
|
+
* @type {boolean}
|
|
126
|
+
* @memberof ModelFile
|
|
127
|
+
*/
|
|
128
|
+
folder: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* The PNG or JPEG file picturing the current version; absent when its save named none
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof ModelFile
|
|
133
|
+
*/
|
|
134
|
+
thumbnailFileId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* On a `text/uri-list` file of at most 2 KiB, the first line of its current version that does not start with `#`; absent on any other file
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof ModelFile
|
|
139
|
+
*/
|
|
140
|
+
url?: string;
|
|
141
|
+
/**
|
|
142
|
+
* On a file whose url is a link into the machine preview zone: ONLINE when the machine ingress gateway would route that Preview's port now and the port's url is published, UNREACHABLE otherwise. Absent on any other file
|
|
143
|
+
* @type {ModelFilePreviewStatusEnum}
|
|
144
|
+
* @memberof ModelFile
|
|
145
|
+
*/
|
|
146
|
+
previewStatus?: ModelFilePreviewStatusEnum;
|
|
86
147
|
}
|
|
87
148
|
/**
|
|
88
149
|
* @export
|
|
@@ -92,6 +153,14 @@ export declare const ModelFileStatusEnum: {
|
|
|
92
153
|
readonly Ready: "READY";
|
|
93
154
|
};
|
|
94
155
|
export type ModelFileStatusEnum = typeof ModelFileStatusEnum[keyof typeof ModelFileStatusEnum];
|
|
156
|
+
/**
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
export declare const ModelFilePreviewStatusEnum: {
|
|
160
|
+
readonly Online: "ONLINE";
|
|
161
|
+
readonly Unreachable: "UNREACHABLE";
|
|
162
|
+
};
|
|
163
|
+
export type ModelFilePreviewStatusEnum = typeof ModelFilePreviewStatusEnum[keyof typeof ModelFilePreviewStatusEnum];
|
|
95
164
|
/**
|
|
96
165
|
* Check if a given object implements the ModelFile interface.
|
|
97
166
|
*/
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { IdentitySetFromJSON, IdentitySetToJSON, } from './IdentitySet';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -18,6 +19,13 @@ export const ModelFileStatusEnum = {
|
|
|
18
19
|
Pending: 'PENDING',
|
|
19
20
|
Ready: 'READY'
|
|
20
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const ModelFilePreviewStatusEnum = {
|
|
26
|
+
Online: 'ONLINE',
|
|
27
|
+
Unreachable: 'UNREACHABLE'
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* Check if a given object implements the ModelFile interface.
|
|
23
31
|
*/
|
|
@@ -40,6 +48,14 @@ export function instanceOfModelFile(value) {
|
|
|
40
48
|
return false;
|
|
41
49
|
if (!('labels' in value) || value['labels'] === undefined)
|
|
42
50
|
return false;
|
|
51
|
+
if (!('currentVersion' in value) || value['currentVersion'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('openCommentCount' in value) || value['openCommentCount'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('folder' in value) || value['folder'] === undefined)
|
|
58
|
+
return false;
|
|
43
59
|
return true;
|
|
44
60
|
}
|
|
45
61
|
export function ModelFileFromJSON(json) {
|
|
@@ -61,6 +77,16 @@ export function ModelFileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
77
|
'createdAt': (new Date(json['createdAt'])),
|
|
62
78
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
63
79
|
'labels': json['labels'],
|
|
80
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
81
|
+
'currentVersion': json['currentVersion'],
|
|
82
|
+
'title': json['title'],
|
|
83
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
84
|
+
'openCommentCount': json['openCommentCount'],
|
|
85
|
+
'createdBy': json['createdBy'] == null ? undefined : IdentitySetFromJSON(json['createdBy']),
|
|
86
|
+
'folder': json['folder'],
|
|
87
|
+
'thumbnailFileId': json['thumbnailFileId'] == null ? undefined : json['thumbnailFileId'],
|
|
88
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
89
|
+
'previewStatus': json['previewStatus'] == null ? undefined : json['previewStatus'],
|
|
64
90
|
};
|
|
65
91
|
}
|
|
66
92
|
export function ModelFileToJSON(json) {
|
|
@@ -82,5 +108,15 @@ export function ModelFileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
82
108
|
'createdAt': value['createdAt'].toISOString(),
|
|
83
109
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
84
110
|
'labels': value['labels'],
|
|
111
|
+
'path': value['path'],
|
|
112
|
+
'currentVersion': value['currentVersion'],
|
|
113
|
+
'title': value['title'],
|
|
114
|
+
'description': value['description'],
|
|
115
|
+
'openCommentCount': value['openCommentCount'],
|
|
116
|
+
'createdBy': IdentitySetToJSON(value['createdBy']),
|
|
117
|
+
'folder': value['folder'],
|
|
118
|
+
'thumbnailFileId': value['thumbnailFileId'],
|
|
119
|
+
'url': value['url'],
|
|
120
|
+
'previewStatus': value['previewStatus'],
|
|
85
121
|
};
|
|
86
122
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestra platform API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Artifact } from './Artifact';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PageArtifact
|
|
17
|
+
*/
|
|
18
|
+
export interface PageArtifact {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Artifact>}
|
|
22
|
+
* @memberof PageArtifact
|
|
23
|
+
*/
|
|
24
|
+
data: Array<Artifact>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PageArtifact
|
|
29
|
+
*/
|
|
30
|
+
page: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PageArtifact
|
|
35
|
+
*/
|
|
36
|
+
limit: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PageArtifact
|
|
41
|
+
*/
|
|
42
|
+
total: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PageArtifact interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPageArtifact(value: object): value is PageArtifact;
|
|
48
|
+
export declare function PageArtifactFromJSON(json: any): PageArtifact;
|
|
49
|
+
export declare function PageArtifactFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageArtifact;
|
|
50
|
+
export declare function PageArtifactToJSON(json: any): PageArtifact;
|
|
51
|
+
export declare function PageArtifactToJSONTyped(value?: PageArtifact | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ArtifactFromJSON, ArtifactToJSON, } from './Artifact';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the PageArtifact interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfPageArtifact(value) {
|
|
19
19
|
if (!('data' in value) || value['data'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('page' in value) || value['page'] === undefined)
|
|
@@ -26,29 +26,29 @@ export function instanceOfPageArtifactSummary(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
30
|
-
return
|
|
29
|
+
export function PageArtifactFromJSON(json) {
|
|
30
|
+
return PageArtifactFromJSONTyped(json, false);
|
|
31
31
|
}
|
|
32
|
-
export function
|
|
32
|
+
export function PageArtifactFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'data': (json['data'].map(
|
|
37
|
+
'data': (json['data'].map(ArtifactFromJSON)),
|
|
38
38
|
'page': json['page'],
|
|
39
39
|
'limit': json['limit'],
|
|
40
40
|
'total': json['total'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
44
|
-
return
|
|
43
|
+
export function PageArtifactToJSON(json) {
|
|
44
|
+
return PageArtifactToJSONTyped(json, false);
|
|
45
45
|
}
|
|
46
|
-
export function
|
|
46
|
+
export function PageArtifactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
47
|
if (value == null) {
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
|
-
'data': (value['data'].map(
|
|
51
|
+
'data': (value['data'].map(ArtifactToJSON)),
|
|
52
52
|
'page': value['page'],
|
|
53
53
|
'limit': value['limit'],
|
|
54
54
|
'total': value['total'],
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestra platform API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FileVersion } from './FileVersion';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PageFileVersion
|
|
17
|
+
*/
|
|
18
|
+
export interface PageFileVersion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FileVersion>}
|
|
22
|
+
* @memberof PageFileVersion
|
|
23
|
+
*/
|
|
24
|
+
data: Array<FileVersion>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PageFileVersion
|
|
29
|
+
*/
|
|
30
|
+
page: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PageFileVersion
|
|
35
|
+
*/
|
|
36
|
+
limit: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PageFileVersion
|
|
41
|
+
*/
|
|
42
|
+
total: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PageFileVersion interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPageFileVersion(value: object): value is PageFileVersion;
|
|
48
|
+
export declare function PageFileVersionFromJSON(json: any): PageFileVersion;
|
|
49
|
+
export declare function PageFileVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageFileVersion;
|
|
50
|
+
export declare function PageFileVersionToJSON(json: any): PageFileVersion;
|
|
51
|
+
export declare function PageFileVersionToJSONTyped(value?: PageFileVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Orchestra platform API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { FileVersionFromJSON, FileVersionToJSON, } from './FileVersion';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PageFileVersion interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPageFileVersion(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function PageFileVersionFromJSON(json) {
|
|
30
|
+
return PageFileVersionFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function PageFileVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'data': (json['data'].map(FileVersionFromJSON)),
|
|
38
|
+
'page': json['page'],
|
|
39
|
+
'limit': json['limit'],
|
|
40
|
+
'total': json['total'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function PageFileVersionToJSON(json) {
|
|
44
|
+
return PageFileVersionToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function PageFileVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'data': (value['data'].map(FileVersionToJSON)),
|
|
52
|
+
'page': value['page'],
|
|
53
|
+
'limit': value['limit'],
|
|
54
|
+
'total': value['total'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -22,11 +22,11 @@ export interface RoomTokenRoom {
|
|
|
22
22
|
*/
|
|
23
23
|
session?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The file's id, present on a file room.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RoomTokenRoom
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
file?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The room's live subjects, which this token reads.
|
|
32
32
|
* @type {string}
|
|
@@ -30,7 +30,7 @@ export function RoomTokenRoomFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
32
|
'session': json['session'] == null ? undefined : json['session'],
|
|
33
|
-
'
|
|
33
|
+
'file': json['file'] == null ? undefined : json['file'],
|
|
34
34
|
'subscribe': json['subscribe'],
|
|
35
35
|
'publish': json['publish'],
|
|
36
36
|
};
|
|
@@ -44,7 +44,7 @@ export function RoomTokenRoomToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
46
|
'session': value['session'],
|
|
47
|
-
'
|
|
47
|
+
'file': value['file'],
|
|
48
48
|
'subscribe': value['subscribe'],
|
|
49
49
|
'publish': value['publish'],
|
|
50
50
|
};
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RoomTokenRoomRequest {
|
|
18
18
|
/**
|
|
19
|
-
* A conversation to join, by id. Set this or
|
|
19
|
+
* A conversation to join, by id. Set this or file, not both.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RoomTokenRoomRequest
|
|
22
22
|
*/
|
|
23
23
|
session?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* A file to join, by id: its versions, data writes and comments, and the artifacts pointing at it. Set this or session, not both.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RoomTokenRoomRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
file?: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the RoomTokenRoomRequest interface.
|
|
@@ -26,7 +26,7 @@ export function RoomTokenRoomRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'session': json['session'] == null ? undefined : json['session'],
|
|
29
|
-
'
|
|
29
|
+
'file': json['file'] == null ? undefined : json['file'],
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
export function RoomTokenRoomRequestToJSON(json) {
|
|
@@ -38,6 +38,6 @@ export function RoomTokenRoomRequestToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'session': value['session'],
|
|
41
|
-
'
|
|
41
|
+
'file': value['file'],
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -39,6 +39,30 @@ export interface SelectorAnchor {
|
|
|
39
39
|
* @memberof SelectorAnchor
|
|
40
40
|
*/
|
|
41
41
|
y: number;
|
|
42
|
+
/**
|
|
43
|
+
* The clicked element's own id, when no other element carries it (max 1024 chars)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SelectorAnchor
|
|
46
|
+
*/
|
|
47
|
+
elementId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The clicked element's visible text, when it shows any (max 512 chars)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SelectorAnchor
|
|
52
|
+
*/
|
|
53
|
+
quote?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Visible text immediately before the quote (max 64 chars)
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SelectorAnchor
|
|
58
|
+
*/
|
|
59
|
+
prefix?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Visible text immediately after the quote (max 64 chars)
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SelectorAnchor
|
|
64
|
+
*/
|
|
65
|
+
suffix?: string;
|
|
42
66
|
}
|
|
43
67
|
/**
|
|
44
68
|
* @export
|
|
@@ -43,6 +43,10 @@ export function SelectorAnchorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'path': json['path'],
|
|
44
44
|
'x': json['x'],
|
|
45
45
|
'y': json['y'],
|
|
46
|
+
'elementId': json['elementId'] == null ? undefined : json['elementId'],
|
|
47
|
+
'quote': json['quote'] == null ? undefined : json['quote'],
|
|
48
|
+
'prefix': json['prefix'] == null ? undefined : json['prefix'],
|
|
49
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
46
50
|
};
|
|
47
51
|
}
|
|
48
52
|
export function SelectorAnchorToJSON(json) {
|
|
@@ -57,5 +61,9 @@ export function SelectorAnchorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
61
|
'path': value['path'],
|
|
58
62
|
'x': value['x'],
|
|
59
63
|
'y': value['y'],
|
|
64
|
+
'elementId': value['elementId'],
|
|
65
|
+
'quote': value['quote'],
|
|
66
|
+
'prefix': value['prefix'],
|
|
67
|
+
'suffix': value['suffix'],
|
|
60
68
|
};
|
|
61
69
|
}
|