@orchestraworks/cli 0.8.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 +31100 -17245
- 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 -53
- package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.js +7 -29
- 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 -53
- package/node_modules/@orchestraworks/client/dist/models/Artifact.js +8 -30
- 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/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 -139
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.js +0 -95
- 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 -139
- package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.js +0 -103
- 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
|
@@ -1,77 +0,0 @@
|
|
|
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
|
-
/**
|
|
15
|
-
* Check if a given object implements the ArtifactVersion interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfArtifactVersion(value) {
|
|
18
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('number' in value) || value['number'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('dataVersion' in value) || value['dataVersion'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('publishedBy' in value) || value['publishedBy'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('publishedAt' in value) || value['publishedAt'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function ArtifactVersionFromJSON(json) {
|
|
31
|
-
return ArtifactVersionFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function ArtifactVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'id': json['id'],
|
|
39
|
-
'number': json['number'],
|
|
40
|
-
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
41
|
-
'url': json['url'] == null ? undefined : json['url'],
|
|
42
|
-
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
43
|
-
'filename': json['filename'] == null ? undefined : json['filename'],
|
|
44
|
-
'sizeBytes': json['sizeBytes'] == null ? undefined : json['sizeBytes'],
|
|
45
|
-
'sha256': json['sha256'] == null ? undefined : json['sha256'],
|
|
46
|
-
'dataVersion': json['dataVersion'],
|
|
47
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
48
|
-
'thumbnailFileId': json['thumbnailFileId'] == null ? undefined : json['thumbnailFileId'],
|
|
49
|
-
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
50
|
-
'publishedBy': json['publishedBy'],
|
|
51
|
-
'publishedAt': (new Date(json['publishedAt'])),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export function ArtifactVersionToJSON(json) {
|
|
55
|
-
return ArtifactVersionToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
export function ArtifactVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': value['id'],
|
|
63
|
-
'number': value['number'],
|
|
64
|
-
'fileId': value['fileId'],
|
|
65
|
-
'url': value['url'],
|
|
66
|
-
'contentType': value['contentType'],
|
|
67
|
-
'filename': value['filename'],
|
|
68
|
-
'sizeBytes': value['sizeBytes'],
|
|
69
|
-
'sha256': value['sha256'],
|
|
70
|
-
'dataVersion': value['dataVersion'],
|
|
71
|
-
'description': value['description'],
|
|
72
|
-
'thumbnailFileId': value['thumbnailFileId'],
|
|
73
|
-
'sessionId': value['sessionId'],
|
|
74
|
-
'publishedBy': value['publishedBy'],
|
|
75
|
-
'publishedAt': value['publishedAt'].toISOString(),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 { ArtifactSummary } from './ArtifactSummary';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PageArtifactSummary
|
|
17
|
-
*/
|
|
18
|
-
export interface PageArtifactSummary {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ArtifactSummary>}
|
|
22
|
-
* @memberof PageArtifactSummary
|
|
23
|
-
*/
|
|
24
|
-
data: Array<ArtifactSummary>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof PageArtifactSummary
|
|
29
|
-
*/
|
|
30
|
-
page: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof PageArtifactSummary
|
|
35
|
-
*/
|
|
36
|
-
limit: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof PageArtifactSummary
|
|
41
|
-
*/
|
|
42
|
-
total: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the PageArtifactSummary interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfPageArtifactSummary(value: object): value is PageArtifactSummary;
|
|
48
|
-
export declare function PageArtifactSummaryFromJSON(json: any): PageArtifactSummary;
|
|
49
|
-
export declare function PageArtifactSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageArtifactSummary;
|
|
50
|
-
export declare function PageArtifactSummaryToJSON(json: any): PageArtifactSummary;
|
|
51
|
-
export declare function PageArtifactSummaryToJSONTyped(value?: PageArtifactSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,139 +0,0 @@
|
|
|
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 ArtifactSummary
|
|
17
|
-
*/
|
|
18
|
-
export interface ArtifactSummary {
|
|
19
|
-
/**
|
|
20
|
-
* Artifact id (TypeID, `artifact_<suffix>`)
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ArtifactSummary
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* Session that produced it; absent for a standalone artifact
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ArtifactSummary
|
|
29
|
-
*/
|
|
30
|
-
sessionId?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The team it belongs to; absent means Shared
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ArtifactSummary
|
|
35
|
-
*/
|
|
36
|
-
teamId?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Slug, unique per organization among live artifacts
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ArtifactSummary
|
|
41
|
-
*/
|
|
42
|
-
slug: string;
|
|
43
|
-
/**
|
|
44
|
-
* Display name
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ArtifactSummary
|
|
47
|
-
*/
|
|
48
|
-
name: string;
|
|
49
|
-
/**
|
|
50
|
-
* Number of the newest version
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof ArtifactSummary
|
|
53
|
-
*/
|
|
54
|
-
currentVersion: number;
|
|
55
|
-
/**
|
|
56
|
-
* Content type of the newest version's file; absent on a link version
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ArtifactSummary
|
|
59
|
-
*/
|
|
60
|
-
contentType?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Size of the newest version's file in bytes; absent on a link version
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof ArtifactSummary
|
|
65
|
-
*/
|
|
66
|
-
sizeBytes?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Link the newest version points at; absent on a file version
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ArtifactSummary
|
|
71
|
-
*/
|
|
72
|
-
url?: string;
|
|
73
|
-
/**
|
|
74
|
-
* The newest version's one-line description; absent when it has none
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof ArtifactSummary
|
|
77
|
-
*/
|
|
78
|
-
description?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Where the newest version's thumbnail is read, `GET /artifacts/{id}/versions/{n}/thumbnail`; absent when it has none
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof ArtifactSummary
|
|
83
|
-
*/
|
|
84
|
-
thumbnailUrl?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Whether the machine ingress gateway would route this Preview's port now and that port's url is published: ONLINE when both hold, UNREACHABLE otherwise. Absent when the newest version is not a link into the machine preview zone.
|
|
87
|
-
* @type {ArtifactSummaryPreviewStatusEnum}
|
|
88
|
-
* @memberof ArtifactSummary
|
|
89
|
-
*/
|
|
90
|
-
previewStatus?: ArtifactSummaryPreviewStatusEnum;
|
|
91
|
-
/**
|
|
92
|
-
* How many of its comments are open
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof ArtifactSummary
|
|
95
|
-
*/
|
|
96
|
-
openCommentCount: number;
|
|
97
|
-
/**
|
|
98
|
-
* The work item it is attached to, set at create or by an update; absent when it has none
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof ArtifactSummary
|
|
101
|
-
*/
|
|
102
|
-
workItemId?: string;
|
|
103
|
-
/**
|
|
104
|
-
* Who created it, as `GET /users` or `GET /agents` answers them; absent when the creator no longer resolves
|
|
105
|
-
* @type {IdentitySet}
|
|
106
|
-
* @memberof ArtifactSummary
|
|
107
|
-
*/
|
|
108
|
-
createdBy?: IdentitySet;
|
|
109
|
-
/**
|
|
110
|
-
* Last update timestamp
|
|
111
|
-
* @type {Date}
|
|
112
|
-
* @memberof ArtifactSummary
|
|
113
|
-
*/
|
|
114
|
-
updatedAt: Date;
|
|
115
|
-
/**
|
|
116
|
-
* Labels: the customer's key-to-value tags; the platform reads no key
|
|
117
|
-
* @type {{ [key: string]: string; }}
|
|
118
|
-
* @memberof ArtifactSummary
|
|
119
|
-
*/
|
|
120
|
-
labels: {
|
|
121
|
-
[key: string]: string;
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* @export
|
|
126
|
-
*/
|
|
127
|
-
export declare const ArtifactSummaryPreviewStatusEnum: {
|
|
128
|
-
readonly Online: "ONLINE";
|
|
129
|
-
readonly Unreachable: "UNREACHABLE";
|
|
130
|
-
};
|
|
131
|
-
export type ArtifactSummaryPreviewStatusEnum = typeof ArtifactSummaryPreviewStatusEnum[keyof typeof ArtifactSummaryPreviewStatusEnum];
|
|
132
|
-
/**
|
|
133
|
-
* Check if a given object implements the ArtifactSummary interface.
|
|
134
|
-
*/
|
|
135
|
-
export declare function instanceOfArtifactSummary(value: object): value is ArtifactSummary;
|
|
136
|
-
export declare function ArtifactSummaryFromJSON(json: any): ArtifactSummary;
|
|
137
|
-
export declare function ArtifactSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactSummary;
|
|
138
|
-
export declare function ArtifactSummaryToJSON(json: any): ArtifactSummary;
|
|
139
|
-
export declare function ArtifactSummaryToJSONTyped(value?: ArtifactSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,103 +0,0 @@
|
|
|
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.ArtifactSummaryPreviewStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfArtifactSummary = instanceOfArtifactSummary;
|
|
18
|
-
exports.ArtifactSummaryFromJSON = ArtifactSummaryFromJSON;
|
|
19
|
-
exports.ArtifactSummaryFromJSONTyped = ArtifactSummaryFromJSONTyped;
|
|
20
|
-
exports.ArtifactSummaryToJSON = ArtifactSummaryToJSON;
|
|
21
|
-
exports.ArtifactSummaryToJSONTyped = ArtifactSummaryToJSONTyped;
|
|
22
|
-
const IdentitySet_1 = require("./IdentitySet");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ArtifactSummaryPreviewStatusEnum = {
|
|
27
|
-
Online: 'ONLINE',
|
|
28
|
-
Unreachable: 'UNREACHABLE'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ArtifactSummary interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfArtifactSummary(value) {
|
|
34
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('currentVersion' in value) || value['currentVersion'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('openCommentCount' in value) || value['openCommentCount'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('labels' in value) || value['labels'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
function ArtifactSummaryFromJSON(json) {
|
|
51
|
-
return ArtifactSummaryFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function ArtifactSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': json['id'],
|
|
59
|
-
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
60
|
-
'teamId': json['teamId'] == null ? undefined : json['teamId'],
|
|
61
|
-
'slug': json['slug'],
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'currentVersion': json['currentVersion'],
|
|
64
|
-
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
65
|
-
'sizeBytes': json['sizeBytes'] == null ? undefined : json['sizeBytes'],
|
|
66
|
-
'url': json['url'] == null ? undefined : json['url'],
|
|
67
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
68
|
-
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
69
|
-
'previewStatus': json['previewStatus'] == null ? undefined : json['previewStatus'],
|
|
70
|
-
'openCommentCount': json['openCommentCount'],
|
|
71
|
-
'workItemId': json['workItemId'] == null ? undefined : json['workItemId'],
|
|
72
|
-
'createdBy': json['createdBy'] == null ? undefined : (0, IdentitySet_1.IdentitySetFromJSON)(json['createdBy']),
|
|
73
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
74
|
-
'labels': json['labels'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function ArtifactSummaryToJSON(json) {
|
|
78
|
-
return ArtifactSummaryToJSONTyped(json, false);
|
|
79
|
-
}
|
|
80
|
-
function ArtifactSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
'id': value['id'],
|
|
86
|
-
'sessionId': value['sessionId'],
|
|
87
|
-
'teamId': value['teamId'],
|
|
88
|
-
'slug': value['slug'],
|
|
89
|
-
'name': value['name'],
|
|
90
|
-
'currentVersion': value['currentVersion'],
|
|
91
|
-
'contentType': value['contentType'],
|
|
92
|
-
'sizeBytes': value['sizeBytes'],
|
|
93
|
-
'url': value['url'],
|
|
94
|
-
'description': value['description'],
|
|
95
|
-
'thumbnailUrl': value['thumbnailUrl'],
|
|
96
|
-
'previewStatus': value['previewStatus'],
|
|
97
|
-
'openCommentCount': value['openCommentCount'],
|
|
98
|
-
'workItemId': value['workItemId'],
|
|
99
|
-
'createdBy': (0, IdentitySet_1.IdentitySetToJSON)(value['createdBy']),
|
|
100
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
101
|
-
'labels': value['labels'],
|
|
102
|
-
};
|
|
103
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
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 ArtifactVersion
|
|
16
|
-
*/
|
|
17
|
-
export interface ArtifactVersion {
|
|
18
|
-
/**
|
|
19
|
-
* Version id (TypeID, `artifactversion_<suffix>`)
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ArtifactVersion
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* Version number, counting from 1
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ArtifactVersion
|
|
28
|
-
*/
|
|
29
|
-
number: number;
|
|
30
|
-
/**
|
|
31
|
-
* File holding the bytes; absent on a link version
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ArtifactVersion
|
|
34
|
-
*/
|
|
35
|
-
fileId?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Link this version points at; absent on a file version
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ArtifactVersion
|
|
40
|
-
*/
|
|
41
|
-
url?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Content type of the file; absent on a link version
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ArtifactVersion
|
|
46
|
-
*/
|
|
47
|
-
contentType?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Filename of the file; absent on a link version and on a file with no name
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ArtifactVersion
|
|
52
|
-
*/
|
|
53
|
-
filename?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Size of the file in bytes; absent on a link version
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof ArtifactVersion
|
|
58
|
-
*/
|
|
59
|
-
sizeBytes?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Content hash of the file; absent on a link version
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof ArtifactVersion
|
|
64
|
-
*/
|
|
65
|
-
sha256?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Revision counter of this version's saved data document
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof ArtifactVersion
|
|
70
|
-
*/
|
|
71
|
-
dataVersion: number;
|
|
72
|
-
/**
|
|
73
|
-
* One line saying what this version is; absent when the publisher gave none
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof ArtifactVersion
|
|
76
|
-
*/
|
|
77
|
-
description?: string;
|
|
78
|
-
/**
|
|
79
|
-
* The PNG or JPEG file the publisher drew of this version; absent when it gave none
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof ArtifactVersion
|
|
82
|
-
*/
|
|
83
|
-
thumbnailFileId?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Conversation that published this version; absent when none was named
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof ArtifactVersion
|
|
88
|
-
*/
|
|
89
|
-
sessionId?: string;
|
|
90
|
-
/**
|
|
91
|
-
* Principal that published it
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof ArtifactVersion
|
|
94
|
-
*/
|
|
95
|
-
publishedBy: string;
|
|
96
|
-
/**
|
|
97
|
-
* Publication timestamp
|
|
98
|
-
* @type {Date}
|
|
99
|
-
* @memberof ArtifactVersion
|
|
100
|
-
*/
|
|
101
|
-
publishedAt: Date;
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Check if a given object implements the ArtifactVersion interface.
|
|
105
|
-
*/
|
|
106
|
-
export declare function instanceOfArtifactVersion(value: object): value is ArtifactVersion;
|
|
107
|
-
export declare function ArtifactVersionFromJSON(json: any): ArtifactVersion;
|
|
108
|
-
export declare function ArtifactVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactVersion;
|
|
109
|
-
export declare function ArtifactVersionToJSON(json: any): ArtifactVersion;
|
|
110
|
-
export declare function ArtifactVersionToJSONTyped(value?: ArtifactVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,84 +0,0 @@
|
|
|
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.instanceOfArtifactVersion = instanceOfArtifactVersion;
|
|
17
|
-
exports.ArtifactVersionFromJSON = ArtifactVersionFromJSON;
|
|
18
|
-
exports.ArtifactVersionFromJSONTyped = ArtifactVersionFromJSONTyped;
|
|
19
|
-
exports.ArtifactVersionToJSON = ArtifactVersionToJSON;
|
|
20
|
-
exports.ArtifactVersionToJSONTyped = ArtifactVersionToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ArtifactVersion interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfArtifactVersion(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('number' in value) || value['number'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('dataVersion' in value) || value['dataVersion'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('publishedBy' in value) || value['publishedBy'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('publishedAt' in value) || value['publishedAt'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function ArtifactVersionFromJSON(json) {
|
|
38
|
-
return ArtifactVersionFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function ArtifactVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': json['id'],
|
|
46
|
-
'number': json['number'],
|
|
47
|
-
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
48
|
-
'url': json['url'] == null ? undefined : json['url'],
|
|
49
|
-
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
50
|
-
'filename': json['filename'] == null ? undefined : json['filename'],
|
|
51
|
-
'sizeBytes': json['sizeBytes'] == null ? undefined : json['sizeBytes'],
|
|
52
|
-
'sha256': json['sha256'] == null ? undefined : json['sha256'],
|
|
53
|
-
'dataVersion': json['dataVersion'],
|
|
54
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
55
|
-
'thumbnailFileId': json['thumbnailFileId'] == null ? undefined : json['thumbnailFileId'],
|
|
56
|
-
'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
|
|
57
|
-
'publishedBy': json['publishedBy'],
|
|
58
|
-
'publishedAt': (new Date(json['publishedAt'])),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function ArtifactVersionToJSON(json) {
|
|
62
|
-
return ArtifactVersionToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function ArtifactVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
'id': value['id'],
|
|
70
|
-
'number': value['number'],
|
|
71
|
-
'fileId': value['fileId'],
|
|
72
|
-
'url': value['url'],
|
|
73
|
-
'contentType': value['contentType'],
|
|
74
|
-
'filename': value['filename'],
|
|
75
|
-
'sizeBytes': value['sizeBytes'],
|
|
76
|
-
'sha256': value['sha256'],
|
|
77
|
-
'dataVersion': value['dataVersion'],
|
|
78
|
-
'description': value['description'],
|
|
79
|
-
'thumbnailFileId': value['thumbnailFileId'],
|
|
80
|
-
'sessionId': value['sessionId'],
|
|
81
|
-
'publishedBy': value['publishedBy'],
|
|
82
|
-
'publishedAt': value['publishedAt'].toISOString(),
|
|
83
|
-
};
|
|
84
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 { ArtifactSummary } from './ArtifactSummary';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PageArtifactSummary
|
|
17
|
-
*/
|
|
18
|
-
export interface PageArtifactSummary {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ArtifactSummary>}
|
|
22
|
-
* @memberof PageArtifactSummary
|
|
23
|
-
*/
|
|
24
|
-
data: Array<ArtifactSummary>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof PageArtifactSummary
|
|
29
|
-
*/
|
|
30
|
-
page: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof PageArtifactSummary
|
|
35
|
-
*/
|
|
36
|
-
limit: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof PageArtifactSummary
|
|
41
|
-
*/
|
|
42
|
-
total: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the PageArtifactSummary interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfPageArtifactSummary(value: object): value is PageArtifactSummary;
|
|
48
|
-
export declare function PageArtifactSummaryFromJSON(json: any): PageArtifactSummary;
|
|
49
|
-
export declare function PageArtifactSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageArtifactSummary;
|
|
50
|
-
export declare function PageArtifactSummaryToJSON(json: any): PageArtifactSummary;
|
|
51
|
-
export declare function PageArtifactSummaryToJSONTyped(value?: PageArtifactSummary | null, ignoreDiscriminator?: boolean): any;
|