@nikolaymatrosov/sourcecraft-sdk 0.1.4 → 0.1.5
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 +16 -9
- package/dist/apis/CICDApi.js +6 -6
- package/dist/apis/CICDApi.js.map +1 -1
- package/dist/apis/IssuesApi.d.ts +3 -3
- package/dist/apis/OrganizationInvitesApi.d.ts +17 -17
- package/dist/apis/OrganizationInvitesApi.d.ts.map +1 -1
- package/dist/apis/OrganizationInvitesApi.js +6 -6
- package/dist/apis/OrganizationInvitesApi.js.map +1 -1
- package/dist/apis/OrganizationOperationApi.d.ts +9 -39
- package/dist/apis/OrganizationOperationApi.d.ts.map +1 -1
- package/dist/apis/OrganizationOperationApi.js +4 -48
- package/dist/apis/OrganizationOperationApi.js.map +1 -1
- package/dist/apis/RepositoryApi.d.ts +1 -171
- package/dist/apis/RepositoryApi.d.ts.map +1 -1
- package/dist/apis/RepositoryApi.js +2 -280
- package/dist/apis/RepositoryApi.js.map +1 -1
- package/dist/apis/RepositoryMilestonesApi.d.ts +8 -8
- package/dist/apis/RepositoryMilestonesApi.d.ts.map +1 -1
- package/dist/apis/RepositoryMilestonesApi.js +4 -6
- package/dist/apis/RepositoryMilestonesApi.js.map +1 -1
- package/dist/apis/RepositoryPullRequestApi.d.ts +4 -0
- package/dist/apis/RepositoryPullRequestApi.d.ts.map +1 -1
- package/dist/apis/RepositoryPullRequestApi.js +6 -0
- package/dist/apis/RepositoryPullRequestApi.js.map +1 -1
- package/dist/apis/RepositoryReleasesApi.d.ts +123 -1
- package/dist/apis/RepositoryReleasesApi.d.ts.map +1 -1
- package/dist/apis/RepositoryReleasesApi.js +174 -0
- package/dist/apis/RepositoryReleasesApi.js.map +1 -1
- package/dist/apis/RepositoryRolesApi.d.ts +197 -0
- package/dist/apis/RepositoryRolesApi.d.ts.map +1 -0
- package/dist/apis/RepositoryRolesApi.js +306 -0
- package/dist/apis/RepositoryRolesApi.js.map +1 -0
- package/dist/apis/UserApi.d.ts +40 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +49 -0
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/WithdrawnApi.d.ts +399 -0
- package/dist/apis/WithdrawnApi.d.ts.map +1 -0
- package/dist/apis/WithdrawnApi.js +550 -0
- package/dist/apis/WithdrawnApi.js.map +1 -0
- package/dist/models/Commit.d.ts +7 -0
- package/dist/models/Commit.d.ts.map +1 -1
- package/dist/models/Commit.js +5 -0
- package/dist/models/Commit.js.map +1 -1
- package/dist/models/CommitFileChanges.d.ts +48 -0
- package/dist/models/CommitFileChanges.d.ts.map +1 -0
- package/dist/models/CommitFileChanges.js +53 -0
- package/dist/models/CommitFileChanges.js.map +1 -0
- package/dist/models/CreateOrganizationInvitesOperation.d.ts +72 -0
- package/dist/models/CreateOrganizationInvitesOperation.d.ts.map +1 -0
- package/dist/models/CreateOrganizationInvitesOperation.js +66 -0
- package/dist/models/CreateOrganizationInvitesOperation.js.map +1 -0
- package/dist/models/CreateOrganizationInvitesOperationResult.d.ts +41 -0
- package/dist/models/CreateOrganizationInvitesOperationResult.d.ts.map +1 -0
- package/dist/models/CreateOrganizationInvitesOperationResult.js +61 -0
- package/dist/models/CreateOrganizationInvitesOperationResult.js.map +1 -0
- package/dist/models/EventHeader.d.ts +29 -0
- package/dist/models/EventHeader.d.ts.map +1 -1
- package/dist/models/EventHeader.js +9 -0
- package/dist/models/EventHeader.js.map +1 -1
- package/dist/models/Invite.d.ts +21 -1
- package/dist/models/Invite.d.ts.map +1 -1
- package/dist/models/Invite.js +7 -0
- package/dist/models/Invite.js.map +1 -1
- package/dist/models/InviteeInput.d.ts +7 -1
- package/dist/models/InviteeInput.d.ts.map +1 -1
- package/dist/models/InviteeInput.js +2 -0
- package/dist/models/InviteeInput.js.map +1 -1
- package/dist/models/Ping.d.ts +7 -0
- package/dist/models/Ping.d.ts.map +1 -1
- package/dist/models/Ping.js +5 -0
- package/dist/models/Ping.js.map +1 -1
- package/dist/models/PullRequestCommentCreate.d.ts +67 -0
- package/dist/models/PullRequestCommentCreate.d.ts.map +1 -0
- package/dist/models/PullRequestCommentCreate.js +63 -0
- package/dist/models/PullRequestCommentCreate.js.map +1 -0
- package/dist/models/PullRequestCommentCreateBulk.d.ts +55 -0
- package/dist/models/PullRequestCommentCreateBulk.d.ts.map +1 -0
- package/dist/models/PullRequestCommentCreateBulk.js +63 -0
- package/dist/models/PullRequestCommentCreateBulk.js.map +1 -0
- package/dist/models/PullRequestCommentReactionsUpdate.d.ts +68 -0
- package/dist/models/PullRequestCommentReactionsUpdate.d.ts.map +1 -0
- package/dist/models/PullRequestCommentReactionsUpdate.js +72 -0
- package/dist/models/PullRequestCommentReactionsUpdate.js.map +1 -0
- package/dist/models/PullRequestCommentsPublish.d.ts +55 -0
- package/dist/models/PullRequestCommentsPublish.d.ts.map +1 -0
- package/dist/models/PullRequestCommentsPublish.js +63 -0
- package/dist/models/PullRequestCommentsPublish.js.map +1 -0
- package/dist/models/PullRequestCreate.d.ts +54 -0
- package/dist/models/PullRequestCreate.d.ts.map +1 -0
- package/dist/models/PullRequestCreate.js +58 -0
- package/dist/models/PullRequestCreate.js.map +1 -0
- package/dist/models/PullRequestMerge.d.ts +54 -0
- package/dist/models/PullRequestMerge.d.ts.map +1 -0
- package/dist/models/PullRequestMerge.js +58 -0
- package/dist/models/PullRequestMerge.js.map +1 -0
- package/dist/models/PullRequestMergeFailure.d.ts +54 -0
- package/dist/models/PullRequestMergeFailure.d.ts.map +1 -0
- package/dist/models/PullRequestMergeFailure.js +58 -0
- package/dist/models/PullRequestMergeFailure.js.map +1 -0
- package/dist/models/PullRequestNewIteration.d.ts +72 -0
- package/dist/models/PullRequestNewIteration.d.ts.map +1 -0
- package/dist/models/PullRequestNewIteration.js +64 -0
- package/dist/models/PullRequestNewIteration.js.map +1 -0
- package/dist/models/PullRequestPublish.d.ts +55 -0
- package/dist/models/PullRequestPublish.d.ts.map +1 -0
- package/dist/models/PullRequestPublish.js +61 -0
- package/dist/models/PullRequestPublish.js.map +1 -0
- package/dist/models/PullRequestRefresh.d.ts +67 -0
- package/dist/models/PullRequestRefresh.d.ts.map +1 -0
- package/dist/models/PullRequestRefresh.js +65 -0
- package/dist/models/PullRequestRefresh.js.map +1 -0
- package/dist/models/PullRequestReviewAssignment.d.ts +62 -0
- package/dist/models/PullRequestReviewAssignment.d.ts.map +1 -0
- package/dist/models/PullRequestReviewAssignment.js +66 -0
- package/dist/models/PullRequestReviewAssignment.js.map +1 -0
- package/dist/models/PullRequestReviewDecision.d.ts +62 -0
- package/dist/models/PullRequestReviewDecision.d.ts.map +1 -0
- package/dist/models/PullRequestReviewDecision.js +62 -0
- package/dist/models/PullRequestReviewDecision.js.map +1 -0
- package/dist/models/PullRequestUpdate.d.ts +48 -0
- package/dist/models/PullRequestUpdate.d.ts.map +1 -0
- package/dist/models/PullRequestUpdate.js +56 -0
- package/dist/models/PullRequestUpdate.js.map +1 -0
- package/dist/models/Repository.d.ts +6 -0
- package/dist/models/Repository.d.ts.map +1 -1
- package/dist/models/Repository.js +2 -0
- package/dist/models/Repository.js.map +1 -1
- package/dist/models/SubjectType.d.ts +1 -0
- package/dist/models/SubjectType.d.ts.map +1 -1
- package/dist/models/SubjectType.js +1 -0
- package/dist/models/SubjectType.js.map +1 -1
- package/dist/models/UpdateReleaseBody.d.ts +39 -0
- package/dist/models/UpdateReleaseBody.d.ts.map +1 -0
- package/dist/models/UpdateReleaseBody.js +51 -0
- package/dist/models/UpdateReleaseBody.js.map +1 -0
- package/dist/models/index.d.ts +17 -3
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +17 -3
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ function InviteeInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
+
alias: json["alias"] == null ? undefined : json["alias"],
|
|
35
36
|
email: json["email"] == null ? undefined : json["email"],
|
|
36
37
|
slug: json["slug"] == null ? undefined : json["slug"],
|
|
37
38
|
};
|
|
@@ -44,6 +45,7 @@ function InviteeInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
45
|
return value;
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
48
|
+
alias: value["alias"],
|
|
47
49
|
email: value["email"],
|
|
48
50
|
slug: value["slug"],
|
|
49
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteeInput.js","sourceRoot":"","sources":["../../src/models/InviteeInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"InviteeInput.js","sourceRoot":"","sources":["../../src/models/InviteeInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,wDAEC;AAED,oDAEC;AAED,8DASC;AAED,gDAEC;AAED,0DAaC;AAvCD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,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,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QACxD,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KACxD,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CACnC,KAA2B,EAC3B,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,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;KACtB,CAAC;AACN,CAAC"}
|
package/dist/models/Ping.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { EventHeader } from "./EventHeader";
|
|
13
|
+
import type { OrganizationEmbedded } from "./OrganizationEmbedded";
|
|
13
14
|
import type { RepositoryEmbedded } from "./RepositoryEmbedded";
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -23,6 +24,12 @@ export interface Ping {
|
|
|
23
24
|
* @memberof Ping
|
|
24
25
|
*/
|
|
25
26
|
header?: EventHeader;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {OrganizationEmbedded}
|
|
30
|
+
* @memberof Ping
|
|
31
|
+
*/
|
|
32
|
+
organization?: OrganizationEmbedded;
|
|
26
33
|
/**
|
|
27
34
|
*
|
|
28
35
|
* @type {Date}
|
|
@@ -1 +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,OA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,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAe/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,CAY9F"}
|
package/dist/models/Ping.js
CHANGED
|
@@ -19,6 +19,7 @@ exports.PingFromJSONTyped = PingFromJSONTyped;
|
|
|
19
19
|
exports.PingToJSON = PingToJSON;
|
|
20
20
|
exports.PingToJSONTyped = PingToJSONTyped;
|
|
21
21
|
const EventHeader_1 = require("./EventHeader");
|
|
22
|
+
const OrganizationEmbedded_1 = require("./OrganizationEmbedded");
|
|
22
23
|
const RepositoryEmbedded_1 = require("./RepositoryEmbedded");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the Ping interface.
|
|
@@ -35,6 +36,9 @@ function PingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
38
|
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
39
|
+
organization: json["organization"] == null
|
|
40
|
+
? undefined
|
|
41
|
+
: (0, OrganizationEmbedded_1.OrganizationEmbeddedFromJSON)(json["organization"]),
|
|
38
42
|
pingedAt: json["pinged_at"] == null ? undefined : new Date(json["pinged_at"]),
|
|
39
43
|
repository: json["repository"] == null ? undefined : (0, RepositoryEmbedded_1.RepositoryEmbeddedFromJSON)(json["repository"]),
|
|
40
44
|
webhookSlug: json["webhook_slug"] == null ? undefined : json["webhook_slug"],
|
|
@@ -49,6 +53,7 @@ function PingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
53
|
}
|
|
50
54
|
return {
|
|
51
55
|
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
56
|
+
organization: (0, OrganizationEmbedded_1.OrganizationEmbeddedToJSON)(value["organization"]),
|
|
52
57
|
pinged_at: value["pingedAt"] == null ? value["pingedAt"] : value["pingedAt"].toISOString(),
|
|
53
58
|
repository: (0, RepositoryEmbedded_1.RepositoryEmbeddedToJSON)(value["repository"]),
|
|
54
59
|
webhook_slug: value["webhookSlug"],
|
package/dist/models/Ping.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ping.js","sourceRoot":"","sources":["../../src/models/Ping.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Ping.js","sourceRoot":"","sources":["../../src/models/Ping.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkEH,wCAEC;AAED,oCAEC;AAED,8CAeC;AAED,gCAEC;AAED,0CAYC;AAvGD,+CAKuB;AAEvB,iEAKgC;AAEhC,6DAK8B;AAwC9B;;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,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChF,YAAY,EACR,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI;YACxB,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,IAAA,mDAA4B,EAAC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ST 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 { Repository } from "./Repository";
|
|
13
|
+
import type { PullRequest } from "./PullRequest";
|
|
14
|
+
import type { PullRequestComment } from "./PullRequestComment";
|
|
15
|
+
import type { EventHeader } from "./EventHeader";
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PullRequestCommentCreate
|
|
20
|
+
*/
|
|
21
|
+
export interface PullRequestCommentCreate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {PullRequestComment}
|
|
25
|
+
* @memberof PullRequestCommentCreate
|
|
26
|
+
*/
|
|
27
|
+
comment?: PullRequestComment;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {EventHeader}
|
|
31
|
+
* @memberof PullRequestCommentCreate
|
|
32
|
+
*/
|
|
33
|
+
header?: EventHeader;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof PullRequestCommentCreate
|
|
38
|
+
*/
|
|
39
|
+
isPublished?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PullRequestCommentCreate
|
|
44
|
+
*/
|
|
45
|
+
isThread?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PullRequest}
|
|
49
|
+
* @memberof PullRequestCommentCreate
|
|
50
|
+
*/
|
|
51
|
+
pullRequest?: PullRequest;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Repository}
|
|
55
|
+
* @memberof PullRequestCommentCreate
|
|
56
|
+
*/
|
|
57
|
+
repository?: Repository;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the PullRequestCommentCreate interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfPullRequestCommentCreate(value: object): value is PullRequestCommentCreate;
|
|
63
|
+
export declare function PullRequestCommentCreateFromJSON(json: any): PullRequestCommentCreate;
|
|
64
|
+
export declare function PullRequestCommentCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PullRequestCommentCreate;
|
|
65
|
+
export declare function PullRequestCommentCreateToJSON(json: any): PullRequestCommentCreate;
|
|
66
|
+
export declare function PullRequestCommentCreateToJSONTyped(value?: PullRequestCommentCreate | null, ignoreDiscriminator?: boolean): any;
|
|
67
|
+
//# sourceMappingURL=PullRequestCommentCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentCreate.d.ts","sourceRoot":"","sources":["../../src/models/PullRequestCommentCreate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,wBAAwB,CAEnC;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CACjD,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,wBAAwB,CAa1B;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAC/C,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EACvC,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAaL"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfPullRequestCommentCreate = instanceOfPullRequestCommentCreate;
|
|
17
|
+
exports.PullRequestCommentCreateFromJSON = PullRequestCommentCreateFromJSON;
|
|
18
|
+
exports.PullRequestCommentCreateFromJSONTyped = PullRequestCommentCreateFromJSONTyped;
|
|
19
|
+
exports.PullRequestCommentCreateToJSON = PullRequestCommentCreateToJSON;
|
|
20
|
+
exports.PullRequestCommentCreateToJSONTyped = PullRequestCommentCreateToJSONTyped;
|
|
21
|
+
const Repository_1 = require("./Repository");
|
|
22
|
+
const PullRequest_1 = require("./PullRequest");
|
|
23
|
+
const PullRequestComment_1 = require("./PullRequestComment");
|
|
24
|
+
const EventHeader_1 = require("./EventHeader");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PullRequestCommentCreate interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfPullRequestCommentCreate(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PullRequestCommentCreateFromJSON(json) {
|
|
32
|
+
return PullRequestCommentCreateFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PullRequestCommentCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
comment: json["comment"] == null ? undefined : (0, PullRequestComment_1.PullRequestCommentFromJSON)(json["comment"]),
|
|
40
|
+
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
41
|
+
isPublished: json["is_published"] == null ? undefined : json["is_published"],
|
|
42
|
+
isThread: json["is_thread"] == null ? undefined : json["is_thread"],
|
|
43
|
+
pullRequest: json["pull_request"] == null ? undefined : (0, PullRequest_1.PullRequestFromJSON)(json["pull_request"]),
|
|
44
|
+
repository: json["repository"] == null ? undefined : (0, Repository_1.RepositoryFromJSON)(json["repository"]),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PullRequestCommentCreateToJSON(json) {
|
|
48
|
+
return PullRequestCommentCreateToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PullRequestCommentCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
comment: (0, PullRequestComment_1.PullRequestCommentToJSON)(value["comment"]),
|
|
56
|
+
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
57
|
+
is_published: value["isPublished"],
|
|
58
|
+
is_thread: value["isThread"],
|
|
59
|
+
pull_request: (0, PullRequest_1.PullRequestToJSON)(value["pullRequest"]),
|
|
60
|
+
repository: (0, Repository_1.RepositoryToJSON)(value["repository"]),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=PullRequestCommentCreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentCreate.js","sourceRoot":"","sources":["../../src/models/PullRequestCommentCreate.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA+EH,gFAIC;AAED,4EAEC;AAED,sFAgBC;AAED,wEAEC;AAED,kFAgBC;AA3HD,6CAKsB;AAEtB,+CAKuB;AAEvB,6DAK8B;AAE9B,+CAKuB;AA8CvB;;GAEG;AACH,SAAgB,kCAAkC,CAC9C,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CACjD,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,IAAA,+CAA0B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChF,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;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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 { Repository } from "./Repository";
|
|
13
|
+
import type { PullRequest } from "./PullRequest";
|
|
14
|
+
import type { PullRequestComment } from "./PullRequestComment";
|
|
15
|
+
import type { EventHeader } from "./EventHeader";
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PullRequestCommentCreateBulk
|
|
20
|
+
*/
|
|
21
|
+
export interface PullRequestCommentCreateBulk {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<PullRequestComment>}
|
|
25
|
+
* @memberof PullRequestCommentCreateBulk
|
|
26
|
+
*/
|
|
27
|
+
comments?: Array<PullRequestComment>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {EventHeader}
|
|
31
|
+
* @memberof PullRequestCommentCreateBulk
|
|
32
|
+
*/
|
|
33
|
+
header?: EventHeader;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PullRequest}
|
|
37
|
+
* @memberof PullRequestCommentCreateBulk
|
|
38
|
+
*/
|
|
39
|
+
pullRequest?: PullRequest;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Repository}
|
|
43
|
+
* @memberof PullRequestCommentCreateBulk
|
|
44
|
+
*/
|
|
45
|
+
repository?: Repository;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the PullRequestCommentCreateBulk interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfPullRequestCommentCreateBulk(value: object): value is PullRequestCommentCreateBulk;
|
|
51
|
+
export declare function PullRequestCommentCreateBulkFromJSON(json: any): PullRequestCommentCreateBulk;
|
|
52
|
+
export declare function PullRequestCommentCreateBulkFromJSONTyped(json: any, ignoreDiscriminator: boolean): PullRequestCommentCreateBulk;
|
|
53
|
+
export declare function PullRequestCommentCreateBulkToJSON(json: any): PullRequestCommentCreateBulk;
|
|
54
|
+
export declare function PullRequestCommentCreateBulkToJSONTyped(value?: PullRequestCommentCreateBulk | null, ignoreDiscriminator?: boolean): any;
|
|
55
|
+
//# sourceMappingURL=PullRequestCommentCreateBulk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentCreateBulk.d.ts","sourceRoot":"","sources":["../../src/models/PullRequestCommentCreateBulk.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAClD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,4BAA4B,CAEvC;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CACrD,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,4BAA4B,CAc9B;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CACnD,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAC3C,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAcL"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfPullRequestCommentCreateBulk = instanceOfPullRequestCommentCreateBulk;
|
|
17
|
+
exports.PullRequestCommentCreateBulkFromJSON = PullRequestCommentCreateBulkFromJSON;
|
|
18
|
+
exports.PullRequestCommentCreateBulkFromJSONTyped = PullRequestCommentCreateBulkFromJSONTyped;
|
|
19
|
+
exports.PullRequestCommentCreateBulkToJSON = PullRequestCommentCreateBulkToJSON;
|
|
20
|
+
exports.PullRequestCommentCreateBulkToJSONTyped = PullRequestCommentCreateBulkToJSONTyped;
|
|
21
|
+
const Repository_1 = require("./Repository");
|
|
22
|
+
const PullRequest_1 = require("./PullRequest");
|
|
23
|
+
const PullRequestComment_1 = require("./PullRequestComment");
|
|
24
|
+
const EventHeader_1 = require("./EventHeader");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PullRequestCommentCreateBulk interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfPullRequestCommentCreateBulk(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PullRequestCommentCreateBulkFromJSON(json) {
|
|
32
|
+
return PullRequestCommentCreateBulkFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PullRequestCommentCreateBulkFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
comments: json["comments"] == null
|
|
40
|
+
? undefined
|
|
41
|
+
: json["comments"].map(PullRequestComment_1.PullRequestCommentFromJSON),
|
|
42
|
+
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
43
|
+
pullRequest: json["pull_request"] == null ? undefined : (0, PullRequest_1.PullRequestFromJSON)(json["pull_request"]),
|
|
44
|
+
repository: json["repository"] == null ? undefined : (0, Repository_1.RepositoryFromJSON)(json["repository"]),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PullRequestCommentCreateBulkToJSON(json) {
|
|
48
|
+
return PullRequestCommentCreateBulkToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PullRequestCommentCreateBulkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
comments: value["comments"] == null
|
|
56
|
+
? undefined
|
|
57
|
+
: value["comments"].map(PullRequestComment_1.PullRequestCommentToJSON),
|
|
58
|
+
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
59
|
+
pull_request: (0, PullRequest_1.PullRequestToJSON)(value["pullRequest"]),
|
|
60
|
+
repository: (0, Repository_1.RepositoryToJSON)(value["repository"]),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=PullRequestCommentCreateBulk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentCreateBulk.js","sourceRoot":"","sources":["../../src/models/PullRequestCommentCreateBulk.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,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2C,EAC3C,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,QAAQ,EACJ,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI;YACrB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,6CAAwB,CAAC;QACzE,MAAM,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC1C,YAAY,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACrD,UAAU,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { Repository } from "./Repository";
|
|
13
|
+
import type { PullRequest } from "./PullRequest";
|
|
14
|
+
import type { PullRequestComment } from "./PullRequestComment";
|
|
15
|
+
import type { EventHeader } from "./EventHeader";
|
|
16
|
+
import type { Reaction } from "./Reaction";
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PullRequestCommentReactionsUpdate
|
|
21
|
+
*/
|
|
22
|
+
export interface PullRequestCommentReactionsUpdate {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<Reaction>}
|
|
26
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
27
|
+
*/
|
|
28
|
+
addedReactions?: Array<Reaction>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {PullRequestComment}
|
|
32
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
33
|
+
*/
|
|
34
|
+
comment?: PullRequestComment;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {EventHeader}
|
|
38
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
39
|
+
*/
|
|
40
|
+
header?: EventHeader;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {PullRequest}
|
|
44
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
45
|
+
*/
|
|
46
|
+
pullRequest?: PullRequest;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<Reaction>}
|
|
50
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
51
|
+
*/
|
|
52
|
+
removedReactions?: Array<Reaction>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Repository}
|
|
56
|
+
* @memberof PullRequestCommentReactionsUpdate
|
|
57
|
+
*/
|
|
58
|
+
repository?: Repository;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the PullRequestCommentReactionsUpdate interface.
|
|
62
|
+
*/
|
|
63
|
+
export declare function instanceOfPullRequestCommentReactionsUpdate(value: object): value is PullRequestCommentReactionsUpdate;
|
|
64
|
+
export declare function PullRequestCommentReactionsUpdateFromJSON(json: any): PullRequestCommentReactionsUpdate;
|
|
65
|
+
export declare function PullRequestCommentReactionsUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PullRequestCommentReactionsUpdate;
|
|
66
|
+
export declare function PullRequestCommentReactionsUpdateToJSON(json: any): PullRequestCommentReactionsUpdate;
|
|
67
|
+
export declare function PullRequestCommentReactionsUpdateToJSONTyped(value?: PullRequestCommentReactionsUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
68
|
+
//# sourceMappingURL=PullRequestCommentReactionsUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentReactionsUpdate.d.ts","sourceRoot":"","sources":["../../src/models/PullRequestCommentReactionsUpdate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,2CAA2C,CACvD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,iCAAiC,CAE5C;AAED,wBAAgB,yCAAyC,CACrD,IAAI,EAAE,GAAG,GACV,iCAAiC,CAEnC;AAED,wBAAgB,8CAA8C,CAC1D,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,iCAAiC,CAmBnC;AAED,wBAAgB,uCAAuC,CACnD,IAAI,EAAE,GAAG,GACV,iCAAiC,CAEnC;AAED,wBAAgB,4CAA4C,CACxD,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAChD,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAmBL"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.instanceOfPullRequestCommentReactionsUpdate = instanceOfPullRequestCommentReactionsUpdate;
|
|
17
|
+
exports.PullRequestCommentReactionsUpdateFromJSON = PullRequestCommentReactionsUpdateFromJSON;
|
|
18
|
+
exports.PullRequestCommentReactionsUpdateFromJSONTyped = PullRequestCommentReactionsUpdateFromJSONTyped;
|
|
19
|
+
exports.PullRequestCommentReactionsUpdateToJSON = PullRequestCommentReactionsUpdateToJSON;
|
|
20
|
+
exports.PullRequestCommentReactionsUpdateToJSONTyped = PullRequestCommentReactionsUpdateToJSONTyped;
|
|
21
|
+
const Repository_1 = require("./Repository");
|
|
22
|
+
const PullRequest_1 = require("./PullRequest");
|
|
23
|
+
const PullRequestComment_1 = require("./PullRequestComment");
|
|
24
|
+
const EventHeader_1 = require("./EventHeader");
|
|
25
|
+
const Reaction_1 = require("./Reaction");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PullRequestCommentReactionsUpdate interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfPullRequestCommentReactionsUpdate(value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PullRequestCommentReactionsUpdateFromJSON(json) {
|
|
33
|
+
return PullRequestCommentReactionsUpdateFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PullRequestCommentReactionsUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
addedReactions: json["added_reactions"] == null
|
|
41
|
+
? undefined
|
|
42
|
+
: json["added_reactions"].map(Reaction_1.ReactionFromJSON),
|
|
43
|
+
comment: json["comment"] == null ? undefined : (0, PullRequestComment_1.PullRequestCommentFromJSON)(json["comment"]),
|
|
44
|
+
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
45
|
+
pullRequest: json["pull_request"] == null ? undefined : (0, PullRequest_1.PullRequestFromJSON)(json["pull_request"]),
|
|
46
|
+
removedReactions: json["removed_reactions"] == null
|
|
47
|
+
? undefined
|
|
48
|
+
: json["removed_reactions"].map(Reaction_1.ReactionFromJSON),
|
|
49
|
+
repository: json["repository"] == null ? undefined : (0, Repository_1.RepositoryFromJSON)(json["repository"]),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function PullRequestCommentReactionsUpdateToJSON(json) {
|
|
53
|
+
return PullRequestCommentReactionsUpdateToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function PullRequestCommentReactionsUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
added_reactions: value["addedReactions"] == null
|
|
61
|
+
? undefined
|
|
62
|
+
: value["addedReactions"].map(Reaction_1.ReactionToJSON),
|
|
63
|
+
comment: (0, PullRequestComment_1.PullRequestCommentToJSON)(value["comment"]),
|
|
64
|
+
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
65
|
+
pull_request: (0, PullRequest_1.PullRequestToJSON)(value["pullRequest"]),
|
|
66
|
+
removed_reactions: value["removedReactions"] == null
|
|
67
|
+
? undefined
|
|
68
|
+
: value["removedReactions"].map(Reaction_1.ReactionToJSON),
|
|
69
|
+
repository: (0, Repository_1.RepositoryToJSON)(value["repository"]),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=PullRequestCommentReactionsUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentReactionsUpdate.js","sourceRoot":"","sources":["../../src/models/PullRequestCommentReactionsUpdate.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsFH,kGAIC;AAED,8FAIC;AAED,wGAsBC;AAED,0FAIC;AAED,oGAsBC;AAlJD,6CAKsB;AAEtB,+CAKuB;AAEvB,6DAK8B;AAE9B,+CAKuB;AAEvB,yCAKoB;AA8CpB;;GAEG;AACH,SAAgB,2CAA2C,CACvD,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yCAAyC,CACrD,IAAS;IAET,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAC1D,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,cAAc,EACV,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI;YAC3B,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,IAAI,CAAC,iBAAiB,CAAgB,CAAC,GAAG,CAAC,2BAAgB,CAAC;QACvE,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,+CAA0B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1F,MAAM,EAAE,IAAI,CAAC,QAA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kBAAkB,CAAC,IAAI,IAAI;YAC7B,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAgB,CAAC,GAAG,CAAC,yBAAc,CAAC;QACvE,UAAU,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { Repository } from "./Repository";
|
|
13
|
+
import type { PullRequest } from "./PullRequest";
|
|
14
|
+
import type { PullRequestComment } from "./PullRequestComment";
|
|
15
|
+
import type { EventHeader } from "./EventHeader";
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PullRequestCommentsPublish
|
|
20
|
+
*/
|
|
21
|
+
export interface PullRequestCommentsPublish {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<PullRequestComment>}
|
|
25
|
+
* @memberof PullRequestCommentsPublish
|
|
26
|
+
*/
|
|
27
|
+
comments?: Array<PullRequestComment>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {EventHeader}
|
|
31
|
+
* @memberof PullRequestCommentsPublish
|
|
32
|
+
*/
|
|
33
|
+
header?: EventHeader;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PullRequest}
|
|
37
|
+
* @memberof PullRequestCommentsPublish
|
|
38
|
+
*/
|
|
39
|
+
pullRequest?: PullRequest;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Repository}
|
|
43
|
+
* @memberof PullRequestCommentsPublish
|
|
44
|
+
*/
|
|
45
|
+
repository?: Repository;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the PullRequestCommentsPublish interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfPullRequestCommentsPublish(value: object): value is PullRequestCommentsPublish;
|
|
51
|
+
export declare function PullRequestCommentsPublishFromJSON(json: any): PullRequestCommentsPublish;
|
|
52
|
+
export declare function PullRequestCommentsPublishFromJSONTyped(json: any, ignoreDiscriminator: boolean): PullRequestCommentsPublish;
|
|
53
|
+
export declare function PullRequestCommentsPublishToJSON(json: any): PullRequestCommentsPublish;
|
|
54
|
+
export declare function PullRequestCommentsPublishToJSONTyped(value?: PullRequestCommentsPublish | null, ignoreDiscriminator?: boolean): any;
|
|
55
|
+
//# sourceMappingURL=PullRequestCommentsPublish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentsPublish.d.ts","sourceRoot":"","sources":["../../src/models/PullRequestCommentsPublish.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAChD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,0BAA0B,CAErC;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CACnD,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,0BAA0B,CAc5B;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CACjD,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EACzC,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAcL"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfPullRequestCommentsPublish = instanceOfPullRequestCommentsPublish;
|
|
17
|
+
exports.PullRequestCommentsPublishFromJSON = PullRequestCommentsPublishFromJSON;
|
|
18
|
+
exports.PullRequestCommentsPublishFromJSONTyped = PullRequestCommentsPublishFromJSONTyped;
|
|
19
|
+
exports.PullRequestCommentsPublishToJSON = PullRequestCommentsPublishToJSON;
|
|
20
|
+
exports.PullRequestCommentsPublishToJSONTyped = PullRequestCommentsPublishToJSONTyped;
|
|
21
|
+
const Repository_1 = require("./Repository");
|
|
22
|
+
const PullRequest_1 = require("./PullRequest");
|
|
23
|
+
const PullRequestComment_1 = require("./PullRequestComment");
|
|
24
|
+
const EventHeader_1 = require("./EventHeader");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PullRequestCommentsPublish interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfPullRequestCommentsPublish(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PullRequestCommentsPublishFromJSON(json) {
|
|
32
|
+
return PullRequestCommentsPublishFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PullRequestCommentsPublishFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
comments: json["comments"] == null
|
|
40
|
+
? undefined
|
|
41
|
+
: json["comments"].map(PullRequestComment_1.PullRequestCommentFromJSON),
|
|
42
|
+
header: json["header"] == null ? undefined : (0, EventHeader_1.EventHeaderFromJSON)(json["header"]),
|
|
43
|
+
pullRequest: json["pull_request"] == null ? undefined : (0, PullRequest_1.PullRequestFromJSON)(json["pull_request"]),
|
|
44
|
+
repository: json["repository"] == null ? undefined : (0, Repository_1.RepositoryFromJSON)(json["repository"]),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PullRequestCommentsPublishToJSON(json) {
|
|
48
|
+
return PullRequestCommentsPublishToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PullRequestCommentsPublishToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
comments: value["comments"] == null
|
|
56
|
+
? undefined
|
|
57
|
+
: value["comments"].map(PullRequestComment_1.PullRequestCommentToJSON),
|
|
58
|
+
header: (0, EventHeader_1.EventHeaderToJSON)(value["header"]),
|
|
59
|
+
pull_request: (0, PullRequest_1.PullRequestToJSON)(value["pullRequest"]),
|
|
60
|
+
repository: (0, Repository_1.RepositoryToJSON)(value["repository"]),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=PullRequestCommentsPublish.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PullRequestCommentsPublish.js","sourceRoot":"","sources":["../../src/models/PullRequestCommentsPublish.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAmEH,oFAIC;AAED,gFAEC;AAED,0FAiBC;AAED,4EAEC;AAED,sFAiBC;AAjHD,6CAKsB;AAEtB,+CAKuB;AAEvB,6DAK8B;AAE9B,+CAKuB;AAkCvB;;GAEG;AACH,SAAgB,oCAAoC,CAChD,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CACnD,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,QAAQ,EACJ,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI;YACpB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,+CAA0B,CAAC;QAC1E,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iCAAmB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChF,WAAW,EACP,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iCAAmB,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACxF,UAAU,EAAE,IAAI,C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