@stack-spot/portal-network 0.158.0 → 0.159.0-beta.2
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/CHANGELOG.md +89 -0
- package/dist/api/codeShift.d.ts +110 -196
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +37 -94
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api-addresses.d.ts +32 -0
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +53 -0
- package/dist/api-addresses.js.map +1 -1
- package/dist/client/account.d.ts +7 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +12 -3
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +89 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +135 -4
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +5 -49
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/agent.js +2 -65
- package/dist/client/agent.js.map +1 -1
- package/dist/client/ai.d.ts +7 -0
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +12 -3
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +2 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts.map +1 -1
- package/dist/client/cloud-account.js +2 -2
- package/dist/client/cloud-account.js.map +1 -1
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +2 -2
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +2 -2
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts.map +1 -1
- package/dist/client/cloud-runtimes.js +2 -2
- package/dist/client/cloud-runtimes.js.map +1 -1
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/cloud-services.js +2 -2
- package/dist/client/cloud-services.js.map +1 -1
- package/dist/client/code-shift.d.ts +25 -67
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +32 -75
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +2 -2
- package/dist/client/content.js.map +1 -1
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +2 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discovery.d.ts.map +1 -1
- package/dist/client/discovery.js +2 -2
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/event-bus.js +2 -2
- package/dist/client/event-bus.js.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +9 -0
- package/dist/client/gen-ai-inference.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.js +12 -3
- package/dist/client/gen-ai-inference.js.map +1 -1
- package/dist/client/insights.d.ts.map +1 -1
- package/dist/client/insights.js +2 -2
- package/dist/client/insights.js.map +1 -1
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +2 -2
- package/dist/client/notification.js.map +1 -1
- package/dist/client/runtime-manager.d.ts.map +1 -1
- package/dist/client/runtime-manager.js +2 -2
- package/dist/client/runtime-manager.js.map +1 -1
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +2 -2
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +5 -4
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts.map +1 -1
- package/dist/client/workflow.js +2 -2
- package/dist/client/workflow.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +1 -4
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +2 -2
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +2 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts.map +1 -1
- package/dist/client/workspace-search.js +2 -2
- package/dist/client/workspace-search.js.map +1 -1
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/client/workspace.js +2 -2
- package/dist/client/workspace.js.map +1 -1
- package/dist/error/DefaultAPIError.d.ts +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js +27 -12
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/types.d.ts +19 -0
- package/dist/error/types.d.ts.map +1 -0
- package/dist/error/types.js +2 -0
- package/dist/error/types.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +6 -0
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +10 -1
- package/dist/network/NetworkClient.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +3 -0
- package/src/api/agent.ts +2 -0
- package/src/api/codeShift.ts +257 -481
- package/src/api/notification.ts +2 -0
- package/src/api-addresses.ts +71 -0
- package/src/client/account.ts +12 -3
- package/src/client/agent-tools.ts +103 -5
- package/src/client/agent.ts +2 -68
- package/src/client/ai.ts +8 -2
- package/src/client/api-management.ts +2 -2
- package/src/client/cloud-account.ts +2 -2
- package/src/client/cloud-platform-horizon.ts +2 -2
- package/src/client/cloud-platform.ts +2 -2
- package/src/client/cloud-runtimes.ts +2 -2
- package/src/client/cloud-services.ts +2 -2
- package/src/client/code-shift.ts +21 -59
- package/src/client/content.ts +2 -2
- package/src/client/data-integration.ts +2 -2
- package/src/client/discovery.ts +2 -2
- package/src/client/event-bus.ts +2 -2
- package/src/client/gen-ai-inference.ts +8 -3
- package/src/client/insights.ts +2 -2
- package/src/client/notification.ts +2 -2
- package/src/client/runtime-manager.ts +2 -2
- package/src/client/secrets.ts +2 -2
- package/src/client/types.ts +7 -5
- package/src/client/workflow.ts +2 -2
- package/src/client/workspace-ai.ts +2 -2
- package/src/client/workspace-manager.ts +2 -2
- package/src/client/workspace-search.ts +2 -2
- package/src/client/workspace.ts +2 -2
- package/src/error/DefaultAPIError.ts +35 -12
- package/src/error/types.ts +21 -0
- package/src/index.ts +1 -1
- package/src/network/NetworkClient.ts +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.159.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.158.1-beta.2...portal-network-beta@v0.159.0-beta.2) (2025-07-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* implement support for overriding the API config file for local testing ([3231d07](https://github.com/stack-spot/portal-commons/commit/3231d07613d29fe9e790973bad0972dd819d465a))
|
|
9
|
+
|
|
10
|
+
## [0.159.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.158.0...portal-network@v0.159.0) (2025-07-18)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Feat magic link for fido ([#1243](https://github.com/stack-spot/portal-commons/issues/1243)) ([01db6fc](https://github.com/stack-spot/portal-commons/commit/01db6fc16112e5d5718819f1bcb149442db98982))
|
|
16
|
+
|
|
3
17
|
## [0.158.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.157.0...portal-network@v0.158.0) (2025-07-17)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -28,6 +42,29 @@
|
|
|
28
42
|
|
|
29
43
|
* changes in discover api ([#1215](https://github.com/stack-spot/portal-commons/issues/1215)) ([cb95a55](https://github.com/stack-spot/portal-commons/commit/cb95a550824854e268cce2b2a7e8adaf1b360e83))
|
|
30
44
|
|
|
45
|
+
## [0.157.1-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.157.0-beta.2...portal-network-beta@v0.157.1-beta.2) (2025-07-14)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* Refactors report types and adds `ReportStatus` enum ([#1209](https://github.com/stack-spot/portal-commons/issues/1209)) ([7132382](https://github.com/stack-spot/portal-commons/commit/7132382a337d3f521153ad43e529764082b81b68))
|
|
51
|
+
|
|
52
|
+
## [0.157.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.156.1-beta.2...portal-network-beta@v0.157.0-beta.2) (2025-07-14)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
* add suggested messages beta ([#1204](https://github.com/stack-spot/portal-commons/issues/1204)) ([40b58f1](https://github.com/stack-spot/portal-commons/commit/40b58f1c0b1bd5c06d9365c8cb36ad3c53b5d114))
|
|
58
|
+
* code shift validate scm url beta ([#1205](https://github.com/stack-spot/portal-commons/issues/1205)) ([bdf9984](https://github.com/stack-spot/portal-commons/commit/bdf9984d304f90197b734d4aba8eb12528a74e1d))
|
|
59
|
+
|
|
60
|
+
## [0.156.1-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.156.0-beta.2...portal-network-beta@v0.156.1-beta.2) (2025-07-11)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* add sendAgentMessage ([#1198](https://github.com/stack-spot/portal-commons/issues/1198)) ([c16b103](https://github.com/stack-spot/portal-commons/commit/c16b1031155661a1ad957fb909d7c44c827137a9))
|
|
66
|
+
|
|
67
|
+
## [0.156.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.155.0-beta.2...portal-network-beta@v0.156.0-beta.2) (2025-07-11)
|
|
31
68
|
## [0.156.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.155.0...portal-network@v0.156.0) (2025-07-11)
|
|
32
69
|
|
|
33
70
|
|
|
@@ -35,6 +72,21 @@
|
|
|
35
72
|
|
|
36
73
|
* 1530 refactor ks ([#1187](https://github.com/stack-spot/portal-commons/issues/1187)) ([b133ec8](https://github.com/stack-spot/portal-commons/commit/b133ec8a047623adf4db9d839017a551fae80029))
|
|
37
74
|
|
|
75
|
+
## [0.155.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.154.0-beta.2...portal-network-beta@v0.155.0-beta.2) (2025-07-11)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* accordion component beta ([#1191](https://github.com/stack-spot/portal-commons/issues/1191)) ([b49a388](https://github.com/stack-spot/portal-commons/commit/b49a388660523bab21abcdb17fc92341ffd40570))
|
|
81
|
+
* Add calculate condition ([#1170](https://github.com/stack-spot/portal-commons/issues/1170)) ([9a4557f](https://github.com/stack-spot/portal-commons/commit/9a4557f1a5d810649f6222c5181cd8c1e53c3d54))
|
|
82
|
+
* code shift validate scm url ([#1195](https://github.com/stack-spot/portal-commons/issues/1195)) ([53ecdd0](https://github.com/stack-spot/portal-commons/commit/53ecdd0805494cdb072c25f05f26303b7049e874))
|
|
83
|
+
* New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* Improve naming ([#1188](https://github.com/stack-spot/portal-commons/issues/1188)) ([5beeb04](https://github.com/stack-spot/portal-commons/commit/5beeb040a4adc22ba38c1dfeaf866105e4236b9d))
|
|
89
|
+
|
|
38
90
|
## [0.155.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.154.1...portal-network@v0.155.0) (2025-07-10)
|
|
39
91
|
|
|
40
92
|
|
|
@@ -57,12 +109,49 @@
|
|
|
57
109
|
* New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
|
|
58
110
|
|
|
59
111
|
## [0.153.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.152.0...portal-network@v0.153.0) (2025-07-10)
|
|
112
|
+
## [0.154.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.153.0-beta.2...portal-network-beta@v0.154.0-beta.2) (2025-07-10)
|
|
60
113
|
|
|
61
114
|
|
|
62
115
|
### Features
|
|
63
116
|
|
|
64
117
|
* add new requests in data integration api ([#1180](https://github.com/stack-spot/portal-commons/issues/1180)) ([c72662b](https://github.com/stack-spot/portal-commons/commit/c72662bef9f71a6fa166838e669d79987428b026))
|
|
65
118
|
|
|
119
|
+
## [0.153.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.152.0-beta.2...portal-network-beta@v0.153.0-beta.2) (2025-07-09)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* code shift validate scm url ([#1181](https://github.com/stack-spot/portal-commons/issues/1181)) ([0286404](https://github.com/stack-spot/portal-commons/commit/0286404be9c40b273afde21fc096bd309159da22))
|
|
125
|
+
|
|
126
|
+
## [0.152.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.151.0-beta.2...portal-network-beta@v0.152.0-beta.2) (2025-07-08)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### Features
|
|
130
|
+
|
|
131
|
+
* add new requests in workspace ai ([#1177](https://github.com/stack-spot/portal-commons/issues/1177)) ([02a1c3b](https://github.com/stack-spot/portal-commons/commit/02a1c3bec4dbbe012a558159dcc6df8137396ba9))
|
|
132
|
+
* add workflow error message ([#1150](https://github.com/stack-spot/portal-commons/issues/1150)) ([f6e71f8](https://github.com/stack-spot/portal-commons/commit/f6e71f825a6d97c9ef42673d1589d99cb49d2426))
|
|
133
|
+
* toolkit fork ([#1171](https://github.com/stack-spot/portal-commons/issues/1171)) ([73b8c4a](https://github.com/stack-spot/portal-commons/commit/73b8c4a382885fb396bc1d05e0c6bce69c1dbff0))
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* map cnt workflow errors ([#1165](https://github.com/stack-spot/portal-commons/issues/1165)) ([4409958](https://github.com/stack-spot/portal-commons/commit/4409958fbc4e7448a128f61ccdb9dcc8fc274c30))
|
|
139
|
+
* merge 'feat-beta-releases' into beta-releases ([cb9e293](https://github.com/stack-spot/portal-commons/commit/cb9e2936740e3b97d4724c092c6d114e80701319))
|
|
140
|
+
* publish Test ([#1160](https://github.com/stack-spot/portal-commons/issues/1160)) ([4507af5](https://github.com/stack-spot/portal-commons/commit/4507af5de59d6a5603d74965c75be67216e86c2b))
|
|
141
|
+
* test ([e974bb4](https://github.com/stack-spot/portal-commons/commit/e974bb47ee5333bcf1d25307a92b17f2c1e93a1a))
|
|
142
|
+
* test ([b8ccf50](https://github.com/stack-spot/portal-commons/commit/b8ccf507a4291abf19b83b0b4ca7b1a9893764d7))
|
|
143
|
+
* test ([#1134](https://github.com/stack-spot/portal-commons/issues/1134)) ([e58acb9](https://github.com/stack-spot/portal-commons/commit/e58acb90919f03e99debb0ae159385bd5aaa63d6))
|
|
144
|
+
* test ([#1135](https://github.com/stack-spot/portal-commons/issues/1135)) ([558c524](https://github.com/stack-spot/portal-commons/commit/558c5243e599031f6bee6160614fbae9ec715d5d))
|
|
145
|
+
* test ([#1157](https://github.com/stack-spot/portal-commons/issues/1157)) ([2c50106](https://github.com/stack-spot/portal-commons/commit/2c5010606c2b9c2b95091370bef895727b1c36ec))
|
|
146
|
+
* Test ([#1162](https://github.com/stack-spot/portal-commons/issues/1162)) ([94c553d](https://github.com/stack-spot/portal-commons/commit/94c553d41ec9c3a77d3c79292fc7552938c56080))
|
|
147
|
+
* teste ([01ab2f6](https://github.com/stack-spot/portal-commons/commit/01ab2f6deb912cf19256bd874b33ebe266579c90))
|
|
148
|
+
* testing ([#1128](https://github.com/stack-spot/portal-commons/issues/1128)) ([54a3e1c](https://github.com/stack-spot/portal-commons/commit/54a3e1c49c787275646e0ac6238ae32b7338f592))
|
|
149
|
+
* Testing ([#1144](https://github.com/stack-spot/portal-commons/issues/1144)) ([7671400](https://github.com/stack-spot/portal-commons/commit/76714008d9ba587af41d46135e2819fc7b2b991a))
|
|
150
|
+
* testing ([#1146](https://github.com/stack-spot/portal-commons/issues/1146)) ([fd80eff](https://github.com/stack-spot/portal-commons/commit/fd80eff96a07182ead5ad8d5975796a558b97830))
|
|
151
|
+
* update 'main' into beta-release ([5205864](https://github.com/stack-spot/portal-commons/commit/5205864d2f7782035d640648c8a8554c01573936))
|
|
152
|
+
* update tools 'feat-1615-agent-migration' into beta-release ([d9c6b6f](https://github.com/stack-spot/portal-commons/commit/d9c6b6fccbdcaacaa5067b7e3f1251c7ffe8236a))
|
|
153
|
+
* update version ([#1179](https://github.com/stack-spot/portal-commons/issues/1179)) ([76e4408](https://github.com/stack-spot/portal-commons/commit/76e4408f5cfa084ab010e31f2a7cada104111d6c))
|
|
154
|
+
|
|
66
155
|
## [0.152.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.151.0...portal-network@v0.152.0) (2025-07-08)
|
|
67
156
|
|
|
68
157
|
|
package/dist/api/codeShift.d.ts
CHANGED
|
@@ -19,122 +19,6 @@ export type ValidationError = {
|
|
|
19
19
|
export type HttpValidationError = {
|
|
20
20
|
detail?: ValidationError[];
|
|
21
21
|
};
|
|
22
|
-
export type ModuleResponse = {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
};
|
|
26
|
-
export type ExecutionResponse = {
|
|
27
|
-
id: string;
|
|
28
|
-
startedAt: string | null;
|
|
29
|
-
completedAt: string | null;
|
|
30
|
-
status: string | null;
|
|
31
|
-
conclusion: string | null;
|
|
32
|
-
};
|
|
33
|
-
export type UserResponse = {
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
email: string;
|
|
37
|
-
ip?: string | null;
|
|
38
|
-
};
|
|
39
|
-
export type ReportResponse = {
|
|
40
|
-
id: string;
|
|
41
|
-
"module": ModuleResponse | null;
|
|
42
|
-
execution: ExecutionResponse | null;
|
|
43
|
-
mode: string;
|
|
44
|
-
sourceBranch: string;
|
|
45
|
-
targetBranch?: string | null;
|
|
46
|
-
createdBy: UserResponse;
|
|
47
|
-
createdAt: string;
|
|
48
|
-
updatedAt: string;
|
|
49
|
-
filesCount: number | null;
|
|
50
|
-
issuesCount: number | null;
|
|
51
|
-
pullRequestLink?: string | null;
|
|
52
|
-
errorLog?: string | null;
|
|
53
|
-
};
|
|
54
|
-
export type ListApplicationReportResponse = {
|
|
55
|
-
/** List of reports */
|
|
56
|
-
items: ReportResponse[];
|
|
57
|
-
/** Number of reports */
|
|
58
|
-
itemsCount: number;
|
|
59
|
-
/** Last evaluated key */
|
|
60
|
-
lastEvaluatedKey: string | null;
|
|
61
|
-
};
|
|
62
|
-
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
63
|
-
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
64
|
-
export type InvalidPayloadDetails = {
|
|
65
|
-
code: BadRequestExceptionTypes | ExceptionType;
|
|
66
|
-
field: string | null;
|
|
67
|
-
message?: string | null;
|
|
68
|
-
};
|
|
69
|
-
export type HttpErrorResponse = {
|
|
70
|
-
status: string;
|
|
71
|
-
code: ExceptionType;
|
|
72
|
-
details: string;
|
|
73
|
-
validationDetails?: InvalidPayloadDetails[] | null;
|
|
74
|
-
};
|
|
75
|
-
export type BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost = {
|
|
76
|
-
file: Blob;
|
|
77
|
-
};
|
|
78
|
-
export type RepositoryRequest = {
|
|
79
|
-
url: string;
|
|
80
|
-
defaultBranch: string;
|
|
81
|
-
};
|
|
82
|
-
export type CreateApplicationRequest = {
|
|
83
|
-
/** Application name */
|
|
84
|
-
name?: string | null;
|
|
85
|
-
/** Repository */
|
|
86
|
-
repository: RepositoryRequest;
|
|
87
|
-
};
|
|
88
|
-
export type RepositoryResponse = {
|
|
89
|
-
url: string;
|
|
90
|
-
defaultBranch: string;
|
|
91
|
-
};
|
|
92
|
-
export type ReportResponse2 = {
|
|
93
|
-
id: string;
|
|
94
|
-
execution: ExecutionResponse | null;
|
|
95
|
-
mode: string;
|
|
96
|
-
moduleId: string | null;
|
|
97
|
-
sourceBranch: string;
|
|
98
|
-
targetBranch?: string | null;
|
|
99
|
-
createdBy: UserResponse;
|
|
100
|
-
createdAt: string;
|
|
101
|
-
updatedAt: string;
|
|
102
|
-
filesCount: number | null;
|
|
103
|
-
issuesCount: number | null;
|
|
104
|
-
pullRequestLink?: string | null;
|
|
105
|
-
errorLog?: string | null;
|
|
106
|
-
};
|
|
107
|
-
export type ApplicationResponse = {
|
|
108
|
-
/** Application ID */
|
|
109
|
-
id: string;
|
|
110
|
-
/** Application name */
|
|
111
|
-
name: string;
|
|
112
|
-
/** Application creation date */
|
|
113
|
-
createdAt?: string | null;
|
|
114
|
-
/** Application creation user */
|
|
115
|
-
createdBy?: string | null;
|
|
116
|
-
/** Repository */
|
|
117
|
-
repository: RepositoryResponse | null;
|
|
118
|
-
lastModuleReport: ReportResponse2 | null;
|
|
119
|
-
};
|
|
120
|
-
export type ListApplicationResponse = {
|
|
121
|
-
/** List of applications */
|
|
122
|
-
items: ApplicationResponse[];
|
|
123
|
-
/** Number of applications */
|
|
124
|
-
itemsCount: number;
|
|
125
|
-
/** Last evaluated key */
|
|
126
|
-
lastEvaluatedKey: string | null;
|
|
127
|
-
};
|
|
128
|
-
export type RepositoryRequest2 = {
|
|
129
|
-
url?: string | null;
|
|
130
|
-
defaultBranch?: string | null;
|
|
131
|
-
};
|
|
132
|
-
export type PutApplicationRequest = {
|
|
133
|
-
/** Application name */
|
|
134
|
-
name?: string | null;
|
|
135
|
-
/** Repository */
|
|
136
|
-
repository?: RepositoryRequest2 | null;
|
|
137
|
-
};
|
|
138
22
|
export type ModuleType = "repository" | "program_group";
|
|
139
23
|
export type InputRequest = {
|
|
140
24
|
name: string;
|
|
@@ -161,12 +45,42 @@ export type CreateModuleRequest = {
|
|
|
161
45
|
/** Module studio */
|
|
162
46
|
studio: string;
|
|
163
47
|
};
|
|
48
|
+
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
49
|
+
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
50
|
+
export type InvalidPayloadDetails = {
|
|
51
|
+
code: BadRequestExceptionTypes | ExceptionType;
|
|
52
|
+
field: string | null;
|
|
53
|
+
message?: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type SuggestedMessage = {
|
|
56
|
+
ptBr: string | null;
|
|
57
|
+
enUs: string | null;
|
|
58
|
+
};
|
|
59
|
+
export type InvalidPayloadDetailsRead = {
|
|
60
|
+
code: BadRequestExceptionTypes | ExceptionType;
|
|
61
|
+
field: string | null;
|
|
62
|
+
message?: string | null;
|
|
63
|
+
suggestedMessages: SuggestedMessage | null;
|
|
64
|
+
};
|
|
65
|
+
export type HttpErrorResponse = {
|
|
66
|
+
status: string;
|
|
67
|
+
code: ExceptionType;
|
|
68
|
+
details: string;
|
|
69
|
+
validationDetails?: InvalidPayloadDetails[] | null;
|
|
70
|
+
};
|
|
71
|
+
export type HttpErrorResponseRead = {
|
|
72
|
+
status: string;
|
|
73
|
+
code: ExceptionType;
|
|
74
|
+
details: string;
|
|
75
|
+
validationDetails?: InvalidPayloadDetailsRead[] | null;
|
|
76
|
+
suggestedMessages: SuggestedMessage | null;
|
|
77
|
+
};
|
|
164
78
|
export type InputResponse = {
|
|
165
79
|
name: string;
|
|
166
80
|
required: boolean;
|
|
167
81
|
"default": string;
|
|
168
82
|
};
|
|
169
|
-
export type
|
|
83
|
+
export type ModuleResponse = {
|
|
170
84
|
/** Module ID */
|
|
171
85
|
id: string;
|
|
172
86
|
/** Module type */
|
|
@@ -190,7 +104,7 @@ export type ModuleResponse2 = {
|
|
|
190
104
|
};
|
|
191
105
|
export type ListModuleResponse = {
|
|
192
106
|
/** List of modules */
|
|
193
|
-
items:
|
|
107
|
+
items: ModuleResponse[];
|
|
194
108
|
/** Number of modules */
|
|
195
109
|
itemsCount: number;
|
|
196
110
|
/** Last evaluated key */
|
|
@@ -254,19 +168,33 @@ export type PutReportRequest = {
|
|
|
254
168
|
issuesCount: number;
|
|
255
169
|
totalFilesCount?: number | null;
|
|
256
170
|
analyzedFilesCount?: number | null;
|
|
171
|
+
changedFilesCount?: number | null;
|
|
257
172
|
pullRequestLink?: string | null;
|
|
258
173
|
commitHash?: string | null;
|
|
259
174
|
targetFiles: TargetFilesRequest[];
|
|
260
175
|
};
|
|
261
|
-
export type
|
|
176
|
+
export type ModuleResponse2 = {
|
|
262
177
|
id: string;
|
|
263
178
|
name: string;
|
|
264
179
|
};
|
|
265
|
-
export type
|
|
180
|
+
export type ApplicationResponse = {
|
|
266
181
|
id: string;
|
|
267
182
|
name: string;
|
|
268
183
|
url: string;
|
|
269
184
|
};
|
|
185
|
+
export type ExecutionResponse = {
|
|
186
|
+
id: string;
|
|
187
|
+
startedAt: string | null;
|
|
188
|
+
completedAt: string | null;
|
|
189
|
+
status: string | null;
|
|
190
|
+
conclusion: string | null;
|
|
191
|
+
};
|
|
192
|
+
export type UserResponse = {
|
|
193
|
+
id: string;
|
|
194
|
+
name: string;
|
|
195
|
+
email: string;
|
|
196
|
+
ip?: string | null;
|
|
197
|
+
};
|
|
270
198
|
export type ProgramGroupResponse = {
|
|
271
199
|
id: string;
|
|
272
200
|
name: string;
|
|
@@ -291,10 +219,11 @@ export type TargetFilesResponse = {
|
|
|
291
219
|
dependsOn: DependsOnResponse[];
|
|
292
220
|
issues: IssuesResponse[];
|
|
293
221
|
};
|
|
222
|
+
export type ReportStatus = "waiting_dispatch" | "waiting_runner" | "dispatch_failure" | "in_progress" | "suspended" | "error" | "success" | "cancelled" | "timed_out";
|
|
294
223
|
export type GetReportResponse = {
|
|
295
224
|
id: string;
|
|
296
|
-
"module":
|
|
297
|
-
application:
|
|
225
|
+
"module": ModuleResponse2 | null;
|
|
226
|
+
application: ApplicationResponse | null;
|
|
298
227
|
execution: ExecutionResponse | null;
|
|
299
228
|
mode: string;
|
|
300
229
|
sourceBranch: string | null;
|
|
@@ -304,6 +233,7 @@ export type GetReportResponse = {
|
|
|
304
233
|
updatedAt: string;
|
|
305
234
|
filesCount: number | null;
|
|
306
235
|
totalFilesCount: number | null;
|
|
236
|
+
changedFilesCount: number | null;
|
|
307
237
|
analyzedFilesCount: number | null;
|
|
308
238
|
issuesFilesCount: number | null;
|
|
309
239
|
issuesCount: number | null;
|
|
@@ -312,6 +242,13 @@ export type GetReportResponse = {
|
|
|
312
242
|
programGroup: ProgramGroupResponse | null;
|
|
313
243
|
targetFiles: TargetFilesResponse[];
|
|
314
244
|
errorLog?: string | null;
|
|
245
|
+
status: ReportStatus | null;
|
|
246
|
+
};
|
|
247
|
+
export type GetPullRequest = {
|
|
248
|
+
content: string;
|
|
249
|
+
};
|
|
250
|
+
export type GetPullRequest = {
|
|
251
|
+
content: string;
|
|
315
252
|
};
|
|
316
253
|
export type SearchRepoScmResponse = {
|
|
317
254
|
id: string;
|
|
@@ -321,13 +258,13 @@ export type GetStatusSearchRepoScmResponse = {
|
|
|
321
258
|
status: SearchRepositoryStatus;
|
|
322
259
|
errorLog?: string | null;
|
|
323
260
|
};
|
|
324
|
-
export type
|
|
261
|
+
export type ModuleResponse3 = {
|
|
325
262
|
id: string;
|
|
326
263
|
name: string;
|
|
327
264
|
};
|
|
328
|
-
export type
|
|
265
|
+
export type ReportResponse = {
|
|
329
266
|
id: string;
|
|
330
|
-
"module":
|
|
267
|
+
"module": ModuleResponse3;
|
|
331
268
|
execution: ExecutionResponse | null;
|
|
332
269
|
mode: string;
|
|
333
270
|
sourceBranch: string;
|
|
@@ -339,10 +276,11 @@ export type ReportResponse3 = {
|
|
|
339
276
|
issuesCount: number | null;
|
|
340
277
|
pullRequestLink?: string | null;
|
|
341
278
|
errorLog?: string | null;
|
|
279
|
+
status: ReportStatus | null;
|
|
342
280
|
};
|
|
343
281
|
export type ListRepositoryReportResponse = {
|
|
344
282
|
/** List of reports */
|
|
345
|
-
items:
|
|
283
|
+
items: ReportResponse[];
|
|
346
284
|
/** Number of reports */
|
|
347
285
|
itemsCount: number;
|
|
348
286
|
/** Last evaluated key */
|
|
@@ -356,36 +294,37 @@ export type CreateRepositoryRequest = {
|
|
|
356
294
|
defaultBranch: string;
|
|
357
295
|
tags?: string[] | null;
|
|
358
296
|
};
|
|
359
|
-
export type
|
|
297
|
+
export type ReportResponse2 = {
|
|
360
298
|
id: string;
|
|
361
299
|
execution: ExecutionResponse | null;
|
|
362
300
|
mode: string;
|
|
363
301
|
moduleId: string;
|
|
364
302
|
sourceBranch: string;
|
|
365
303
|
targetBranch?: string | null;
|
|
366
|
-
createdBy: UserResponse;
|
|
304
|
+
createdBy: UserResponse | null;
|
|
367
305
|
createdAt: string;
|
|
368
306
|
updatedAt: string;
|
|
369
307
|
filesCount: number | null;
|
|
370
308
|
issuesCount: number | null;
|
|
371
309
|
pullRequestLink?: string | null;
|
|
372
310
|
errorLog?: string | null;
|
|
311
|
+
status: ReportStatus | null;
|
|
373
312
|
};
|
|
374
|
-
export type
|
|
313
|
+
export type RepositoryResponse = {
|
|
375
314
|
/** Repository ID */
|
|
376
315
|
id: string;
|
|
377
316
|
/** Repository creation date */
|
|
378
317
|
createdAt?: string | null;
|
|
379
318
|
/** Repository creation user */
|
|
380
319
|
createdBy?: string | null;
|
|
381
|
-
lastModuleReport:
|
|
320
|
+
lastModuleReport: ReportResponse2 | null;
|
|
382
321
|
tags: string[];
|
|
383
322
|
url: string;
|
|
384
323
|
defaultBranch: string;
|
|
385
324
|
};
|
|
386
325
|
export type ListRepositoryResponse = {
|
|
387
326
|
/** List of applications */
|
|
388
|
-
items:
|
|
327
|
+
items: RepositoryResponse[];
|
|
389
328
|
/** Number of applications */
|
|
390
329
|
itemsCount: number;
|
|
391
330
|
/** Last evaluated key */
|
|
@@ -396,6 +335,9 @@ export type PutRepositoryRequest = {
|
|
|
396
335
|
defaultBranch?: string | null;
|
|
397
336
|
tags?: string[] | null;
|
|
398
337
|
};
|
|
338
|
+
export type ValidateScmUrlRequest = {
|
|
339
|
+
url?: string | null;
|
|
340
|
+
};
|
|
399
341
|
export type GetAccountSettingsRequest = {
|
|
400
342
|
maxSimultaneousExecution: number | null;
|
|
401
343
|
};
|
|
@@ -440,7 +382,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
|
|
|
440
382
|
export type CreateProgramGroupResponse = {
|
|
441
383
|
id: string;
|
|
442
384
|
};
|
|
443
|
-
export type
|
|
385
|
+
export type ReportResponse3 = {
|
|
444
386
|
id: string;
|
|
445
387
|
execution: ExecutionResponse | null;
|
|
446
388
|
mode: string;
|
|
@@ -452,6 +394,7 @@ export type ReportResponse5 = {
|
|
|
452
394
|
issuesCount: number | null;
|
|
453
395
|
pullRequestLink?: string | null;
|
|
454
396
|
errorLog?: string | null;
|
|
397
|
+
status: ReportStatus | null;
|
|
455
398
|
};
|
|
456
399
|
export type ProgramGroupResponse2 = {
|
|
457
400
|
id: string;
|
|
@@ -460,10 +403,10 @@ export type ProgramGroupResponse2 = {
|
|
|
460
403
|
tags: string[];
|
|
461
404
|
components: any[];
|
|
462
405
|
accountId: string;
|
|
463
|
-
createdBy: string;
|
|
406
|
+
createdBy: string | null;
|
|
464
407
|
createdAt: string;
|
|
465
408
|
updatedAt: string;
|
|
466
|
-
lastModuleReport:
|
|
409
|
+
lastModuleReport: ReportResponse3 | null;
|
|
467
410
|
};
|
|
468
411
|
export type ListProgramGroupResponse = {
|
|
469
412
|
items: ProgramGroupResponse2[];
|
|
@@ -483,13 +426,18 @@ export type ProgramGroupResponse3 = {
|
|
|
483
426
|
export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
|
|
484
427
|
file?: Blob | null;
|
|
485
428
|
};
|
|
486
|
-
export type
|
|
429
|
+
export type PutProgramGroupComponentsRequest = {
|
|
430
|
+
appl_name: string;
|
|
431
|
+
component_type: string;
|
|
432
|
+
component: string;
|
|
433
|
+
};
|
|
434
|
+
export type ModuleResponse4 = {
|
|
487
435
|
id: string;
|
|
488
436
|
name: string;
|
|
489
437
|
};
|
|
490
|
-
export type
|
|
438
|
+
export type ReportResponse4 = {
|
|
491
439
|
id: string;
|
|
492
|
-
"module":
|
|
440
|
+
"module": ModuleResponse4;
|
|
493
441
|
execution: ExecutionResponse | null;
|
|
494
442
|
mode: string;
|
|
495
443
|
createdBy: UserResponse;
|
|
@@ -499,10 +447,11 @@ export type ReportResponse6 = {
|
|
|
499
447
|
issuesCount: number | null;
|
|
500
448
|
pullRequestLink?: string | null;
|
|
501
449
|
errorLog?: string | null;
|
|
450
|
+
status: ReportStatus | null;
|
|
502
451
|
};
|
|
503
452
|
export type ListProgramGroupReportResponse = {
|
|
504
453
|
/** List of reports */
|
|
505
|
-
items:
|
|
454
|
+
items: ReportResponse4[];
|
|
506
455
|
/** Number of reports */
|
|
507
456
|
itemsCount: number;
|
|
508
457
|
};
|
|
@@ -520,63 +469,6 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
520
469
|
role: CodeShiftRole;
|
|
521
470
|
authorization: string;
|
|
522
471
|
}, opts?: Oazapfts.RequestOpts): Promise<RolesResponse>;
|
|
523
|
-
/**
|
|
524
|
-
* List Application Report
|
|
525
|
-
*/
|
|
526
|
-
export declare function listApplicationReportV1ApplicationsApplicationIdReportsGet({ applicationId, pageSize, page, lastEvaluatedKey, authorization }: {
|
|
527
|
-
applicationId: string;
|
|
528
|
-
pageSize?: number;
|
|
529
|
-
page?: number;
|
|
530
|
-
lastEvaluatedKey?: string;
|
|
531
|
-
authorization: string;
|
|
532
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ListApplicationReportResponse>;
|
|
533
|
-
/**
|
|
534
|
-
* Create Applications Batch Service
|
|
535
|
-
*/
|
|
536
|
-
export declare function createApplicationsBatchServiceV1ApplicationsBatchPost({ authorization, bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost }: {
|
|
537
|
-
authorization: string;
|
|
538
|
-
bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost: BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost;
|
|
539
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
540
|
-
/**
|
|
541
|
-
* Create Application Service
|
|
542
|
-
*/
|
|
543
|
-
export declare function createApplicationServiceV1ApplicationsPost({ authorization, createApplicationRequest }: {
|
|
544
|
-
authorization: string;
|
|
545
|
-
createApplicationRequest: CreateApplicationRequest;
|
|
546
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
547
|
-
/**
|
|
548
|
-
* List Application Service
|
|
549
|
-
*/
|
|
550
|
-
export declare function listApplicationServiceV1ApplicationsGet({ pageSize, page, lastEvaluatedKey, filter, moduleId, authorization }: {
|
|
551
|
-
pageSize?: number;
|
|
552
|
-
page?: number;
|
|
553
|
-
lastEvaluatedKey?: string;
|
|
554
|
-
filter?: string;
|
|
555
|
-
moduleId?: string;
|
|
556
|
-
authorization: string;
|
|
557
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ListApplicationResponse>;
|
|
558
|
-
/**
|
|
559
|
-
* Get Application By Id Service
|
|
560
|
-
*/
|
|
561
|
-
export declare function getApplicationByIdServiceV1ApplicationsApplicationIdGet({ applicationId, authorization }: {
|
|
562
|
-
applicationId: string;
|
|
563
|
-
authorization: string;
|
|
564
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationResponse>;
|
|
565
|
-
/**
|
|
566
|
-
* Delete Application Service
|
|
567
|
-
*/
|
|
568
|
-
export declare function deleteApplicationServiceV1ApplicationsApplicationIdDelete({ applicationId, authorization }: {
|
|
569
|
-
applicationId: string;
|
|
570
|
-
authorization: string;
|
|
571
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
572
|
-
/**
|
|
573
|
-
* Update Application Service
|
|
574
|
-
*/
|
|
575
|
-
export declare function updateApplicationServiceV1ApplicationsApplicationIdPut({ applicationId, authorization, putApplicationRequest }: {
|
|
576
|
-
applicationId: string;
|
|
577
|
-
authorization: string;
|
|
578
|
-
putApplicationRequest: PutApplicationRequest;
|
|
579
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
580
472
|
/**
|
|
581
473
|
* Create Module Service
|
|
582
474
|
*/
|
|
@@ -635,6 +527,13 @@ export declare function getReportV1ReportsReportIdGet({ reportId, authorization
|
|
|
635
527
|
reportId: string;
|
|
636
528
|
authorization: string;
|
|
637
529
|
}, opts?: Oazapfts.RequestOpts): Promise<GetReportResponse>;
|
|
530
|
+
/**
|
|
531
|
+
* Get Report Pull Request Content
|
|
532
|
+
*/
|
|
533
|
+
export declare function getReportPullRequestContentV1ReportsReportIdPullRequestGet({ reportId, authorization }: {
|
|
534
|
+
reportId: string;
|
|
535
|
+
authorization: string;
|
|
536
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetPullRequest>;
|
|
638
537
|
/**
|
|
639
538
|
* Download Report
|
|
640
539
|
*/
|
|
@@ -712,7 +611,7 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
|
|
|
712
611
|
export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
|
|
713
612
|
repositoryId: string;
|
|
714
613
|
authorization: string;
|
|
715
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
614
|
+
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponse>;
|
|
716
615
|
/**
|
|
717
616
|
* Delete Repository Service
|
|
718
617
|
*/
|
|
@@ -728,6 +627,13 @@ export declare function updateRepositoryServiceV1ReposRepositoryIdPut({ reposito
|
|
|
728
627
|
authorization: string;
|
|
729
628
|
putRepositoryRequest: PutRepositoryRequest;
|
|
730
629
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
630
|
+
/**
|
|
631
|
+
* Validate Scm Url Service
|
|
632
|
+
*/
|
|
633
|
+
export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
|
|
634
|
+
authorization: string;
|
|
635
|
+
validateScmUrlRequest: ValidateScmUrlRequest;
|
|
636
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
731
637
|
/**
|
|
732
638
|
* Get Account Settings
|
|
733
639
|
*/
|
|
@@ -830,6 +736,14 @@ export declare function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDe
|
|
|
830
736
|
programGroupId: string;
|
|
831
737
|
authorization: string;
|
|
832
738
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
739
|
+
/**
|
|
740
|
+
* Update Program Group Components Service
|
|
741
|
+
*/
|
|
742
|
+
export declare function updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut({ programGroupId, authorization, body }: {
|
|
743
|
+
programGroupId: string;
|
|
744
|
+
authorization: string;
|
|
745
|
+
body: PutProgramGroupComponentsRequest[];
|
|
746
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
833
747
|
/**
|
|
834
748
|
* List Program Group Report Service
|
|
835
749
|
*/
|