@nikolaymatrosov/sourcecraft-sdk 0.0.2 → 0.1.4
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/LICENSE.md +1 -1
- package/README.md +1 -0
- package/dist/apis/CIApi.d.ts +25 -11
- package/dist/apis/CIApi.d.ts.map +1 -1
- package/dist/apis/CIApi.js +10 -12
- package/dist/apis/CIApi.js.map +1 -1
- package/dist/apis/CICDApi.d.ts +267 -0
- package/dist/apis/CICDApi.d.ts.map +1 -0
- package/dist/apis/CICDApi.js +415 -0
- package/dist/apis/CICDApi.js.map +1 -0
- package/dist/apis/OrganizationInvitesApi.d.ts +145 -0
- package/dist/apis/OrganizationInvitesApi.d.ts.map +1 -0
- package/dist/apis/OrganizationInvitesApi.js +222 -0
- package/dist/apis/OrganizationInvitesApi.js.map +1 -0
- package/dist/apis/OrganizationOperationApi.d.ts +81 -0
- package/dist/apis/OrganizationOperationApi.d.ts.map +1 -0
- package/dist/apis/OrganizationOperationApi.js +135 -0
- package/dist/apis/OrganizationOperationApi.js.map +1 -0
- package/dist/apis/ReleaseAttachmentsApi.d.ts +91 -0
- package/dist/apis/ReleaseAttachmentsApi.d.ts.map +1 -0
- package/dist/apis/ReleaseAttachmentsApi.js +182 -0
- package/dist/apis/ReleaseAttachmentsApi.js.map +1 -0
- package/dist/apis/RepositoryReleasesApi.d.ts +379 -0
- package/dist/apis/RepositoryReleasesApi.d.ts.map +1 -0
- package/dist/apis/RepositoryReleasesApi.js +548 -0
- package/dist/apis/RepositoryReleasesApi.js.map +1 -0
- package/dist/apis/UserApi.d.ts +71 -0
- package/dist/apis/UserApi.d.ts.map +1 -0
- package/dist/apis/UserApi.js +126 -0
- package/dist/apis/UserApi.js.map +1 -0
- package/dist/models/Artifact.d.ts +61 -0
- package/dist/models/Artifact.d.ts.map +1 -0
- package/dist/models/Artifact.js +59 -0
- package/dist/models/Artifact.js.map +1 -0
- package/dist/models/ArtifactDates.d.ts +45 -0
- package/dist/models/ArtifactDates.d.ts.map +1 -0
- package/dist/models/ArtifactDates.js +55 -0
- package/dist/models/ArtifactDates.js.map +1 -0
- package/dist/models/ArtifactStatus.d.ts +28 -0
- package/dist/models/ArtifactStatus.d.ts.map +1 -0
- package/dist/models/ArtifactStatus.js +54 -0
- package/dist/models/ArtifactStatus.js.map +1 -0
- package/dist/models/Commit.d.ts +31 -0
- package/dist/models/Commit.d.ts.map +1 -1
- package/dist/models/Commit.js +11 -0
- package/dist/models/Commit.js.map +1 -1
- package/dist/models/CreateInvitesOperation.d.ts +66 -0
- package/dist/models/CreateInvitesOperation.d.ts.map +1 -0
- package/dist/models/CreateInvitesOperation.js +64 -0
- package/dist/models/CreateInvitesOperation.js.map +1 -0
- package/dist/models/CreateInvitesOperationResult.d.ts +41 -0
- package/dist/models/CreateInvitesOperationResult.d.ts.map +1 -0
- package/dist/models/CreateInvitesOperationResult.js +61 -0
- package/dist/models/CreateInvitesOperationResult.js.map +1 -0
- package/dist/models/CreateOrganizationInvitesBody.d.ts +40 -0
- package/dist/models/CreateOrganizationInvitesBody.d.ts.map +1 -0
- package/dist/models/CreateOrganizationInvitesBody.js +56 -0
- package/dist/models/CreateOrganizationInvitesBody.js.map +1 -0
- package/dist/models/CreateOrganizationInvitesResponse.d.ts +39 -0
- package/dist/models/CreateOrganizationInvitesResponse.d.ts.map +1 -0
- package/dist/models/CreateOrganizationInvitesResponse.js +51 -0
- package/dist/models/CreateOrganizationInvitesResponse.js.map +1 -0
- package/dist/models/CreateReleaseBody.d.ts +57 -0
- package/dist/models/CreateReleaseBody.d.ts.map +1 -0
- package/dist/models/CreateReleaseBody.js +57 -0
- package/dist/models/CreateReleaseBody.js.map +1 -0
- package/dist/models/Cube.d.ts +67 -0
- package/dist/models/Cube.d.ts.map +1 -0
- package/dist/models/Cube.js +67 -0
- package/dist/models/Cube.js.map +1 -0
- package/dist/models/DatesByStage.d.ts +51 -0
- package/dist/models/DatesByStage.d.ts.map +1 -0
- package/dist/models/DatesByStage.js +55 -0
- package/dist/models/DatesByStage.js.map +1 -0
- package/dist/models/Dependency.d.ts +33 -0
- package/dist/models/Dependency.d.ts.map +1 -0
- package/dist/models/Dependency.js +49 -0
- package/dist/models/Dependency.js.map +1 -0
- package/dist/models/EventHeader.d.ts +71 -0
- package/dist/models/EventHeader.d.ts.map +1 -0
- package/dist/models/EventHeader.js +61 -0
- package/dist/models/EventHeader.js.map +1 -0
- package/dist/models/EventType.d.ts +28 -0
- package/dist/models/EventType.d.ts.map +1 -0
- package/dist/models/EventType.js +54 -0
- package/dist/models/EventType.js.map +1 -0
- package/dist/models/GetCubeArtifactsResponse.d.ts +35 -0
- package/dist/models/GetCubeArtifactsResponse.d.ts.map +1 -0
- package/dist/models/GetCubeArtifactsResponse.js +54 -0
- package/dist/models/GetCubeArtifactsResponse.js.map +1 -0
- package/dist/models/GetCubeLogsResponse.d.ts +46 -0
- package/dist/models/GetCubeLogsResponse.d.ts.map +1 -0
- package/dist/models/GetCubeLogsResponse.js +53 -0
- package/dist/models/GetCubeLogsResponse.js.map +1 -0
- package/dist/models/GitRevision.d.ts +45 -0
- package/dist/models/GitRevision.d.ts.map +1 -0
- package/dist/models/GitRevision.js +53 -0
- package/dist/models/GitRevision.js.map +1 -0
- package/dist/models/Invite.d.ts +65 -0
- package/dist/models/Invite.d.ts.map +1 -0
- package/dist/models/Invite.js +61 -0
- package/dist/models/Invite.js.map +1 -0
- package/dist/models/InviteError.d.ts +46 -0
- package/dist/models/InviteError.d.ts.map +1 -0
- package/dist/models/InviteError.js +54 -0
- package/dist/models/InviteError.js.map +1 -0
- package/dist/models/InviteStatus.d.ts +28 -0
- package/dist/models/InviteStatus.d.ts.map +1 -0
- package/dist/models/InviteStatus.js +54 -0
- package/dist/models/InviteStatus.js.map +1 -0
- package/dist/models/InviteeInput.d.ts +39 -0
- package/dist/models/InviteeInput.d.ts.map +1 -0
- package/dist/models/InviteeInput.js +51 -0
- package/dist/models/InviteeInput.js.map +1 -0
- package/dist/models/ListOrganizationInvitesResponse.d.ts +41 -0
- package/dist/models/ListOrganizationInvitesResponse.d.ts.map +1 -0
- package/dist/models/ListOrganizationInvitesResponse.js +56 -0
- package/dist/models/ListOrganizationInvitesResponse.js.map +1 -0
- package/dist/models/ListReleasesResponse.d.ts +41 -0
- package/dist/models/ListReleasesResponse.d.ts.map +1 -0
- package/dist/models/ListReleasesResponse.js +56 -0
- package/dist/models/ListReleasesResponse.js.map +1 -0
- package/dist/models/ListRunsResponse.d.ts +41 -0
- package/dist/models/ListRunsResponse.d.ts.map +1 -0
- package/dist/models/ListRunsResponse.js +52 -0
- package/dist/models/ListRunsResponse.js.map +1 -0
- package/dist/models/OperationError.d.ts +47 -0
- package/dist/models/OperationError.d.ts.map +1 -0
- package/dist/models/OperationError.js +53 -0
- package/dist/models/OperationError.js.map +1 -0
- package/dist/models/OperationStatus.d.ts +29 -0
- package/dist/models/OperationStatus.d.ts.map +1 -0
- package/dist/models/OperationStatus.js +55 -0
- package/dist/models/OperationStatus.js.map +1 -0
- package/dist/models/Ping.d.ts +53 -0
- package/dist/models/Ping.d.ts.map +1 -0
- package/dist/models/Ping.js +57 -0
- package/dist/models/Ping.js.map +1 -0
- package/dist/models/ProfileStatus.d.ts +39 -0
- package/dist/models/ProfileStatus.d.ts.map +1 -0
- package/dist/models/ProfileStatus.js +51 -0
- package/dist/models/ProfileStatus.js.map +1 -0
- package/dist/models/ProfileVisibility.d.ts +26 -0
- package/dist/models/ProfileVisibility.d.ts.map +1 -0
- package/dist/models/ProfileVisibility.js +52 -0
- package/dist/models/ProfileVisibility.js.map +1 -0
- package/dist/models/Progress.d.ts +40 -0
- package/dist/models/Progress.d.ts.map +1 -0
- package/dist/models/Progress.js +52 -0
- package/dist/models/Progress.js.map +1 -0
- package/dist/models/Push.d.ts +88 -0
- package/dist/models/Push.d.ts.map +1 -0
- package/dist/models/Push.js +76 -0
- package/dist/models/Push.js.map +1 -0
- package/dist/models/RefUpdate.d.ts +58 -0
- package/dist/models/RefUpdate.d.ts.map +1 -0
- package/dist/models/RefUpdate.js +58 -0
- package/dist/models/RefUpdate.js.map +1 -0
- package/dist/models/RefUpdateOperation.d.ts +27 -0
- package/dist/models/RefUpdateOperation.d.ts.map +1 -0
- package/dist/models/RefUpdateOperation.js +53 -0
- package/dist/models/RefUpdateOperation.js.map +1 -0
- package/dist/models/RefsUpdate.d.ts +73 -0
- package/dist/models/RefsUpdate.d.ts.map +1 -0
- package/dist/models/RefsUpdate.js +71 -0
- package/dist/models/RefsUpdate.js.map +1 -0
- package/dist/models/Relations.d.ts +34 -0
- package/dist/models/Relations.d.ts.map +1 -0
- package/dist/models/Relations.js +54 -0
- package/dist/models/Relations.js.map +1 -0
- package/dist/models/Release.d.ts +114 -0
- package/dist/models/Release.d.ts.map +1 -0
- package/dist/models/Release.js +82 -0
- package/dist/models/Release.js.map +1 -0
- package/dist/models/ReleaseAsset.d.ts +52 -0
- package/dist/models/ReleaseAsset.d.ts.map +1 -0
- package/dist/models/ReleaseAsset.js +56 -0
- package/dist/models/ReleaseAsset.js.map +1 -0
- package/dist/models/ReleaseStatus.d.ts +27 -0
- package/dist/models/ReleaseStatus.d.ts.map +1 -0
- package/dist/models/ReleaseStatus.js +53 -0
- package/dist/models/ReleaseStatus.js.map +1 -0
- package/dist/models/Run.d.ts +94 -0
- package/dist/models/Run.d.ts.map +1 -0
- package/dist/models/Run.js +75 -0
- package/dist/models/Run.js.map +1 -0
- package/dist/models/RunCIWorkflowResponse.d.ts +6 -0
- package/dist/models/RunCIWorkflowResponse.d.ts.map +1 -1
- package/dist/models/RunCIWorkflowResponse.js +2 -0
- package/dist/models/RunCIWorkflowResponse.js.map +1 -1
- package/dist/models/RunStatus.d.ts +32 -0
- package/dist/models/RunStatus.d.ts.map +1 -0
- package/dist/models/RunStatus.js +58 -0
- package/dist/models/RunStatus.js.map +1 -0
- package/dist/models/RunWorkflowsBody.d.ts +54 -0
- package/dist/models/RunWorkflowsBody.d.ts.map +1 -0
- package/dist/models/RunWorkflowsBody.js +63 -0
- package/dist/models/RunWorkflowsBody.js.map +1 -0
- package/dist/models/Signature.d.ts +45 -0
- package/dist/models/Signature.d.ts.map +1 -0
- package/dist/models/Signature.js +53 -0
- package/dist/models/Signature.js.map +1 -0
- package/dist/models/Task.d.ts +80 -0
- package/dist/models/Task.d.ts.map +1 -0
- package/dist/models/Task.js +68 -0
- package/dist/models/Task.js.map +1 -0
- package/dist/models/Timezone.d.ts +33 -0
- package/dist/models/Timezone.d.ts.map +1 -0
- package/dist/models/Timezone.js +49 -0
- package/dist/models/Timezone.js.map +1 -0
- package/dist/models/UserProfile.d.ts +106 -0
- package/dist/models/UserProfile.d.ts.map +1 -0
- package/dist/models/UserProfile.js +78 -0
- package/dist/models/UserProfile.js.map +1 -0
- package/dist/models/V1Location.d.ts +39 -0
- package/dist/models/V1Location.d.ts.map +1 -0
- package/dist/models/V1Location.js +51 -0
- package/dist/models/V1Location.js.map +1 -0
- package/dist/models/Workflow.d.ts +73 -0
- package/dist/models/Workflow.d.ts.map +1 -0
- package/dist/models/Workflow.js +65 -0
- package/dist/models/Workflow.js.map +1 -0
- package/dist/models/WorkflowData.d.ts +40 -0
- package/dist/models/WorkflowData.d.ts.map +1 -0
- package/dist/models/WorkflowData.js +56 -0
- package/dist/models/WorkflowData.js.map +1 -0
- package/dist/models/Workplace.d.ts +39 -0
- package/dist/models/Workplace.d.ts.map +1 -0
- package/dist/models/Workplace.js +51 -0
- package/dist/models/Workplace.js.map +1 -0
- package/dist/models/index.d.ts +48 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +48 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +5 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SourceCraft API
|
|
3
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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 { Release } from "./Release";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListReleasesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListReleasesResponse {
|
|
19
|
+
/**
|
|
20
|
+
* A token, which can be sent as `page_token` to retrieve the next page.
|
|
21
|
+
* If this field is omitted, there are no subsequent pages.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ListReleasesResponse
|
|
24
|
+
*/
|
|
25
|
+
nextPageToken?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<Release>}
|
|
29
|
+
* @memberof ListReleasesResponse
|
|
30
|
+
*/
|
|
31
|
+
releases?: Array<Release>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListReleasesResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfListReleasesResponse(value: object): value is ListReleasesResponse;
|
|
37
|
+
export declare function ListReleasesResponseFromJSON(json: any): ListReleasesResponse;
|
|
38
|
+
export declare function ListReleasesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListReleasesResponse;
|
|
39
|
+
export declare function ListReleasesResponseToJSON(json: any): ListReleasesResponse;
|
|
40
|
+
export declare function ListReleasesResponseToJSONTyped(value?: ListReleasesResponse | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=ListReleasesResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListReleasesResponse.d.ts","sourceRoot":"","sources":["../../src/models/ListReleasesResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAC7C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,oBAAoB,CAWtB;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAC3C,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EACnC,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAYL"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.instanceOfListReleasesResponse = instanceOfListReleasesResponse;
|
|
17
|
+
exports.ListReleasesResponseFromJSON = ListReleasesResponseFromJSON;
|
|
18
|
+
exports.ListReleasesResponseFromJSONTyped = ListReleasesResponseFromJSONTyped;
|
|
19
|
+
exports.ListReleasesResponseToJSON = ListReleasesResponseToJSON;
|
|
20
|
+
exports.ListReleasesResponseToJSONTyped = ListReleasesResponseToJSONTyped;
|
|
21
|
+
const Release_1 = require("./Release");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListReleasesResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListReleasesResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListReleasesResponseFromJSON(json) {
|
|
29
|
+
return ListReleasesResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListReleasesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
nextPageToken: json["next_page_token"] == null ? undefined : json["next_page_token"],
|
|
37
|
+
releases: json["releases"] == null
|
|
38
|
+
? undefined
|
|
39
|
+
: json["releases"].map(Release_1.ReleaseFromJSON),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ListReleasesResponseToJSON(json) {
|
|
43
|
+
return ListReleasesResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ListReleasesResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
next_page_token: value["nextPageToken"],
|
|
51
|
+
releases: value["releases"] == null
|
|
52
|
+
? undefined
|
|
53
|
+
: value["releases"].map(Release_1.ReleaseToJSON),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=ListReleasesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListReleasesResponse.js","sourceRoot":"","sources":["../../src/models/ListReleasesResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAmCH,wEAEC;AAED,oEAEC;AAED,8EAcC;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
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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 { Run } from "./Run";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListRunsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListRunsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* A token, which can be sent as `page_token` to retrieve the next page.
|
|
21
|
+
* If this field is omitted, there are no subsequent pages.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ListRunsResponse
|
|
24
|
+
*/
|
|
25
|
+
nextPageToken?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<Run>}
|
|
29
|
+
* @memberof ListRunsResponse
|
|
30
|
+
*/
|
|
31
|
+
runs?: Array<Run>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListRunsResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfListRunsResponse(value: object): value is ListRunsResponse;
|
|
37
|
+
export declare function ListRunsResponseFromJSON(json: any): ListRunsResponse;
|
|
38
|
+
export declare function ListRunsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListRunsResponse;
|
|
39
|
+
export declare function ListRunsResponseToJSON(json: any): ListRunsResponse;
|
|
40
|
+
export declare function ListRunsResponseToJSONTyped(value?: ListRunsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=ListRunsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListRunsResponse.d.ts","sourceRoot":"","sources":["../../src/models/ListRunsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CACzC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,gBAAgB,CAQlB;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CACvC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAC/B,mBAAmB,GAAE,OAAe,GACrC,GAAG,CASL"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.instanceOfListRunsResponse = instanceOfListRunsResponse;
|
|
17
|
+
exports.ListRunsResponseFromJSON = ListRunsResponseFromJSON;
|
|
18
|
+
exports.ListRunsResponseFromJSONTyped = ListRunsResponseFromJSONTyped;
|
|
19
|
+
exports.ListRunsResponseToJSON = ListRunsResponseToJSON;
|
|
20
|
+
exports.ListRunsResponseToJSONTyped = ListRunsResponseToJSONTyped;
|
|
21
|
+
const Run_1 = require("./Run");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListRunsResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListRunsResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListRunsResponseFromJSON(json) {
|
|
29
|
+
return ListRunsResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListRunsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
nextPageToken: json["next_page_token"] == null ? undefined : json["next_page_token"],
|
|
37
|
+
runs: json["runs"] == null ? undefined : json["runs"].map(Run_1.RunFromJSON),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ListRunsResponseToJSON(json) {
|
|
41
|
+
return ListRunsResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ListRunsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
next_page_token: value["nextPageToken"],
|
|
49
|
+
runs: value["runs"] == null ? undefined : value["runs"].map(Run_1.RunToJSON),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=ListRunsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListRunsResponse.js","sourceRoot":"","sources":["../../src/models/ListRunsResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8BH,gEAEC;AAED,4DAEC;AAED,sEAWC;AAED,wDAEC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
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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 OperationError
|
|
16
|
+
*/
|
|
17
|
+
export interface OperationError {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof OperationError
|
|
22
|
+
*/
|
|
23
|
+
details?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof OperationError
|
|
30
|
+
*/
|
|
31
|
+
errorCode?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OperationError
|
|
36
|
+
*/
|
|
37
|
+
message?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the OperationError interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfOperationError(value: object): value is OperationError;
|
|
43
|
+
export declare function OperationErrorFromJSON(json: any): OperationError;
|
|
44
|
+
export declare function OperationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationError;
|
|
45
|
+
export declare function OperationErrorToJSON(json: any): OperationError;
|
|
46
|
+
export declare function OperationErrorToJSONTyped(value?: OperationError | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
+
//# sourceMappingURL=OperationError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationError.d.ts","sourceRoot":"","sources":["../../src/models/OperationError.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CACvC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,cAAc,CAShB;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CACrC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAC7B,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAUL"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.instanceOfOperationError = instanceOfOperationError;
|
|
17
|
+
exports.OperationErrorFromJSON = OperationErrorFromJSON;
|
|
18
|
+
exports.OperationErrorFromJSONTyped = OperationErrorFromJSONTyped;
|
|
19
|
+
exports.OperationErrorToJSON = OperationErrorToJSON;
|
|
20
|
+
exports.OperationErrorToJSONTyped = OperationErrorToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OperationError interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOperationError(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OperationErrorFromJSON(json) {
|
|
28
|
+
return OperationErrorFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OperationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
details: json["details"] == null ? undefined : json["details"],
|
|
36
|
+
errorCode: json["error_code"] == null ? undefined : json["error_code"],
|
|
37
|
+
message: json["message"] == null ? undefined : json["message"],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OperationErrorToJSON(json) {
|
|
41
|
+
return OperationErrorToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OperationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
details: value["details"],
|
|
49
|
+
error_code: value["errorCode"],
|
|
50
|
+
message: value["message"],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=OperationError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationError.js","sourceRoot":"","sources":["../../src/models/OperationError.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,4DAEC;AAED,wDAEC;AAED,kEAYC;AAED,oDAEC;AAED,8DAaC;AA1CD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CACvC,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC9D,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACtE,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACjE,CAAC;AACN,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CACrC,KAA6B,EAC7B,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC;QAC9B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SourceCraft API
|
|
3
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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
|
+
*/
|
|
16
|
+
export declare const OperationStatus: {
|
|
17
|
+
readonly Scheduled: "scheduled";
|
|
18
|
+
readonly InProgress: "in_progress";
|
|
19
|
+
readonly Success: "success";
|
|
20
|
+
readonly Failed: "failed";
|
|
21
|
+
readonly Cancel: "cancel";
|
|
22
|
+
};
|
|
23
|
+
export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
|
|
24
|
+
export declare function instanceOfOperationStatus(value: any): boolean;
|
|
25
|
+
export declare function OperationStatusFromJSON(json: any): OperationStatus;
|
|
26
|
+
export declare function OperationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationStatus;
|
|
27
|
+
export declare function OperationStatusToJSON(value?: OperationStatus | null): any;
|
|
28
|
+
export declare function OperationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): OperationStatus;
|
|
29
|
+
//# sourceMappingURL=OperationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationStatus.d.ts","sourceRoot":"","sources":["../../src/models/OperationStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAErF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS7D;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CACxC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,eAAe,CAEjB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAEzE;AAED,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,GAAG,EACV,mBAAmB,EAAE,OAAO,GAC7B,eAAe,CAEjB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.OperationStatus = void 0;
|
|
17
|
+
exports.instanceOfOperationStatus = instanceOfOperationStatus;
|
|
18
|
+
exports.OperationStatusFromJSON = OperationStatusFromJSON;
|
|
19
|
+
exports.OperationStatusFromJSONTyped = OperationStatusFromJSONTyped;
|
|
20
|
+
exports.OperationStatusToJSON = OperationStatusToJSON;
|
|
21
|
+
exports.OperationStatusToJSONTyped = OperationStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.OperationStatus = {
|
|
27
|
+
Scheduled: "scheduled",
|
|
28
|
+
InProgress: "in_progress",
|
|
29
|
+
Success: "success",
|
|
30
|
+
Failed: "failed",
|
|
31
|
+
Cancel: "cancel",
|
|
32
|
+
};
|
|
33
|
+
function instanceOfOperationStatus(value) {
|
|
34
|
+
for (const key in exports.OperationStatus) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.OperationStatus, key)) {
|
|
36
|
+
if (exports.OperationStatus[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function OperationStatusFromJSON(json) {
|
|
44
|
+
return OperationStatusFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function OperationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function OperationStatusToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function OperationStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=OperationStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationStatus.js","sourceRoot":"","sources":["../../src/models/OperationStatus.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAeH,8DASC;AAED,0DAEC;AAED,oEAKC;AAED,sDAEC;AAED,gEAKC;AA5CD;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC3B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC;AAGX,SAAgB,yBAAyB,CAAC,KAAU;IAChD,KAAK,MAAM,GAAG,IAAI,uBAAe,EAAE,CAAC;QAChC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,uBAAe,EAAE,GAAG,CAAC,EAAE,CAAC;YAC7D,IAAI,uBAAe,CAAC,GAAmC,CAAC,KAAK,KAAK,EAAE,CAAC;gBACjE,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CACxC,IAAS,EACT,mBAA4B;IAE5B,OAAO,IAAuB,CAAC;AACnC,CAAC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,0BAA0B,CACtC,KAAU,EACV,mBAA4B;IAE5B,OAAO,KAAwB,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SourceCraft API
|
|
3
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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 { EventHeader } from "./EventHeader";
|
|
13
|
+
import type { RepositoryEmbedded } from "./RepositoryEmbedded";
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Ping
|
|
18
|
+
*/
|
|
19
|
+
export interface Ping {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {EventHeader}
|
|
23
|
+
* @memberof Ping
|
|
24
|
+
*/
|
|
25
|
+
header?: EventHeader;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Date}
|
|
29
|
+
* @memberof Ping
|
|
30
|
+
*/
|
|
31
|
+
pingedAt?: Date;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {RepositoryEmbedded}
|
|
35
|
+
* @memberof Ping
|
|
36
|
+
*/
|
|
37
|
+
repository?: RepositoryEmbedded;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof Ping
|
|
42
|
+
*/
|
|
43
|
+
webhookSlug?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the Ping interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfPing(value: object): value is Ping;
|
|
49
|
+
export declare function PingFromJSON(json: any): Ping;
|
|
50
|
+
export declare function PingFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ping;
|
|
51
|
+
export declare function PingToJSON(json: any): Ping;
|
|
52
|
+
export declare function PingToJSONTyped(value?: Ping | null, ignoreDiscriminator?: boolean): any;
|
|
53
|
+
//# sourceMappingURL=Ping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ping.d.ts","sourceRoot":"","sources":["../../src/models/Ping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAE3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAW/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9F"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.instanceOfPing = instanceOfPing;
|
|
17
|
+
exports.PingFromJSON = PingFromJSON;
|
|
18
|
+
exports.PingFromJSONTyped = PingFromJSONTyped;
|
|
19
|
+
exports.PingToJSON = PingToJSON;
|
|
20
|
+
exports.PingToJSONTyped = PingToJSONTyped;
|
|
21
|
+
const EventHeader_1 = require("./EventHeader");
|
|
22
|
+
const RepositoryEmbedded_1 = require("./RepositoryEmbedded");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the Ping interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPing(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PingFromJSON(json) {
|
|
30
|
+
return PingFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PingFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
38
|
+
pingedAt: json["pinged_at"] == null ? undefined : new Date(json["pinged_at"]),
|
|
39
|
+
repository: json["repository"] == null ? undefined : (0, RepositoryEmbedded_1.RepositoryEmbeddedFromJSON)(json["repository"]),
|
|
40
|
+
webhookSlug: json["webhook_slug"] == null ? undefined : json["webhook_slug"],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PingToJSON(json) {
|
|
44
|
+
return PingToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
52
|
+
pinged_at: value["pingedAt"] == null ? value["pingedAt"] : value["pingedAt"].toISOString(),
|
|
53
|
+
repository: (0, RepositoryEmbedded_1.RepositoryEmbeddedToJSON)(value["repository"]),
|
|
54
|
+
webhook_slug: value["webhookSlug"],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=Ping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ping.js","sourceRoot":"","sources":["../../src/models/Ping.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAqDH,wCAEC;AAED,oCAEC;AAED,8CAWC;AAED,gCAEC;AAED,0CAWC;AArFD,+CAKuB;AAEvB,6DAK8B;AAkC9B;;GAEG;AACH,SAAgB,cAAc,CAAC,KAAa;IACxC,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,YAAY,CAAC,IAAS;IAClC,OAAO,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS,EAAE,mBAA4B;IACrE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,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|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: info@sourcecraft.dev
|
|
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 ProfileStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ProfileStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProfileStatus
|
|
22
|
+
*/
|
|
23
|
+
emoji?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProfileStatus
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ProfileStatus interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfProfileStatus(value: object): value is ProfileStatus;
|
|
35
|
+
export declare function ProfileStatusFromJSON(json: any): ProfileStatus;
|
|
36
|
+
export declare function ProfileStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileStatus;
|
|
37
|
+
export declare function ProfileStatusToJSON(json: any): ProfileStatus;
|
|
38
|
+
export declare function ProfileStatusToJSONTyped(value?: ProfileStatus | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ProfileStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileStatus.d.ts","sourceRoot":"","sources":["../../src/models/ProfileStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAQjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CACpC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAC5B,mBAAmB,GAAE,OAAe,GACrC,GAAG,CASL"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SourceCraft API
|
|
6
|
+
* Bleeding edge of Public REST API of SourceCraft
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: info@sourcecraft.dev
|
|
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.instanceOfProfileStatus = instanceOfProfileStatus;
|
|
17
|
+
exports.ProfileStatusFromJSON = ProfileStatusFromJSON;
|
|
18
|
+
exports.ProfileStatusFromJSONTyped = ProfileStatusFromJSONTyped;
|
|
19
|
+
exports.ProfileStatusToJSON = ProfileStatusToJSON;
|
|
20
|
+
exports.ProfileStatusToJSONTyped = ProfileStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProfileStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProfileStatus(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ProfileStatusFromJSON(json) {
|
|
28
|
+
return ProfileStatusFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ProfileStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
emoji: json["emoji"] == null ? undefined : json["emoji"],
|
|
36
|
+
message: json["message"] == null ? undefined : json["message"],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProfileStatusToJSON(json) {
|
|
40
|
+
return ProfileStatusToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProfileStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
emoji: value["emoji"],
|
|
48
|
+
message: value["message"],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=ProfileStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileStatus.js","sourceRoot":"","sources":["../../src/models/ProfileStatus.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,0DAEC;AAED,sDAEC;AAED,gEAQC;AAED,kDAEC;AAED,4DAYC;AArCD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QACxD,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACjE,CAAC;AACN,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CACpC,KAA4B,EAC5B,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;KAC5B,CAAC;AACN,CAAC"}
|