@stack-spot/portal-network 1.0.0-betaadp.3 → 1.0.0-dev.1768423147036

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 (220) hide show
  1. package/CHANGELOG.md +633 -0
  2. package/dist/api/account.d.ts +413 -277
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +261 -176
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/accountAssetManager.d.ts +309 -0
  7. package/dist/api/accountAssetManager.d.ts.map +1 -0
  8. package/dist/api/accountAssetManager.js +169 -0
  9. package/dist/api/accountAssetManager.js.map +1 -0
  10. package/dist/api/agent-tools.d.ts +818 -261
  11. package/dist/api/agent-tools.d.ts.map +1 -1
  12. package/dist/api/agent-tools.js +245 -50
  13. package/dist/api/agent-tools.js.map +1 -1
  14. package/dist/api/agent.d.ts +55 -55
  15. package/dist/api/agent.d.ts.map +1 -1
  16. package/dist/api/ai.d.ts +488 -98
  17. package/dist/api/ai.d.ts.map +1 -1
  18. package/dist/api/ai.js +426 -146
  19. package/dist/api/ai.js.map +1 -1
  20. package/dist/api/cloudPlatform.d.ts +374 -221
  21. package/dist/api/cloudPlatform.d.ts.map +1 -1
  22. package/dist/api/cloudPlatform.js +299 -93
  23. package/dist/api/cloudPlatform.js.map +1 -1
  24. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  25. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  26. package/dist/api/cloudPlatformHorizon.js +69 -1
  27. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  28. package/dist/api/codeShift.d.ts +1125 -83
  29. package/dist/api/codeShift.d.ts.map +1 -1
  30. package/dist/api/codeShift.js +538 -16
  31. package/dist/api/codeShift.js.map +1 -1
  32. package/dist/api/dataIntegration.d.ts +291 -1
  33. package/dist/api/dataIntegration.d.ts.map +1 -1
  34. package/dist/api/dataIntegration.js +254 -0
  35. package/dist/api/dataIntegration.js.map +1 -1
  36. package/dist/api/discover.d.ts +98 -12
  37. package/dist/api/discover.d.ts.map +1 -1
  38. package/dist/api/discover.js +78 -2
  39. package/dist/api/discover.js.map +1 -1
  40. package/dist/api/edpBfa.d.ts +215 -0
  41. package/dist/api/edpBfa.d.ts.map +1 -0
  42. package/dist/api/edpBfa.js +87 -0
  43. package/dist/api/edpBfa.js.map +1 -0
  44. package/dist/api/genAiInference.d.ts +22 -2
  45. package/dist/api/genAiInference.d.ts.map +1 -1
  46. package/dist/api/genAiInference.js +22 -3
  47. package/dist/api/genAiInference.js.map +1 -1
  48. package/dist/api/workflows.d.ts +68 -5
  49. package/dist/api/workflows.d.ts.map +1 -1
  50. package/dist/api/workflows.js +16 -0
  51. package/dist/api/workflows.js.map +1 -1
  52. package/dist/api/workspace-ai.d.ts +41 -0
  53. package/dist/api/workspace-ai.d.ts.map +1 -1
  54. package/dist/api/workspace-ai.js +34 -0
  55. package/dist/api/workspace-ai.js.map +1 -1
  56. package/dist/api/workspaceManager.d.ts +16 -10
  57. package/dist/api/workspaceManager.d.ts.map +1 -1
  58. package/dist/api/workspaceManager.js +10 -0
  59. package/dist/api/workspaceManager.js.map +1 -1
  60. package/dist/api-addresses.d.ts +20 -18
  61. package/dist/api-addresses.d.ts.map +1 -1
  62. package/dist/api-addresses.js +81 -21
  63. package/dist/api-addresses.js.map +1 -1
  64. package/dist/apis-itau.json +241 -0
  65. package/dist/apis.json +17 -1
  66. package/dist/client/account-asset-manager.d.ts +112 -0
  67. package/dist/client/account-asset-manager.d.ts.map +1 -0
  68. package/dist/client/account-asset-manager.js +160 -0
  69. package/dist/client/account-asset-manager.js.map +1 -0
  70. package/dist/client/account.d.ts +265 -242
  71. package/dist/client/account.d.ts.map +1 -1
  72. package/dist/client/account.js +80 -34
  73. package/dist/client/account.js.map +1 -1
  74. package/dist/client/agent-tools.d.ts +295 -121
  75. package/dist/client/agent-tools.d.ts.map +1 -1
  76. package/dist/client/agent-tools.js +166 -12
  77. package/dist/client/agent-tools.js.map +1 -1
  78. package/dist/client/agent.d.ts +46 -46
  79. package/dist/client/agent.d.ts.map +1 -1
  80. package/dist/client/ai.d.ts +265 -79
  81. package/dist/client/ai.d.ts.map +1 -1
  82. package/dist/client/ai.js +268 -24
  83. package/dist/client/ai.js.map +1 -1
  84. package/dist/client/api-management.d.ts +10 -1
  85. package/dist/client/api-management.d.ts.map +1 -1
  86. package/dist/client/api-management.js +11 -2
  87. package/dist/client/api-management.js.map +1 -1
  88. package/dist/client/cloud-account.d.ts +13 -13
  89. package/dist/client/cloud-platform-horizon.d.ts +38 -19
  90. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  91. package/dist/client/cloud-platform-horizon.js +19 -1
  92. package/dist/client/cloud-platform-horizon.js.map +1 -1
  93. package/dist/client/cloud-platform.d.ts +213 -46
  94. package/dist/client/cloud-platform.d.ts.map +1 -1
  95. package/dist/client/cloud-platform.js +168 -33
  96. package/dist/client/cloud-platform.js.map +1 -1
  97. package/dist/client/cloud-runtimes.d.ts +4 -4
  98. package/dist/client/cloud-services.d.ts +17 -17
  99. package/dist/client/cloud-services.d.ts.map +1 -1
  100. package/dist/client/code-shift.d.ts +535 -162
  101. package/dist/client/code-shift.d.ts.map +1 -1
  102. package/dist/client/code-shift.js +296 -7
  103. package/dist/client/code-shift.js.map +1 -1
  104. package/dist/client/content.d.ts +127 -132
  105. package/dist/client/content.d.ts.map +1 -1
  106. package/dist/client/data-integration.d.ts +92 -53
  107. package/dist/client/data-integration.d.ts.map +1 -1
  108. package/dist/client/data-integration.js +38 -2
  109. package/dist/client/data-integration.js.map +1 -1
  110. package/dist/client/discover.d.ts +31 -10
  111. package/dist/client/discover.d.ts.map +1 -1
  112. package/dist/client/discover.js +239 -3
  113. package/dist/client/discover.js.map +1 -1
  114. package/dist/client/edp-bfa.d.ts +16 -0
  115. package/dist/client/edp-bfa.d.ts.map +1 -0
  116. package/dist/client/edp-bfa.js +24 -0
  117. package/dist/client/edp-bfa.js.map +1 -0
  118. package/dist/client/event-bus.d.ts.map +1 -1
  119. package/dist/client/gen-ai-inference.d.ts +20 -20
  120. package/dist/client/insights.d.ts +7 -7
  121. package/dist/client/notification.d.ts +17 -10
  122. package/dist/client/notification.d.ts.map +1 -1
  123. package/dist/client/notification.js +10 -1
  124. package/dist/client/notification.js.map +1 -1
  125. package/dist/client/runtime-manager.d.ts +8 -8
  126. package/dist/client/secrets.d.ts.map +1 -1
  127. package/dist/client/secrets.js +1 -1
  128. package/dist/client/secrets.js.map +1 -1
  129. package/dist/client/types.d.ts +50 -7
  130. package/dist/client/types.d.ts.map +1 -1
  131. package/dist/client/workflow.d.ts +10 -10
  132. package/dist/client/workspace-ai.d.ts +65 -55
  133. package/dist/client/workspace-ai.d.ts.map +1 -1
  134. package/dist/client/workspace-ai.js +19 -9
  135. package/dist/client/workspace-ai.js.map +1 -1
  136. package/dist/client/workspace-manager.d.ts +115 -76
  137. package/dist/client/workspace-manager.d.ts.map +1 -1
  138. package/dist/client/workspace-manager.js +47 -2
  139. package/dist/client/workspace-manager.js.map +1 -1
  140. package/dist/client/workspace-search.d.ts +2 -2
  141. package/dist/client/workspace.d.ts +58 -105
  142. package/dist/client/workspace.d.ts.map +1 -1
  143. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  144. package/dist/error/DefaultAPIError.js.map +1 -1
  145. package/dist/error/StackspotAPIError.d.ts +3 -4
  146. package/dist/error/StackspotAPIError.d.ts.map +1 -1
  147. package/dist/error/StackspotAPIError.js +3 -3
  148. package/dist/error/StackspotAPIError.js.map +1 -1
  149. package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
  150. package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
  151. package/dist/error/dictionary/accountAssetManager.js +11 -0
  152. package/dist/error/dictionary/accountAssetManager.js.map +1 -0
  153. package/dist/error/dictionary/cloud-platform.d.ts +76 -8
  154. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  155. package/dist/error/dictionary/cloud-platform.js +80 -12
  156. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  157. package/dist/error/dictionary/workspace-ai.d.ts +9 -0
  158. package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
  159. package/dist/error/dictionary/workspace-ai.js +9 -0
  160. package/dist/error/dictionary/workspace-ai.js.map +1 -0
  161. package/dist/index.d.ts +5 -3
  162. package/dist/index.d.ts.map +1 -1
  163. package/dist/index.js +4 -2
  164. package/dist/index.js.map +1 -1
  165. package/dist/network/NetworkClient.d.ts +4 -2
  166. package/dist/network/NetworkClient.d.ts.map +1 -1
  167. package/dist/network/NetworkClient.js +16 -4
  168. package/dist/network/NetworkClient.js.map +1 -1
  169. package/dist/network/types.d.ts +2 -0
  170. package/dist/network/types.d.ts.map +1 -1
  171. package/dist/utils/StreamedJson.d.ts +3 -1
  172. package/dist/utils/StreamedJson.d.ts.map +1 -1
  173. package/dist/utils/StreamedJson.js +23 -3
  174. package/dist/utils/StreamedJson.js.map +1 -1
  175. package/package.dev.json +3 -0
  176. package/package.json +10 -9
  177. package/package.stg.json +3 -0
  178. package/readme.md +40 -1
  179. package/src/api/account.ts +701 -540
  180. package/src/api/accountAssetManager.ts +771 -0
  181. package/src/api/agent-tools.ts +1354 -556
  182. package/src/api/ai.ts +891 -170
  183. package/src/api/cloudPlatform.ts +667 -298
  184. package/src/api/cloudPlatformHorizon.ts +412 -9
  185. package/src/api/codeShift.ts +2088 -97
  186. package/src/api/dataIntegration.ts +635 -1
  187. package/src/api/discover.ts +180 -14
  188. package/src/api/edpBfa.ts +472 -0
  189. package/src/api/genAiInference.ts +47 -4
  190. package/src/api/workflows.ts +100 -5
  191. package/src/api/workspace-ai.ts +83 -0
  192. package/src/api/workspaceManager.ts +25 -10
  193. package/src/api-addresses.ts +113 -38
  194. package/src/apis-itau.json +241 -0
  195. package/src/apis.json +17 -1
  196. package/src/client/account-asset-manager.ts +100 -0
  197. package/src/client/account.ts +71 -40
  198. package/src/client/agent-tools.ts +111 -18
  199. package/src/client/ai.ts +237 -24
  200. package/src/client/api-management.ts +7 -2
  201. package/src/client/cloud-platform-horizon.ts +12 -4
  202. package/src/client/cloud-platform.ts +101 -27
  203. package/src/client/code-shift.ts +196 -8
  204. package/src/client/data-integration.ts +28 -1
  205. package/src/client/discover.ts +238 -5
  206. package/src/client/edp-bfa.ts +24 -0
  207. package/src/client/notification.ts +6 -1
  208. package/src/client/secrets.ts +1 -1
  209. package/src/client/types.ts +55 -9
  210. package/src/client/workspace-ai.ts +37 -26
  211. package/src/client/workspace-manager.ts +31 -2
  212. package/src/error/DefaultAPIError.ts +5 -5
  213. package/src/error/StackspotAPIError.ts +4 -4
  214. package/src/error/dictionary/accountAssetManager.ts +12 -0
  215. package/src/error/dictionary/cloud-platform.ts +80 -12
  216. package/src/error/dictionary/workspace-ai.ts +10 -0
  217. package/src/index.ts +6 -3
  218. package/src/network/NetworkClient.ts +18 -6
  219. package/src/network/types.ts +3 -0
  220. package/src/utils/StreamedJson.tsx +19 -4
@@ -7,7 +7,7 @@
7
7
  import * as Oazapfts from "@oazapfts/runtime";
8
8
  export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
9
  export declare const servers: {};
10
- export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group" | "view-analytics";
10
+ export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group" | "view-analytics" | "account-discovery-repos" | "account-validate-repos";
11
11
  export type RolesResponse = {
12
12
  result: boolean;
13
13
  };
@@ -19,6 +19,36 @@ export type ValidationError = {
19
19
  export type HttpValidationError = {
20
20
  detail?: ValidationError[];
21
21
  };
22
+ 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_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0015_INVALID_WORKFLOW_URL_EXCEPTION" | "CODE_SHIFT_API_0016_INVALID_ACTION_YAML_EXCEPTION" | "CODE_SHIFT_API_0017_FAIL_READING_ACTION_INPUTS_EXCEPTION" | "CODE_SHIFT_API_0018_MODULE_DISPATCHER_GENERIC_EXCEPTION" | "CODE_SHIFT_API_0019_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED_EXCEPTION" | "CODE_SHIFT_API_0020_GITHUB_SAML_EXCEPTION" | "CODE_SHIFT_API_0021_GITHUB_AUTHORIZATION_ENCODING_EXCEPTION" | "CODE_SHIFT_API_0022_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0023_GENERIC_FAILURE_SEARCHING_REPOSITORY_EXCEPTION" | "CODE_SHIFT_API_0024_COMPONENTS_MAX_SIZE_ALLOWED_EXCEPTION" | "CODE_SHIFT_API_0025_INVALID_SEARCH_REPOSITORY_STATUS_SAVE_EXCEPTION" | "CODE_SHIFT_API_0026_SEARCH_REPO_EMPTY_RESULT_EXCEPTION" | "CODE_SHIFT_API_0027_ACCOUNT_SCM_CONFIG_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0028_USER_SCM_CONFIG_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0029_USER_CUSTOMER_RATING_CREATION_FORBIDDEN" | "CODE_SHIFT_API_0030_BROKEN_STACKSPOT_WORKFLOW_SCM_SETUP_BY_INVALID_TRIGGER_EXCEPTION" | "CODE_SHIFT_API_0031_GITHUB_SECONDARY_INDEX" | "CODE_SHIFT_API_0032_GITHUB_MISSING_PAT_SCOPE" | "CODE_SHIFT_API_0033_FEATURE_NOT_IMPLEMENTED_TO_SCM_YET" | "CODE_SHIFT_API_0034_FAILURE_GETTING_READING_CREDENTIALS" | "CODE_SHIFT_API_0035_SCM_MODULE_DOCUMENTATION_NOT_FOUND_EXCEPTION" | "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_3101_SCM_GET_REPOSITORIES_NOT_FOUND" | "CODE_SHIFT_API_3102_SCM_GET_REPOSITORIES_UNAUTHORIZED" | "CODE_SHIFT_API_3103_SCM_GET_REPOSITORIES_FORBIDDEN" | "CODE_SHIFT_API_3104_SCM_GET_REPOSITORIES_SAML_ERROR" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3111_SCM_GET_PULL_REQUEST_NOT_FOUND" | "CODE_SHIFT_API_3112_SCM_GET_PULL_REQUEST_UNAUTHORIZED" | "CODE_SHIFT_API_3113_SCM_GET_PULL_REQUEST_FORBIDDEN" | "CODE_SHIFT_API_3114_SCM_GET_PULL_REQUEST_SAML_ERROR" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3121_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3122_SCM_GET_BRANCHES_UNAUTHORIZED" | "CODE_SHIFT_API_3123_SCM_GET_BRANCHES_FORBIDDEN" | "CODE_SHIFT_API_3124_SCM_GET_BRANCHES_SAML_ERROR" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3132_SCM_REPOSITORY_UNAUTHORIZED" | "CODE_SHIFT_API_3133_SCM_REPOSITORY_FORBIDDEN" | "CODE_SHIFT_API_3134_SCM_REPOSITORY_SAML_ERROR" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCH_NOT_FOUND" | "CODE_SHIFT_API_3143_SCM_GET_BRANCH_UNAUTHORIZED" | "CODE_SHIFT_API_3144_SCM_GET_BRANCH_FORBIDDEN" | "CODE_SHIFT_API_3145_SCM_GET_BRANCH_SAML_ERROR" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3152_SCM_GET_REPOSITORY_FILE_UNAUTHORIZED" | "CODE_SHIFT_API_3153_SCM_GET_REPOSITORY_FILE_FORBIDDEN" | "CODE_SHIFT_API_3154_SCM_GET_REPOSITORY_FILE_SAML_ERROR" | "CODE_SHIFT_API_3160_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3161_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3162_SCM_GET_REPOSITORY_FILE_UNAUTHORIZED" | "CODE_SHIFT_API_3163_SCM_GET_REPOSITORY_FILE_FORBIDDEN" | "CODE_SHIFT_API_3164_SCM_GET_REPOSITORY_FILE_SAML_ERROR" | "CODE_SHIFT_API_3170_SCM_GET_OWNER_FAILURE" | "CODE_SHIFT_API_3172_SCM_GET_OWNER_NOT_FOUND" | "CODE_SHIFT_API_3173_SCM_GET_OWNER_UNAUTHORIZED" | "CODE_SHIFT_API_3174_SCM_GET_OWNER_FORBIDDEN" | "CODE_SHIFT_API_3175_SCM_GET_OWNER_SAML_ERROR" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_3501_CONTENT_API_GET_WORKFLOW_VERSION_NOT_FOUND" | "CODE_SHIFT_API_3502_CONTENT_API_GET_WORKFLOW_VERSION_FORBIDDEN" | "CODE_SHIFT_API_3503_CONTENT_API_GET_WORKFLOW_VERSION_UNAUTHORIZED" | "CODE_SHIFT_API_3510_CONTENT_API_GET_WORKFLOW_FAILURE" | "CODE_SHIFT_API_3511_CONTENT_API_GET_WORKFLOW_NOT_FOUND" | "CODE_SHIFT_API_3512_CONTENT_API_GET_WORKFLOW_FORBIDDEN" | "CODE_SHIFT_API_3513_CONTENT_API_GET_WORKFLOW_UNAUTHORIZED" | "CODE_SHIFT_API_3520_CONTENT_API_GET_WORKFLOW_INPUTS_FAILURE" | "CODE_SHIFT_API_3521_CONTENT_API_GET_WORKFLOW_INPUTS_NOT_FOUND" | "CODE_SHIFT_API_3522_CONTENT_API_GET_WORKFLOW_INPUTS_FORBIDDEN" | "CODE_SHIFT_API_3523_CONTENT_API_GET_WORKFLOW_INPUTS_UNAUTHORIZED" | "CODE_SHIFT_API_3530_CONTENT_API_GET_WORKFLOW_DOCUMENTATION_FAILURE" | "CODE_SHIFT_API_3531_CONTENT_API_GET_WORKFLOW_DOCUMENTATION_NOT_FOUND" | "CODE_SHIFT_API_3532_CONTENT_API_GET_WORKFLOW_DOCUMENTATION_FORBIDDEN" | "CODE_SHIFT_API_3533_CONTENT_API_GET_WORKFLOW_DOCUMENTATION_UNAUTHORIZED" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
23
+ 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";
24
+ export type InvalidPayloadDetails = {
25
+ code: BadRequestExceptionTypes | ExceptionType;
26
+ field: string | null;
27
+ message?: string | null;
28
+ };
29
+ export type SuggestedMessage = {
30
+ ptBr: string | null;
31
+ enUs: string | null;
32
+ };
33
+ export type InvalidPayloadDetailsRead = {
34
+ code: BadRequestExceptionTypes | ExceptionType;
35
+ field: string | null;
36
+ message?: string | null;
37
+ suggestedMessages: SuggestedMessage | null;
38
+ };
39
+ export type HttpErrorResponse = {
40
+ status: string;
41
+ code: ExceptionType;
42
+ details: string;
43
+ validationDetails?: InvalidPayloadDetails[] | null;
44
+ };
45
+ export type HttpErrorResponseRead = {
46
+ status: string;
47
+ code: ExceptionType;
48
+ details: string;
49
+ validationDetails?: InvalidPayloadDetailsRead[] | null;
50
+ suggestedMessages: SuggestedMessage | null;
51
+ };
22
52
  export type ModuleType = "repository" | "program_group";
23
53
  export type InputRequest = {
24
54
  name: string;
@@ -30,6 +60,20 @@ export type GitAction = {
30
60
  branch: string;
31
61
  directory: string;
32
62
  };
63
+ export type ModuleVisibility = "Personal" | "Account";
64
+ export type UserRequest = {
65
+ /** User ID */
66
+ id: string;
67
+ /** User username */
68
+ username: string;
69
+ /** User email */
70
+ email: string;
71
+ };
72
+ export type ModulePermission = "read" | "write";
73
+ export type SharedUserRequest = {
74
+ user: UserRequest;
75
+ permission: ModulePermission;
76
+ };
33
77
  export type CreateModuleRequest = {
34
78
  /** Module name */
35
79
  name: string;
@@ -38,58 +82,37 @@ export type CreateModuleRequest = {
38
82
  /** Module description */
39
83
  description: string;
40
84
  /** Module workflow_name */
41
- workflowName: string;
85
+ workflowName?: string | null;
42
86
  /** Module version */
43
- version: string;
87
+ version?: string | null;
44
88
  /** Module mode */
45
89
  modes: string[];
46
90
  /** Module tags */
47
91
  tags: string[];
48
92
  /** Inputs of module */
49
- inputs: InputRequest[];
93
+ inputs?: InputRequest[] | null;
50
94
  /** Module studio */
51
- studio: string;
95
+ studio?: string | null;
52
96
  /** Module studio */
53
97
  constants?: {
54
98
  [key: string]: any;
55
99
  } | null;
56
100
  gitAction?: GitAction | null;
57
- };
58
- 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_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "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_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
59
- 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";
60
- export type InvalidPayloadDetails = {
61
- code: BadRequestExceptionTypes | ExceptionType;
62
- field: string | null;
63
- message?: string | null;
64
- };
65
- export type SuggestedMessage = {
66
- ptBr: string | null;
67
- enUs: string | null;
68
- };
69
- export type InvalidPayloadDetailsRead = {
70
- code: BadRequestExceptionTypes | ExceptionType;
71
- field: string | null;
72
- message?: string | null;
73
- suggestedMessages: SuggestedMessage | null;
74
- };
75
- export type HttpErrorResponse = {
76
- status: string;
77
- code: ExceptionType;
78
- details: string;
79
- validationDetails?: InvalidPayloadDetails[] | null;
80
- };
81
- export type HttpErrorResponseRead = {
82
- status: string;
83
- code: ExceptionType;
84
- details: string;
85
- validationDetails?: InvalidPayloadDetailsRead[] | null;
86
- suggestedMessages: SuggestedMessage | null;
101
+ /** Module visibility */
102
+ visibility?: ModuleVisibility;
103
+ /** List of users to share the module with */
104
+ sharedWith?: SharedUserRequest[] | null;
87
105
  };
88
106
  export type InputResponse = {
89
107
  name: string;
90
108
  required: boolean;
91
109
  "default": string;
92
110
  };
111
+ export type GitAction2 = {
112
+ repositoryName: string;
113
+ branch: string;
114
+ directory: string;
115
+ };
93
116
  export type ModuleResponse = {
94
117
  /** Module ID */
95
118
  id: string;
@@ -100,9 +123,9 @@ export type ModuleResponse = {
100
123
  /** Module description */
101
124
  description: string;
102
125
  /** Workflow name */
103
- workflowName: string;
126
+ workflowName: string | null;
104
127
  /** Studio */
105
- studio: string;
128
+ studio: string | null;
106
129
  /** Module modes */
107
130
  modes: string[];
108
131
  /** Module versions */
@@ -111,11 +134,19 @@ export type ModuleResponse = {
111
134
  tags: string[];
112
135
  /** Module inputs */
113
136
  inputs: InputResponse[];
137
+ /** Flag to internal developed modules */
138
+ stackspotInternal: boolean;
114
139
  /** Module studio */
115
140
  constants?: {
116
141
  [key: string]: any;
117
142
  } | null;
118
- gitAction?: GitAction | null;
143
+ /** Module visibility */
144
+ visibility: ModuleVisibility;
145
+ gitAction?: GitAction2 | null;
146
+ /** Flag to favor modules */
147
+ isFavorite: boolean;
148
+ /** Flag to edit modules */
149
+ canEdit: boolean;
119
150
  };
120
151
  export type ListModuleResponse = {
121
152
  /** List of modules */
@@ -143,10 +174,112 @@ export type PutModuleRequest = {
143
174
  /** Inputs of module */
144
175
  inputs?: InputRequest[] | null;
145
176
  /** Module studio */
177
+ studio?: string | null;
178
+ /** Module Constants */
146
179
  constants?: {
147
180
  [key: string]: any;
148
181
  } | null;
149
182
  gitAction?: GitAction | null;
183
+ /** Module visibility */
184
+ visibility?: ModuleVisibility | null;
185
+ /** List of users to share the module with */
186
+ sharedWith?: SharedUserRequest[] | null;
187
+ };
188
+ export type SharedPermissionResponse = {
189
+ /** User ID */
190
+ userId: string;
191
+ /** User email */
192
+ email: string;
193
+ /** User username */
194
+ username: string;
195
+ /** Permission type: 'read' (view/execute) or 'write' (edit/manage) */
196
+ permission: ModulePermission;
197
+ };
198
+ export type UserResponse = {
199
+ name: string;
200
+ };
201
+ export type GetModuleResponse = {
202
+ /** Module ID */
203
+ id: string;
204
+ /** Module type */
205
+ "type": ModuleType;
206
+ /** Module name */
207
+ name: string;
208
+ /** Module description */
209
+ description: string;
210
+ /** Workflow name */
211
+ workflowName: string | null;
212
+ /** Studio */
213
+ studio: string | null;
214
+ /** Module modes */
215
+ modes: string[];
216
+ /** Module versions */
217
+ version: string | null;
218
+ /** Module studio */
219
+ constants?: {
220
+ [key: string]: any;
221
+ } | null;
222
+ gitAction?: GitAction2 | null;
223
+ /** Module tags */
224
+ tags?: string[] | null;
225
+ /** Flag to internal developed modules */
226
+ stackspotInternal: boolean;
227
+ /** Module visibility */
228
+ visibility: ModuleVisibility;
229
+ /** List of users to share the module with */
230
+ sharedWith?: SharedPermissionResponse[] | null;
231
+ /** Flag to favor modules */
232
+ isFavorite: boolean;
233
+ /** Flag to edit modules */
234
+ canEdit: boolean;
235
+ /** Module usage */
236
+ totalUsage: number;
237
+ /** Module users */
238
+ totalUsers: number;
239
+ createdBy: UserResponse | null;
240
+ };
241
+ export type ExternalItemsModel = {
242
+ source: string;
243
+ value: string;
244
+ label: string;
245
+ };
246
+ export type ConditionModel = {
247
+ variable: string;
248
+ operator: string;
249
+ value: any;
250
+ };
251
+ export type OutputModel = {
252
+ "from": string;
253
+ to: string;
254
+ };
255
+ export type InputModel = {
256
+ label: string;
257
+ name: string | null;
258
+ "type": string;
259
+ required: boolean;
260
+ pattern: string | null;
261
+ help: string | null;
262
+ "default": any | null;
263
+ items: string[] | null;
264
+ externalItems: ExternalItemsModel | null;
265
+ itemsValues: string[] | null;
266
+ condition: ConditionModel | null;
267
+ connectionInterfaceType: string | null;
268
+ outputs: OutputModel[] | null;
269
+ input: InputModel | null;
270
+ inputs: InputModel[] | null;
271
+ scope: string | null;
272
+ };
273
+ export type ComputedInputModel = {
274
+ name: string;
275
+ expression: string;
276
+ };
277
+ export type GetModuleInputsResponse = {
278
+ inputs: InputModel[];
279
+ computedInputs: ComputedInputModel[] | null;
280
+ };
281
+ export type GetModuleDocsResponse = {
282
+ content: string;
150
283
  };
151
284
  export type Mode = "scan" | "fix";
152
285
  export type ModuleDispatchRequest = {
@@ -164,6 +297,9 @@ export type ModuleDispatchRequest = {
164
297
  [key: string]: any;
165
298
  } | null;
166
299
  };
300
+ export type DispatchModuleResponse = {
301
+ batch_id: string;
302
+ };
167
303
  export type DependsOnRequest = {
168
304
  sourceRef: string;
169
305
  targetRef: string;
@@ -178,24 +314,45 @@ export type IssuesRequest = {
178
314
  };
179
315
  export type TargetFilesRequest = {
180
316
  fileName: string;
181
- filePath: string;
317
+ filePath?: string | null;
182
318
  details?: string | null;
183
319
  dependsOn?: DependsOnRequest[] | null;
184
320
  issues?: IssuesRequest[] | null;
321
+ totalTokenSent?: number | null;
322
+ totalTokenReceived?: number | null;
323
+ modified?: boolean | null;
324
+ customOutputs?: {
325
+ [key: string]: any;
326
+ } | null;
327
+ };
328
+ export type LanguageInfoRequest = {
329
+ bytes: number;
330
+ absolutePercentage: number;
331
+ relativePercentage: number;
332
+ };
333
+ export type CustomHeadersRequest = {
334
+ label: string;
335
+ value: any | null;
185
336
  };
186
337
  export type PutReportRequest = {
187
338
  filesCount?: number;
188
- issuesCount: number;
339
+ issuesCount?: number | null;
189
340
  totalFilesCount?: number | null;
190
341
  analyzedFilesCount?: number | null;
191
342
  changedFilesCount?: number | null;
192
343
  pullRequestLink?: string | null;
193
344
  commitHash?: string | null;
194
- targetFiles: TargetFilesRequest[];
345
+ targetFiles?: TargetFilesRequest[];
195
346
  moduleVersion?: string | null;
196
347
  customOutputs?: {
197
348
  [key: string]: any;
198
349
  } | null;
350
+ totalTokenSent?: number | null;
351
+ totalTokenReceived?: number | null;
352
+ languageBreakdown?: {
353
+ [key: string]: LanguageInfoRequest;
354
+ } | null;
355
+ customHeaders?: CustomHeadersRequest[] | null;
199
356
  };
200
357
  export type ModuleResponse2 = {
201
358
  id: string;
@@ -213,7 +370,7 @@ export type ExecutionResponse = {
213
370
  status: string | null;
214
371
  conclusion: string | null;
215
372
  };
216
- export type UserResponse = {
373
+ export type UserResponse2 = {
217
374
  id: string;
218
375
  name: string;
219
376
  email: string;
@@ -242,6 +399,12 @@ export type TargetFilesResponse = {
242
399
  details?: string | null;
243
400
  dependsOn?: DependsOnResponse[] | null;
244
401
  issues?: IssuesResponse[] | null;
402
+ totalTokenSent?: number | null;
403
+ totalTokenReceived?: number | null;
404
+ modified?: boolean | null;
405
+ customOutputs?: {
406
+ [key: string]: any;
407
+ } | null;
245
408
  };
246
409
  export type ReportStatus = "waiting_dispatch" | "waiting_runner" | "dispatch_failure" | "in_progress" | "suspended" | "error" | "success" | "cancelled";
247
410
  export type PullRequestResponse = {
@@ -253,6 +416,25 @@ export type PullRequestResponse = {
253
416
  updatedAt: string | null;
254
417
  lastSyncAt: string | null;
255
418
  };
419
+ export type CustomerRatingResponse = {
420
+ id: string;
421
+ report_id: string;
422
+ score: number;
423
+ commentary: string | null;
424
+ created_by: UserResponse2;
425
+ created_at: string;
426
+ };
427
+ export type LanguageResponse = {
428
+ name: string;
429
+ extensions: string[];
430
+ bytes: number;
431
+ relativePercentage: number;
432
+ absolutePercentage: number;
433
+ };
434
+ export type CustomHeadersResponse = {
435
+ label: string;
436
+ value: any | null;
437
+ };
256
438
  export type GetReportResponse = {
257
439
  id: string;
258
440
  "module": ModuleResponse2 | null;
@@ -261,7 +443,45 @@ export type GetReportResponse = {
261
443
  mode: string;
262
444
  sourceBranch: string | null;
263
445
  targetBranch?: string | null;
264
- createdBy: UserResponse;
446
+ createdBy: UserResponse2;
447
+ createdAt: string;
448
+ updatedAt: string;
449
+ filesCount: number | null;
450
+ totalFilesCount: number | null;
451
+ changedFilesCount: number | null;
452
+ analyzedFilesCount: number | null;
453
+ issuesFilesCount: number | null;
454
+ issuesCount: number | null;
455
+ commitHash: string | null;
456
+ pullRequestLink?: string | null;
457
+ programGroup: ProgramGroupResponse | null;
458
+ moduleVersion?: string | null;
459
+ customOutputs?: {
460
+ [key: string]: any;
461
+ } | null;
462
+ totalTokenSent?: number | null;
463
+ totalTokenReceived?: number | null;
464
+ targetFiles: TargetFilesResponse[];
465
+ errorLog?: string | null;
466
+ exceptions: HttpErrorResponse[];
467
+ status: ReportStatus | null;
468
+ scmPullRequestData: PullRequestResponse | null;
469
+ inputs?: {
470
+ [key: string]: any;
471
+ } | null;
472
+ customer_rating?: CustomerRatingResponse | null;
473
+ languages?: LanguageResponse[] | null;
474
+ customHeaders?: CustomHeadersResponse[] | null;
475
+ };
476
+ export type GetReportResponseRead = {
477
+ id: string;
478
+ "module": ModuleResponse2 | null;
479
+ application: ApplicationResponse | null;
480
+ execution: ExecutionResponse | null;
481
+ mode: string;
482
+ sourceBranch: string | null;
483
+ targetBranch?: string | null;
484
+ createdBy: UserResponse2;
265
485
  createdAt: string;
266
486
  updatedAt: string;
267
487
  filesCount: number | null;
@@ -277,17 +497,27 @@ export type GetReportResponse = {
277
497
  customOutputs?: {
278
498
  [key: string]: any;
279
499
  } | null;
500
+ totalTokenSent?: number | null;
501
+ totalTokenReceived?: number | null;
280
502
  targetFiles: TargetFilesResponse[];
281
503
  errorLog?: string | null;
504
+ exceptions: HttpErrorResponseRead[];
282
505
  status: ReportStatus | null;
283
506
  scmPullRequestData: PullRequestResponse | null;
284
507
  inputs?: {
285
508
  [key: string]: any;
286
509
  } | null;
510
+ customer_rating?: CustomerRatingResponse | null;
511
+ languages?: LanguageResponse[] | null;
512
+ customHeaders?: CustomHeadersResponse[] | null;
287
513
  };
288
514
  export type GetPullRequest = {
289
515
  content: string;
290
516
  };
517
+ export type PutCustomerRatingReportRequest = {
518
+ score: number;
519
+ commentary?: string | null;
520
+ };
291
521
  export type SearchRepoScmResponse = {
292
522
  id: string;
293
523
  };
@@ -300,7 +530,7 @@ export type ModuleResponse3 = {
300
530
  id: string;
301
531
  name: string;
302
532
  };
303
- export type UserResponse2 = {
533
+ export type UserResponse3 = {
304
534
  id: string;
305
535
  name: string;
306
536
  email: string;
@@ -313,13 +543,31 @@ export type ReportResponse = {
313
543
  mode: string;
314
544
  sourceBranch: string;
315
545
  targetBranch?: string | null;
316
- createdBy: UserResponse2;
546
+ createdBy: UserResponse3;
547
+ createdAt: string;
548
+ updatedAt: string;
549
+ filesCount: number | null;
550
+ issuesCount: number | null;
551
+ pullRequestLink?: string | null;
552
+ errorLog?: string | null;
553
+ exceptions: HttpErrorResponse[];
554
+ status: ReportStatus | null;
555
+ };
556
+ export type ReportResponseRead = {
557
+ id: string;
558
+ "module": ModuleResponse3;
559
+ execution: ExecutionResponse | null;
560
+ mode: string;
561
+ sourceBranch: string;
562
+ targetBranch?: string | null;
563
+ createdBy: UserResponse3;
317
564
  createdAt: string;
318
565
  updatedAt: string;
319
566
  filesCount: number | null;
320
567
  issuesCount: number | null;
321
568
  pullRequestLink?: string | null;
322
569
  errorLog?: string | null;
570
+ exceptions: HttpErrorResponseRead[];
323
571
  status: ReportStatus | null;
324
572
  };
325
573
  export type ListRepositoryReportResponse = {
@@ -330,6 +578,14 @@ export type ListRepositoryReportResponse = {
330
578
  /** Last evaluated key */
331
579
  lastEvaluatedKey: string | null;
332
580
  };
581
+ export type ListRepositoryReportResponseRead = {
582
+ /** List of reports */
583
+ items: ReportResponseRead[];
584
+ /** Number of reports */
585
+ itemsCount: number;
586
+ /** Last evaluated key */
587
+ lastEvaluatedKey: string | null;
588
+ };
333
589
  export type BodyCreateReposBatchServiceV1ReposBatchPost = {
334
590
  file: Blob;
335
591
  };
@@ -338,7 +594,7 @@ export type CreateRepositoryRequest = {
338
594
  defaultBranch: string;
339
595
  tags?: string[] | null;
340
596
  };
341
- export type UserResponse3 = {
597
+ export type UserResponse4 = {
342
598
  id: string;
343
599
  name: string;
344
600
  email: string;
@@ -351,13 +607,31 @@ export type ReportResponse2 = {
351
607
  moduleId: string;
352
608
  sourceBranch: string;
353
609
  targetBranch?: string | null;
354
- createdBy: UserResponse3 | null;
610
+ createdBy: UserResponse4 | null;
611
+ createdAt: string;
612
+ updatedAt: string;
613
+ filesCount: number | null;
614
+ issuesCount: number | null;
615
+ pullRequestLink?: string | null;
616
+ errorLog?: string | null;
617
+ exceptions: HttpErrorResponse[];
618
+ status: ReportStatus | null;
619
+ };
620
+ export type ReportResponseRead2 = {
621
+ id: string;
622
+ execution: ExecutionResponse | null;
623
+ mode: string;
624
+ moduleId: string;
625
+ sourceBranch: string;
626
+ targetBranch?: string | null;
627
+ createdBy: UserResponse4 | null;
355
628
  createdAt: string;
356
629
  updatedAt: string;
357
630
  filesCount: number | null;
358
631
  issuesCount: number | null;
359
632
  pullRequestLink?: string | null;
360
633
  errorLog?: string | null;
634
+ exceptions: HttpErrorResponseRead[];
361
635
  status: ReportStatus | null;
362
636
  };
363
637
  export type RepositoryResponse = {
@@ -371,6 +645,20 @@ export type RepositoryResponse = {
371
645
  tags: string[];
372
646
  url: string;
373
647
  defaultBranch: string;
648
+ languages?: LanguageResponse[] | null;
649
+ };
650
+ export type RepositoryResponseRead = {
651
+ /** Repository ID */
652
+ id: string;
653
+ /** Repository creation date */
654
+ createdAt?: string | null;
655
+ /** Repository creation user */
656
+ createdBy?: string | null;
657
+ lastModuleReport: ReportResponseRead2 | null;
658
+ tags: string[];
659
+ url: string;
660
+ defaultBranch: string;
661
+ languages?: LanguageResponse[] | null;
374
662
  };
375
663
  export type ListRepositoryResponse = {
376
664
  /** List of applications */
@@ -380,6 +668,14 @@ export type ListRepositoryResponse = {
380
668
  /** Last evaluated key */
381
669
  lastEvaluatedKey?: string | null;
382
670
  };
671
+ export type ListRepositoryResponseRead = {
672
+ /** List of applications */
673
+ items: RepositoryResponseRead[];
674
+ /** Number of applications */
675
+ itemsCount: number;
676
+ /** Last evaluated key */
677
+ lastEvaluatedKey?: string | null;
678
+ };
383
679
  export type ListBranchesResponse = {
384
680
  /** List of all branches */
385
681
  branches: string[];
@@ -392,6 +688,15 @@ export type PutRepositoryRequest = {
392
688
  export type ValidateScmUrlRequest = {
393
689
  url?: string | null;
394
690
  };
691
+ export type ValidateScmUrlResponse = {
692
+ url: string;
693
+ name: string | null;
694
+ id: string | null;
695
+ defaultBranch: string | null;
696
+ lastCommitDate: string | null;
697
+ archived: boolean | null;
698
+ visibility: string | null;
699
+ };
395
700
  export type GetAccountSettingsRequest = {
396
701
  maxSimultaneousExecution: number | null;
397
702
  createRepositoryValidateBranch: boolean | null;
@@ -452,7 +757,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
452
757
  export type CreateProgramGroupResponse = {
453
758
  id: string;
454
759
  };
455
- export type UserResponse4 = {
760
+ export type UserResponse5 = {
456
761
  id: string;
457
762
  name: string;
458
763
  email: string;
@@ -463,13 +768,29 @@ export type ReportResponse3 = {
463
768
  execution: ExecutionResponse | null;
464
769
  mode: string;
465
770
  moduleId: string;
466
- createdBy: UserResponse4 | null;
771
+ createdBy: UserResponse5 | null;
772
+ createdAt: string;
773
+ updatedAt: string;
774
+ filesCount: number | null;
775
+ issuesCount: number | null;
776
+ pullRequestLink?: string | null;
777
+ errorLog?: string | null;
778
+ exceptions: HttpErrorResponse[];
779
+ status: ReportStatus | null;
780
+ };
781
+ export type ReportResponseRead3 = {
782
+ id: string;
783
+ execution: ExecutionResponse | null;
784
+ mode: string;
785
+ moduleId: string;
786
+ createdBy: UserResponse5 | null;
467
787
  createdAt: string;
468
788
  updatedAt: string;
469
789
  filesCount: number | null;
470
790
  issuesCount: number | null;
471
791
  pullRequestLink?: string | null;
472
792
  errorLog?: string | null;
793
+ exceptions: HttpErrorResponseRead[];
473
794
  status: ReportStatus | null;
474
795
  };
475
796
  export type ProgramGroupResponse2 = {
@@ -484,10 +805,26 @@ export type ProgramGroupResponse2 = {
484
805
  updatedAt: string;
485
806
  lastModuleReport: ReportResponse3 | null;
486
807
  };
808
+ export type ProgramGroupResponseRead = {
809
+ id: string;
810
+ name: string;
811
+ integrationId: string | null;
812
+ tags: string[];
813
+ components: any[];
814
+ accountId: string;
815
+ createdBy: string | null;
816
+ createdAt: string;
817
+ updatedAt: string;
818
+ lastModuleReport: ReportResponseRead3 | null;
819
+ };
487
820
  export type ListProgramGroupResponse = {
488
821
  items: ProgramGroupResponse2[];
489
822
  itemsCount: number;
490
823
  };
824
+ export type ListProgramGroupResponseRead = {
825
+ items: ProgramGroupResponseRead[];
826
+ itemsCount: number;
827
+ };
491
828
  export type ProgramGroupResponse3 = {
492
829
  id: string;
493
830
  name: string;
@@ -511,7 +848,7 @@ export type ModuleResponse4 = {
511
848
  id: string;
512
849
  name: string;
513
850
  };
514
- export type UserResponse5 = {
851
+ export type UserResponse6 = {
515
852
  id: string;
516
853
  name: string;
517
854
  email: string;
@@ -522,13 +859,29 @@ export type ReportResponse4 = {
522
859
  "module": ModuleResponse4;
523
860
  execution: ExecutionResponse | null;
524
861
  mode: string;
525
- createdBy: UserResponse5;
862
+ createdBy: UserResponse6;
863
+ createdAt: string;
864
+ updatedAt: string;
865
+ filesCount: number | null;
866
+ issuesCount: number | null;
867
+ pullRequestLink?: string | null;
868
+ errorLog?: string | null;
869
+ exceptions: HttpErrorResponse[];
870
+ status: ReportStatus | null;
871
+ };
872
+ export type ReportResponseRead4 = {
873
+ id: string;
874
+ "module": ModuleResponse4;
875
+ execution: ExecutionResponse | null;
876
+ mode: string;
877
+ createdBy: UserResponse6;
526
878
  createdAt: string;
527
879
  updatedAt: string;
528
880
  filesCount: number | null;
529
881
  issuesCount: number | null;
530
882
  pullRequestLink?: string | null;
531
883
  errorLog?: string | null;
884
+ exceptions: HttpErrorResponseRead[];
532
885
  status: ReportStatus | null;
533
886
  };
534
887
  export type ListProgramGroupReportResponse = {
@@ -537,6 +890,12 @@ export type ListProgramGroupReportResponse = {
537
890
  /** Number of reports */
538
891
  itemsCount: number;
539
892
  };
893
+ export type ListProgramGroupReportResponseRead = {
894
+ /** List of reports */
895
+ items: ReportResponseRead4[];
896
+ /** Number of reports */
897
+ itemsCount: number;
898
+ };
540
899
  export type TagResponse = {
541
900
  name: string;
542
901
  };
@@ -569,6 +928,10 @@ export type RepositoryLastReportStatusResponse = {
569
928
  totalFilesIssues: number | null;
570
929
  totalFilesChanged: number | null;
571
930
  totalIssues: number | null;
931
+ pullRequestLink: string | null;
932
+ merged?: boolean | null;
933
+ customerScore?: number | null;
934
+ languages?: string | null;
572
935
  };
573
936
  export type AnalyticsRepositoryLastReportStatusResponse = {
574
937
  totalFiles?: number;
@@ -577,6 +940,8 @@ export type AnalyticsRepositoryLastReportStatusResponse = {
577
940
  totalFilesChanged?: number;
578
941
  totalIssues?: number;
579
942
  items: RepositoryLastReportStatusResponse[];
943
+ totalPullRequests?: number;
944
+ totalMergedPullRequests?: number;
580
945
  totalItems?: number;
581
946
  };
582
947
  export type RepositoryUsageResponse = {
@@ -587,6 +952,9 @@ export type RepositoryUsageResponse = {
587
952
  totalFix?: number;
588
953
  totalFixSuccess?: number;
589
954
  totalFixFailure?: number;
955
+ totalPullRequests?: number;
956
+ mergedPullRequests?: number;
957
+ customerScore?: number | null;
590
958
  };
591
959
  export type AnalyticsRepositoryUsageResponse = {
592
960
  totalScan?: number;
@@ -595,6 +963,8 @@ export type AnalyticsRepositoryUsageResponse = {
595
963
  totalFix?: number;
596
964
  totalFixSuccess?: number;
597
965
  totalFixFailure?: number;
966
+ totalPullRequests?: number;
967
+ mergedPullRequests?: number;
598
968
  items: RepositoryUsageResponse[];
599
969
  totalItems?: number;
600
970
  };
@@ -629,6 +999,7 @@ export type ProgramGroupLastReportStatusResponse = {
629
999
  totalFilesIssues?: number;
630
1000
  totalFilesChanged?: number;
631
1001
  totalIssues?: number;
1002
+ customerScore?: number | null;
632
1003
  };
633
1004
  export type AnalyticsProgramGroupsLastReportStatusResponse = {
634
1005
  totalFiles?: number;
@@ -647,6 +1018,7 @@ export type ProgramGroupsUsageResponse = {
647
1018
  totalFix?: number;
648
1019
  totalFixSuccess?: number;
649
1020
  totalFixFailure?: number;
1021
+ customerScore?: number | null;
650
1022
  };
651
1023
  export type AnalyticsProgramGroupsUsageResponse = {
652
1024
  totalScan?: number;
@@ -658,15 +1030,330 @@ export type AnalyticsProgramGroupsUsageResponse = {
658
1030
  items: ProgramGroupsUsageResponse[];
659
1031
  totalItems?: number;
660
1032
  };
661
- export type UserResponse6 = {
662
- id: string;
1033
+ export type ProgramGroupsDetailsResponse = {
1034
+ programGroupName: string;
1035
+ programGroupTags?: string | null;
1036
+ integrationName?: string | null;
1037
+ programGroupCreatedByName?: string | null;
1038
+ programGroupCreatedByEmail?: string | null;
1039
+ moduleName: string;
1040
+ reportInputs?: string | null;
1041
+ mode: string;
1042
+ reportCreatedAt: string;
1043
+ reportCreatedByName?: string | null;
1044
+ reportCreatedByEmail?: string | null;
1045
+ reportOutputs?: string | null;
1046
+ executionStartedAt?: string | null;
1047
+ executionCompletedAt?: string | null;
1048
+ processingTimeSeconds?: number | null;
1049
+ totalFilesCount?: number;
1050
+ analyzedFilesCount?: number;
1051
+ issuesFilesCount?: number;
1052
+ changedFilesCount?: number;
1053
+ issuesCount?: number;
1054
+ status?: string;
1055
+ customerScore?: number | null;
1056
+ };
1057
+ export type AnalyticsProgramGroupsDetailsResponse = {
1058
+ programsCount?: number;
1059
+ totalFilesCount?: number;
1060
+ analyzedFilesCount?: number;
1061
+ issuesFilesCount?: number;
1062
+ changedFilesCount?: number;
1063
+ issuesCount?: number;
1064
+ processingTime95Percentile?: number | null;
1065
+ totalItems?: number;
1066
+ items?: ProgramGroupsDetailsResponse[];
1067
+ };
1068
+ export type RepositoryDetailedReportItemResponse = {
1069
+ analyzedFilesCount?: number;
1070
+ changedFilesCount?: number;
1071
+ errorLog?: string | null;
1072
+ executionCompletedAt?: string | null;
1073
+ executionConclusion?: string | null;
1074
+ executionStartedAt?: string | null;
1075
+ executionStatus?: string | null;
1076
+ inputs?: string;
1077
+ issuesCount?: number;
1078
+ issuesFilesCount?: number;
1079
+ mode?: string | null;
1080
+ moduleName?: string | null;
1081
+ moduleVersion?: string | null;
1082
+ processingTimeSeconds?: number | null;
1083
+ pullRequestLink?: string | null;
1084
+ merged?: boolean | null;
1085
+ reportCreatedAt?: string | null;
1086
+ reportCreatedByEmail?: string | null;
1087
+ reportCreatedByName?: string | null;
1088
+ repositoryCreatedByEmail?: string | null;
1089
+ repositoryCreatedByName?: string | null;
1090
+ repositoryTags?: string;
1091
+ repositoryUrl: string;
1092
+ sourceBranch?: string | null;
1093
+ targetBranch?: string | null;
1094
+ totalFilesCount?: number;
1095
+ status?: string | null;
1096
+ customerScore?: number | null;
1097
+ languages?: string | null;
1098
+ };
1099
+ export type AnalyticsRepositoryDetailedReportResponse = {
1100
+ reposCount?: number;
1101
+ totalFilesCount?: number;
1102
+ analyzedFilesCount?: number;
1103
+ issuesFilesCount?: number;
1104
+ changedFilesCount?: number;
1105
+ issuesCount?: number;
1106
+ processingTime95Percentile?: number | null;
1107
+ totalMergedPullRequests?: number;
1108
+ totalItems?: number;
1109
+ items?: RepositoryDetailedReportItemResponse[];
1110
+ };
1111
+ export type ProgramGroupsTargetDetailsResponse = {
1112
+ programGroupName: string;
1113
+ programGroupTags?: string[] | null;
1114
+ mode: string;
1115
+ moduleName: string;
1116
+ reportCreatedAt: string;
1117
+ executionStartedAt?: string | null;
1118
+ executionCompletedAt?: string | null;
1119
+ componentAppName: string;
1120
+ componentName: string;
1121
+ componentType: string;
1122
+ totalIssues?: number;
1123
+ changedFilesCount?: number;
1124
+ customOutputs?: {
1125
+ [key: string]: any;
1126
+ } | null;
1127
+ targetCustomOutputs?: {
1128
+ [key: string]: any;
1129
+ } | null;
1130
+ customerScore?: number | null;
1131
+ totalTokenSent: number | null;
1132
+ totalTokenReceived: number | null;
1133
+ modified: boolean | null;
1134
+ };
1135
+ export type AnalyticsProgramGroupsTargetDetailsResponse = {
1136
+ totalComponents?: number;
1137
+ totalIssues?: number;
1138
+ totalProgramGroups?: number;
1139
+ totalItems?: number;
1140
+ items?: ProgramGroupsTargetDetailsResponse[];
1141
+ };
1142
+ export type RepositoryTargetDetailsItemResponse = {
1143
+ repositoryUrl: string;
1144
+ sourceBranch: string | null;
1145
+ moduleName: string | null;
1146
+ targetName: string | null;
1147
+ moduleInputs: string | null;
1148
+ targetPath: string | null;
1149
+ targetDetails: string | null;
1150
+ issuesCount?: number | null;
1151
+ reportCreatedAt: string | null;
1152
+ reportId: string | null;
1153
+ customerScore?: number | null;
1154
+ totalTokenSent: number | null;
1155
+ totalTokenReceived: number | null;
1156
+ modified: boolean | null;
1157
+ targetCustomOutputs?: {
1158
+ [key: string]: any;
1159
+ } | null;
1160
+ };
1161
+ export type AnalyticsRepositoryTargetDetailsResponse = {
1162
+ totalFiles?: number;
1163
+ totalIssues?: number;
1164
+ totalItems?: number;
1165
+ items?: RepositoryTargetDetailsItemResponse[];
1166
+ };
1167
+ export type ModuleExecutionTimesDetailsResponse = {
1168
+ /** Name of the module */
1169
+ moduleName: string;
1170
+ /** Version of the module */
1171
+ moduleVersion: string;
1172
+ /** Average queue time in seconds */
1173
+ queueTimeAvg: number;
1174
+ /** 95th percentile queue time in seconds */
1175
+ queueTimeP95: number;
1176
+ /** Average execution time in seconds */
1177
+ executionTimeAvg: number;
1178
+ /** 95th percentile execution time in seconds */
1179
+ executionTimeP95: number;
1180
+ /** Average total time in seconds */
1181
+ totalTimeAvg: number;
1182
+ /** 95th percentile total time in seconds */
1183
+ totalTimeP95: number;
1184
+ /** Number of executions */
1185
+ executionCount: number | null;
1186
+ };
1187
+ export type AnalyticsModuleExecutionTimesResponse = {
1188
+ /** Total number of modules analyzed */
1189
+ modulesCount?: number;
1190
+ /** Overall average queue time */
1191
+ queueTimeAvg: number | null;
1192
+ /** Overall 95th percentile queue time */
1193
+ queueTimeP95: number | null;
1194
+ /** Overall average execution time */
1195
+ executionTimeAvg: number | null;
1196
+ /** Overall 95th percentile execution time */
1197
+ executionTimeP95: number | null;
1198
+ /** Overall average total time */
1199
+ totalTimeAvg: number | null;
1200
+ /** Overall 95th percentile total time */
1201
+ totalTimeP95: number | null;
1202
+ /** Detailed metrics per module */
1203
+ items?: ModuleExecutionTimesDetailsResponse[];
1204
+ };
1205
+ export type UserResponse7 = {
1206
+ id: string;
663
1207
  name: string;
664
1208
  email: string;
665
1209
  };
666
1210
  export type ListUserResponse = {
667
- items: UserResponse6[];
1211
+ items: UserResponse7[];
668
1212
  itemsCount: number;
669
1213
  };
1214
+ export type SearchReposInScmRequest = {
1215
+ repositoryName?: string | null;
1216
+ codeTerm?: string | null;
1217
+ };
1218
+ export type SearchReposInScmResponse = {
1219
+ search_id: string;
1220
+ };
1221
+ export type RepositoryPayload = {
1222
+ url: string;
1223
+ tags: string[];
1224
+ };
1225
+ export type ImportReposScmWithTagsRequest = {
1226
+ repositories: RepositoryPayload[];
1227
+ };
1228
+ export type SaveSearchReposRepositoryResponse = {
1229
+ id: string;
1230
+ };
1231
+ export type SaveSearchReposResponse = {
1232
+ search_id: string;
1233
+ repositories: SaveSearchReposRepositoryResponse[];
1234
+ };
1235
+ export type SearchRepoByIdResponse = {
1236
+ url: string;
1237
+ name: string | null;
1238
+ defaultBranch: string;
1239
+ lastCommitDate: string | null;
1240
+ archived: boolean | null;
1241
+ visibility?: ("public" | "private" | "internal") | null;
1242
+ alreadyCreated?: boolean;
1243
+ };
1244
+ export type ResponseSearchRepoByIdResponse = {
1245
+ total: number | null;
1246
+ status?: string;
1247
+ exceptions: HttpErrorResponse[];
1248
+ items?: SearchRepoByIdResponse[];
1249
+ };
1250
+ export type ResponseSearchRepoByIdResponseRead = {
1251
+ total: number | null;
1252
+ status?: string;
1253
+ exceptions: HttpErrorResponseRead[];
1254
+ items?: SearchRepoByIdResponse[];
1255
+ };
1256
+ export type BodyCreateReposBatchServiceV2ReposBatchPost = {
1257
+ file: Blob;
1258
+ };
1259
+ export type CreateRepoBatchResponse = {
1260
+ id: string;
1261
+ };
1262
+ export type ImportStatus = "COMPLETED" | "PENDING";
1263
+ export type ValidateRepositoryStatus = "PENDING" | "SUCCESS" | "FAILURE" | "CONFLICT";
1264
+ export type BatchRepositoryResponse = {
1265
+ repositoryId: string | null;
1266
+ repositoryUrl: string;
1267
+ repositoryBranch: string | null;
1268
+ repositoryTags: string[];
1269
+ status: ValidateRepositoryStatus;
1270
+ line: number;
1271
+ repositoryName: string | null;
1272
+ repositoryArchived: boolean | null;
1273
+ repositoryPushedAt: string | null;
1274
+ repositoryVisibility: string | null;
1275
+ exceptions: HttpErrorResponse[];
1276
+ };
1277
+ export type BatchRepositoryResponseRead = {
1278
+ repositoryId: string | null;
1279
+ repositoryUrl: string;
1280
+ repositoryBranch: string | null;
1281
+ repositoryTags: string[];
1282
+ status: ValidateRepositoryStatus;
1283
+ line: number;
1284
+ repositoryName: string | null;
1285
+ repositoryArchived: boolean | null;
1286
+ repositoryPushedAt: string | null;
1287
+ repositoryVisibility: string | null;
1288
+ exceptions: HttpErrorResponseRead[];
1289
+ };
1290
+ export type GetImportResultResponse = {
1291
+ status: ImportStatus;
1292
+ totalItems: number;
1293
+ items: BatchRepositoryResponse[];
1294
+ repositoriesIds: string[];
1295
+ };
1296
+ export type GetImportResultResponseRead = {
1297
+ status: ImportStatus;
1298
+ totalItems: number;
1299
+ items: BatchRepositoryResponseRead[];
1300
+ repositoriesIds: string[];
1301
+ };
1302
+ export type RepositoryResponse2 = {
1303
+ id: string;
1304
+ repositoryUrl: string | null;
1305
+ repositoryDefaultBranch: string | null;
1306
+ reportCreatedAt: string | null;
1307
+ reportIssuesCount: string | null;
1308
+ reportStatus: ReportStatus | null;
1309
+ };
1310
+ export type ListRepositoryResponse2 = {
1311
+ items: RepositoryResponse2[];
1312
+ itemsCount: number;
1313
+ };
1314
+ export type RepositoryRequest = {
1315
+ url: string;
1316
+ defaultBranch: string;
1317
+ tags?: string[] | null;
1318
+ };
1319
+ export type CreateRepositoryRequest2 = {
1320
+ repositories: RepositoryRequest[];
1321
+ raiseConflict?: boolean;
1322
+ };
1323
+ export type RepositoryResponse3 = {
1324
+ id: string;
1325
+ };
1326
+ export type CreateRepositoryResponse = {
1327
+ repositories: RepositoryResponse3[];
1328
+ };
1329
+ export type ModuleExecutionBatchStatus = "PENDING" | "IN_PROGRESS" | "COMPLETED";
1330
+ export type ExecutionBatchResponse = {
1331
+ id: string;
1332
+ name: string | null;
1333
+ status: ModuleExecutionBatchStatus | null;
1334
+ created_at: string;
1335
+ };
1336
+ export type ListModuleExecutionBatchActivitiesResponse = {
1337
+ items: ExecutionBatchResponse[];
1338
+ itemsCount: number;
1339
+ };
1340
+ export type ModuleExecution = {
1341
+ repositoryUrl: string | null;
1342
+ programGroupName: string | null;
1343
+ reportId: string;
1344
+ executionId: string | null;
1345
+ status: ReportStatus | null;
1346
+ progress: number | null;
1347
+ executionCreatedAt: string | null;
1348
+ executionCompletedAt: string | null;
1349
+ };
1350
+ export type GetModuleExecutionBatchActivitiesById = {
1351
+ items: ModuleExecution[];
1352
+ itemsCount: number;
1353
+ batchName?: string | null;
1354
+ batchStatus?: ModuleExecutionBatchStatus | null;
1355
+ batchCreatedAt?: string | null;
1356
+ };
670
1357
  /**
671
1358
  * Check Role Route
672
1359
  */
@@ -674,23 +1361,42 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
674
1361
  role: CodeShiftRole;
675
1362
  authorization: string;
676
1363
  }, opts?: Oazapfts.RequestOpts): Promise<RolesResponse>;
1364
+ /**
1365
+ * Module Favorite Service Add
1366
+ */
1367
+ export declare function moduleFavoriteServiceAddV1ModulesModuleIdFavoritesPost({ moduleId, authorization }: {
1368
+ moduleId: string;
1369
+ authorization: string;
1370
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1371
+ /**
1372
+ * Module Favorite Service Delete
1373
+ */
1374
+ export declare function moduleFavoriteServiceDeleteV1ModulesModuleIdFavoritesDelete({ moduleId, authorization }: {
1375
+ moduleId: string;
1376
+ authorization: string;
1377
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
677
1378
  /**
678
1379
  * Create Module Service
679
1380
  */
680
1381
  export declare function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
681
1382
  authorization: string;
682
- xAccountSlug?: any;
1383
+ xAccountSlug?: string;
683
1384
  createModuleRequest: CreateModuleRequest;
684
1385
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
685
1386
  /**
686
1387
  * List Modules Service
687
1388
  */
688
- export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, xAccountSlug, authorization }: {
1389
+ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, sharedWith, createdBy, visibility, name, tags, xAccountSlug, authorization }: {
689
1390
  pageSize?: number;
690
1391
  moduleType?: ModuleType | null;
691
1392
  page?: number;
692
1393
  lastEvaluatedKey?: string;
693
- xAccountSlug?: any;
1394
+ sharedWith?: string | null;
1395
+ createdBy?: string | null;
1396
+ visibility?: ModuleVisibility | null;
1397
+ name?: string | null;
1398
+ tags?: string[] | null;
1399
+ xAccountSlug?: string;
694
1400
  authorization: string;
695
1401
  }, opts?: Oazapfts.RequestOpts): Promise<ListModuleResponse>;
696
1402
  /**
@@ -699,7 +1405,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
699
1405
  export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
700
1406
  moduleId: string;
701
1407
  authorization: string;
702
- xAccountSlug?: any;
1408
+ xAccountSlug?: string;
703
1409
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
704
1410
  /**
705
1411
  * Update Module Service
@@ -707,16 +1413,40 @@ export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, a
707
1413
  export declare function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
708
1414
  moduleId: string;
709
1415
  authorization: string;
710
- xAccountSlug?: any;
1416
+ xAccountSlug?: string;
711
1417
  putModuleRequest: PutModuleRequest;
712
1418
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1419
+ /**
1420
+ * Get Module
1421
+ */
1422
+ export declare function getModuleV1ModulesModuleIdGet({ moduleId, authorization, xAccountSlug }: {
1423
+ moduleId: string;
1424
+ authorization: string;
1425
+ xAccountSlug?: string;
1426
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleResponse>;
1427
+ /**
1428
+ * Get Module Inputs
1429
+ */
1430
+ export declare function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
1431
+ moduleId: string;
1432
+ authorization: string;
1433
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleInputsResponse | null>;
1434
+ /**
1435
+ * Get Module Docs
1436
+ */
1437
+ export declare function getModuleDocsV1ModulesModuleIdDocsGet({ moduleId, language, authorization }: {
1438
+ moduleId: string;
1439
+ language?: "pt-br" | "en-us";
1440
+ authorization: string;
1441
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleDocsResponse | null>;
713
1442
  /**
714
1443
  * Dispatch Module Service
715
1444
  */
716
- export declare function dispatchModuleServiceV1ModulesDispatchesPost({ authorization, body }: {
1445
+ export declare function dispatchModuleServiceV1ModulesDispatchesPost({ batchName, authorization, body }: {
1446
+ batchName?: string | null;
717
1447
  authorization: string;
718
1448
  body: ModuleDispatchRequest[];
719
- }, opts?: Oazapfts.RequestOpts): Promise<any>;
1449
+ }, opts?: Oazapfts.RequestOpts): Promise<DispatchModuleResponse>;
720
1450
  /**
721
1451
  * Put Report
722
1452
  */
@@ -731,7 +1461,7 @@ export declare function putReportV1ReportsReportIdPut({ reportId, authorization,
731
1461
  export declare function getReportV1ReportsReportIdGet({ reportId, authorization }: {
732
1462
  reportId: string;
733
1463
  authorization: string;
734
- }, opts?: Oazapfts.RequestOpts): Promise<GetReportResponse>;
1464
+ }, opts?: Oazapfts.RequestOpts): Promise<GetReportResponseRead>;
735
1465
  /**
736
1466
  * Get Report Pull Request Content
737
1467
  */
@@ -747,6 +1477,14 @@ export declare function downloadReportV1ReportsReportIdDownloadGet({ reportId, e
747
1477
  extension?: "csv" | "xlsx";
748
1478
  authorization: string;
749
1479
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1480
+ /**
1481
+ * Put Customer Rating Report
1482
+ */
1483
+ export declare function putCustomerRatingReportV1ReportsReportIdCustomerRatingPut({ reportId, authorization, putCustomerRatingReportRequest }: {
1484
+ reportId: string;
1485
+ authorization: string;
1486
+ putCustomerRatingReportRequest: PutCustomerRatingReportRequest;
1487
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
750
1488
  /**
751
1489
  * Search Repos Scm Service
752
1490
  */
@@ -778,21 +1516,21 @@ export declare function listRepositoryReportV1ReposRepositoryIdReportsGet({ repo
778
1516
  page?: number;
779
1517
  lastEvaluatedKey?: string;
780
1518
  authorization: string;
781
- }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponse>;
1519
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponseRead>;
782
1520
  /**
783
1521
  * Create Repos Batch Service
784
1522
  */
785
- export declare function createReposBatchServiceV1ReposBatchPost({ tags, authorization, bodyCreateReposBatchServiceV1ReposBatchPost }: {
1523
+ export declare function createReposBatchServiceV1ReposBatchPost({ tags, authorization, fastapiCompatV2BodyCreateReposBatchServiceV1ReposBatchPost }: {
786
1524
  tags?: string[] | null;
787
1525
  authorization: string;
788
- bodyCreateReposBatchServiceV1ReposBatchPost: BodyCreateReposBatchServiceV1ReposBatchPost;
1526
+ fastapiCompatV2BodyCreateReposBatchServiceV1ReposBatchPost: BodyCreateReposBatchServiceV1ReposBatchPost;
789
1527
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
790
1528
  /**
791
1529
  * Create Repository Service
792
1530
  */
793
- export declare function createRepositoryServiceV1ReposPost({ authorization, createRepositoryRequest }: {
1531
+ export declare function createRepositoryServiceV1ReposPost({ authorization, srcPresentationApiRestServicesV1ReposRequestsCreateRepositoryRequestCreateRepositoryRequest }: {
794
1532
  authorization: string;
795
- createRepositoryRequest: CreateRepositoryRequest;
1533
+ srcPresentationApiRestServicesV1ReposRequestsCreateRepositoryRequestCreateRepositoryRequest: CreateRepositoryRequest;
796
1534
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
797
1535
  /**
798
1536
  * List Repository Service
@@ -805,11 +1543,25 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
805
1543
  moduleId?: string;
806
1544
  createdByEmail?: string | null;
807
1545
  reportByEmail?: string | null;
808
- orderBy?: string;
809
- orderDirection?: string;
1546
+ orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1547
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
810
1548
  tags?: string[] | null;
811
1549
  authorization: string;
812
- }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponse>;
1550
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponseRead>;
1551
+ /**
1552
+ * List Repository Download Service
1553
+ */
1554
+ export declare function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
1555
+ filter?: string;
1556
+ moduleId?: string;
1557
+ createdByEmail?: string | null;
1558
+ reportByEmail?: string | null;
1559
+ orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1560
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
1561
+ tags?: string[] | null;
1562
+ extension?: "csv" | "xlsx";
1563
+ authorization: string;
1564
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
813
1565
  /**
814
1566
  * List Branches Service
815
1567
  */
@@ -823,7 +1575,7 @@ export declare function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, a
823
1575
  export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
824
1576
  repositoryId: string;
825
1577
  authorization: string;
826
- }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponse>;
1578
+ }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponseRead>;
827
1579
  /**
828
1580
  * Delete Repository Service
829
1581
  */
@@ -842,10 +1594,11 @@ export declare function updateRepositoryServiceV1ReposRepositoryIdPut({ reposito
842
1594
  /**
843
1595
  * Validate Scm Url Service
844
1596
  */
845
- export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
1597
+ export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ raiseConflict, authorization, validateScmUrlRequest }: {
1598
+ raiseConflict?: boolean;
846
1599
  authorization: string;
847
1600
  validateScmUrlRequest: ValidateScmUrlRequest;
848
- }, opts?: Oazapfts.RequestOpts): Promise<any>;
1601
+ }, opts?: Oazapfts.RequestOpts): Promise<ValidateScmUrlResponse>;
849
1602
  /**
850
1603
  * Get Account Settings
851
1604
  */
@@ -900,12 +1653,12 @@ export declare function deleteIntegrationServiceV1IntegrationsIntegrationIdDelet
900
1653
  /**
901
1654
  * Create Program Group Service
902
1655
  */
903
- export declare function createProgramGroupServiceV1ProgramGroupsPost({ name, tags, integrationId, authorization, bodyCreateProgramGroupServiceV1ProgramGroupsPost }: {
1656
+ export declare function createProgramGroupServiceV1ProgramGroupsPost({ name, tags, integrationId, authorization, fastapiCompatV2BodyCreateProgramGroupServiceV1ProgramGroupsPost }: {
904
1657
  name: string;
905
1658
  tags?: string[] | null;
906
1659
  integrationId?: string;
907
1660
  authorization: string;
908
- bodyCreateProgramGroupServiceV1ProgramGroupsPost?: BodyCreateProgramGroupServiceV1ProgramGroupsPost;
1661
+ fastapiCompatV2BodyCreateProgramGroupServiceV1ProgramGroupsPost?: BodyCreateProgramGroupServiceV1ProgramGroupsPost;
909
1662
  }, opts?: Oazapfts.RequestOpts): Promise<CreateProgramGroupResponse>;
910
1663
  /**
911
1664
  * List Program Group Service
@@ -918,11 +1671,26 @@ export declare function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, cr
918
1671
  name?: string | null;
919
1672
  pageSize?: number;
920
1673
  page?: number;
921
- orderBy?: string;
922
- orderDirection?: string;
1674
+ orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1675
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
923
1676
  integrationId?: string;
924
1677
  authorization: string;
925
- }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponse>;
1678
+ }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponseRead>;
1679
+ /**
1680
+ * List Program Group Download Service
1681
+ */
1682
+ export declare function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
1683
+ moduleId?: string | null;
1684
+ createdByEmail?: string | null;
1685
+ reportByEmail?: string | null;
1686
+ tags?: string[] | null;
1687
+ name?: string | null;
1688
+ orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1689
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
1690
+ integrationId?: string;
1691
+ extension?: "csv" | "xlsx";
1692
+ authorization: string;
1693
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
926
1694
  /**
927
1695
  * Get Program Group By Id Service
928
1696
  */
@@ -933,13 +1701,13 @@ export declare function getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdG
933
1701
  /**
934
1702
  * Update Program Group Service
935
1703
  */
936
- export declare function updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut({ programGroupId, name, tags, integrationId, authorization, bodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut }: {
1704
+ export declare function updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut({ programGroupId, name, tags, integrationId, authorization, fastapiCompatV2BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut }: {
937
1705
  programGroupId: string;
938
1706
  name?: string | null;
939
1707
  tags?: string[] | null;
940
1708
  integrationId?: string | null;
941
1709
  authorization: string;
942
- bodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut?: BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut;
1710
+ fastapiCompatV2BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut?: BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut;
943
1711
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
944
1712
  /**
945
1713
  * Delete Program Group Service
@@ -965,12 +1733,13 @@ export declare function listProgramGroupReportServiceV1ProgramGroupsProgramGroup
965
1733
  page?: number;
966
1734
  lastEvaluatedKey?: string;
967
1735
  authorization: string;
968
- }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponse>;
1736
+ }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponseRead>;
969
1737
  /**
970
1738
  * List Tags Service
971
1739
  */
972
- export declare function listTagsServiceV1TagsGet({ name, authorization }: {
1740
+ export declare function listTagsServiceV1TagsGet({ name, $type, authorization }: {
973
1741
  name?: string | null;
1742
+ $type?: "Repository" | "Module";
974
1743
  authorization: string;
975
1744
  }, opts?: Oazapfts.RequestOpts): Promise<ListTagResponse>;
976
1745
  /**
@@ -991,7 +1760,7 @@ export declare function analyticsRepositoryLastReportStatusV1AnalyticsRepositori
991
1760
  executedBy?: string[] | null;
992
1761
  repositoryUrl?: string | null;
993
1762
  tags?: string[] | null;
994
- orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
1763
+ orderBy?: ("repositoryUrl" | "moduleName" | "merged" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
995
1764
  orderDirection?: ("ASC" | "DESC") | null;
996
1765
  startDate?: string | null;
997
1766
  endDate?: string | null;
@@ -1137,10 +1906,283 @@ export declare function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGro
1137
1906
  extension?: "csv" | "xlsx";
1138
1907
  authorization: string;
1139
1908
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1909
+ /**
1910
+ * Analytics Program Groups Details
1911
+ */
1912
+ export declare function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
1913
+ pageSize?: number;
1914
+ page?: number;
1915
+ programName?: string | null;
1916
+ tags?: string[] | null;
1917
+ mode?: ("scan" | "fix") | null;
1918
+ moduleId?: string[] | null;
1919
+ programCreatedById?: string[] | null;
1920
+ reportCreatedById?: string[] | null;
1921
+ startDate?: string;
1922
+ endDate?: string;
1923
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
1924
+ orderDirection?: ("ASC" | "DESC") | null;
1925
+ authorization: string;
1926
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsDetailsResponse>;
1927
+ /**
1928
+ * Analytics Program Groups Details Download
1929
+ */
1930
+ export declare function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
1931
+ programName?: string | null;
1932
+ tags?: string[] | null;
1933
+ mode?: ("scan" | "fix") | null;
1934
+ moduleId?: string[] | null;
1935
+ programCreatedById?: string[] | null;
1936
+ reportCreatedById?: string[] | null;
1937
+ startDate?: string;
1938
+ endDate?: string;
1939
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
1940
+ orderDirection?: ("ASC" | "DESC") | null;
1941
+ extension?: "csv" | "xlsx";
1942
+ authorization: string;
1943
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1944
+ /**
1945
+ * Analytics Repository Detailed Report
1946
+ */
1947
+ export declare function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
1948
+ pageSize?: number;
1949
+ page?: number;
1950
+ repositoryUrl?: string | null;
1951
+ tags?: string[] | null;
1952
+ mode?: ("scan" | "fix") | null;
1953
+ moduleId?: string[] | null;
1954
+ repositoryCreatedById?: string[] | null;
1955
+ executedBy?: string[] | null;
1956
+ startDate?: string;
1957
+ endDate?: string;
1958
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
1959
+ orderDirection?: ("ASC" | "DESC") | null;
1960
+ authorization: string;
1961
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
1962
+ /**
1963
+ * Analytics Repository Detailed Report Download
1964
+ */
1965
+ export declare function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
1966
+ repositoryUrl?: string | null;
1967
+ tags?: string[] | null;
1968
+ mode?: ("scan" | "fix") | null;
1969
+ moduleId?: string[] | null;
1970
+ repositoryCreatedById?: string[] | null;
1971
+ reportCreatedById?: string[] | null;
1972
+ startDate?: string;
1973
+ endDate?: string;
1974
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
1975
+ orderDirection?: ("ASC" | "DESC") | null;
1976
+ extension?: "csv" | "xlsx";
1977
+ authorization: string;
1978
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
1979
+ /**
1980
+ * Analytics Program Groups Target Details
1981
+ */
1982
+ export declare function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
1983
+ pageSize?: number;
1984
+ page?: number;
1985
+ programName?: string | null;
1986
+ componentName?: string | null;
1987
+ tags?: string[] | null;
1988
+ mode?: ("scan" | "fix") | null;
1989
+ moduleId?: string[] | null;
1990
+ reportCreatedById?: string[] | null;
1991
+ startDate?: string;
1992
+ endDate?: string;
1993
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
1994
+ orderDirection?: ("ASC" | "DESC") | null;
1995
+ authorization: string;
1996
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsTargetDetailsResponse>;
1997
+ /**
1998
+ * Analytics Program Groups Target Details Download
1999
+ */
2000
+ export declare function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
2001
+ programName?: string | null;
2002
+ tags?: string[] | null;
2003
+ mode?: ("scan" | "fix") | null;
2004
+ moduleId?: string[] | null;
2005
+ componentName?: string | null;
2006
+ reportCreatedById?: string[] | null;
2007
+ startDate?: string;
2008
+ endDate?: string;
2009
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
2010
+ orderDirection?: ("ASC" | "DESC") | null;
2011
+ extension?: "csv" | "xlsx";
2012
+ authorization: string;
2013
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
2014
+ /**
2015
+ * Analytics Repository Target Details
2016
+ */
2017
+ export declare function analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet({ pageSize, page, repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
2018
+ pageSize?: number;
2019
+ page?: number;
2020
+ repositoryUrl?: string | null;
2021
+ targetName?: string | null;
2022
+ tags?: string[] | null;
2023
+ mode?: ("scan" | "fix") | null;
2024
+ moduleId?: string[] | null;
2025
+ reportCreatedById?: string[] | null;
2026
+ startDate?: string;
2027
+ endDate?: string;
2028
+ orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath" | "issuesCount" | "reportCreatedAt") | null;
2029
+ orderDirection?: ("ASC" | "DESC") | null;
2030
+ authorization: string;
2031
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryTargetDetailsResponse>;
2032
+ /**
2033
+ * Analytics Repository Target Details Download
2034
+ */
2035
+ export declare function analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet({ repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
2036
+ repositoryUrl?: string | null;
2037
+ targetName?: string | null;
2038
+ tags?: string[] | null;
2039
+ mode?: ("scan" | "fix") | null;
2040
+ moduleId?: string[] | null;
2041
+ reportCreatedById?: string[] | null;
2042
+ startDate?: string;
2043
+ endDate?: string;
2044
+ orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath" | "issuesCount" | "reportCreatedAt") | null;
2045
+ orderDirection?: ("ASC" | "DESC") | null;
2046
+ extension?: "csv" | "xlsx";
2047
+ authorization: string;
2048
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
2049
+ /**
2050
+ * Analytics Module Execution Times Report
2051
+ */
2052
+ export declare function analyticsModuleExecutionTimesReportV1AnalyticsModulesExecutionTimesGet({ pageSize, page, moduleId, version, mode, startDate, endDate, orderBy, orderDirection, authorization }: {
2053
+ pageSize?: number;
2054
+ page?: number;
2055
+ moduleId?: string[] | null;
2056
+ version?: string[] | null;
2057
+ mode?: ("scan" | "fix") | null;
2058
+ startDate?: string;
2059
+ endDate?: string;
2060
+ orderBy?: ("moduleName" | "moduleVersion" | "queueTimeAvg" | "queueTimeP95" | "executionTimeAvg" | "executionTimeP95" | "totalTimeAvg" | "totalTimeP95" | "executionCount") | null;
2061
+ orderDirection?: ("ASC" | "DESC") | null;
2062
+ authorization: string;
2063
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsModuleExecutionTimesResponse>;
2064
+ /**
2065
+ * Analytics Module Execution Times Download
2066
+ */
2067
+ export declare function analyticsModuleExecutionTimesDownloadV1AnalyticsModulesExecutionTimesDownloadGet({ moduleId, version, mode, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
2068
+ moduleId?: string[] | null;
2069
+ version?: string[] | null;
2070
+ mode?: ("scan" | "fix") | null;
2071
+ startDate?: string;
2072
+ endDate?: string;
2073
+ orderBy?: ("moduleName" | "moduleVersion" | "queueTimeAvg" | "queueTimeP95" | "executionTimeAvg" | "executionTimeP95" | "totalTimeAvg" | "totalTimeP95" | "executionCount") | null;
2074
+ orderDirection?: ("ASC" | "DESC") | null;
2075
+ extension?: "csv" | "xlsx";
2076
+ authorization: string;
2077
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1140
2078
  /**
1141
2079
  * List User Service
1142
2080
  */
1143
2081
  export declare function listUserServiceV1UsersGet({ authorization }: {
1144
2082
  authorization: string;
1145
2083
  }, opts?: Oazapfts.RequestOpts): Promise<ListUserResponse>;
2084
+ /**
2085
+ * Search Repos Scm Service
2086
+ */
2087
+ export declare function searchReposScmServiceV2ReposSearchScmPost({ authorization, searchReposInScmRequest }: {
2088
+ authorization: string;
2089
+ searchReposInScmRequest: SearchReposInScmRequest;
2090
+ }, opts?: Oazapfts.RequestOpts): Promise<SearchReposInScmResponse>;
2091
+ /**
2092
+ * Import Repos With Tags Scm Service
2093
+ */
2094
+ export declare function importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost({ searchId, authorization, importReposScmWithTagsRequest }: {
2095
+ searchId: string;
2096
+ authorization: string;
2097
+ importReposScmWithTagsRequest: ImportReposScmWithTagsRequest;
2098
+ }, opts?: Oazapfts.RequestOpts): Promise<SaveSearchReposResponse>;
2099
+ /**
2100
+ * Search Repos Scm V2
2101
+ */
2102
+ export declare function searchReposScmV2V2ReposSearchScmSearchIdGet({ searchId, authorization }: {
2103
+ searchId: string;
2104
+ authorization: string;
2105
+ }, opts?: Oazapfts.RequestOpts): Promise<ResponseSearchRepoByIdResponseRead>;
2106
+ /**
2107
+ * Download Search Repos Scm V2
2108
+ */
2109
+ export declare function downloadSearchReposScmV2V2ReposSearchScmSearchIdDownloadGet({ searchId, extension, authorization }: {
2110
+ searchId: string;
2111
+ extension?: "csv" | "xlsx";
2112
+ authorization: string;
2113
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
2114
+ /**
2115
+ * Create Repos Batch Service
2116
+ */
2117
+ export declare function createReposBatchServiceV2ReposBatchPost({ tags, authorization, fastapiCompatV2BodyCreateReposBatchServiceV2ReposBatchPost }: {
2118
+ tags?: string[] | null;
2119
+ authorization: string;
2120
+ fastapiCompatV2BodyCreateReposBatchServiceV2ReposBatchPost: BodyCreateReposBatchServiceV2ReposBatchPost;
2121
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateRepoBatchResponse>;
2122
+ /**
2123
+ * Get Import Result
2124
+ */
2125
+ export declare function getImportResultV2ReposBatchImportIdGet({ importId, pageSize, page, authorization }: {
2126
+ importId: string;
2127
+ pageSize?: number;
2128
+ page?: number;
2129
+ authorization: string;
2130
+ }, opts?: Oazapfts.RequestOpts): Promise<GetImportResultResponseRead>;
2131
+ /**
2132
+ * Download Import Result
2133
+ */
2134
+ export declare function downloadImportResultV2ReposBatchImportIdDownloadGet({ importId, language, status, extension, authorization }: {
2135
+ importId: string;
2136
+ language?: "ptBr" | "enUs";
2137
+ status?: ValidateRepositoryStatus | null;
2138
+ extension?: "csv" | "xlsx";
2139
+ authorization: string;
2140
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
2141
+ /**
2142
+ * List Repository Service
2143
+ */
2144
+ export declare function listRepositoryServiceV2ReposGet({ pageSize, page, lastEvaluatedKey, filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, onlyIds, authorization }: {
2145
+ pageSize?: number;
2146
+ page?: number;
2147
+ lastEvaluatedKey?: string;
2148
+ filter?: string;
2149
+ moduleId?: string;
2150
+ createdByEmail?: string[] | null;
2151
+ reportByEmail?: string[] | null;
2152
+ orderBy?: "repository_url" | "repository_default_branch" | "report_created_at" | "report_issues_count";
2153
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
2154
+ tags?: string[] | null;
2155
+ onlyIds?: boolean;
2156
+ authorization: string;
2157
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponse2>;
2158
+ /**
2159
+ * Create Repository Service
2160
+ */
2161
+ export declare function createRepositoryServiceV2ReposPost({ authorization, srcPresentationApiRestServicesV2ReposRequestsCreateRepositoryRequestCreateRepositoryRequest }: {
2162
+ authorization: string;
2163
+ srcPresentationApiRestServicesV2ReposRequestsCreateRepositoryRequestCreateRepositoryRequest: CreateRepositoryRequest2;
2164
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateRepositoryResponse>;
2165
+ /**
2166
+ * Pat Health Check
2167
+ */
2168
+ export declare function patHealthCheckV1ScmPatHealthCheckGet({ authorization }: {
2169
+ authorization: string;
2170
+ }, opts?: Oazapfts.RequestOpts): Promise<true>;
2171
+ /**
2172
+ * List Module Execution Batch Activities
2173
+ */
2174
+ export declare function listModuleExecutionBatchActivitiesV1ActivitiesModuleExecutionBatchGet({ pageSize, page, authorization }: {
2175
+ pageSize?: number;
2176
+ page?: number;
2177
+ authorization: string;
2178
+ }, opts?: Oazapfts.RequestOpts): Promise<ListModuleExecutionBatchActivitiesResponse>;
2179
+ /**
2180
+ * Get Module Execution Batch Activities By Id
2181
+ */
2182
+ export declare function getModuleExecutionBatchActivitiesByIdV1ActivitiesModuleExecutionBatchModuleExecutionBatchIdGet({ moduleExecutionBatchId, pageSize, page, authorization }: {
2183
+ moduleExecutionBatchId: string;
2184
+ pageSize?: number;
2185
+ page?: number;
2186
+ authorization: string;
2187
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleExecutionBatchActivitiesById>;
1146
2188
  //# sourceMappingURL=codeShift.d.ts.map