@boatdev/sdk 1.0.0 → 1.1.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/.openapi-generator/FILES +22 -0
- package/README.md +8 -26
- package/dist/apis/BoatApi.d.ts +132 -79
- package/dist/apis/BoatApi.js +188 -29
- package/dist/esm/apis/BoatApi.d.ts +132 -79
- package/dist/esm/apis/BoatApi.js +188 -29
- package/dist/esm/models/ActiveOrgResponse.d.ts +52 -0
- package/dist/esm/models/ActiveOrgResponse.js +58 -0
- package/dist/esm/models/ActiveOrgResponseAllOfActive.d.ts +52 -0
- package/dist/esm/models/ActiveOrgResponseAllOfActive.js +58 -0
- package/dist/esm/models/ActiveOrgUpdateRequest.d.ts +32 -0
- package/dist/esm/models/ActiveOrgUpdateRequest.js +43 -0
- package/dist/esm/models/CommandResponse.d.ts +6 -0
- package/dist/esm/models/CommandResponse.js +2 -0
- package/dist/esm/models/CommandStatusResponse.d.ts +6 -0
- package/dist/esm/models/CommandStatusResponse.js +2 -0
- package/dist/esm/models/CreateSandboxRequest.d.ts +2 -3
- package/dist/esm/models/CreateSandboxRequest.js +1 -2
- package/dist/esm/models/CreateSandboxResponse.d.ts +8 -1
- package/dist/esm/models/CreateSandboxResponse.js +4 -1
- package/dist/esm/models/DeletionOperation.d.ts +24 -0
- package/dist/esm/models/DeletionOperation.js +15 -0
- package/dist/esm/models/DeletionOperationListResponse.d.ts +52 -0
- package/dist/esm/models/DeletionOperationListResponse.js +58 -0
- package/dist/esm/models/ForkRequest.d.ts +1 -2
- package/dist/esm/models/ForkRequest.js +1 -2
- package/dist/esm/models/LimitsFields.d.ts +80 -0
- package/dist/esm/models/LimitsFields.js +28 -0
- package/dist/esm/models/LimitsFieldsCurrentLimits.d.ts +6 -0
- package/dist/esm/models/LimitsFieldsCurrentLimits.js +2 -0
- package/dist/esm/models/LimitsFieldsGiftLimit.d.ts +50 -0
- package/dist/esm/models/LimitsFieldsGiftLimit.js +47 -0
- package/dist/esm/models/LimitsFieldsSandboxPlanTiersInner.d.ts +80 -0
- package/dist/esm/models/LimitsFieldsSandboxPlanTiersInner.js +57 -0
- package/dist/esm/models/LimitsResponse.d.ts +80 -0
- package/dist/esm/models/LimitsResponse.js +28 -0
- package/dist/esm/models/MeResponseAllOfUser.d.ts +109 -0
- package/dist/esm/models/MeResponseAllOfUser.js +47 -0
- package/dist/esm/models/Org.d.ts +84 -0
- package/dist/esm/models/Org.js +79 -0
- package/dist/esm/models/OrgListResponse.d.ts +58 -0
- package/dist/esm/models/OrgListResponse.js +62 -0
- package/dist/esm/models/PromptEventData.d.ts +20 -0
- package/dist/esm/models/PromptEventData.js +8 -0
- package/dist/esm/models/PromptEventDataAttachmentsInner.d.ts +44 -0
- package/dist/esm/models/PromptEventDataAttachmentsInner.js +45 -0
- package/dist/esm/models/PromptEventDataCitationsInner.d.ts +50 -0
- package/dist/esm/models/PromptEventDataCitationsInner.js +47 -0
- package/dist/esm/models/RepoSelectionResponse.d.ts +6 -0
- package/dist/esm/models/RepoSelectionResponse.js +2 -0
- package/dist/esm/models/ReposResponse.d.ts +6 -0
- package/dist/esm/models/ReposResponse.js +2 -0
- package/dist/esm/models/Repository.d.ts +18 -0
- package/dist/esm/models/Repository.js +6 -0
- package/dist/esm/models/ResponseEventData.d.ts +6 -0
- package/dist/esm/models/ResponseEventData.js +2 -0
- package/dist/esm/models/ResumeRequest.d.ts +1 -2
- package/dist/esm/models/ResumeRequest.js +1 -2
- package/dist/esm/models/Sandbox.d.ts +43 -4
- package/dist/esm/models/Sandbox.js +21 -3
- package/dist/esm/models/SandboxActionResponse.d.ts +12 -0
- package/dist/esm/models/SandboxActionResponse.js +4 -0
- package/dist/esm/models/SandboxEnvironment.d.ts +12 -0
- package/dist/esm/models/SandboxEnvironment.js +4 -0
- package/dist/esm/models/SandboxEnvironmentListResponse.d.ts +26 -0
- package/dist/esm/models/SandboxEnvironmentListResponse.js +16 -0
- package/dist/esm/models/SandboxInfoResponse.d.ts +6 -0
- package/dist/esm/models/SandboxInfoResponse.js +2 -0
- package/dist/esm/models/SandboxTeam.d.ts +38 -0
- package/dist/esm/models/SandboxTeam.js +47 -0
- package/dist/esm/models/SandboxUsageResponse.d.ts +1 -2
- package/dist/esm/models/SandboxUsageResponse.js +1 -2
- package/dist/esm/models/SecretsResponse.d.ts +6 -0
- package/dist/esm/models/SecretsResponse.js +2 -0
- package/dist/esm/models/SelectedRepository.d.ts +18 -0
- package/dist/esm/models/SelectedRepository.js +6 -0
- package/dist/esm/models/SnapshotChunk.d.ts +2 -2
- package/dist/esm/models/SnapshotSummary.d.ts +3 -3
- package/dist/esm/models/SshKeyResponse.d.ts +12 -0
- package/dist/esm/models/SshKeyResponse.js +4 -0
- package/dist/esm/models/UpgradeSandboxEnvironmentResponse.d.ts +18 -0
- package/dist/esm/models/UpgradeSandboxEnvironmentResponse.js +6 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.d.ts +8 -0
- package/dist/esm/runtime.js +18 -0
- package/dist/models/ActiveOrgResponse.d.ts +52 -0
- package/dist/models/ActiveOrgResponse.js +66 -0
- package/dist/models/ActiveOrgResponseAllOfActive.d.ts +52 -0
- package/dist/models/ActiveOrgResponseAllOfActive.js +66 -0
- package/dist/models/ActiveOrgUpdateRequest.d.ts +32 -0
- package/dist/models/ActiveOrgUpdateRequest.js +50 -0
- package/dist/models/CommandResponse.d.ts +6 -0
- package/dist/models/CommandResponse.js +2 -0
- package/dist/models/CommandStatusResponse.d.ts +6 -0
- package/dist/models/CommandStatusResponse.js +2 -0
- package/dist/models/CreateSandboxRequest.d.ts +2 -3
- package/dist/models/CreateSandboxRequest.js +1 -2
- package/dist/models/CreateSandboxResponse.d.ts +8 -1
- package/dist/models/CreateSandboxResponse.js +4 -1
- package/dist/models/DeletionOperation.d.ts +24 -0
- package/dist/models/DeletionOperation.js +16 -1
- package/dist/models/DeletionOperationListResponse.d.ts +52 -0
- package/dist/models/DeletionOperationListResponse.js +66 -0
- package/dist/models/ForkRequest.d.ts +1 -2
- package/dist/models/ForkRequest.js +1 -2
- package/dist/models/LimitsFields.d.ts +80 -0
- package/dist/models/LimitsFields.js +28 -0
- package/dist/models/LimitsFieldsCurrentLimits.d.ts +6 -0
- package/dist/models/LimitsFieldsCurrentLimits.js +2 -0
- package/dist/models/LimitsFieldsGiftLimit.d.ts +50 -0
- package/dist/models/LimitsFieldsGiftLimit.js +54 -0
- package/dist/models/LimitsFieldsSandboxPlanTiersInner.d.ts +80 -0
- package/dist/models/LimitsFieldsSandboxPlanTiersInner.js +64 -0
- package/dist/models/LimitsResponse.d.ts +80 -0
- package/dist/models/LimitsResponse.js +28 -0
- package/dist/models/MeResponseAllOfUser.d.ts +109 -0
- package/dist/models/MeResponseAllOfUser.js +48 -0
- package/dist/models/Org.d.ts +84 -0
- package/dist/models/Org.js +87 -0
- package/dist/models/OrgListResponse.d.ts +58 -0
- package/dist/models/OrgListResponse.js +70 -0
- package/dist/models/PromptEventData.d.ts +20 -0
- package/dist/models/PromptEventData.js +8 -0
- package/dist/models/PromptEventDataAttachmentsInner.d.ts +44 -0
- package/dist/models/PromptEventDataAttachmentsInner.js +52 -0
- package/dist/models/PromptEventDataCitationsInner.d.ts +50 -0
- package/dist/models/PromptEventDataCitationsInner.js +54 -0
- package/dist/models/RepoSelectionResponse.d.ts +6 -0
- package/dist/models/RepoSelectionResponse.js +2 -0
- package/dist/models/ReposResponse.d.ts +6 -0
- package/dist/models/ReposResponse.js +2 -0
- package/dist/models/Repository.d.ts +18 -0
- package/dist/models/Repository.js +6 -0
- package/dist/models/ResponseEventData.d.ts +6 -0
- package/dist/models/ResponseEventData.js +2 -0
- package/dist/models/ResumeRequest.d.ts +1 -2
- package/dist/models/ResumeRequest.js +1 -2
- package/dist/models/Sandbox.d.ts +43 -4
- package/dist/models/Sandbox.js +22 -4
- package/dist/models/SandboxActionResponse.d.ts +12 -0
- package/dist/models/SandboxActionResponse.js +4 -0
- package/dist/models/SandboxEnvironment.d.ts +12 -0
- package/dist/models/SandboxEnvironment.js +4 -0
- package/dist/models/SandboxEnvironmentListResponse.d.ts +26 -0
- package/dist/models/SandboxEnvironmentListResponse.js +17 -0
- package/dist/models/SandboxInfoResponse.d.ts +6 -0
- package/dist/models/SandboxInfoResponse.js +2 -0
- package/dist/models/SandboxTeam.d.ts +38 -0
- package/dist/models/SandboxTeam.js +54 -0
- package/dist/models/SandboxUsageResponse.d.ts +1 -2
- package/dist/models/SandboxUsageResponse.js +1 -2
- package/dist/models/SecretsResponse.d.ts +6 -0
- package/dist/models/SecretsResponse.js +2 -0
- package/dist/models/SelectedRepository.d.ts +18 -0
- package/dist/models/SelectedRepository.js +6 -0
- package/dist/models/SnapshotChunk.d.ts +2 -2
- package/dist/models/SnapshotSummary.d.ts +3 -3
- package/dist/models/SshKeyResponse.d.ts +12 -0
- package/dist/models/SshKeyResponse.js +4 -0
- package/dist/models/UpgradeSandboxEnvironmentResponse.d.ts +18 -0
- package/dist/models/UpgradeSandboxEnvironmentResponse.js +6 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +8 -0
- package/dist/runtime.js +19 -0
- package/docs/ActiveOrgResponse.md +36 -0
- package/docs/ActiveOrgResponseAllOfActive.md +36 -0
- package/docs/ActiveOrgUpdateRequest.md +32 -0
- package/docs/BoatApi.md +228 -8
- package/docs/Command200Response.md +2 -0
- package/docs/CommandResponse.md +2 -0
- package/docs/CommandStatusResponse.md +2 -0
- package/docs/CreateSandboxResponse.md +2 -0
- package/docs/DeletionOperation.md +4 -0
- package/docs/DeletionOperationListResponse.md +36 -0
- package/docs/LimitsFields.md +26 -0
- package/docs/LimitsFieldsCurrentLimits.md +2 -0
- package/docs/LimitsFieldsGiftLimit.md +39 -0
- package/docs/LimitsFieldsSandboxPlanTiersInner.md +48 -0
- package/docs/LimitsResponse.md +26 -0
- package/docs/MeResponseAllOfUser.md +30 -0
- package/docs/Org.md +44 -0
- package/docs/OrgListResponse.md +38 -0
- package/docs/PromptEventData.md +6 -0
- package/docs/PromptEventDataAttachmentsInner.md +36 -0
- package/docs/PromptEventDataCitationsInner.md +38 -0
- package/docs/RepoSelectionResponse.md +2 -0
- package/docs/ReposResponse.md +2 -0
- package/docs/Repository.md +6 -0
- package/docs/ResponseEventData.md +2 -0
- package/docs/Sandbox.md +10 -0
- package/docs/SandboxActionResponse.md +4 -0
- package/docs/SandboxEnvironment.md +4 -0
- package/docs/SandboxEnvironmentListResponse.md +4 -0
- package/docs/SandboxInfoResponse.md +2 -0
- package/docs/SandboxTeam.md +35 -0
- package/docs/SecretsResponse.md +2 -0
- package/docs/SelectedRepository.md +6 -0
- package/docs/SshKeyResponse.md +4 -0
- package/docs/UpgradeSandboxEnvironmentResponse.md +6 -0
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +304 -79
- package/src/models/ActiveOrgResponse.ts +102 -0
- package/src/models/ActiveOrgResponseAllOfActive.ts +95 -0
- package/src/models/ActiveOrgUpdateRequest.ts +66 -0
- package/src/models/CommandResponse.ts +8 -0
- package/src/models/CommandStatusResponse.ts +8 -0
- package/src/models/CreateSandboxRequest.ts +3 -4
- package/src/models/CreateSandboxResponse.ts +11 -2
- package/src/models/DeletionOperation.ts +29 -0
- package/src/models/DeletionOperationListResponse.ts +102 -0
- package/src/models/ForkRequest.ts +2 -3
- package/src/models/LimitsFields.ts +118 -0
- package/src/models/LimitsFieldsCurrentLimits.ts +8 -0
- package/src/models/LimitsFieldsGiftLimit.ts +89 -0
- package/src/models/LimitsFieldsSandboxPlanTiersInner.ts +129 -0
- package/src/models/LimitsResponse.ts +118 -0
- package/src/models/MeResponseAllOfUser.ts +143 -0
- package/src/models/Org.ts +139 -0
- package/src/models/OrgListResponse.ts +111 -0
- package/src/models/PromptEventData.ts +39 -0
- package/src/models/PromptEventDataAttachmentsInner.ts +81 -0
- package/src/models/PromptEventDataCitationsInner.ts +89 -0
- package/src/models/RepoSelectionResponse.ts +8 -0
- package/src/models/ReposResponse.ts +8 -0
- package/src/models/Repository.ts +24 -0
- package/src/models/ResponseEventData.ts +8 -0
- package/src/models/ResumeRequest.ts +2 -3
- package/src/models/Sandbox.ts +63 -6
- package/src/models/SandboxActionResponse.ts +16 -0
- package/src/models/SandboxEnvironment.ts +16 -0
- package/src/models/SandboxEnvironmentListResponse.ts +34 -0
- package/src/models/SandboxInfoResponse.ts +8 -0
- package/src/models/SandboxTeam.ts +75 -0
- package/src/models/SandboxUsageResponse.ts +2 -3
- package/src/models/SecretsResponse.ts +8 -0
- package/src/models/SelectedRepository.ts +24 -0
- package/src/models/SnapshotChunk.ts +2 -2
- package/src/models/SnapshotSummary.ts +3 -3
- package/src/models/SshKeyResponse.ts +16 -0
- package/src/models/UpgradeSandboxEnvironmentResponse.ts +24 -0
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +23 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 Org
|
|
16
|
+
*/
|
|
17
|
+
export interface Org {
|
|
18
|
+
/**
|
|
19
|
+
* Your account id for the personal row, `team_…` for an organization.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Org
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Accepted wherever an org is passed, like the id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Org
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {OrgTypeEnum}
|
|
33
|
+
* @memberof Org
|
|
34
|
+
*/
|
|
35
|
+
type: OrgTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {OrgRoleEnum}
|
|
39
|
+
* @memberof Org
|
|
40
|
+
*/
|
|
41
|
+
role: OrgRoleEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof Org
|
|
46
|
+
*/
|
|
47
|
+
memberCount: number;
|
|
48
|
+
/**
|
|
49
|
+
* Stripe status of the organization's plan; absent on the personal row.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Org
|
|
52
|
+
*/
|
|
53
|
+
subscriptionStatus?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The wallet new sandboxes bill when a request names none.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Org
|
|
58
|
+
*/
|
|
59
|
+
active: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const OrgTypeEnum: {
|
|
65
|
+
readonly Personal: 'personal';
|
|
66
|
+
readonly Org: 'org';
|
|
67
|
+
};
|
|
68
|
+
export type OrgTypeEnum = typeof OrgTypeEnum[keyof typeof OrgTypeEnum];
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const OrgRoleEnum: {
|
|
73
|
+
readonly Owner: 'owner';
|
|
74
|
+
readonly Member: 'member';
|
|
75
|
+
};
|
|
76
|
+
export type OrgRoleEnum = typeof OrgRoleEnum[keyof typeof OrgRoleEnum];
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the Org interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfOrg(value: object): value is Org;
|
|
81
|
+
export declare function OrgFromJSON(json: any): Org;
|
|
82
|
+
export declare function OrgFromJSONTyped(json: any, ignoreDiscriminator: boolean): Org;
|
|
83
|
+
export declare function OrgToJSON(json: any): Org;
|
|
84
|
+
export declare function OrgToJSONTyped(value?: Org | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const OrgTypeEnum = {
|
|
18
|
+
Personal: 'personal',
|
|
19
|
+
Org: 'org'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export const OrgRoleEnum = {
|
|
25
|
+
Owner: 'owner',
|
|
26
|
+
Member: 'member'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the Org interface.
|
|
30
|
+
*/
|
|
31
|
+
export function instanceOfOrg(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('memberCount' in value) || value['memberCount'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
export function OrgFromJSON(json) {
|
|
47
|
+
return OrgFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function OrgFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'type': json['type'],
|
|
57
|
+
'role': json['role'],
|
|
58
|
+
'memberCount': json['memberCount'],
|
|
59
|
+
'subscriptionStatus': json['subscriptionStatus'] == null ? undefined : json['subscriptionStatus'],
|
|
60
|
+
'active': json['active'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function OrgToJSON(json) {
|
|
64
|
+
return OrgToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function OrgToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
'type': value['type'],
|
|
74
|
+
'role': value['role'],
|
|
75
|
+
'memberCount': value['memberCount'],
|
|
76
|
+
'subscriptionStatus': value['subscriptionStatus'],
|
|
77
|
+
'active': value['active'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { Org } from './Org';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrgListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface OrgListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof OrgListResponse
|
|
23
|
+
*/
|
|
24
|
+
ok: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrgListResponseTypeEnum}
|
|
28
|
+
* @memberof OrgListResponse
|
|
29
|
+
*/
|
|
30
|
+
type: OrgListResponseTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Whether this account ever set its active wallet. `false` means personal by default, never a choice.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof OrgListResponse
|
|
35
|
+
*/
|
|
36
|
+
activeWalletChosen: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<Org>}
|
|
40
|
+
* @memberof OrgListResponse
|
|
41
|
+
*/
|
|
42
|
+
orgs: Array<Org>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const OrgListResponseTypeEnum: {
|
|
48
|
+
readonly OrgList: 'org.list';
|
|
49
|
+
};
|
|
50
|
+
export type OrgListResponseTypeEnum = typeof OrgListResponseTypeEnum[keyof typeof OrgListResponseTypeEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the OrgListResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfOrgListResponse(value: object): value is OrgListResponse;
|
|
55
|
+
export declare function OrgListResponseFromJSON(json: any): OrgListResponse;
|
|
56
|
+
export declare function OrgListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrgListResponse;
|
|
57
|
+
export declare function OrgListResponseToJSON(json: any): OrgListResponse;
|
|
58
|
+
export declare function OrgListResponseToJSONTyped(value?: OrgListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 { OrgFromJSON, OrgToJSON, } from './Org';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const OrgListResponseTypeEnum = {
|
|
19
|
+
OrgList: 'org.list'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrgListResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfOrgListResponse(value) {
|
|
25
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('activeWalletChosen' in value) || value['activeWalletChosen'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('orgs' in value) || value['orgs'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function OrgListResponseFromJSON(json) {
|
|
36
|
+
return OrgListResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function OrgListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'ok': json['ok'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
'activeWalletChosen': json['activeWalletChosen'],
|
|
46
|
+
'orgs': (json['orgs'].map(OrgFromJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function OrgListResponseToJSON(json) {
|
|
50
|
+
return OrgListResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function OrgListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'ok': value['ok'],
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'activeWalletChosen': value['activeWalletChosen'],
|
|
60
|
+
'orgs': (value['orgs'].map(OrgToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PromptEventDataAttachmentsInner } from './PromptEventDataAttachmentsInner';
|
|
13
|
+
import type { PromptEventDataCitationsInner } from './PromptEventDataCitationsInner';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -33,6 +35,24 @@ export interface PromptEventData {
|
|
|
33
35
|
* @memberof PromptEventData
|
|
34
36
|
*/
|
|
35
37
|
isReverted?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Why the prompt failed. Present only when `status` is `failed`.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PromptEventData
|
|
42
|
+
*/
|
|
43
|
+
error?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<PromptEventDataAttachmentsInner>}
|
|
47
|
+
* @memberof PromptEventData
|
|
48
|
+
*/
|
|
49
|
+
attachments?: Array<PromptEventDataAttachmentsInner>;
|
|
50
|
+
/**
|
|
51
|
+
* Earlier chat events quoted in this prompt.
|
|
52
|
+
* @type {Array<PromptEventDataCitationsInner>}
|
|
53
|
+
* @memberof PromptEventData
|
|
54
|
+
*/
|
|
55
|
+
citations?: Array<PromptEventDataCitationsInner>;
|
|
36
56
|
}
|
|
37
57
|
/**
|
|
38
58
|
* @export
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { PromptEventDataAttachmentsInnerFromJSON, PromptEventDataAttachmentsInnerToJSON, } from './PromptEventDataAttachmentsInner';
|
|
15
|
+
import { PromptEventDataCitationsInnerFromJSON, PromptEventDataCitationsInnerToJSON, } from './PromptEventDataCitationsInner';
|
|
14
16
|
/**
|
|
15
17
|
* @export
|
|
16
18
|
*/
|
|
@@ -43,6 +45,9 @@ export function PromptEventDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
45
|
'prompt': json['prompt'],
|
|
44
46
|
'status': json['status'],
|
|
45
47
|
'isReverted': json['is_reverted'] == null ? undefined : json['is_reverted'],
|
|
48
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
49
|
+
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(PromptEventDataAttachmentsInnerFromJSON)),
|
|
50
|
+
'citations': json['citations'] == null ? undefined : (json['citations'].map(PromptEventDataCitationsInnerFromJSON)),
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
export function PromptEventDataToJSON(json) {
|
|
@@ -56,5 +61,8 @@ export function PromptEventDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
61
|
'prompt': value['prompt'],
|
|
57
62
|
'status': value['status'],
|
|
58
63
|
'is_reverted': value['isReverted'],
|
|
64
|
+
'error': value['error'],
|
|
65
|
+
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(PromptEventDataAttachmentsInnerToJSON)),
|
|
66
|
+
'citations': value['citations'] == null ? undefined : (value['citations'].map(PromptEventDataCitationsInnerToJSON)),
|
|
59
67
|
};
|
|
60
68
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 PromptEventDataAttachmentsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PromptEventDataAttachmentsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PromptEventDataAttachmentsInner
|
|
22
|
+
*/
|
|
23
|
+
filename?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PromptEventDataAttachmentsInner
|
|
28
|
+
*/
|
|
29
|
+
mimeType?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PromptEventDataAttachmentsInner
|
|
34
|
+
*/
|
|
35
|
+
base64Data?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PromptEventDataAttachmentsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPromptEventDataAttachmentsInner(value: object): value is PromptEventDataAttachmentsInner;
|
|
41
|
+
export declare function PromptEventDataAttachmentsInnerFromJSON(json: any): PromptEventDataAttachmentsInner;
|
|
42
|
+
export declare function PromptEventDataAttachmentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptEventDataAttachmentsInner;
|
|
43
|
+
export declare function PromptEventDataAttachmentsInnerToJSON(json: any): PromptEventDataAttachmentsInner;
|
|
44
|
+
export declare function PromptEventDataAttachmentsInnerToJSONTyped(value?: PromptEventDataAttachmentsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 PromptEventDataAttachmentsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPromptEventDataAttachmentsInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PromptEventDataAttachmentsInnerFromJSON(json) {
|
|
21
|
+
return PromptEventDataAttachmentsInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PromptEventDataAttachmentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'filename': json['filename'] == null ? undefined : json['filename'],
|
|
29
|
+
'mimeType': json['mimeType'] == null ? undefined : json['mimeType'],
|
|
30
|
+
'base64Data': json['base64Data'] == null ? undefined : json['base64Data'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PromptEventDataAttachmentsInnerToJSON(json) {
|
|
34
|
+
return PromptEventDataAttachmentsInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PromptEventDataAttachmentsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'filename': value['filename'],
|
|
42
|
+
'mimeType': value['mimeType'],
|
|
43
|
+
'base64Data': value['base64Data'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boat Public API v1
|
|
3
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 PromptEventDataCitationsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PromptEventDataCitationsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PromptEventDataCitationsInner
|
|
22
|
+
*/
|
|
23
|
+
eventId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PromptEventDataCitationsInner
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PromptEventDataCitationsInner
|
|
34
|
+
*/
|
|
35
|
+
author?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PromptEventDataCitationsInner
|
|
40
|
+
*/
|
|
41
|
+
text?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PromptEventDataCitationsInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPromptEventDataCitationsInner(value: object): value is PromptEventDataCitationsInner;
|
|
47
|
+
export declare function PromptEventDataCitationsInnerFromJSON(json: any): PromptEventDataCitationsInner;
|
|
48
|
+
export declare function PromptEventDataCitationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptEventDataCitationsInner;
|
|
49
|
+
export declare function PromptEventDataCitationsInnerToJSON(json: any): PromptEventDataCitationsInner;
|
|
50
|
+
export declare function PromptEventDataCitationsInnerToJSONTyped(value?: PromptEventDataCitationsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Boat Public API v1
|
|
5
|
+
* Public JSON API for creating, operating, prompting, observing, and exposing sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.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 PromptEventDataCitationsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPromptEventDataCitationsInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PromptEventDataCitationsInnerFromJSON(json) {
|
|
21
|
+
return PromptEventDataCitationsInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PromptEventDataCitationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'eventId': json['eventId'] == null ? undefined : json['eventId'],
|
|
29
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
30
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
31
|
+
'text': json['text'] == null ? undefined : json['text'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PromptEventDataCitationsInnerToJSON(json) {
|
|
35
|
+
return PromptEventDataCitationsInnerToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PromptEventDataCitationsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'eventId': value['eventId'],
|
|
43
|
+
'type': value['type'],
|
|
44
|
+
'author': value['author'],
|
|
45
|
+
'text': value['text'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -40,6 +40,12 @@ export interface RepoSelectionResponse {
|
|
|
40
40
|
* @memberof RepoSelectionResponse
|
|
41
41
|
*/
|
|
42
42
|
environmentId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Id of the default environment. `environmentId` is the id of its new version.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RepoSelectionResponse
|
|
47
|
+
*/
|
|
48
|
+
subenvironmentId?: string | null;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Array<SelectedRepository>}
|
|
@@ -40,6 +40,7 @@ export function RepoSelectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'type': json['type'],
|
|
41
41
|
'success': json['success'],
|
|
42
42
|
'environmentId': json['environmentId'],
|
|
43
|
+
'subenvironmentId': json['subenvironmentId'] == null ? undefined : json['subenvironmentId'],
|
|
43
44
|
'selectedRepositories': (json['selectedRepositories'].map(SelectedRepositoryFromJSON)),
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -55,6 +56,7 @@ export function RepoSelectionResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
55
56
|
'type': value['type'],
|
|
56
57
|
'success': value['success'],
|
|
57
58
|
'environmentId': value['environmentId'],
|
|
59
|
+
'subenvironmentId': value['subenvironmentId'],
|
|
58
60
|
'selectedRepositories': (value['selectedRepositories'].map(SelectedRepositoryToJSON)),
|
|
59
61
|
};
|
|
60
62
|
}
|
|
@@ -42,6 +42,12 @@ export interface ReposResponse {
|
|
|
42
42
|
* @memberof ReposResponse
|
|
43
43
|
*/
|
|
44
44
|
environmentId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Id of the default environment. `environmentId` is the id of its latest version.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ReposResponse
|
|
49
|
+
*/
|
|
50
|
+
subenvironmentId?: string | null;
|
|
45
51
|
/**
|
|
46
52
|
*
|
|
47
53
|
* @type {Array<SelectedRepository>}
|
|
@@ -42,6 +42,7 @@ export function ReposResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'type': json['type'],
|
|
43
43
|
'installations': (json['installations'].map(RepositoryInstallationFromJSON)),
|
|
44
44
|
'environmentId': json['environmentId'],
|
|
45
|
+
'subenvironmentId': json['subenvironmentId'] == null ? undefined : json['subenvironmentId'],
|
|
45
46
|
'selectedRepositories': (json['selectedRepositories'].map(SelectedRepositoryFromJSON)),
|
|
46
47
|
'pageInfo': json['pageInfo'] == null ? undefined : PageInfoFromJSON(json['pageInfo']),
|
|
47
48
|
};
|
|
@@ -58,6 +59,7 @@ export function ReposResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
59
|
'type': value['type'],
|
|
59
60
|
'installations': (value['installations'].map(RepositoryInstallationToJSON)),
|
|
60
61
|
'environmentId': value['environmentId'],
|
|
62
|
+
'subenvironmentId': value['subenvironmentId'],
|
|
61
63
|
'selectedRepositories': (value['selectedRepositories'].map(SelectedRepositoryToJSON)),
|
|
62
64
|
'pageInfo': PageInfoToJSON(value['pageInfo']),
|
|
63
65
|
};
|
|
@@ -40,6 +40,18 @@ export interface Repository {
|
|
|
40
40
|
* @memberof Repository
|
|
41
41
|
*/
|
|
42
42
|
fullName?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Repository
|
|
47
|
+
*/
|
|
48
|
+
description?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Repository
|
|
53
|
+
*/
|
|
54
|
+
url?: string;
|
|
43
55
|
/**
|
|
44
56
|
*
|
|
45
57
|
* @type {boolean}
|
|
@@ -58,6 +70,12 @@ export interface Repository {
|
|
|
58
70
|
* @memberof Repository
|
|
59
71
|
*/
|
|
60
72
|
pushedAt?: Date | null;
|
|
73
|
+
/**
|
|
74
|
+
* Reserved; always null.
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof Repository
|
|
77
|
+
*/
|
|
78
|
+
lastUserCommitAt?: Date | null;
|
|
61
79
|
}
|
|
62
80
|
/**
|
|
63
81
|
* Check if a given object implements the Repository interface.
|
|
@@ -30,9 +30,12 @@ export function RepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
|
|
31
31
|
'name': json['name'] == null ? undefined : json['name'],
|
|
32
32
|
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
33
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
34
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
33
35
|
'_private': json['private'] == null ? undefined : json['private'],
|
|
34
36
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
35
37
|
'pushedAt': json['pushedAt'] == null ? undefined : (new Date(json['pushedAt'])),
|
|
38
|
+
'lastUserCommitAt': json['lastUserCommitAt'] == null ? undefined : (new Date(json['lastUserCommitAt'])),
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
export function RepositoryToJSON(json) {
|
|
@@ -48,8 +51,11 @@ export function RepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
48
51
|
'databaseId': value['databaseId'],
|
|
49
52
|
'name': value['name'],
|
|
50
53
|
'fullName': value['fullName'],
|
|
54
|
+
'description': value['description'],
|
|
55
|
+
'url': value['url'],
|
|
51
56
|
'private': value['_private'],
|
|
52
57
|
'permissions': value['permissions'],
|
|
53
58
|
'pushedAt': value['pushedAt'] == null ? value['pushedAt'] : value['pushedAt'].toISOString(),
|
|
59
|
+
'lastUserCommitAt': value['lastUserCommitAt'] == null ? value['lastUserCommitAt'] : value['lastUserCommitAt'].toISOString(),
|
|
54
60
|
};
|
|
55
61
|
}
|
|
@@ -41,6 +41,12 @@ export interface ResponseEventData {
|
|
|
41
41
|
* @memberof ResponseEventData
|
|
42
42
|
*/
|
|
43
43
|
isStreaming?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof ResponseEventData
|
|
48
|
+
*/
|
|
49
|
+
isReverted?: boolean;
|
|
44
50
|
}
|
|
45
51
|
/**
|
|
46
52
|
* Check if a given object implements the ResponseEventData interface.
|