@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
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ModelFileStatusEnum = void 0;
|
|
16
|
+
exports.ModelFilePreviewStatusEnum = exports.ModelFileStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfModelFile = instanceOfModelFile;
|
|
18
18
|
exports.ModelFileFromJSON = ModelFileFromJSON;
|
|
19
19
|
exports.ModelFileFromJSONTyped = ModelFileFromJSONTyped;
|
|
20
20
|
exports.ModelFileToJSON = ModelFileToJSON;
|
|
21
21
|
exports.ModelFileToJSONTyped = ModelFileToJSONTyped;
|
|
22
|
+
const IdentitySet_1 = require("./IdentitySet");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -26,6 +27,13 @@ exports.ModelFileStatusEnum = {
|
|
|
26
27
|
Pending: 'PENDING',
|
|
27
28
|
Ready: 'READY'
|
|
28
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.ModelFilePreviewStatusEnum = {
|
|
34
|
+
Online: 'ONLINE',
|
|
35
|
+
Unreachable: 'UNREACHABLE'
|
|
36
|
+
};
|
|
29
37
|
/**
|
|
30
38
|
* Check if a given object implements the ModelFile interface.
|
|
31
39
|
*/
|
|
@@ -48,6 +56,14 @@ function instanceOfModelFile(value) {
|
|
|
48
56
|
return false;
|
|
49
57
|
if (!('labels' in value) || value['labels'] === undefined)
|
|
50
58
|
return false;
|
|
59
|
+
if (!('currentVersion' in value) || value['currentVersion'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('openCommentCount' in value) || value['openCommentCount'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('folder' in value) || value['folder'] === undefined)
|
|
66
|
+
return false;
|
|
51
67
|
return true;
|
|
52
68
|
}
|
|
53
69
|
function ModelFileFromJSON(json) {
|
|
@@ -69,6 +85,16 @@ function ModelFileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
85
|
'createdAt': (new Date(json['createdAt'])),
|
|
70
86
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
71
87
|
'labels': json['labels'],
|
|
88
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
89
|
+
'currentVersion': json['currentVersion'],
|
|
90
|
+
'title': json['title'],
|
|
91
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
92
|
+
'openCommentCount': json['openCommentCount'],
|
|
93
|
+
'createdBy': json['createdBy'] == null ? undefined : (0, IdentitySet_1.IdentitySetFromJSON)(json['createdBy']),
|
|
94
|
+
'folder': json['folder'],
|
|
95
|
+
'thumbnailFileId': json['thumbnailFileId'] == null ? undefined : json['thumbnailFileId'],
|
|
96
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
97
|
+
'previewStatus': json['previewStatus'] == null ? undefined : json['previewStatus'],
|
|
72
98
|
};
|
|
73
99
|
}
|
|
74
100
|
function ModelFileToJSON(json) {
|
|
@@ -90,5 +116,15 @@ function ModelFileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
90
116
|
'createdAt': value['createdAt'].toISOString(),
|
|
91
117
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
92
118
|
'labels': value['labels'],
|
|
119
|
+
'path': value['path'],
|
|
120
|
+
'currentVersion': value['currentVersion'],
|
|
121
|
+
'title': value['title'],
|
|
122
|
+
'description': value['description'],
|
|
123
|
+
'openCommentCount': value['openCommentCount'],
|
|
124
|
+
'createdBy': (0, IdentitySet_1.IdentitySetToJSON)(value['createdBy']),
|
|
125
|
+
'folder': value['folder'],
|
|
126
|
+
'thumbnailFileId': value['thumbnailFileId'],
|
|
127
|
+
'url': value['url'],
|
|
128
|
+
'previewStatus': value['previewStatus'],
|
|
93
129
|
};
|
|
94
130
|
}
|
|
@@ -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;
|
package/node_modules/@orchestraworks/client/dist/models/{PageArtifactSummary.js → PageArtifact.js}
RENAMED
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
const
|
|
16
|
+
exports.instanceOfPageArtifact = instanceOfPageArtifact;
|
|
17
|
+
exports.PageArtifactFromJSON = PageArtifactFromJSON;
|
|
18
|
+
exports.PageArtifactFromJSONTyped = PageArtifactFromJSONTyped;
|
|
19
|
+
exports.PageArtifactToJSON = PageArtifactToJSON;
|
|
20
|
+
exports.PageArtifactToJSONTyped = PageArtifactToJSONTyped;
|
|
21
|
+
const Artifact_1 = require("./Artifact");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the PageArtifact interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfPageArtifact(value) {
|
|
26
26
|
if (!('data' in value) || value['data'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('page' in value) || value['page'] === undefined)
|
|
@@ -33,29 +33,29 @@ function instanceOfPageArtifactSummary(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
return true;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
36
|
+
function PageArtifactFromJSON(json) {
|
|
37
|
+
return PageArtifactFromJSONTyped(json, false);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function PageArtifactFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
40
|
if (json == null) {
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(Artifact_1.ArtifactFromJSON)),
|
|
45
45
|
'page': json['page'],
|
|
46
46
|
'limit': json['limit'],
|
|
47
47
|
'total': json['total'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function PageArtifactToJSON(json) {
|
|
51
|
+
return PageArtifactToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function PageArtifactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
54
|
if (value == null) {
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(Artifact_1.ArtifactToJSON)),
|
|
59
59
|
'page': value['page'],
|
|
60
60
|
'limit': value['limit'],
|
|
61
61
|
'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,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Orchestra platform API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPageFileVersion = instanceOfPageFileVersion;
|
|
17
|
+
exports.PageFileVersionFromJSON = PageFileVersionFromJSON;
|
|
18
|
+
exports.PageFileVersionFromJSONTyped = PageFileVersionFromJSONTyped;
|
|
19
|
+
exports.PageFileVersionToJSON = PageFileVersionToJSON;
|
|
20
|
+
exports.PageFileVersionToJSONTyped = PageFileVersionToJSONTyped;
|
|
21
|
+
const FileVersion_1 = require("./FileVersion");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PageFileVersion interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPageFileVersion(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PageFileVersionFromJSON(json) {
|
|
37
|
+
return PageFileVersionFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PageFileVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(FileVersion_1.FileVersionFromJSON)),
|
|
45
|
+
'page': json['page'],
|
|
46
|
+
'limit': json['limit'],
|
|
47
|
+
'total': json['total'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PageFileVersionToJSON(json) {
|
|
51
|
+
return PageFileVersionToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PageFileVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(FileVersion_1.FileVersionToJSON)),
|
|
59
|
+
'page': value['page'],
|
|
60
|
+
'limit': value['limit'],
|
|
61
|
+
'total': value['total'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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}
|
|
@@ -37,7 +37,7 @@ function RoomTokenRoomFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'session': json['session'] == null ? undefined : json['session'],
|
|
40
|
-
'
|
|
40
|
+
'file': json['file'] == null ? undefined : json['file'],
|
|
41
41
|
'subscribe': json['subscribe'],
|
|
42
42
|
'publish': json['publish'],
|
|
43
43
|
};
|
|
@@ -51,7 +51,7 @@ function RoomTokenRoomToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
53
|
'session': value['session'],
|
|
54
|
-
'
|
|
54
|
+
'file': value['file'],
|
|
55
55
|
'subscribe': value['subscribe'],
|
|
56
56
|
'publish': value['publish'],
|
|
57
57
|
};
|
|
@@ -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.
|
|
@@ -33,7 +33,7 @@ function RoomTokenRoomRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'session': json['session'] == null ? undefined : json['session'],
|
|
36
|
-
'
|
|
36
|
+
'file': json['file'] == null ? undefined : json['file'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function RoomTokenRoomRequestToJSON(json) {
|
|
@@ -45,6 +45,6 @@ function RoomTokenRoomRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'session': value['session'],
|
|
48
|
-
'
|
|
48
|
+
'file': value['file'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -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
|
|
@@ -51,6 +51,10 @@ function SelectorAnchorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'path': json['path'],
|
|
52
52
|
'x': json['x'],
|
|
53
53
|
'y': json['y'],
|
|
54
|
+
'elementId': json['elementId'] == null ? undefined : json['elementId'],
|
|
55
|
+
'quote': json['quote'] == null ? undefined : json['quote'],
|
|
56
|
+
'prefix': json['prefix'] == null ? undefined : json['prefix'],
|
|
57
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
56
60
|
function SelectorAnchorToJSON(json) {
|
|
@@ -65,5 +69,9 @@ function SelectorAnchorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
69
|
'path': value['path'],
|
|
66
70
|
'x': value['x'],
|
|
67
71
|
'y': value['y'],
|
|
72
|
+
'elementId': value['elementId'],
|
|
73
|
+
'quote': value['quote'],
|
|
74
|
+
'prefix': value['prefix'],
|
|
75
|
+
'suffix': value['suffix'],
|
|
68
76
|
};
|
|
69
77
|
}
|
|
@@ -22,7 +22,7 @@ export interface SnapshotAnchor {
|
|
|
22
22
|
*/
|
|
23
23
|
kind: SnapshotAnchorKindEnum;
|
|
24
24
|
/**
|
|
25
|
-
* The frame the comment is pinned on: a READY file in the
|
|
25
|
+
* The frame the comment is pinned on: a READY file in the commented file's team or Shared. The file cannot be deleted while a comment names it
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SnapshotAnchor
|
|
28
28
|
*/
|
|
@@ -33,14 +33,6 @@ export interface UpdateArtifactRequest {
|
|
|
33
33
|
* @memberof UpdateArtifactRequest
|
|
34
34
|
*/
|
|
35
35
|
notifyMode?: UpdateArtifactRequestNotifyModeEnum;
|
|
36
|
-
/**
|
|
37
|
-
* Labels: the customer's key-to-value tags; the platform reads no key. Merged into the stored labels as a JSON Merge Patch: absent leaves them, a key with a string sets it, a key with null removes it, and null removes them all
|
|
38
|
-
* @type {{ [key: string]: string | null; }}
|
|
39
|
-
* @memberof UpdateArtifactRequest
|
|
40
|
-
*/
|
|
41
|
-
labels?: {
|
|
42
|
-
[key: string]: string | null;
|
|
43
|
-
};
|
|
44
36
|
/**
|
|
45
37
|
* The work item to attach it to, by id or slug, which the caller must be able to read and which must sit in the artifact's team or Shared; null detaches it from its item
|
|
46
38
|
* @type {string}
|
|
@@ -43,7 +43,6 @@ function UpdateArtifactRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'name': json['name'] == null ? undefined : json['name'],
|
|
44
44
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
45
45
|
'notifyMode': json['notifyMode'] == null ? undefined : json['notifyMode'],
|
|
46
|
-
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
47
46
|
'workItemId': json['workItemId'] == null ? undefined : json['workItemId'],
|
|
48
47
|
};
|
|
49
48
|
}
|
|
@@ -58,7 +57,6 @@ function UpdateArtifactRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
57
|
'name': value['name'],
|
|
59
58
|
'slug': value['slug'],
|
|
60
59
|
'notifyMode': value['notifyMode'],
|
|
61
|
-
'labels': value['labels'],
|
|
62
60
|
'workItemId': value['workItemId'],
|
|
63
61
|
};
|
|
64
62
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateFileRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateFileRequest {
|
|
18
|
+
/**
|
|
19
|
+
* New library path in the same team, `/{team}/<path>`; a path in another team is refused
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateFileRequest
|
|
22
|
+
*/
|
|
23
|
+
path?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Labels: the customer's key-to-value tags; the platform reads no key. Merged into the stored labels as a JSON Merge Patch: absent leaves them, a key with a string sets it, a key with null removes it, and null removes them all
|
|
26
|
+
* @type {{ [key: string]: string | null; }}
|
|
27
|
+
* @memberof UpdateFileRequest
|
|
28
|
+
*/
|
|
29
|
+
labels?: {
|
|
30
|
+
[key: string]: string | null;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the UpdateFileRequest interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfUpdateFileRequest(value: object): value is UpdateFileRequest;
|
|
37
|
+
export declare function UpdateFileRequestFromJSON(json: any): UpdateFileRequest;
|
|
38
|
+
export declare function UpdateFileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFileRequest;
|
|
39
|
+
export declare function UpdateFileRequestToJSON(json: any): UpdateFileRequest;
|
|
40
|
+
export declare function UpdateFileRequestToJSONTyped(value?: UpdateFileRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Orchestra platform API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateFileRequest = instanceOfUpdateFileRequest;
|
|
17
|
+
exports.UpdateFileRequestFromJSON = UpdateFileRequestFromJSON;
|
|
18
|
+
exports.UpdateFileRequestFromJSONTyped = UpdateFileRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateFileRequestToJSON = UpdateFileRequestToJSON;
|
|
20
|
+
exports.UpdateFileRequestToJSONTyped = UpdateFileRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateFileRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateFileRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateFileRequestFromJSON(json) {
|
|
28
|
+
return UpdateFileRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateFileRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
36
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateFileRequestToJSON(json) {
|
|
40
|
+
return UpdateFileRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateFileRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'path': value['path'],
|
|
48
|
+
'labels': value['labels'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ArtifactSummary } from './ArtifactSummary';
|
|
13
12
|
import type { StageSummary } from './StageSummary';
|
|
14
13
|
import type { WorkItemAssignment } from './WorkItemAssignment';
|
|
15
14
|
import type { WorkItemRelations } from './WorkItemRelations';
|
|
15
|
+
import type { Artifact } from './Artifact';
|
|
16
16
|
import type { PipelineSummary } from './PipelineSummary';
|
|
17
17
|
import type { WorkItemCheck } from './WorkItemCheck';
|
|
18
18
|
import type { SessionSummary } from './SessionSummary';
|
|
@@ -130,10 +130,10 @@ export interface WorkItem {
|
|
|
130
130
|
sessions: Array<SessionSummary>;
|
|
131
131
|
/**
|
|
132
132
|
* Every artifact attached to this item by its `workItemId`, newest first, each as `GET /artifacts` answers it
|
|
133
|
-
* @type {Array<
|
|
133
|
+
* @type {Array<Artifact>}
|
|
134
134
|
* @memberof WorkItem
|
|
135
135
|
*/
|
|
136
|
-
artifacts: Array<
|
|
136
|
+
artifacts: Array<Artifact>;
|
|
137
137
|
/**
|
|
138
138
|
* When the item entered its stage, by create, move or reopen
|
|
139
139
|
* @type {Date}
|
|
@@ -19,10 +19,10 @@ exports.WorkItemFromJSONTyped = WorkItemFromJSONTyped;
|
|
|
19
19
|
exports.WorkItemToJSON = WorkItemToJSON;
|
|
20
20
|
exports.WorkItemToJSONTyped = WorkItemToJSONTyped;
|
|
21
21
|
const runtime_1 = require("../runtime");
|
|
22
|
-
const ArtifactSummary_1 = require("./ArtifactSummary");
|
|
23
22
|
const StageSummary_1 = require("./StageSummary");
|
|
24
23
|
const WorkItemAssignment_1 = require("./WorkItemAssignment");
|
|
25
24
|
const WorkItemRelations_1 = require("./WorkItemRelations");
|
|
25
|
+
const Artifact_1 = require("./Artifact");
|
|
26
26
|
const PipelineSummary_1 = require("./PipelineSummary");
|
|
27
27
|
const WorkItemCheck_1 = require("./WorkItemCheck");
|
|
28
28
|
const SessionSummary_1 = require("./SessionSummary");
|
|
@@ -93,7 +93,7 @@ function WorkItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
93
93
|
'duplicateOf': (0, WorkItemRelations_1.WorkItemRelationsFromJSON)(json['duplicateOf']),
|
|
94
94
|
'duplicates': (0, WorkItemRelations_1.WorkItemRelationsFromJSON)(json['duplicates']),
|
|
95
95
|
'sessions': (json['sessions'].map(SessionSummary_1.SessionSummaryFromJSON)),
|
|
96
|
-
'artifacts': (json['artifacts'].map(
|
|
96
|
+
'artifacts': (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
97
97
|
'stageEnteredAt': (new Date(json['stageEnteredAt'])),
|
|
98
98
|
'unassignedAt': json['unassignedAt'] == null ? undefined : (new Date(json['unassignedAt'])),
|
|
99
99
|
'moves24h': json['moves24h'],
|
|
@@ -126,7 +126,7 @@ function WorkItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
126
126
|
'duplicateOf': (0, WorkItemRelations_1.WorkItemRelationsToJSON)(value['duplicateOf']),
|
|
127
127
|
'duplicates': (0, WorkItemRelations_1.WorkItemRelationsToJSON)(value['duplicates']),
|
|
128
128
|
'sessions': (value['sessions'].map(SessionSummary_1.SessionSummaryToJSON)),
|
|
129
|
-
'artifacts': (value['artifacts'].map(
|
|
129
|
+
'artifacts': (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
|
|
130
130
|
'stageEnteredAt': value['stageEnteredAt'].toISOString(),
|
|
131
131
|
'unassignedAt': value['unassignedAt'] == null ? value['unassignedAt'] : value['unassignedAt'].toISOString(),
|
|
132
132
|
'moves24h': value['moves24h'],
|