tuix-timesheets-api 0.6.85 → 0.6.87

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.
Files changed (35) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/apis/TuixTimesheetsClientApi.js +101 -0
  3. package/apis/TuixTimesheetsClientApi.js.map +1 -1
  4. package/apis/TuixTimesheetsClientApi.ts +140 -0
  5. package/models/GithubAccount.js +61 -0
  6. package/models/GithubAccount.js.map +1 -0
  7. package/models/GithubAccount.ts +100 -0
  8. package/models/GithubAccountDto.js +51 -0
  9. package/models/GithubAccountDto.js.map +1 -0
  10. package/models/GithubAccountDto.ts +66 -0
  11. package/models/LogsBranchDto.js +58 -0
  12. package/models/LogsBranchDto.js.map +1 -0
  13. package/models/LogsBranchDto.ts +91 -0
  14. package/models/LogsCommitDto.js +54 -0
  15. package/models/LogsCommitDto.js.map +1 -0
  16. package/models/LogsCommitDto.ts +75 -0
  17. package/models/LogsRepositoryDto.js +58 -0
  18. package/models/LogsRepositoryDto.js.map +1 -0
  19. package/models/LogsRepositoryDto.ts +91 -0
  20. package/models/MatchPullRequestDto.js +93 -0
  21. package/models/MatchPullRequestDto.js.map +1 -0
  22. package/models/MatchPullRequestDto.ts +192 -0
  23. package/models/MatchPullRequestResponseDto.js +52 -0
  24. package/models/MatchPullRequestResponseDto.js.map +1 -0
  25. package/models/MatchPullRequestResponseDto.ts +73 -0
  26. package/models/SyncDataByAccountDto.js +63 -0
  27. package/models/SyncDataByAccountDto.js.map +1 -0
  28. package/models/SyncDataByAccountDto.ts +102 -0
  29. package/models/SyncGithubDataResponseDto.js +52 -0
  30. package/models/SyncGithubDataResponseDto.js.map +1 -0
  31. package/models/SyncGithubDataResponseDto.ts +73 -0
  32. package/models/index.js +9 -0
  33. package/models/index.js.map +1 -1
  34. package/models/index.ts +9 -0
  35. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LogsCommitDtoToJSON = exports.LogsCommitDtoFromJSONTyped = exports.LogsCommitDtoFromJSON = exports.instanceOfLogsCommitDto = void 0;
17
+ /**
18
+ * Check if a given object implements the LogsCommitDto interface.
19
+ */
20
+ function instanceOfLogsCommitDto(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "message" in value;
23
+ isInstance = isInstance && "pushDate" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfLogsCommitDto = instanceOfLogsCommitDto;
27
+ function LogsCommitDtoFromJSON(json) {
28
+ return LogsCommitDtoFromJSONTyped(json, false);
29
+ }
30
+ exports.LogsCommitDtoFromJSON = LogsCommitDtoFromJSON;
31
+ function LogsCommitDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'message': json['message'],
37
+ 'pushDate': (new Date(json['pushDate'])),
38
+ };
39
+ }
40
+ exports.LogsCommitDtoFromJSONTyped = LogsCommitDtoFromJSONTyped;
41
+ function LogsCommitDtoToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'message': value.message,
50
+ 'pushDate': (value.pushDate.toISOString()),
51
+ };
52
+ }
53
+ exports.LogsCommitDtoToJSON = LogsCommitDtoToJSON;
54
+ //# sourceMappingURL=LogsCommitDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogsCommitDto.js","sourceRoot":"","sources":["LogsCommitDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAC9C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAE/C,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,0DAMC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,UAAU,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;KAC3C,CAAC;AACN,CAAC;AATD,gEASC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,UAAU,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;KAC7C,CAAC;AACN,CAAC;AAZD,kDAYC"}
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Services
5
+ * Tuix Services API
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LogsCommitDto
20
+ */
21
+ export interface LogsCommitDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LogsCommitDto
26
+ */
27
+ message: string;
28
+ /**
29
+ *
30
+ * @type {Date}
31
+ * @memberof LogsCommitDto
32
+ */
33
+ pushDate: Date;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the LogsCommitDto interface.
38
+ */
39
+ export function instanceOfLogsCommitDto(value: object): boolean {
40
+ let isInstance = true;
41
+ isInstance = isInstance && "message" in value;
42
+ isInstance = isInstance && "pushDate" in value;
43
+
44
+ return isInstance;
45
+ }
46
+
47
+ export function LogsCommitDtoFromJSON(json: any): LogsCommitDto {
48
+ return LogsCommitDtoFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function LogsCommitDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogsCommitDto {
52
+ if ((json === undefined) || (json === null)) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'message': json['message'],
58
+ 'pushDate': (new Date(json['pushDate'])),
59
+ };
60
+ }
61
+
62
+ export function LogsCommitDtoToJSON(value?: LogsCommitDto | null): any {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+
71
+ 'message': value.message,
72
+ 'pushDate': (value.pushDate.toISOString()),
73
+ };
74
+ }
75
+
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LogsRepositoryDtoToJSON = exports.LogsRepositoryDtoFromJSONTyped = exports.LogsRepositoryDtoFromJSON = exports.instanceOfLogsRepositoryDto = void 0;
17
+ const LogsBranchDto_1 = require("./LogsBranchDto");
18
+ /**
19
+ * Check if a given object implements the LogsRepositoryDto interface.
20
+ */
21
+ function instanceOfLogsRepositoryDto(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "organization" in value;
25
+ isInstance = isInstance && "branches" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfLogsRepositoryDto = instanceOfLogsRepositoryDto;
29
+ function LogsRepositoryDtoFromJSON(json) {
30
+ return LogsRepositoryDtoFromJSONTyped(json, false);
31
+ }
32
+ exports.LogsRepositoryDtoFromJSON = LogsRepositoryDtoFromJSON;
33
+ function LogsRepositoryDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'name': json['name'],
39
+ 'organization': json['organization'],
40
+ 'branches': (json['branches'].map(LogsBranchDto_1.LogsBranchDtoFromJSON)),
41
+ };
42
+ }
43
+ exports.LogsRepositoryDtoFromJSONTyped = LogsRepositoryDtoFromJSONTyped;
44
+ function LogsRepositoryDtoToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'name': value.name,
53
+ 'organization': value.organization,
54
+ 'branches': (value.branches.map(LogsBranchDto_1.LogsBranchDtoToJSON)),
55
+ };
56
+ }
57
+ exports.LogsRepositoryDtoToJSON = LogsRepositoryDtoToJSON;
58
+ //# sourceMappingURL=LogsRepositoryDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogsRepositoryDto.js","sourceRoot":"","sources":["LogsRepositoryDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;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,0 +1,91 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Services
5
+ * Tuix Services API
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { LogsBranchDto } from './LogsBranchDto';
17
+ import {
18
+ LogsBranchDtoFromJSON,
19
+ LogsBranchDtoFromJSONTyped,
20
+ LogsBranchDtoToJSON,
21
+ } from './LogsBranchDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface LogsRepositoryDto
27
+ */
28
+ export interface LogsRepositoryDto {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof LogsRepositoryDto
33
+ */
34
+ name: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof LogsRepositoryDto
39
+ */
40
+ organization: string;
41
+ /**
42
+ *
43
+ * @type {Array<LogsBranchDto>}
44
+ * @memberof LogsRepositoryDto
45
+ */
46
+ branches: Array<LogsBranchDto>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the LogsRepositoryDto interface.
51
+ */
52
+ export function instanceOfLogsRepositoryDto(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "name" in value;
55
+ isInstance = isInstance && "organization" in value;
56
+ isInstance = isInstance && "branches" in value;
57
+
58
+ return isInstance;
59
+ }
60
+
61
+ export function LogsRepositoryDtoFromJSON(json: any): LogsRepositoryDto {
62
+ return LogsRepositoryDtoFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function LogsRepositoryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogsRepositoryDto {
66
+ if ((json === undefined) || (json === null)) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'name': json['name'],
72
+ 'organization': json['organization'],
73
+ 'branches': ((json['branches'] as Array<any>).map(LogsBranchDtoFromJSON)),
74
+ };
75
+ }
76
+
77
+ export function LogsRepositoryDtoToJSON(value?: LogsRepositoryDto | null): any {
78
+ if (value === undefined) {
79
+ return undefined;
80
+ }
81
+ if (value === null) {
82
+ return null;
83
+ }
84
+ return {
85
+
86
+ 'name': value.name,
87
+ 'organization': value.organization,
88
+ 'branches': ((value.branches as Array<any>).map(LogsBranchDtoToJSON)),
89
+ };
90
+ }
91
+
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MatchPullRequestDtoToJSON = exports.MatchPullRequestDtoFromJSONTyped = exports.MatchPullRequestDtoFromJSON = exports.instanceOfMatchPullRequestDto = void 0;
17
+ /**
18
+ * Check if a given object implements the MatchPullRequestDto interface.
19
+ */
20
+ function instanceOfMatchPullRequestDto(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "originBranchName" in value;
23
+ isInstance = isInstance && "targetBranchName" in value;
24
+ isInstance = isInstance && "originPullRequestNumber" in value;
25
+ isInstance = isInstance && "targetPullRequestNumber" in value;
26
+ isInstance = isInstance && "originRepositoryName" in value;
27
+ isInstance = isInstance && "targetRepositoryName" in value;
28
+ isInstance = isInstance && "totalReviewsCreated" in value;
29
+ isInstance = isInstance && "totalReviewCommentsCreated" in value;
30
+ isInstance = isInstance && "totalIssueCommentsCreated" in value;
31
+ isInstance = isInstance && "totalReviewsUpdated" in value;
32
+ isInstance = isInstance && "totalReviewCommentsUpdated" in value;
33
+ isInstance = isInstance && "totalIssueCommentsUpdated" in value;
34
+ isInstance = isInstance && "lastMatchedReviewCommentDate" in value;
35
+ isInstance = isInstance && "lastMatchedReviewDate" in value;
36
+ isInstance = isInstance && "lastMatchedIssueCommentDate" in value;
37
+ return isInstance;
38
+ }
39
+ exports.instanceOfMatchPullRequestDto = instanceOfMatchPullRequestDto;
40
+ function MatchPullRequestDtoFromJSON(json) {
41
+ return MatchPullRequestDtoFromJSONTyped(json, false);
42
+ }
43
+ exports.MatchPullRequestDtoFromJSON = MatchPullRequestDtoFromJSON;
44
+ function MatchPullRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
45
+ if ((json === undefined) || (json === null)) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'originBranchName': json['originBranchName'],
50
+ 'targetBranchName': json['targetBranchName'],
51
+ 'originPullRequestNumber': json['originPullRequestNumber'],
52
+ 'targetPullRequestNumber': json['targetPullRequestNumber'],
53
+ 'originRepositoryName': json['originRepositoryName'],
54
+ 'targetRepositoryName': json['targetRepositoryName'],
55
+ 'totalReviewsCreated': json['totalReviewsCreated'],
56
+ 'totalReviewCommentsCreated': json['totalReviewCommentsCreated'],
57
+ 'totalIssueCommentsCreated': json['totalIssueCommentsCreated'],
58
+ 'totalReviewsUpdated': json['totalReviewsUpdated'],
59
+ 'totalReviewCommentsUpdated': json['totalReviewCommentsUpdated'],
60
+ 'totalIssueCommentsUpdated': json['totalIssueCommentsUpdated'],
61
+ 'lastMatchedReviewCommentDate': (new Date(json['lastMatchedReviewCommentDate'])),
62
+ 'lastMatchedReviewDate': (new Date(json['lastMatchedReviewDate'])),
63
+ 'lastMatchedIssueCommentDate': (new Date(json['lastMatchedIssueCommentDate'])),
64
+ };
65
+ }
66
+ exports.MatchPullRequestDtoFromJSONTyped = MatchPullRequestDtoFromJSONTyped;
67
+ function MatchPullRequestDtoToJSON(value) {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+ 'originBranchName': value.originBranchName,
76
+ 'targetBranchName': value.targetBranchName,
77
+ 'originPullRequestNumber': value.originPullRequestNumber,
78
+ 'targetPullRequestNumber': value.targetPullRequestNumber,
79
+ 'originRepositoryName': value.originRepositoryName,
80
+ 'targetRepositoryName': value.targetRepositoryName,
81
+ 'totalReviewsCreated': value.totalReviewsCreated,
82
+ 'totalReviewCommentsCreated': value.totalReviewCommentsCreated,
83
+ 'totalIssueCommentsCreated': value.totalIssueCommentsCreated,
84
+ 'totalReviewsUpdated': value.totalReviewsUpdated,
85
+ 'totalReviewCommentsUpdated': value.totalReviewCommentsUpdated,
86
+ 'totalIssueCommentsUpdated': value.totalIssueCommentsUpdated,
87
+ 'lastMatchedReviewCommentDate': (value.lastMatchedReviewCommentDate.toISOString()),
88
+ 'lastMatchedReviewDate': (value.lastMatchedReviewDate.toISOString()),
89
+ 'lastMatchedIssueCommentDate': (value.lastMatchedIssueCommentDate.toISOString()),
90
+ };
91
+ }
92
+ exports.MatchPullRequestDtoToJSON = MatchPullRequestDtoToJSON;
93
+ //# sourceMappingURL=MatchPullRequestDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatchPullRequestDto.js","sourceRoot":"","sources":["MatchPullRequestDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAqGH;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,kBAAkB,IAAI,KAAK,CAAC;IACvD,UAAU,GAAG,UAAU,IAAI,kBAAkB,IAAI,KAAK,CAAC;IACvD,UAAU,GAAG,UAAU,IAAI,yBAAyB,IAAI,KAAK,CAAC;IAC9D,UAAU,GAAG,UAAU,IAAI,yBAAyB,IAAI,KAAK,CAAC;IAC9D,UAAU,GAAG,UAAU,IAAI,sBAAsB,IAAI,KAAK,CAAC;IAC3D,UAAU,GAAG,UAAU,IAAI,sBAAsB,IAAI,KAAK,CAAC;IAC3D,UAAU,GAAG,UAAU,IAAI,qBAAqB,IAAI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AE,CAAC,KAAK,CAAC,qBAAqB,CAAC,WAAW,EAAE,CAAC;QACpE,6BAA6B,EAAE,CAAC,KAAK,CAAC,2BAA2B,CAAC,WAAW,EAAE,CAAC;KACnF,CAAC;AACN,CAAC;AAzBD,8DAyBC"}
@@ -0,0 +1,192 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Services
5
+ * Tuix Services API
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface MatchPullRequestDto
20
+ */
21
+ export interface MatchPullRequestDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof MatchPullRequestDto
26
+ */
27
+ originBranchName: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof MatchPullRequestDto
32
+ */
33
+ targetBranchName: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof MatchPullRequestDto
38
+ */
39
+ originPullRequestNumber: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof MatchPullRequestDto
44
+ */
45
+ targetPullRequestNumber: number;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof MatchPullRequestDto
50
+ */
51
+ originRepositoryName: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof MatchPullRequestDto
56
+ */
57
+ targetRepositoryName: string;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof MatchPullRequestDto
62
+ */
63
+ totalReviewsCreated: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof MatchPullRequestDto
68
+ */
69
+ totalReviewCommentsCreated: number;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof MatchPullRequestDto
74
+ */
75
+ totalIssueCommentsCreated: number;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof MatchPullRequestDto
80
+ */
81
+ totalReviewsUpdated: number;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof MatchPullRequestDto
86
+ */
87
+ totalReviewCommentsUpdated: number;
88
+ /**
89
+ *
90
+ * @type {number}
91
+ * @memberof MatchPullRequestDto
92
+ */
93
+ totalIssueCommentsUpdated: number;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof MatchPullRequestDto
98
+ */
99
+ lastMatchedReviewCommentDate: Date;
100
+ /**
101
+ *
102
+ * @type {Date}
103
+ * @memberof MatchPullRequestDto
104
+ */
105
+ lastMatchedReviewDate: Date;
106
+ /**
107
+ *
108
+ * @type {Date}
109
+ * @memberof MatchPullRequestDto
110
+ */
111
+ lastMatchedIssueCommentDate: Date;
112
+ }
113
+
114
+ /**
115
+ * Check if a given object implements the MatchPullRequestDto interface.
116
+ */
117
+ export function instanceOfMatchPullRequestDto(value: object): boolean {
118
+ let isInstance = true;
119
+ isInstance = isInstance && "originBranchName" in value;
120
+ isInstance = isInstance && "targetBranchName" in value;
121
+ isInstance = isInstance && "originPullRequestNumber" in value;
122
+ isInstance = isInstance && "targetPullRequestNumber" in value;
123
+ isInstance = isInstance && "originRepositoryName" in value;
124
+ isInstance = isInstance && "targetRepositoryName" in value;
125
+ isInstance = isInstance && "totalReviewsCreated" in value;
126
+ isInstance = isInstance && "totalReviewCommentsCreated" in value;
127
+ isInstance = isInstance && "totalIssueCommentsCreated" in value;
128
+ isInstance = isInstance && "totalReviewsUpdated" in value;
129
+ isInstance = isInstance && "totalReviewCommentsUpdated" in value;
130
+ isInstance = isInstance && "totalIssueCommentsUpdated" in value;
131
+ isInstance = isInstance && "lastMatchedReviewCommentDate" in value;
132
+ isInstance = isInstance && "lastMatchedReviewDate" in value;
133
+ isInstance = isInstance && "lastMatchedIssueCommentDate" in value;
134
+
135
+ return isInstance;
136
+ }
137
+
138
+ export function MatchPullRequestDtoFromJSON(json: any): MatchPullRequestDto {
139
+ return MatchPullRequestDtoFromJSONTyped(json, false);
140
+ }
141
+
142
+ export function MatchPullRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchPullRequestDto {
143
+ if ((json === undefined) || (json === null)) {
144
+ return json;
145
+ }
146
+ return {
147
+
148
+ 'originBranchName': json['originBranchName'],
149
+ 'targetBranchName': json['targetBranchName'],
150
+ 'originPullRequestNumber': json['originPullRequestNumber'],
151
+ 'targetPullRequestNumber': json['targetPullRequestNumber'],
152
+ 'originRepositoryName': json['originRepositoryName'],
153
+ 'targetRepositoryName': json['targetRepositoryName'],
154
+ 'totalReviewsCreated': json['totalReviewsCreated'],
155
+ 'totalReviewCommentsCreated': json['totalReviewCommentsCreated'],
156
+ 'totalIssueCommentsCreated': json['totalIssueCommentsCreated'],
157
+ 'totalReviewsUpdated': json['totalReviewsUpdated'],
158
+ 'totalReviewCommentsUpdated': json['totalReviewCommentsUpdated'],
159
+ 'totalIssueCommentsUpdated': json['totalIssueCommentsUpdated'],
160
+ 'lastMatchedReviewCommentDate': (new Date(json['lastMatchedReviewCommentDate'])),
161
+ 'lastMatchedReviewDate': (new Date(json['lastMatchedReviewDate'])),
162
+ 'lastMatchedIssueCommentDate': (new Date(json['lastMatchedIssueCommentDate'])),
163
+ };
164
+ }
165
+
166
+ export function MatchPullRequestDtoToJSON(value?: MatchPullRequestDto | null): any {
167
+ if (value === undefined) {
168
+ return undefined;
169
+ }
170
+ if (value === null) {
171
+ return null;
172
+ }
173
+ return {
174
+
175
+ 'originBranchName': value.originBranchName,
176
+ 'targetBranchName': value.targetBranchName,
177
+ 'originPullRequestNumber': value.originPullRequestNumber,
178
+ 'targetPullRequestNumber': value.targetPullRequestNumber,
179
+ 'originRepositoryName': value.originRepositoryName,
180
+ 'targetRepositoryName': value.targetRepositoryName,
181
+ 'totalReviewsCreated': value.totalReviewsCreated,
182
+ 'totalReviewCommentsCreated': value.totalReviewCommentsCreated,
183
+ 'totalIssueCommentsCreated': value.totalIssueCommentsCreated,
184
+ 'totalReviewsUpdated': value.totalReviewsUpdated,
185
+ 'totalReviewCommentsUpdated': value.totalReviewCommentsUpdated,
186
+ 'totalIssueCommentsUpdated': value.totalIssueCommentsUpdated,
187
+ 'lastMatchedReviewCommentDate': (value.lastMatchedReviewCommentDate.toISOString()),
188
+ 'lastMatchedReviewDate': (value.lastMatchedReviewDate.toISOString()),
189
+ 'lastMatchedIssueCommentDate': (value.lastMatchedIssueCommentDate.toISOString()),
190
+ };
191
+ }
192
+
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MatchPullRequestResponseDtoToJSON = exports.MatchPullRequestResponseDtoFromJSONTyped = exports.MatchPullRequestResponseDtoFromJSON = exports.instanceOfMatchPullRequestResponseDto = void 0;
17
+ const MatchPullRequestDto_1 = require("./MatchPullRequestDto");
18
+ /**
19
+ * Check if a given object implements the MatchPullRequestResponseDto interface.
20
+ */
21
+ function instanceOfMatchPullRequestResponseDto(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "summary" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfMatchPullRequestResponseDto = instanceOfMatchPullRequestResponseDto;
27
+ function MatchPullRequestResponseDtoFromJSON(json) {
28
+ return MatchPullRequestResponseDtoFromJSONTyped(json, false);
29
+ }
30
+ exports.MatchPullRequestResponseDtoFromJSON = MatchPullRequestResponseDtoFromJSON;
31
+ function MatchPullRequestResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'summary': (json['summary'].map(MatchPullRequestDto_1.MatchPullRequestDtoFromJSON)),
37
+ };
38
+ }
39
+ exports.MatchPullRequestResponseDtoFromJSONTyped = MatchPullRequestResponseDtoFromJSONTyped;
40
+ function MatchPullRequestResponseDtoToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'summary': (value.summary.map(MatchPullRequestDto_1.MatchPullRequestDtoToJSON)),
49
+ };
50
+ }
51
+ exports.MatchPullRequestResponseDtoToJSON = MatchPullRequestResponseDtoToJSON;
52
+ //# sourceMappingURL=MatchPullRequestResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatchPullRequestResponseDto.js","sourceRoot":"","sources":["MatchPullRequestResponseDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,+DAI+B;AAgB/B;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,sFAKC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAFD,kFAEC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,iDAA2B,CAAC,CAAC;KAChF,CAAC;AACN,CAAC;AARD,4FAQC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAE,KAAK,CAAC,OAAsB,CAAC,GAAG,CAAC,+CAAyB,CAAC,CAAC;KAC5E,CAAC;AACN,CAAC;AAXD,8EAWC"}