@resolution/jira-api-client 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +3 -0
- package/CHANGELOG.md +11 -0
- package/LICENSE.md +19 -0
- package/README.md +12 -0
- package/config/api-typescript-generator.config.ts +91 -0
- package/config/compare-schemas.ts +307 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +25 -0
- package/lib/index.js.map +1 -0
- package/lib/openapi/platform/base-jira-platform-api-client.d.ts +868 -0
- package/lib/openapi/platform/base-jira-platform-api-client.js +808 -0
- package/lib/openapi/platform/base-jira-platform-api-client.js.map +1 -0
- package/lib/openapi/platform/core/common-http-client.d.ts +196 -0
- package/lib/openapi/platform/core/common-http-client.js +390 -0
- package/lib/openapi/platform/core/common-http-client.js.map +1 -0
- package/lib/openapi/platform/core/common-http-service.d.ts +7 -0
- package/lib/openapi/platform/core/common-http-service.js +20 -0
- package/lib/openapi/platform/core/common-http-service.js.map +1 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.d.ts +35 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.js +65 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.js.map +1 -0
- package/lib/openapi/platform/models/announcement-banner.d.ts +27 -0
- package/lib/openapi/platform/models/announcement-banner.js +30 -0
- package/lib/openapi/platform/models/announcement-banner.js.map +1 -0
- package/lib/openapi/platform/models/app-data-policies.d.ts +31 -0
- package/lib/openapi/platform/models/app-data-policies.js +40 -0
- package/lib/openapi/platform/models/app-data-policies.js.map +1 -0
- package/lib/openapi/platform/models/app-migration.d.ts +86 -0
- package/lib/openapi/platform/models/app-migration.js +67 -0
- package/lib/openapi/platform/models/app-migration.js.map +1 -0
- package/lib/openapi/platform/models/app-properties.d.ts +15 -0
- package/lib/openapi/platform/models/app-properties.js +18 -0
- package/lib/openapi/platform/models/app-properties.js.map +1 -0
- package/lib/openapi/platform/models/audit-records.d.ts +70 -0
- package/lib/openapi/platform/models/audit-records.js +62 -0
- package/lib/openapi/platform/models/audit-records.js.map +1 -0
- package/lib/openapi/platform/models/avatars.d.ts +18 -0
- package/lib/openapi/platform/models/avatars.js +27 -0
- package/lib/openapi/platform/models/avatars.js.map +1 -0
- package/lib/openapi/platform/models/classification-levels.d.ts +25 -0
- package/lib/openapi/platform/models/classification-levels.js +31 -0
- package/lib/openapi/platform/models/classification-levels.js.map +1 -0
- package/lib/openapi/platform/models/common.d.ts +1490 -0
- package/lib/openapi/platform/models/common.js +937 -0
- package/lib/openapi/platform/models/common.js.map +1 -0
- package/lib/openapi/platform/models/dashboards.d.ts +414 -0
- package/lib/openapi/platform/models/dashboards.js +325 -0
- package/lib/openapi/platform/models/dashboards.js.map +1 -0
- package/lib/openapi/platform/models/dynamic-modules.d.ts +92 -0
- package/lib/openapi/platform/models/dynamic-modules.js +24 -0
- package/lib/openapi/platform/models/dynamic-modules.js.map +1 -0
- package/lib/openapi/platform/models/filter-sharing.d.ts +59 -0
- package/lib/openapi/platform/models/filter-sharing.js +36 -0
- package/lib/openapi/platform/models/filter-sharing.js.map +1 -0
- package/lib/openapi/platform/models/filters.d.ts +183 -0
- package/lib/openapi/platform/models/filters.js +115 -0
- package/lib/openapi/platform/models/filters.js.map +1 -0
- package/lib/openapi/platform/models/group-and-user-picker.d.ts +49 -0
- package/lib/openapi/platform/models/group-and-user-picker.js +31 -0
- package/lib/openapi/platform/models/group-and-user-picker.js.map +1 -0
- package/lib/openapi/platform/models/groups.d.ts +127 -0
- package/lib/openapi/platform/models/groups.js +98 -0
- package/lib/openapi/platform/models/groups.js.map +1 -0
- package/lib/openapi/platform/models/issue-attachments.d.ts +124 -0
- package/lib/openapi/platform/models/issue-attachments.js +129 -0
- package/lib/openapi/platform/models/issue-attachments.js.map +1 -0
- package/lib/openapi/platform/models/issue-comment-properties.d.ts +10 -0
- package/lib/openapi/platform/models/issue-comment-properties.js +18 -0
- package/lib/openapi/platform/models/issue-comment-properties.js.map +1 -0
- package/lib/openapi/platform/models/issue-comments.d.ts +36 -0
- package/lib/openapi/platform/models/issue-comments.js +49 -0
- package/lib/openapi/platform/models/issue-comments.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.d.ts +36 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js +53 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.d.ts +417 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.js +458 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.d.ts +119 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.js +133 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-options.d.ts +136 -0
- package/lib/openapi/platform/models/issue-custom-field-options.js +115 -0
- package/lib/openapi/platform/models/issue-custom-field-options.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.d.ts +66 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.js +42 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-field-configurations.d.ts +194 -0
- package/lib/openapi/platform/models/issue-field-configurations.js +182 -0
- package/lib/openapi/platform/models/issue-field-configurations.js.map +1 -0
- package/lib/openapi/platform/models/issue-fields.d.ts +227 -0
- package/lib/openapi/platform/models/issue-fields.js +119 -0
- package/lib/openapi/platform/models/issue-fields.js.map +1 -0
- package/lib/openapi/platform/models/issue-link-types.d.ts +9 -0
- package/lib/openapi/platform/models/issue-link-types.js +21 -0
- package/lib/openapi/platform/models/issue-link-types.js.map +1 -0
- package/lib/openapi/platform/models/issue-links.d.ts +90 -0
- package/lib/openapi/platform/models/issue-links.js +74 -0
- package/lib/openapi/platform/models/issue-links.js.map +1 -0
- package/lib/openapi/platform/models/issue-notification-schemes.d.ts +158 -0
- package/lib/openapi/platform/models/issue-notification-schemes.js +147 -0
- package/lib/openapi/platform/models/issue-notification-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-priorities.d.ts +74 -0
- package/lib/openapi/platform/models/issue-priorities.js +89 -0
- package/lib/openapi/platform/models/issue-priorities.js.map +1 -0
- package/lib/openapi/platform/models/issue-properties.d.ts +80 -0
- package/lib/openapi/platform/models/issue-properties.js +158 -0
- package/lib/openapi/platform/models/issue-properties.js.map +1 -0
- package/lib/openapi/platform/models/issue-remote-links.d.ts +120 -0
- package/lib/openapi/platform/models/issue-remote-links.js +70 -0
- package/lib/openapi/platform/models/issue-remote-links.js.map +1 -0
- package/lib/openapi/platform/models/issue-resolutions.d.ts +81 -0
- package/lib/openapi/platform/models/issue-resolutions.js +79 -0
- package/lib/openapi/platform/models/issue-resolutions.js.map +1 -0
- package/lib/openapi/platform/models/issue-search.d.ts +196 -0
- package/lib/openapi/platform/models/issue-search.js +136 -0
- package/lib/openapi/platform/models/issue-search.js.map +1 -0
- package/lib/openapi/platform/models/issue-security-level.d.ts +36 -0
- package/lib/openapi/platform/models/issue-security-level.js +36 -0
- package/lib/openapi/platform/models/issue-security-level.js.map +1 -0
- package/lib/openapi/platform/models/issue-security-schemes.d.ts +214 -0
- package/lib/openapi/platform/models/issue-security-schemes.js +211 -0
- package/lib/openapi/platform/models/issue-security-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-type-schemes.d.ts +146 -0
- package/lib/openapi/platform/models/issue-type-schemes.js +115 -0
- package/lib/openapi/platform/models/issue-type-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.d.ts +139 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.js +109 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-types.d.ts +36 -0
- package/lib/openapi/platform/models/issue-types.js +28 -0
- package/lib/openapi/platform/models/issue-types.js.map +1 -0
- package/lib/openapi/platform/models/issue-votes.d.ts +18 -0
- package/lib/openapi/platform/models/issue-votes.js +22 -0
- package/lib/openapi/platform/models/issue-votes.js.map +1 -0
- package/lib/openapi/platform/models/issue-watchers.d.ts +27 -0
- package/lib/openapi/platform/models/issue-watchers.js +36 -0
- package/lib/openapi/platform/models/issue-watchers.js.map +1 -0
- package/lib/openapi/platform/models/issue-worklogs.d.ts +93 -0
- package/lib/openapi/platform/models/issue-worklogs.js +80 -0
- package/lib/openapi/platform/models/issue-worklogs.js.map +1 -0
- package/lib/openapi/platform/models/issues.d.ts +583 -0
- package/lib/openapi/platform/models/issues.js +545 -0
- package/lib/openapi/platform/models/issues.js.map +1 -0
- package/lib/openapi/platform/models/jira-expressions.d.ts +329 -0
- package/lib/openapi/platform/models/jira-expressions.js +180 -0
- package/lib/openapi/platform/models/jira-expressions.js.map +1 -0
- package/lib/openapi/platform/models/jira-settings.d.ts +62 -0
- package/lib/openapi/platform/models/jira-settings.js +49 -0
- package/lib/openapi/platform/models/jira-settings.js.map +1 -0
- package/lib/openapi/platform/models/jql-functions-apps.d.ts +61 -0
- package/lib/openapi/platform/models/jql-functions-apps.js +57 -0
- package/lib/openapi/platform/models/jql-functions-apps.js.map +1 -0
- package/lib/openapi/platform/models/jql.d.ts +348 -0
- package/lib/openapi/platform/models/jql.js +309 -0
- package/lib/openapi/platform/models/jql.js.map +1 -0
- package/lib/openapi/platform/models/labels.d.ts +20 -0
- package/lib/openapi/platform/models/labels.js +23 -0
- package/lib/openapi/platform/models/labels.js.map +1 -0
- package/lib/openapi/platform/models/license-metrics.d.ts +27 -0
- package/lib/openapi/platform/models/license-metrics.js +32 -0
- package/lib/openapi/platform/models/license-metrics.js.map +1 -0
- package/lib/openapi/platform/models/myself.d.ts +13 -0
- package/lib/openapi/platform/models/myself.js +17 -0
- package/lib/openapi/platform/models/myself.js.map +1 -0
- package/lib/openapi/platform/models/permission-schemes.d.ts +42 -0
- package/lib/openapi/platform/models/permission-schemes.js +39 -0
- package/lib/openapi/platform/models/permission-schemes.js.map +1 -0
- package/lib/openapi/platform/models/permissions.d.ts +97 -0
- package/lib/openapi/platform/models/permissions.js +176 -0
- package/lib/openapi/platform/models/permissions.js.map +1 -0
- package/lib/openapi/platform/models/priority-schemes.d.ts +233 -0
- package/lib/openapi/platform/models/priority-schemes.js +227 -0
- package/lib/openapi/platform/models/priority-schemes.js.map +1 -0
- package/lib/openapi/platform/models/project-avatars.d.ts +11 -0
- package/lib/openapi/platform/models/project-avatars.js +20 -0
- package/lib/openapi/platform/models/project-avatars.js.map +1 -0
- package/lib/openapi/platform/models/project-classification-levels.d.ts +8 -0
- package/lib/openapi/platform/models/project-classification-levels.js +17 -0
- package/lib/openapi/platform/models/project-classification-levels.js.map +1 -0
- package/lib/openapi/platform/models/project-components.d.ts +122 -0
- package/lib/openapi/platform/models/project-components.js +91 -0
- package/lib/openapi/platform/models/project-components.js.map +1 -0
- package/lib/openapi/platform/models/project-email.d.ts +10 -0
- package/lib/openapi/platform/models/project-email.js +18 -0
- package/lib/openapi/platform/models/project-email.js.map +1 -0
- package/lib/openapi/platform/models/project-features.d.ts +35 -0
- package/lib/openapi/platform/models/project-features.js +38 -0
- package/lib/openapi/platform/models/project-features.js.map +1 -0
- package/lib/openapi/platform/models/project-permission-schemes.d.ts +17 -0
- package/lib/openapi/platform/models/project-permission-schemes.js +25 -0
- package/lib/openapi/platform/models/project-permission-schemes.js.map +1 -0
- package/lib/openapi/platform/models/project-role-actors.d.ts +65 -0
- package/lib/openapi/platform/models/project-role-actors.js +37 -0
- package/lib/openapi/platform/models/project-role-actors.js.map +1 -0
- package/lib/openapi/platform/models/project-roles.d.ts +41 -0
- package/lib/openapi/platform/models/project-roles.js +34 -0
- package/lib/openapi/platform/models/project-roles.js.map +1 -0
- package/lib/openapi/platform/models/project-types.d.ts +16 -0
- package/lib/openapi/platform/models/project-types.js +21 -0
- package/lib/openapi/platform/models/project-types.js.map +1 -0
- package/lib/openapi/platform/models/project-versions.d.ts +110 -0
- package/lib/openapi/platform/models/project-versions.js +87 -0
- package/lib/openapi/platform/models/project-versions.js.map +1 -0
- package/lib/openapi/platform/models/projects.d.ts +216 -0
- package/lib/openapi/platform/models/projects.js +149 -0
- package/lib/openapi/platform/models/projects.js.map +1 -0
- package/lib/openapi/platform/models/screen-schemes.d.ts +94 -0
- package/lib/openapi/platform/models/screen-schemes.js +79 -0
- package/lib/openapi/platform/models/screen-schemes.js.map +1 -0
- package/lib/openapi/platform/models/screen-tab-fields.d.ts +19 -0
- package/lib/openapi/platform/models/screen-tab-fields.js +24 -0
- package/lib/openapi/platform/models/screen-tab-fields.js.map +1 -0
- package/lib/openapi/platform/models/screens.d.ts +82 -0
- package/lib/openapi/platform/models/screens.js +72 -0
- package/lib/openapi/platform/models/screens.js.map +1 -0
- package/lib/openapi/platform/models/server-info.d.ts +51 -0
- package/lib/openapi/platform/models/server-info.js +47 -0
- package/lib/openapi/platform/models/server-info.js.map +1 -0
- package/lib/openapi/platform/models/service-registry.d.ts +32 -0
- package/lib/openapi/platform/models/service-registry.js +34 -0
- package/lib/openapi/platform/models/service-registry.js.map +1 -0
- package/lib/openapi/platform/models/status.d.ts +95 -0
- package/lib/openapi/platform/models/status.js +107 -0
- package/lib/openapi/platform/models/status.js.map +1 -0
- package/lib/openapi/platform/models/time-tracking.d.ts +20 -0
- package/lib/openapi/platform/models/time-tracking.js +19 -0
- package/lib/openapi/platform/models/time-tracking.js.map +1 -0
- package/lib/openapi/platform/models/ui-modifications-apps.d.ts +127 -0
- package/lib/openapi/platform/models/ui-modifications-apps.js +85 -0
- package/lib/openapi/platform/models/ui-modifications-apps.js.map +1 -0
- package/lib/openapi/platform/models/user-search.d.ts +37 -0
- package/lib/openapi/platform/models/user-search.js +30 -0
- package/lib/openapi/platform/models/user-search.js.map +1 -0
- package/lib/openapi/platform/models/users.d.ts +60 -0
- package/lib/openapi/platform/models/users.js +53 -0
- package/lib/openapi/platform/models/users.js.map +1 -0
- package/lib/openapi/platform/models/webhooks.d.ts +147 -0
- package/lib/openapi/platform/models/webhooks.js +112 -0
- package/lib/openapi/platform/models/webhooks.js.map +1 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.d.ts +17 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.js +37 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.js.map +1 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.d.ts +29 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.js +33 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.js.map +1 -0
- package/lib/openapi/platform/models/workflow-schemes.d.ts +217 -0
- package/lib/openapi/platform/models/workflow-schemes.js +261 -0
- package/lib/openapi/platform/models/workflow-schemes.js.map +1 -0
- package/lib/openapi/platform/models/workflow-transition-properties.d.ts +15 -0
- package/lib/openapi/platform/models/workflow-transition-properties.js +19 -0
- package/lib/openapi/platform/models/workflow-transition-properties.js.map +1 -0
- package/lib/openapi/platform/models/workflow-transition-rules.d.ts +106 -0
- package/lib/openapi/platform/models/workflow-transition-rules.js +117 -0
- package/lib/openapi/platform/models/workflow-transition-rules.js.map +1 -0
- package/lib/openapi/platform/models/workflows.d.ts +848 -0
- package/lib/openapi/platform/models/workflows.js +824 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -0
- package/lib/openapi/platform/services/announcement-banner-service.d.ts +49 -0
- package/lib/openapi/platform/services/announcement-banner-service.js +99 -0
- package/lib/openapi/platform/services/announcement-banner-service.js.map +1 -0
- package/lib/openapi/platform/services/app-data-policies-service.d.ts +44 -0
- package/lib/openapi/platform/services/app-data-policies-service.js +101 -0
- package/lib/openapi/platform/services/app-data-policies-service.js.map +1 -0
- package/lib/openapi/platform/services/app-migration-service.d.ts +152 -0
- package/lib/openapi/platform/services/app-migration-service.js +178 -0
- package/lib/openapi/platform/services/app-migration-service.js.map +1 -0
- package/lib/openapi/platform/services/app-properties-service.d.ts +184 -0
- package/lib/openapi/platform/services/app-properties-service.js +325 -0
- package/lib/openapi/platform/services/app-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/application-roles-service.d.ts +158 -0
- package/lib/openapi/platform/services/application-roles-service.js +209 -0
- package/lib/openapi/platform/services/application-roles-service.js.map +1 -0
- package/lib/openapi/platform/services/audit-records-service.d.ts +101 -0
- package/lib/openapi/platform/services/audit-records-service.js +125 -0
- package/lib/openapi/platform/services/audit-records-service.js.map +1 -0
- package/lib/openapi/platform/services/avatars-service.d.ts +363 -0
- package/lib/openapi/platform/services/avatars-service.js +523 -0
- package/lib/openapi/platform/services/avatars-service.js.map +1 -0
- package/lib/openapi/platform/services/classification-levels-service.d.ts +72 -0
- package/lib/openapi/platform/services/classification-levels-service.js +104 -0
- package/lib/openapi/platform/services/classification-levels-service.js.map +1 -0
- package/lib/openapi/platform/services/dashboards-service.d.ts +918 -0
- package/lib/openapi/platform/services/dashboards-service.js +1109 -0
- package/lib/openapi/platform/services/dashboards-service.js.map +1 -0
- package/lib/openapi/platform/services/dynamic-modules-service.d.ts +50 -0
- package/lib/openapi/platform/services/dynamic-modules-service.js +96 -0
- package/lib/openapi/platform/services/dynamic-modules-service.js.map +1 -0
- package/lib/openapi/platform/services/filter-sharing-service.d.ts +446 -0
- package/lib/openapi/platform/services/filter-sharing-service.js +565 -0
- package/lib/openapi/platform/services/filter-sharing-service.js.map +1 -0
- package/lib/openapi/platform/services/filters-service.d.ts +1320 -0
- package/lib/openapi/platform/services/filters-service.js +1351 -0
- package/lib/openapi/platform/services/filters-service.js.map +1 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.d.ts +132 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.js +140 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.js.map +1 -0
- package/lib/openapi/platform/services/groups-service.d.ts +411 -0
- package/lib/openapi/platform/services/groups-service.js +448 -0
- package/lib/openapi/platform/services/groups-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-attachments-service.d.ts +549 -0
- package/lib/openapi/platform/services/issue-attachments-service.js +724 -0
- package/lib/openapi/platform/services/issue-attachments-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.d.ts +149 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.js +239 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-comments-service.d.ts +528 -0
- package/lib/openapi/platform/services/issue-comments-service.js +563 -0
- package/lib/openapi/platform/services/issue-comments-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.d.ts +155 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js +163 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.d.ts +659 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.js +854 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.d.ts +615 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js +605 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.d.ts +339 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.js +420 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.d.ts +90 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js +117 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.d.ts +561 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.js +801 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-fields-service.d.ts +420 -0
- package/lib/openapi/platform/services/issue-fields-service.js +555 -0
- package/lib/openapi/platform/services/issue-fields-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-link-types-service.d.ts +165 -0
- package/lib/openapi/platform/services/issue-link-types-service.js +263 -0
- package/lib/openapi/platform/services/issue-link-types-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-links-service.d.ts +237 -0
- package/lib/openapi/platform/services/issue-links-service.js +264 -0
- package/lib/openapi/platform/services/issue-links-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.d.ts +55 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.js +97 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.d.ts +809 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.js +917 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-priorities-service.d.ts +238 -0
- package/lib/openapi/platform/services/issue-priorities-service.js +372 -0
- package/lib/openapi/platform/services/issue-priorities-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-properties-service.d.ts +368 -0
- package/lib/openapi/platform/services/issue-properties-service.js +439 -0
- package/lib/openapi/platform/services/issue-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-remote-links-service.d.ts +351 -0
- package/lib/openapi/platform/services/issue-remote-links-service.js +429 -0
- package/lib/openapi/platform/services/issue-remote-links-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-resolutions-service.d.ts +202 -0
- package/lib/openapi/platform/services/issue-resolutions-service.js +346 -0
- package/lib/openapi/platform/services/issue-resolutions-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-search-service.d.ts +887 -0
- package/lib/openapi/platform/services/issue-search-service.js +878 -0
- package/lib/openapi/platform/services/issue-search-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-security-level-service.d.ts +136 -0
- package/lib/openapi/platform/services/issue-security-level-service.js +174 -0
- package/lib/openapi/platform/services/issue-security-level-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.d.ts +530 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.js +721 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-properties-service.d.ts +150 -0
- package/lib/openapi/platform/services/issue-type-properties-service.js +227 -0
- package/lib/openapi/platform/services/issue-type-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.d.ts +460 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.js +615 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.d.ts +442 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.js +606 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-types-service.d.ts +343 -0
- package/lib/openapi/platform/services/issue-types-service.js +495 -0
- package/lib/openapi/platform/services/issue-types-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-votes-service.d.ts +117 -0
- package/lib/openapi/platform/services/issue-votes-service.js +179 -0
- package/lib/openapi/platform/services/issue-votes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-watchers-service.d.ts +168 -0
- package/lib/openapi/platform/services/issue-watchers-service.js +236 -0
- package/lib/openapi/platform/services/issue-watchers-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.d.ts +165 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.js +251 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-worklogs-service.d.ts +694 -0
- package/lib/openapi/platform/services/issue-worklogs-service.js +701 -0
- package/lib/openapi/platform/services/issue-worklogs-service.js.map +1 -0
- package/lib/openapi/platform/services/issues-service.d.ts +2356 -0
- package/lib/openapi/platform/services/issues-service.js +2022 -0
- package/lib/openapi/platform/services/issues-service.js.map +1 -0
- package/lib/openapi/platform/services/jira-expressions-service.d.ts +298 -0
- package/lib/openapi/platform/services/jira-expressions-service.js +272 -0
- package/lib/openapi/platform/services/jira-expressions-service.js.map +1 -0
- package/lib/openapi/platform/services/jira-settings-service.d.ts +236 -0
- package/lib/openapi/platform/services/jira-settings-service.js +325 -0
- package/lib/openapi/platform/services/jira-settings-service.js.map +1 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.d.ts +113 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.js +142 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/jql-service.d.ts +623 -0
- package/lib/openapi/platform/services/jql-service.js +697 -0
- package/lib/openapi/platform/services/jql-service.js.map +1 -0
- package/lib/openapi/platform/services/labels-service.d.ts +34 -0
- package/lib/openapi/platform/services/labels-service.js +67 -0
- package/lib/openapi/platform/services/labels-service.js.map +1 -0
- package/lib/openapi/platform/services/license-metrics-service.d.ts +82 -0
- package/lib/openapi/platform/services/license-metrics-service.js +160 -0
- package/lib/openapi/platform/services/license-metrics-service.js.map +1 -0
- package/lib/openapi/platform/services/myself-service.d.ts +254 -0
- package/lib/openapi/platform/services/myself-service.js +382 -0
- package/lib/openapi/platform/services/myself-service.js.map +1 -0
- package/lib/openapi/platform/services/permission-schemes-service.d.ts +554 -0
- package/lib/openapi/platform/services/permission-schemes-service.js +613 -0
- package/lib/openapi/platform/services/permission-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/permissions-service.d.ts +214 -0
- package/lib/openapi/platform/services/permissions-service.js +281 -0
- package/lib/openapi/platform/services/permissions-service.js.map +1 -0
- package/lib/openapi/platform/services/priority-schemes-service.d.ts +578 -0
- package/lib/openapi/platform/services/priority-schemes-service.js +655 -0
- package/lib/openapi/platform/services/priority-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/project-avatars-service.d.ts +170 -0
- package/lib/openapi/platform/services/project-avatars-service.js +254 -0
- package/lib/openapi/platform/services/project-avatars-service.js.map +1 -0
- package/lib/openapi/platform/services/project-categories-service.d.ts +128 -0
- package/lib/openapi/platform/services/project-categories-service.js +226 -0
- package/lib/openapi/platform/services/project-categories-service.js.map +1 -0
- package/lib/openapi/platform/services/project-classification-levels-service.d.ts +90 -0
- package/lib/openapi/platform/services/project-classification-levels-service.js +161 -0
- package/lib/openapi/platform/services/project-classification-levels-service.js.map +1 -0
- package/lib/openapi/platform/services/project-components-service.d.ts +955 -0
- package/lib/openapi/platform/services/project-components-service.js +1075 -0
- package/lib/openapi/platform/services/project-components-service.js.map +1 -0
- package/lib/openapi/platform/services/project-email-service.d.ts +60 -0
- package/lib/openapi/platform/services/project-email-service.js +113 -0
- package/lib/openapi/platform/services/project-email-service.js.map +1 -0
- package/lib/openapi/platform/services/project-features-service.d.ts +103 -0
- package/lib/openapi/platform/services/project-features-service.js +155 -0
- package/lib/openapi/platform/services/project-features-service.js.map +1 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.d.ts +59 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.js +135 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.js.map +1 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.d.ts +179 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.js +255 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/project-properties-service.d.ts +147 -0
- package/lib/openapi/platform/services/project-properties-service.js +224 -0
- package/lib/openapi/platform/services/project-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/project-role-actors-service.d.ts +351 -0
- package/lib/openapi/platform/services/project-role-actors-service.js +413 -0
- package/lib/openapi/platform/services/project-role-actors-service.js.map +1 -0
- package/lib/openapi/platform/services/project-roles-service.d.ts +484 -0
- package/lib/openapi/platform/services/project-roles-service.js +647 -0
- package/lib/openapi/platform/services/project-roles-service.js.map +1 -0
- package/lib/openapi/platform/services/project-types-service.d.ts +121 -0
- package/lib/openapi/platform/services/project-types-service.js +220 -0
- package/lib/openapi/platform/services/project-types-service.js.map +1 -0
- package/lib/openapi/platform/services/project-versions-service.d.ts +632 -0
- package/lib/openapi/platform/services/project-versions-service.js +852 -0
- package/lib/openapi/platform/services/project-versions-service.js.map +1 -0
- package/lib/openapi/platform/services/projects-service.d.ts +1622 -0
- package/lib/openapi/platform/services/projects-service.js +1686 -0
- package/lib/openapi/platform/services/projects-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-schemes-service.d.ts +166 -0
- package/lib/openapi/platform/services/screen-schemes-service.js +216 -0
- package/lib/openapi/platform/services/screen-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.d.ts +103 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.js +181 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-tabs-service.d.ts +164 -0
- package/lib/openapi/platform/services/screen-tabs-service.js +278 -0
- package/lib/openapi/platform/services/screen-tabs-service.js.map +1 -0
- package/lib/openapi/platform/services/screens-service.d.ts +226 -0
- package/lib/openapi/platform/services/screens-service.js +346 -0
- package/lib/openapi/platform/services/screens-service.js.map +1 -0
- package/lib/openapi/platform/services/server-info-service.d.ts +40 -0
- package/lib/openapi/platform/services/server-info-service.js +74 -0
- package/lib/openapi/platform/services/server-info-service.js.map +1 -0
- package/lib/openapi/platform/services/service-registry-service.d.ts +32 -0
- package/lib/openapi/platform/services/service-registry-service.js +60 -0
- package/lib/openapi/platform/services/service-registry-service.js.map +1 -0
- package/lib/openapi/platform/services/status-service.d.ts +268 -0
- package/lib/openapi/platform/services/status-service.js +321 -0
- package/lib/openapi/platform/services/status-service.js.map +1 -0
- package/lib/openapi/platform/services/tasks-service.d.ts +71 -0
- package/lib/openapi/platform/services/tasks-service.js +126 -0
- package/lib/openapi/platform/services/tasks-service.js.map +1 -0
- package/lib/openapi/platform/services/time-tracking-service.d.ts +140 -0
- package/lib/openapi/platform/services/time-tracking-service.js +260 -0
- package/lib/openapi/platform/services/time-tracking-service.js.map +1 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.d.ts +212 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.js +262 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/user-properties-service.d.ts +218 -0
- package/lib/openapi/platform/services/user-properties-service.js +254 -0
- package/lib/openapi/platform/services/user-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/user-search-service.d.ts +782 -0
- package/lib/openapi/platform/services/user-search-service.js +784 -0
- package/lib/openapi/platform/services/user-search-service.js.map +1 -0
- package/lib/openapi/platform/services/users-service.d.ts +579 -0
- package/lib/openapi/platform/services/users-service.js +729 -0
- package/lib/openapi/platform/services/users-service.js.map +1 -0
- package/lib/openapi/platform/services/webhooks-service.d.ts +258 -0
- package/lib/openapi/platform/services/webhooks-service.js +307 -0
- package/lib/openapi/platform/services/webhooks-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.d.ts +744 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.js +956 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.d.ts +85 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js +134 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-schemes-service.d.ts +843 -0
- package/lib/openapi/platform/services/workflow-schemes-service.js +1030 -0
- package/lib/openapi/platform/services/workflow-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.d.ts +60 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.js +115 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-statuses-service.d.ts +87 -0
- package/lib/openapi/platform/services/workflow-statuses-service.js +142 -0
- package/lib/openapi/platform/services/workflow-statuses-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.d.ts +189 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.js +224 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.d.ts +319 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.js +326 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.js.map +1 -0
- package/lib/openapi/platform/services/workflows-service.d.ts +3032 -0
- package/lib/openapi/platform/services/workflows-service.js +2529 -0
- package/lib/openapi/platform/services/workflows-service.js.map +1 -0
- package/lib/openapi/platform/validation-schema-storage.d.ts +3 -0
- package/lib/openapi/platform/validation-schema-storage.js +144 -0
- package/lib/openapi/platform/validation-schema-storage.js.map +1 -0
- package/lib/openapi/software/base-jira-software-api-client.d.ts +426 -0
- package/lib/openapi/software/base-jira-software-api-client.js +444 -0
- package/lib/openapi/software/base-jira-software-api-client.js.map +1 -0
- package/lib/openapi/software/core/common-http-client.d.ts +196 -0
- package/lib/openapi/software/core/common-http-client.js +390 -0
- package/lib/openapi/software/core/common-http-client.js.map +1 -0
- package/lib/openapi/software/core/common-http-service.d.ts +7 -0
- package/lib/openapi/software/core/common-http-service.js +20 -0
- package/lib/openapi/software/core/common-http-service.js.map +1 -0
- package/lib/openapi/software/core/common-validation-schema-storage.d.ts +35 -0
- package/lib/openapi/software/core/common-validation-schema-storage.js +65 -0
- package/lib/openapi/software/core/common-validation-schema-storage.js.map +1 -0
- package/lib/openapi/software/models/board.d.ts +505 -0
- package/lib/openapi/software/models/board.js +389 -0
- package/lib/openapi/software/models/board.js.map +1 -0
- package/lib/openapi/software/services/backlog-service.d.ts +81 -0
- package/lib/openapi/software/services/backlog-service.js +113 -0
- package/lib/openapi/software/services/backlog-service.js.map +1 -0
- package/lib/openapi/software/services/board-service.d.ts +2254 -0
- package/lib/openapi/software/services/board-service.js +2653 -0
- package/lib/openapi/software/services/board-service.js.map +1 -0
- package/lib/openapi/software/services/builds-service.d.ts +368 -0
- package/lib/openapi/software/services/builds-service.js +230 -0
- package/lib/openapi/software/services/builds-service.js.map +1 -0
- package/lib/openapi/software/services/deployments-service.d.ts +217 -0
- package/lib/openapi/software/services/deployments-service.js +232 -0
- package/lib/openapi/software/services/deployments-service.js.map +1 -0
- package/lib/openapi/software/services/dev-ops-components-service.d.ts +246 -0
- package/lib/openapi/software/services/dev-ops-components-service.js +280 -0
- package/lib/openapi/software/services/dev-ops-components-service.js.map +1 -0
- package/lib/openapi/software/services/development-information-service.d.ts +1641 -0
- package/lib/openapi/software/services/development-information-service.js +474 -0
- package/lib/openapi/software/services/development-information-service.js.map +1 -0
- package/lib/openapi/software/services/epic-service.d.ts +596 -0
- package/lib/openapi/software/services/epic-service.js +633 -0
- package/lib/openapi/software/services/epic-service.js.map +1 -0
- package/lib/openapi/software/services/feature-flags-service.d.ts +170 -0
- package/lib/openapi/software/services/feature-flags-service.js +182 -0
- package/lib/openapi/software/services/feature-flags-service.js.map +1 -0
- package/lib/openapi/software/services/issue-service.d.ts +329 -0
- package/lib/openapi/software/services/issue-service.js +410 -0
- package/lib/openapi/software/services/issue-service.js.map +1 -0
- package/lib/openapi/software/services/operations-service.d.ts +456 -0
- package/lib/openapi/software/services/operations-service.js +444 -0
- package/lib/openapi/software/services/operations-service.js.map +1 -0
- package/lib/openapi/software/services/remote-links-service.d.ts +445 -0
- package/lib/openapi/software/services/remote-links-service.js +327 -0
- package/lib/openapi/software/services/remote-links-service.js.map +1 -0
- package/lib/openapi/software/services/security-information-service.d.ts +257 -0
- package/lib/openapi/software/services/security-information-service.js +310 -0
- package/lib/openapi/software/services/security-information-service.js.map +1 -0
- package/lib/openapi/software/services/sprint-service.d.ts +531 -0
- package/lib/openapi/software/services/sprint-service.js +665 -0
- package/lib/openapi/software/services/sprint-service.js.map +1 -0
- package/lib/openapi/software/validation-schema-storage.d.ts +3 -0
- package/lib/openapi/software/validation-schema-storage.js +144 -0
- package/lib/openapi/software/validation-schema-storage.js.map +1 -0
- package/package.json +37 -0
- package/src/index.ts +47 -0
- package/src/openapi/platform/base-jira-platform-api-client.ts +2298 -0
- package/src/openapi/platform/core/common-http-client.ts +723 -0
- package/src/openapi/platform/core/common-http-service.ts +22 -0
- package/src/openapi/platform/core/common-validation-schema-storage.ts +105 -0
- package/src/openapi/platform/models/announcement-banner.ts +59 -0
- package/src/openapi/platform/models/app-data-policies.ts +79 -0
- package/src/openapi/platform/models/app-migration.ts +172 -0
- package/src/openapi/platform/models/app-properties.ts +32 -0
- package/src/openapi/platform/models/audit-records.ts +140 -0
- package/src/openapi/platform/models/avatars.ts +48 -0
- package/src/openapi/platform/models/classification-levels.ts +58 -0
- package/src/openapi/platform/models/common.ts +2669 -0
- package/src/openapi/platform/models/dashboards.ts +849 -0
- package/src/openapi/platform/models/dynamic-modules.ts +121 -0
- package/src/openapi/platform/models/filter-sharing.ts +103 -0
- package/src/openapi/platform/models/filters.ts +319 -0
- package/src/openapi/platform/models/group-and-user-picker.ts +85 -0
- package/src/openapi/platform/models/groups.ts +247 -0
- package/src/openapi/platform/models/issue-attachments.ts +290 -0
- package/src/openapi/platform/models/issue-comment-properties.ts +27 -0
- package/src/openapi/platform/models/issue-comments.ts +91 -0
- package/src/openapi/platform/models/issue-custom-field-configuration-apps.ts +96 -0
- package/src/openapi/platform/models/issue-custom-field-contexts.ts +1072 -0
- package/src/openapi/platform/models/issue-custom-field-options-apps.ts +273 -0
- package/src/openapi/platform/models/issue-custom-field-options.ts +283 -0
- package/src/openapi/platform/models/issue-custom-field-values-apps.ts +118 -0
- package/src/openapi/platform/models/issue-field-configurations.ts +435 -0
- package/src/openapi/platform/models/issue-fields.ts +392 -0
- package/src/openapi/platform/models/issue-link-types.ts +28 -0
- package/src/openapi/platform/models/issue-links.ts +185 -0
- package/src/openapi/platform/models/issue-notification-schemes.ts +370 -0
- package/src/openapi/platform/models/issue-priorities.ts +196 -0
- package/src/openapi/platform/models/issue-properties.ts +259 -0
- package/src/openapi/platform/models/issue-remote-links.ts +207 -0
- package/src/openapi/platform/models/issue-resolutions.ts +180 -0
- package/src/openapi/platform/models/issue-search.ts +367 -0
- package/src/openapi/platform/models/issue-security-level.ts +76 -0
- package/src/openapi/platform/models/issue-security-schemes.ts +496 -0
- package/src/openapi/platform/models/issue-type-schemes.ts +290 -0
- package/src/openapi/platform/models/issue-type-screen-schemes.ts +286 -0
- package/src/openapi/platform/models/issue-types.ts +66 -0
- package/src/openapi/platform/models/issue-votes.ts +38 -0
- package/src/openapi/platform/models/issue-watchers.ts +67 -0
- package/src/openapi/platform/models/issue-worklogs.ts +190 -0
- package/src/openapi/platform/models/issues.ts +1268 -0
- package/src/openapi/platform/models/jira-expressions.ts +578 -0
- package/src/openapi/platform/models/jira-settings.ts +118 -0
- package/src/openapi/platform/models/jql-functions-apps.ts +128 -0
- package/src/openapi/platform/models/jql.ts +783 -0
- package/src/openapi/platform/models/labels.ts +42 -0
- package/src/openapi/platform/models/license-metrics.ts +68 -0
- package/src/openapi/platform/models/myself.ts +29 -0
- package/src/openapi/platform/models/permission-schemes.ts +89 -0
- package/src/openapi/platform/models/permissions.ts +308 -0
- package/src/openapi/platform/models/priority-schemes.ts +527 -0
- package/src/openapi/platform/models/project-avatars.ts +29 -0
- package/src/openapi/platform/models/project-classification-levels.ts +24 -0
- package/src/openapi/platform/models/project-components.ts +231 -0
- package/src/openapi/platform/models/project-email.ts +27 -0
- package/src/openapi/platform/models/project-features.ts +78 -0
- package/src/openapi/platform/models/project-permission-schemes.ts +43 -0
- package/src/openapi/platform/models/project-role-actors.ts +107 -0
- package/src/openapi/platform/models/project-roles.ts +76 -0
- package/src/openapi/platform/models/project-types.ts +36 -0
- package/src/openapi/platform/models/project-versions.ts +216 -0
- package/src/openapi/platform/models/projects.ts +429 -0
- package/src/openapi/platform/models/screen-schemes.ts +192 -0
- package/src/openapi/platform/models/screen-tab-fields.ts +45 -0
- package/src/openapi/platform/models/screens.ts +171 -0
- package/src/openapi/platform/models/server-info.ts +100 -0
- package/src/openapi/platform/models/service-registry.ts +68 -0
- package/src/openapi/platform/models/status.ts +229 -0
- package/src/openapi/platform/models/time-tracking.ts +38 -0
- package/src/openapi/platform/models/ui-modifications-apps.ts +229 -0
- package/src/openapi/platform/models/user-search.ts +69 -0
- package/src/openapi/platform/models/users.ts +121 -0
- package/src/openapi/platform/models/webhooks.ts +307 -0
- package/src/openapi/platform/models/workflow-scheme-drafts.ts +58 -0
- package/src/openapi/platform/models/workflow-scheme-project-associations.ts +68 -0
- package/src/openapi/platform/models/workflow-schemes.ts +545 -0
- package/src/openapi/platform/models/workflow-transition-properties.ts +33 -0
- package/src/openapi/platform/models/workflow-transition-rules.ts +261 -0
- package/src/openapi/platform/models/workflows.ts +1943 -0
- package/src/openapi/platform/services/announcement-banner-service.ts +142 -0
- package/src/openapi/platform/services/app-data-policies-service.ts +136 -0
- package/src/openapi/platform/services/app-migration-service.ts +289 -0
- package/src/openapi/platform/services/app-properties-service.ts +441 -0
- package/src/openapi/platform/services/application-roles-service.ts +247 -0
- package/src/openapi/platform/services/audit-records-service.ts +164 -0
- package/src/openapi/platform/services/avatars-service.ts +769 -0
- package/src/openapi/platform/services/classification-levels-service.ts +131 -0
- package/src/openapi/platform/services/dashboards-service.ts +1721 -0
- package/src/openapi/platform/services/dynamic-modules-service.ts +127 -0
- package/src/openapi/platform/services/filter-sharing-service.ts +687 -0
- package/src/openapi/platform/services/filters-service.ts +1901 -0
- package/src/openapi/platform/services/group-and-user-picker-service.ts +224 -0
- package/src/openapi/platform/services/groups-service.ts +751 -0
- package/src/openapi/platform/services/issue-attachments-service.ts +900 -0
- package/src/openapi/platform/services/issue-comment-properties-service.ts +324 -0
- package/src/openapi/platform/services/issue-comments-service.ts +812 -0
- package/src/openapi/platform/services/issue-custom-field-configuration-apps-service.ts +277 -0
- package/src/openapi/platform/services/issue-custom-field-contexts-service.ts +1339 -0
- package/src/openapi/platform/services/issue-custom-field-options-apps-service.ts +994 -0
- package/src/openapi/platform/services/issue-custom-field-options-service.ts +651 -0
- package/src/openapi/platform/services/issue-custom-field-values-apps-service.ts +201 -0
- package/src/openapi/platform/services/issue-field-configurations-service.ts +1294 -0
- package/src/openapi/platform/services/issue-fields-service.ts +837 -0
- package/src/openapi/platform/services/issue-link-types-service.ts +360 -0
- package/src/openapi/platform/services/issue-links-service.ts +345 -0
- package/src/openapi/platform/services/issue-navigator-settings-service.ts +119 -0
- package/src/openapi/platform/services/issue-notification-schemes-service.ts +1209 -0
- package/src/openapi/platform/services/issue-priorities-service.ts +575 -0
- package/src/openapi/platform/services/issue-properties-service.ts +606 -0
- package/src/openapi/platform/services/issue-remote-links-service.ts +597 -0
- package/src/openapi/platform/services/issue-resolutions-service.ts +534 -0
- package/src/openapi/platform/services/issue-search-service.ts +1139 -0
- package/src/openapi/platform/services/issue-security-level-service.ts +250 -0
- package/src/openapi/platform/services/issue-security-schemes-service.ts +1240 -0
- package/src/openapi/platform/services/issue-type-properties-service.ts +325 -0
- package/src/openapi/platform/services/issue-type-schemes-service.ts +940 -0
- package/src/openapi/platform/services/issue-type-screen-schemes-service.ts +994 -0
- package/src/openapi/platform/services/issue-types-service.ts +679 -0
- package/src/openapi/platform/services/issue-votes-service.ts +221 -0
- package/src/openapi/platform/services/issue-watchers-service.ts +331 -0
- package/src/openapi/platform/services/issue-worklog-properties-service.ts +348 -0
- package/src/openapi/platform/services/issue-worklogs-service.ts +1089 -0
- package/src/openapi/platform/services/issues-service.ts +3346 -0
- package/src/openapi/platform/services/jira-expressions-service.ts +407 -0
- package/src/openapi/platform/services/jira-settings-service.ts +415 -0
- package/src/openapi/platform/services/jql-functions-apps-service.ts +219 -0
- package/src/openapi/platform/services/jql-service.ts +896 -0
- package/src/openapi/platform/services/labels-service.ts +89 -0
- package/src/openapi/platform/services/license-metrics-service.ts +216 -0
- package/src/openapi/platform/services/myself-service.ts +520 -0
- package/src/openapi/platform/services/permission-schemes-service.ts +926 -0
- package/src/openapi/platform/services/permissions-service.ts +407 -0
- package/src/openapi/platform/services/priority-schemes-service.ts +1001 -0
- package/src/openapi/platform/services/project-avatars-service.ts +341 -0
- package/src/openapi/platform/services/project-categories-service.ts +318 -0
- package/src/openapi/platform/services/project-classification-levels-service.ts +232 -0
- package/src/openapi/platform/services/project-components-service.ts +1332 -0
- package/src/openapi/platform/services/project-email-service.ts +161 -0
- package/src/openapi/platform/services/project-features-service.ts +207 -0
- package/src/openapi/platform/services/project-key-and-name-validation-service.ts +200 -0
- package/src/openapi/platform/services/project-permission-schemes-service.ts +384 -0
- package/src/openapi/platform/services/project-properties-service.ts +320 -0
- package/src/openapi/platform/services/project-role-actors-service.ts +627 -0
- package/src/openapi/platform/services/project-roles-service.ts +867 -0
- package/src/openapi/platform/services/project-types-service.ts +297 -0
- package/src/openapi/platform/services/project-versions-service.ts +1287 -0
- package/src/openapi/platform/services/projects-service.ts +2196 -0
- package/src/openapi/platform/services/screen-schemes-service.ts +334 -0
- package/src/openapi/platform/services/screen-tab-fields-service.ts +276 -0
- package/src/openapi/platform/services/screen-tabs-service.ts +421 -0
- package/src/openapi/platform/services/screens-service.ts +528 -0
- package/src/openapi/platform/services/server-info-service.ts +88 -0
- package/src/openapi/platform/services/service-registry-service.ts +89 -0
- package/src/openapi/platform/services/status-service.ts +498 -0
- package/src/openapi/platform/services/tasks-service.ts +159 -0
- package/src/openapi/platform/services/time-tracking-service.ts +386 -0
- package/src/openapi/platform/services/ui-modifications-apps-service.ts +403 -0
- package/src/openapi/platform/services/user-properties-service.ts +413 -0
- package/src/openapi/platform/services/user-search-service.ts +1214 -0
- package/src/openapi/platform/services/users-service.ts +1108 -0
- package/src/openapi/platform/services/webhooks-service.ts +458 -0
- package/src/openapi/platform/services/workflow-scheme-drafts-service.ts +1313 -0
- package/src/openapi/platform/services/workflow-scheme-project-associations-service.ts +189 -0
- package/src/openapi/platform/services/workflow-schemes-service.ts +1617 -0
- package/src/openapi/platform/services/workflow-status-categories-service.ts +151 -0
- package/src/openapi/platform/services/workflow-statuses-service.ts +176 -0
- package/src/openapi/platform/services/workflow-transition-properties-service.ts +388 -0
- package/src/openapi/platform/services/workflow-transition-rules-service.ts +485 -0
- package/src/openapi/platform/services/workflows-service.ts +3477 -0
- package/src/openapi/platform/validation-schema-storage.ts +186 -0
- package/src/openapi/software/base-jira-software-api-client.ts +447 -0
- package/src/openapi/software/core/common-http-client.ts +723 -0
- package/src/openapi/software/core/common-http-service.ts +22 -0
- package/src/openapi/software/core/common-validation-schema-storage.ts +105 -0
- package/src/openapi/software/models/board.ts +918 -0
- package/src/openapi/software/services/backlog-service.ts +160 -0
- package/src/openapi/software/services/board-service.ts +4189 -0
- package/src/openapi/software/services/builds-service.ts +571 -0
- package/src/openapi/software/services/deployments-service.ts +403 -0
- package/src/openapi/software/services/dev-ops-components-service.ts +371 -0
- package/src/openapi/software/services/development-information-service.ts +2357 -0
- package/src/openapi/software/services/epic-service.ts +854 -0
- package/src/openapi/software/services/feature-flags-service.ts +303 -0
- package/src/openapi/software/services/issue-service.ts +529 -0
- package/src/openapi/software/services/operations-service.ts +741 -0
- package/src/openapi/software/services/remote-links-service.ts +653 -0
- package/src/openapi/software/services/security-information-service.ts +495 -0
- package/src/openapi/software/services/sprint-service.ts +969 -0
- package/src/openapi/software/validation-schema-storage.ts +186 -0
- package/tsconfig.build.json +7 -0
- package/tsconfig.json +4 -0
|
@@ -0,0 +1,1641 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/common-http-service";
|
|
2
|
+
/**
|
|
3
|
+
* APIs related to integrating development information (commits, branches and pull
|
|
4
|
+
* requests) with Jira. These APIs are available to Atlassian Connect apps and
|
|
5
|
+
* on-premise integrations using OAuth. Connect apps using these APIs must have
|
|
6
|
+
* the Development Tool module in the app descriptor, see
|
|
7
|
+
* https://developer.atlassian.com/cloud/jira/software/modules/development-tool/.
|
|
8
|
+
* For more details on integrating Jira Software Cloud with on-premises tools
|
|
9
|
+
* using OAuth 2.0 credentials, see
|
|
10
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/.
|
|
11
|
+
*/
|
|
12
|
+
export declare class DevelopmentInformationService extends CommonHttpService {
|
|
13
|
+
/**
|
|
14
|
+
* Deletes development information entities which have all the provided
|
|
15
|
+
* properties. Repositories which have properties that match ALL of the properties
|
|
16
|
+
* (i.e. treated as an AND), and all their related development information (such
|
|
17
|
+
* as commits, branches and pull requests), will be deleted. For example if
|
|
18
|
+
* request is `DELETE bulk?accountId=123&projectId=ABC` entities which have
|
|
19
|
+
* properties `accountId=123` and `projectId=ABC` will be deleted. Optional param
|
|
20
|
+
* `_updateSequenceId` is no longer supported. Deletion is performed
|
|
21
|
+
* asynchronously: specified entities will eventually be removed from Jira.
|
|
22
|
+
*
|
|
23
|
+
* @path {DELETE} /rest/devinfo/0.10/bulkByProperties
|
|
24
|
+
*/
|
|
25
|
+
deleteByProperties({ updateSequenceId, authorization, }: {
|
|
26
|
+
/**
|
|
27
|
+
* An optional property to use to control deletion. Only stored data with an
|
|
28
|
+
* updateSequenceId less than or equal to that provided will be deleted. This can
|
|
29
|
+
* be used to help ensure submit/delete requests are applied correctly if they are
|
|
30
|
+
* issued close together.
|
|
31
|
+
*/
|
|
32
|
+
updateSequenceId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
35
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
36
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
37
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
38
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
39
|
+
* details about Connect JWT tokens. See
|
|
40
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
41
|
+
* for details about on-premise integrations.
|
|
42
|
+
*/
|
|
43
|
+
authorization: string;
|
|
44
|
+
}): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes particular development information entity. Deletion is performed
|
|
47
|
+
* asynchronously.
|
|
48
|
+
*
|
|
49
|
+
* @path {DELETE} /rest/devinfo/0.10/repository/{repositoryId}/{entityType}/{entityId}
|
|
50
|
+
*/
|
|
51
|
+
deleteEntity({ repositoryId, entityType, entityId, updateSequenceId, authorization, }: {
|
|
52
|
+
repositoryId: string;
|
|
53
|
+
entityType: "commit" | "branch" | "pull_request";
|
|
54
|
+
entityId: string;
|
|
55
|
+
/**
|
|
56
|
+
* An optional property to use to control deletion. Only stored data with an
|
|
57
|
+
* updateSequenceId less than or equal to that provided will be deleted. This can
|
|
58
|
+
* be used to help ensure submit/delete requests are applied correctly if they are
|
|
59
|
+
* issued close together.
|
|
60
|
+
*/
|
|
61
|
+
updateSequenceId?: number;
|
|
62
|
+
/**
|
|
63
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
64
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
65
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
66
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
67
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
68
|
+
* details about Connect JWT tokens. See
|
|
69
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
70
|
+
* for details about on-premise integrations.
|
|
71
|
+
*/
|
|
72
|
+
authorization: string;
|
|
73
|
+
}): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Deletes the repository data stored by the given ID and all related development
|
|
76
|
+
* information entities. Deletion is performed asynchronously.
|
|
77
|
+
*
|
|
78
|
+
* @path {DELETE} /rest/devinfo/0.10/repository/{repositoryId}
|
|
79
|
+
*/
|
|
80
|
+
deleteRepository({ repositoryId, updateSequenceId, authorization, }: {
|
|
81
|
+
/** The ID of repository to delete */
|
|
82
|
+
repositoryId: string;
|
|
83
|
+
/**
|
|
84
|
+
* An optional property to use to control deletion. Only stored data with an
|
|
85
|
+
* updateSequenceId less than or equal to that provided will be deleted. This can
|
|
86
|
+
* be used to help ensure submit/delete requests are applied correctly if they are
|
|
87
|
+
* issued close together.
|
|
88
|
+
*/
|
|
89
|
+
updateSequenceId?: number;
|
|
90
|
+
/**
|
|
91
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
92
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
93
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
94
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
95
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
96
|
+
* details about Connect JWT tokens. See
|
|
97
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
98
|
+
* for details about on-premise integrations.
|
|
99
|
+
*/
|
|
100
|
+
authorization: string;
|
|
101
|
+
}): Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Checks if repositories which have all the provided properties exists. For
|
|
104
|
+
* example, if request is `GET existsByProperties?accountId=123&projectId=ABC`
|
|
105
|
+
* then result will be positive only if there is at least one repository with both
|
|
106
|
+
* properties `accountId=123` and `projectId=ABC`. Special property
|
|
107
|
+
* `_updateSequenceId` can be used to filter all entities with updateSequenceId
|
|
108
|
+
* less or equal than the value specified. In addition to the optional
|
|
109
|
+
* `_updateSequenceId`, one or more query params must be supplied to specify
|
|
110
|
+
* properties to search by.
|
|
111
|
+
*
|
|
112
|
+
* @returns Returns whether data exists for the specified properties.
|
|
113
|
+
* @path {GET} /rest/devinfo/0.10/existsByProperties
|
|
114
|
+
*/
|
|
115
|
+
existsByProperties({ updateSequenceId, authorization, }: {
|
|
116
|
+
/**
|
|
117
|
+
* An optional property. Filters out entities and repositories which have
|
|
118
|
+
* updateSequenceId greater than specified.
|
|
119
|
+
*/
|
|
120
|
+
updateSequenceId?: number;
|
|
121
|
+
/**
|
|
122
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
123
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
124
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
125
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
126
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
127
|
+
* details about Connect JWT tokens. See
|
|
128
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
129
|
+
* for details about on-premise integrations.
|
|
130
|
+
*/
|
|
131
|
+
authorization: string;
|
|
132
|
+
}): Promise<{
|
|
133
|
+
/** Whether there is data matching the query */
|
|
134
|
+
hasDataMatchingProperties?: boolean;
|
|
135
|
+
} & {
|
|
136
|
+
[key: string]: unknown;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* For the specified repository ID, retrieves the repository and the most recent
|
|
140
|
+
* 400 development information entities. The result will be what is currently
|
|
141
|
+
* stored, ignoring any pending updates or deletes.
|
|
142
|
+
*
|
|
143
|
+
* @returns The repository data currently stored for the given ID.
|
|
144
|
+
* @path {GET} /rest/devinfo/0.10/repository/{repositoryId}
|
|
145
|
+
*/
|
|
146
|
+
getRepository({ repositoryId, authorization, }: {
|
|
147
|
+
/** The ID of repository to fetch */
|
|
148
|
+
repositoryId: string;
|
|
149
|
+
/**
|
|
150
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
151
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
152
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
153
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
154
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
155
|
+
* details about Connect JWT tokens. See
|
|
156
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
157
|
+
* for details about on-premise integrations.
|
|
158
|
+
*/
|
|
159
|
+
authorization: string;
|
|
160
|
+
}): Promise<{
|
|
161
|
+
/**
|
|
162
|
+
* The name of this repository. Max length is 255 characters.
|
|
163
|
+
*
|
|
164
|
+
* @example atlassian-connect-jira-example
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
167
|
+
/**
|
|
168
|
+
* Description of this repository. Max length is 1024 characters.
|
|
169
|
+
*
|
|
170
|
+
* @example The repository which stores code of the Atlassian Connect Add-on Devinfo
|
|
171
|
+
* application.
|
|
172
|
+
*/
|
|
173
|
+
description?: string;
|
|
174
|
+
/**
|
|
175
|
+
* The ID of the repository this repository was forked from, if it's a fork. Max
|
|
176
|
+
* length is 1024 characters.
|
|
177
|
+
*
|
|
178
|
+
* @example 56c7c750-cee2-48e2-b920-d7706dfd11f7
|
|
179
|
+
*/
|
|
180
|
+
forkOf?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The URL of this repository. Max length is 2000 characters.
|
|
183
|
+
*
|
|
184
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example
|
|
185
|
+
*/
|
|
186
|
+
url: string;
|
|
187
|
+
/**
|
|
188
|
+
* List of commits to update in this repository. Must not contain duplicate entity
|
|
189
|
+
* IDs. Maximum number of commits is 400
|
|
190
|
+
*/
|
|
191
|
+
commits?: ({
|
|
192
|
+
/**
|
|
193
|
+
* The identifier or hash of the commit. Will be used for cross entity linking.
|
|
194
|
+
* Must be unique for all commits within a repository, i.e., only one commit can
|
|
195
|
+
* have ID 'X' in repository 'Y'. But adding, e.g., a branch with ID 'X' to
|
|
196
|
+
* repository 'Y' is acceptable. Only alphanumeric characters, and '~.-_', are
|
|
197
|
+
* allowed. Max length is 1024 characters
|
|
198
|
+
*
|
|
199
|
+
* @example a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
200
|
+
*/
|
|
201
|
+
id: string;
|
|
202
|
+
/**
|
|
203
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
204
|
+
* Jira issue keys.
|
|
205
|
+
*
|
|
206
|
+
* @example [
|
|
207
|
+
* "ISSUE-1",
|
|
208
|
+
* "TEST-2"
|
|
209
|
+
* ]
|
|
210
|
+
*/
|
|
211
|
+
issueKeys: string[];
|
|
212
|
+
/**
|
|
213
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
214
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
215
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
216
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
217
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
218
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
219
|
+
* what is currently stored will be ignored.
|
|
220
|
+
*
|
|
221
|
+
* @example 1523494301248
|
|
222
|
+
*/
|
|
223
|
+
updateSequenceId: number;
|
|
224
|
+
/** Deprecated. Use the id field instead. */
|
|
225
|
+
hash?: string;
|
|
226
|
+
/**
|
|
227
|
+
* The set of flags for this commit
|
|
228
|
+
*
|
|
229
|
+
* @example [MERGE_COMMIT]
|
|
230
|
+
*/
|
|
231
|
+
flags?: "MERGE_COMMIT"[];
|
|
232
|
+
/**
|
|
233
|
+
* The commit message. Max length is 1024 characters. If anything longer is
|
|
234
|
+
* supplied, it will be truncated down to 1024 characters.
|
|
235
|
+
*
|
|
236
|
+
* @example README.md edited online with Bitbucket
|
|
237
|
+
*/
|
|
238
|
+
message: string;
|
|
239
|
+
/**
|
|
240
|
+
* Author
|
|
241
|
+
*
|
|
242
|
+
* Describes the author of a particular entity
|
|
243
|
+
*/
|
|
244
|
+
author: {
|
|
245
|
+
/**
|
|
246
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
247
|
+
* is 255 characters.
|
|
248
|
+
*
|
|
249
|
+
* @example Jane Doe
|
|
250
|
+
*/
|
|
251
|
+
name?: string;
|
|
252
|
+
/**
|
|
253
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
254
|
+
* length is 255 characters.
|
|
255
|
+
*
|
|
256
|
+
* @example jane_doe@atlassian.com
|
|
257
|
+
*/
|
|
258
|
+
email?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
261
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
262
|
+
* characters.
|
|
263
|
+
*
|
|
264
|
+
* @example jdoe
|
|
265
|
+
*/
|
|
266
|
+
username?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
269
|
+
*
|
|
270
|
+
* @example https://atlassian.com/account/jane_doe
|
|
271
|
+
*/
|
|
272
|
+
url?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
275
|
+
*
|
|
276
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
277
|
+
*/
|
|
278
|
+
avatar?: string;
|
|
279
|
+
} & {
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* The total number of files added, removed, or modified by this commit
|
|
284
|
+
*
|
|
285
|
+
* @example 1
|
|
286
|
+
*/
|
|
287
|
+
fileCount: number;
|
|
288
|
+
/**
|
|
289
|
+
* The URL of this commit. Max length is 2000 characters.
|
|
290
|
+
*
|
|
291
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/commits/a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
292
|
+
*/
|
|
293
|
+
url: string;
|
|
294
|
+
/**
|
|
295
|
+
* List of file changes. Max number of files is 10. Currently, only the first 5
|
|
296
|
+
* files are shown (sorted by path) in the UI. This UI behavior may change without
|
|
297
|
+
* notice.
|
|
298
|
+
*/
|
|
299
|
+
files?: ({
|
|
300
|
+
/**
|
|
301
|
+
* The path of the file. Max length is 1024 characters.
|
|
302
|
+
*
|
|
303
|
+
* @example /home/user/src/atlassian-connect-jira-example/README.md
|
|
304
|
+
*/
|
|
305
|
+
path: string;
|
|
306
|
+
/**
|
|
307
|
+
* The URL of this file. Max length is 2000 characters.
|
|
308
|
+
*
|
|
309
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/a7727ee6350c33cdf90826dc21abaa26a5704370/README.md
|
|
310
|
+
*/
|
|
311
|
+
url: string;
|
|
312
|
+
/**
|
|
313
|
+
* The operation performed on this file
|
|
314
|
+
*
|
|
315
|
+
* @example MODIFIED
|
|
316
|
+
*/
|
|
317
|
+
changeType: "ADDED" | "COPIED" | "DELETED" | "MODIFIED" | "MOVED" | "UNKNOWN";
|
|
318
|
+
/**
|
|
319
|
+
* Number of lines added to the file
|
|
320
|
+
*
|
|
321
|
+
* @example 0
|
|
322
|
+
*/
|
|
323
|
+
linesAdded: number;
|
|
324
|
+
/**
|
|
325
|
+
* Number of lines removed from the file
|
|
326
|
+
*
|
|
327
|
+
* @example 1
|
|
328
|
+
*/
|
|
329
|
+
linesRemoved: number;
|
|
330
|
+
} & {
|
|
331
|
+
[key: string]: unknown;
|
|
332
|
+
})[];
|
|
333
|
+
/**
|
|
334
|
+
* The author timestamp of this commit. Formatted as a UTC ISO 8601 date time
|
|
335
|
+
* format.
|
|
336
|
+
*
|
|
337
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
338
|
+
*/
|
|
339
|
+
authorTimestamp: string;
|
|
340
|
+
/**
|
|
341
|
+
* Shortened identifier for this commit, used for display. Max length is 255
|
|
342
|
+
* characters.
|
|
343
|
+
*
|
|
344
|
+
* @example a7727ee
|
|
345
|
+
*/
|
|
346
|
+
displayId: string;
|
|
347
|
+
} & {
|
|
348
|
+
[key: string]: unknown;
|
|
349
|
+
})[];
|
|
350
|
+
/**
|
|
351
|
+
* List of branches to update in this repository. Must not contain duplicate
|
|
352
|
+
* entity IDs. Maximum number of branches is 400.
|
|
353
|
+
*/
|
|
354
|
+
branches?: ({
|
|
355
|
+
/**
|
|
356
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
357
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
358
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
359
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
360
|
+
* is 1024 characters.
|
|
361
|
+
*
|
|
362
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
363
|
+
*/
|
|
364
|
+
id: string;
|
|
365
|
+
/**
|
|
366
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
367
|
+
* Jira issue keys.
|
|
368
|
+
*
|
|
369
|
+
* @example [
|
|
370
|
+
* "ISSUE-1",
|
|
371
|
+
* "TEST-2"
|
|
372
|
+
* ]
|
|
373
|
+
*/
|
|
374
|
+
issueKeys: string[];
|
|
375
|
+
/**
|
|
376
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
377
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
378
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
379
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
380
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
381
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
382
|
+
* what is currently stored will be ignored.
|
|
383
|
+
*
|
|
384
|
+
* @example 1523494301248
|
|
385
|
+
*/
|
|
386
|
+
updateSequenceId: number;
|
|
387
|
+
/**
|
|
388
|
+
* The name of the branch. Max length is 512 characters.
|
|
389
|
+
*
|
|
390
|
+
* @example master
|
|
391
|
+
*/
|
|
392
|
+
name: string;
|
|
393
|
+
/**
|
|
394
|
+
* Commit
|
|
395
|
+
*
|
|
396
|
+
* Represents a commit in the version control system.
|
|
397
|
+
*/
|
|
398
|
+
lastCommit: {
|
|
399
|
+
/**
|
|
400
|
+
* The identifier or hash of the commit. Will be used for cross entity linking.
|
|
401
|
+
* Must be unique for all commits within a repository, i.e., only one commit can
|
|
402
|
+
* have ID 'X' in repository 'Y'. But adding, e.g., a branch with ID 'X' to
|
|
403
|
+
* repository 'Y' is acceptable. Only alphanumeric characters, and '~.-_', are
|
|
404
|
+
* allowed. Max length is 1024 characters
|
|
405
|
+
*
|
|
406
|
+
* @example a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
407
|
+
*/
|
|
408
|
+
id: string;
|
|
409
|
+
/**
|
|
410
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
411
|
+
* Jira issue keys.
|
|
412
|
+
*
|
|
413
|
+
* @example [
|
|
414
|
+
* "ISSUE-1",
|
|
415
|
+
* "TEST-2"
|
|
416
|
+
* ]
|
|
417
|
+
*/
|
|
418
|
+
issueKeys: string[];
|
|
419
|
+
/**
|
|
420
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
421
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
422
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
423
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
424
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
425
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
426
|
+
* what is currently stored will be ignored.
|
|
427
|
+
*
|
|
428
|
+
* @example 1523494301248
|
|
429
|
+
*/
|
|
430
|
+
updateSequenceId: number;
|
|
431
|
+
/** Deprecated. Use the id field instead. */
|
|
432
|
+
hash?: string;
|
|
433
|
+
/**
|
|
434
|
+
* The set of flags for this commit
|
|
435
|
+
*
|
|
436
|
+
* @example [MERGE_COMMIT]
|
|
437
|
+
*/
|
|
438
|
+
flags?: "MERGE_COMMIT"[];
|
|
439
|
+
/**
|
|
440
|
+
* The commit message. Max length is 1024 characters. If anything longer is
|
|
441
|
+
* supplied, it will be truncated down to 1024 characters.
|
|
442
|
+
*
|
|
443
|
+
* @example README.md edited online with Bitbucket
|
|
444
|
+
*/
|
|
445
|
+
message: string;
|
|
446
|
+
/**
|
|
447
|
+
* Author
|
|
448
|
+
*
|
|
449
|
+
* Describes the author of a particular entity
|
|
450
|
+
*/
|
|
451
|
+
author: {
|
|
452
|
+
/**
|
|
453
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
454
|
+
* is 255 characters.
|
|
455
|
+
*
|
|
456
|
+
* @example Jane Doe
|
|
457
|
+
*/
|
|
458
|
+
name?: string;
|
|
459
|
+
/**
|
|
460
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
461
|
+
* length is 255 characters.
|
|
462
|
+
*
|
|
463
|
+
* @example jane_doe@atlassian.com
|
|
464
|
+
*/
|
|
465
|
+
email?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
468
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
469
|
+
* characters.
|
|
470
|
+
*
|
|
471
|
+
* @example jdoe
|
|
472
|
+
*/
|
|
473
|
+
username?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
476
|
+
*
|
|
477
|
+
* @example https://atlassian.com/account/jane_doe
|
|
478
|
+
*/
|
|
479
|
+
url?: string;
|
|
480
|
+
/**
|
|
481
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
482
|
+
*
|
|
483
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
484
|
+
*/
|
|
485
|
+
avatar?: string;
|
|
486
|
+
} & {
|
|
487
|
+
[key: string]: unknown;
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* The total number of files added, removed, or modified by this commit
|
|
491
|
+
*
|
|
492
|
+
* @example 1
|
|
493
|
+
*/
|
|
494
|
+
fileCount: number;
|
|
495
|
+
/**
|
|
496
|
+
* The URL of this commit. Max length is 2000 characters.
|
|
497
|
+
*
|
|
498
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/commits/a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
499
|
+
*/
|
|
500
|
+
url: string;
|
|
501
|
+
/**
|
|
502
|
+
* List of file changes. Max number of files is 10. Currently, only the first 5
|
|
503
|
+
* files are shown (sorted by path) in the UI. This UI behavior may change without
|
|
504
|
+
* notice.
|
|
505
|
+
*/
|
|
506
|
+
files?: ({
|
|
507
|
+
/**
|
|
508
|
+
* The path of the file. Max length is 1024 characters.
|
|
509
|
+
*
|
|
510
|
+
* @example /home/user/src/atlassian-connect-jira-example/README.md
|
|
511
|
+
*/
|
|
512
|
+
path: string;
|
|
513
|
+
/**
|
|
514
|
+
* The URL of this file. Max length is 2000 characters.
|
|
515
|
+
*
|
|
516
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/a7727ee6350c33cdf90826dc21abaa26a5704370/README.md
|
|
517
|
+
*/
|
|
518
|
+
url: string;
|
|
519
|
+
/**
|
|
520
|
+
* The operation performed on this file
|
|
521
|
+
*
|
|
522
|
+
* @example MODIFIED
|
|
523
|
+
*/
|
|
524
|
+
changeType: "ADDED" | "COPIED" | "DELETED" | "MODIFIED" | "MOVED" | "UNKNOWN";
|
|
525
|
+
/**
|
|
526
|
+
* Number of lines added to the file
|
|
527
|
+
*
|
|
528
|
+
* @example 0
|
|
529
|
+
*/
|
|
530
|
+
linesAdded: number;
|
|
531
|
+
/**
|
|
532
|
+
* Number of lines removed from the file
|
|
533
|
+
*
|
|
534
|
+
* @example 1
|
|
535
|
+
*/
|
|
536
|
+
linesRemoved: number;
|
|
537
|
+
} & {
|
|
538
|
+
[key: string]: unknown;
|
|
539
|
+
})[];
|
|
540
|
+
/**
|
|
541
|
+
* The author timestamp of this commit. Formatted as a UTC ISO 8601 date time
|
|
542
|
+
* format.
|
|
543
|
+
*
|
|
544
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
545
|
+
*/
|
|
546
|
+
authorTimestamp: string;
|
|
547
|
+
/**
|
|
548
|
+
* Shortened identifier for this commit, used for display. Max length is 255
|
|
549
|
+
* characters.
|
|
550
|
+
*
|
|
551
|
+
* @example a7727ee
|
|
552
|
+
*/
|
|
553
|
+
displayId: string;
|
|
554
|
+
} & {
|
|
555
|
+
[key: string]: unknown;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* The URL of the page for creating a pull request from this branch. Max length is
|
|
559
|
+
* 2000 characters.
|
|
560
|
+
*
|
|
561
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/pull-requests/new
|
|
562
|
+
*/
|
|
563
|
+
createPullRequestUrl?: string;
|
|
564
|
+
/**
|
|
565
|
+
* The URL of the branch. Max length is 2000 characters.
|
|
566
|
+
*
|
|
567
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/branch/master
|
|
568
|
+
*/
|
|
569
|
+
url: string;
|
|
570
|
+
} & {
|
|
571
|
+
[key: string]: unknown;
|
|
572
|
+
})[];
|
|
573
|
+
/**
|
|
574
|
+
* List of pull requests to update in this repository. Must not contain duplicate
|
|
575
|
+
* entity IDs. Maximum number of pull requests is 400
|
|
576
|
+
*/
|
|
577
|
+
pullRequests?: ({
|
|
578
|
+
/**
|
|
579
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
580
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
581
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
582
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
583
|
+
* is 1024 characters
|
|
584
|
+
*
|
|
585
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
586
|
+
*/
|
|
587
|
+
id: string;
|
|
588
|
+
/**
|
|
589
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
590
|
+
* Jira issue keys.
|
|
591
|
+
*
|
|
592
|
+
* @example [
|
|
593
|
+
* "ISSUE-1",
|
|
594
|
+
* "TEST-2"
|
|
595
|
+
* ]
|
|
596
|
+
*/
|
|
597
|
+
issueKeys: string[];
|
|
598
|
+
/**
|
|
599
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
600
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
601
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
602
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
603
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
604
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
605
|
+
* what is currently stored will be ignored.
|
|
606
|
+
*
|
|
607
|
+
* @example 1523494301248
|
|
608
|
+
*/
|
|
609
|
+
updateSequenceId: number;
|
|
610
|
+
/**
|
|
611
|
+
* The status of the pull request. In the case of concurrent updates, priority is
|
|
612
|
+
* given in the order OPEN, MERGED, DECLINED, UNKNOWN
|
|
613
|
+
*
|
|
614
|
+
* @example OPEN
|
|
615
|
+
*/
|
|
616
|
+
status: "OPEN" | "MERGED" | "DECLINED" | "UNKNOWN";
|
|
617
|
+
/**
|
|
618
|
+
* Title of the pull request. Max length is 1024 characters.
|
|
619
|
+
*
|
|
620
|
+
* @example Pull request 2, fixing all the issues caused by pull request #1
|
|
621
|
+
*/
|
|
622
|
+
title: string;
|
|
623
|
+
/**
|
|
624
|
+
* Author
|
|
625
|
+
*
|
|
626
|
+
* Describes the author of a particular entity
|
|
627
|
+
*/
|
|
628
|
+
author: {
|
|
629
|
+
/**
|
|
630
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
631
|
+
* is 255 characters.
|
|
632
|
+
*
|
|
633
|
+
* @example Jane Doe
|
|
634
|
+
*/
|
|
635
|
+
name?: string;
|
|
636
|
+
/**
|
|
637
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
638
|
+
* length is 255 characters.
|
|
639
|
+
*
|
|
640
|
+
* @example jane_doe@atlassian.com
|
|
641
|
+
*/
|
|
642
|
+
email?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
645
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
646
|
+
* characters.
|
|
647
|
+
*
|
|
648
|
+
* @example jdoe
|
|
649
|
+
*/
|
|
650
|
+
username?: string;
|
|
651
|
+
/**
|
|
652
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
653
|
+
*
|
|
654
|
+
* @example https://atlassian.com/account/jane_doe
|
|
655
|
+
*/
|
|
656
|
+
url?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
659
|
+
*
|
|
660
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
661
|
+
*/
|
|
662
|
+
avatar?: string;
|
|
663
|
+
} & {
|
|
664
|
+
[key: string]: unknown;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* The number of comments on the pull request
|
|
668
|
+
*
|
|
669
|
+
* @example 42
|
|
670
|
+
*/
|
|
671
|
+
commentCount: number;
|
|
672
|
+
/**
|
|
673
|
+
* The name of the source branch of this PR. Max length is 255 characters.
|
|
674
|
+
*
|
|
675
|
+
* @example ISSUE-1-feature-branch
|
|
676
|
+
*/
|
|
677
|
+
sourceBranch: string;
|
|
678
|
+
/**
|
|
679
|
+
* The url of the source branch of this PR. This is used to match this PR against
|
|
680
|
+
* the branch. Max length is 2000 characters.
|
|
681
|
+
*
|
|
682
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/branch/ISSUE-1-feature-branch
|
|
683
|
+
*/
|
|
684
|
+
sourceBranchUrl?: string;
|
|
685
|
+
/**
|
|
686
|
+
* The most recent update to this PR. Formatted as a UTC ISO 8601 date time format.
|
|
687
|
+
*
|
|
688
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
689
|
+
*/
|
|
690
|
+
lastUpdate: string;
|
|
691
|
+
/**
|
|
692
|
+
* The name of destination branch of this PR. Max length is 255 characters.
|
|
693
|
+
*
|
|
694
|
+
* @example master
|
|
695
|
+
*/
|
|
696
|
+
destinationBranch?: string;
|
|
697
|
+
/**
|
|
698
|
+
* The url of the destination branch of this PR. Max length is 2000 characters.
|
|
699
|
+
*
|
|
700
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/master
|
|
701
|
+
*/
|
|
702
|
+
destinationBranchUrl?: string;
|
|
703
|
+
/** The list of reviewers of this pull request */
|
|
704
|
+
reviewers?: ({
|
|
705
|
+
/**
|
|
706
|
+
* Deprecated. The name of this reviewer. Max length is 255 characters.
|
|
707
|
+
*
|
|
708
|
+
* @example Jane Doe
|
|
709
|
+
*/
|
|
710
|
+
name?: string;
|
|
711
|
+
/**
|
|
712
|
+
* The approval status of this reviewer, default is UNAPPROVED.
|
|
713
|
+
*
|
|
714
|
+
* @example APPROVED
|
|
715
|
+
*/
|
|
716
|
+
approvalStatus?: "APPROVED" | "UNAPPROVED";
|
|
717
|
+
/**
|
|
718
|
+
* Deprecated. The URL of the profile for this reviewer. Max length is 2000
|
|
719
|
+
* characters.
|
|
720
|
+
*
|
|
721
|
+
* @example https://atlassian.com/account/jane_doe
|
|
722
|
+
*/
|
|
723
|
+
url?: string;
|
|
724
|
+
/**
|
|
725
|
+
* Deprecated. The URL of the avatar for this reviewer. Max length is 2000
|
|
726
|
+
* characters.
|
|
727
|
+
*
|
|
728
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
729
|
+
*/
|
|
730
|
+
avatar?: string;
|
|
731
|
+
/**
|
|
732
|
+
* The email address of this reviewer. Max length is 254 characters.
|
|
733
|
+
*
|
|
734
|
+
* @example jane_doe@example.com
|
|
735
|
+
*/
|
|
736
|
+
email?: string;
|
|
737
|
+
/**
|
|
738
|
+
* The Atlassian Account ID (AAID) of this reviewer. Max length is 128 characters.
|
|
739
|
+
*
|
|
740
|
+
* @example 655363:e4ca5e2d-a901-40e3-877e-bf5d22c0f130
|
|
741
|
+
*/
|
|
742
|
+
accountId?: string;
|
|
743
|
+
} & {
|
|
744
|
+
[key: string]: unknown;
|
|
745
|
+
})[];
|
|
746
|
+
/**
|
|
747
|
+
* The URL of this pull request. Max length is 2000 characters.
|
|
748
|
+
*
|
|
749
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/pull-requests/2
|
|
750
|
+
*/
|
|
751
|
+
url: string;
|
|
752
|
+
/**
|
|
753
|
+
* Shortened identifier for this pull request, used for display. Max length is 255
|
|
754
|
+
* characters.
|
|
755
|
+
*
|
|
756
|
+
* @example Pull request 2
|
|
757
|
+
*/
|
|
758
|
+
displayId: string;
|
|
759
|
+
} & {
|
|
760
|
+
[key: string]: unknown;
|
|
761
|
+
})[];
|
|
762
|
+
/**
|
|
763
|
+
* The URL of the avatar for this repository. Max length is 2000 characters.
|
|
764
|
+
*
|
|
765
|
+
* @example http://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/avatar/32
|
|
766
|
+
*/
|
|
767
|
+
avatar?: string;
|
|
768
|
+
/**
|
|
769
|
+
* Description of the avatar for this repository. Max length is 1024 characters.
|
|
770
|
+
*
|
|
771
|
+
* @example Avatar description
|
|
772
|
+
*/
|
|
773
|
+
avatarDescription?: string;
|
|
774
|
+
/**
|
|
775
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
776
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
777
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
778
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
779
|
+
* is 1024 characters.
|
|
780
|
+
*
|
|
781
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
782
|
+
*/
|
|
783
|
+
id: string;
|
|
784
|
+
/**
|
|
785
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
786
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
787
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
788
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
789
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
790
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
791
|
+
* what is currently stored will be ignored.
|
|
792
|
+
*
|
|
793
|
+
* @example 1523494301248
|
|
794
|
+
*/
|
|
795
|
+
updateSequenceId: number;
|
|
796
|
+
} & {
|
|
797
|
+
[key: string]: unknown;
|
|
798
|
+
}>;
|
|
799
|
+
/**
|
|
800
|
+
* Stores development information provided in the request to make it available
|
|
801
|
+
* when viewing issues in Jira. Existing repository and entity data for the same
|
|
802
|
+
* ID will be replaced if the updateSequenceId of existing data is less than the
|
|
803
|
+
* incoming data. Submissions are performed asynchronously. Submitted data will
|
|
804
|
+
* eventually be available in Jira; most updates are available within a short
|
|
805
|
+
* period of time, but may take some time during peak load and/or maintenance
|
|
806
|
+
* times.
|
|
807
|
+
*
|
|
808
|
+
* @returns Submission accepted. Each submitted repository and entity that is of a valid
|
|
809
|
+
* format will be eventually available in Jira.
|
|
810
|
+
* @path {POST} /rest/devinfo/0.10/bulk
|
|
811
|
+
*/
|
|
812
|
+
storeDevelopmentInformation({ authorization, requestBody, }: {
|
|
813
|
+
/**
|
|
814
|
+
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
815
|
+
* an on-premise integration that corresponds to an app installed in Jira. If the
|
|
816
|
+
* JWT token corresponds to a Connect app that does not define the
|
|
817
|
+
* jiraDevelopmentTool module it will be rejected with a 403. See
|
|
818
|
+
* https://developer.atlassian.com/blog/2015/01/understanding-jwt/ for more
|
|
819
|
+
* details about Connect JWT tokens. See
|
|
820
|
+
* https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/
|
|
821
|
+
* for details about on-premise integrations.
|
|
822
|
+
*/
|
|
823
|
+
authorization: string;
|
|
824
|
+
/** Request object, which contains development information */
|
|
825
|
+
requestBody: {
|
|
826
|
+
/**
|
|
827
|
+
* List of repositories containing development information. Must not contain
|
|
828
|
+
* duplicates. Maximum number of entities across all repositories is 1000.
|
|
829
|
+
*/
|
|
830
|
+
repositories: ({
|
|
831
|
+
/**
|
|
832
|
+
* The name of this repository. Max length is 255 characters.
|
|
833
|
+
*
|
|
834
|
+
* @example atlassian-connect-jira-example
|
|
835
|
+
*/
|
|
836
|
+
name: string;
|
|
837
|
+
/**
|
|
838
|
+
* Description of this repository. Max length is 1024 characters.
|
|
839
|
+
*
|
|
840
|
+
* @example The repository which stores code of the Atlassian Connect Add-on Devinfo
|
|
841
|
+
* application.
|
|
842
|
+
*/
|
|
843
|
+
description?: string;
|
|
844
|
+
/**
|
|
845
|
+
* The ID of the repository this repository was forked from, if it's a fork. Max
|
|
846
|
+
* length is 1024 characters.
|
|
847
|
+
*
|
|
848
|
+
* @example 56c7c750-cee2-48e2-b920-d7706dfd11f7
|
|
849
|
+
*/
|
|
850
|
+
forkOf?: string;
|
|
851
|
+
/**
|
|
852
|
+
* The URL of this repository. Max length is 2000 characters.
|
|
853
|
+
*
|
|
854
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example
|
|
855
|
+
*/
|
|
856
|
+
url: string;
|
|
857
|
+
/**
|
|
858
|
+
* List of commits to update in this repository. Must not contain duplicate entity
|
|
859
|
+
* IDs. Maximum number of commits is 400
|
|
860
|
+
*/
|
|
861
|
+
commits?: ({
|
|
862
|
+
/**
|
|
863
|
+
* The identifier or hash of the commit. Will be used for cross entity linking.
|
|
864
|
+
* Must be unique for all commits within a repository, i.e., only one commit can
|
|
865
|
+
* have ID 'X' in repository 'Y'. But adding, e.g., a branch with ID 'X' to
|
|
866
|
+
* repository 'Y' is acceptable. Only alphanumeric characters, and '~.-_', are
|
|
867
|
+
* allowed. Max length is 1024 characters
|
|
868
|
+
*
|
|
869
|
+
* @example a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
870
|
+
*/
|
|
871
|
+
id: string;
|
|
872
|
+
/**
|
|
873
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
874
|
+
* Jira issue keys.
|
|
875
|
+
*
|
|
876
|
+
* @example [
|
|
877
|
+
* "ISSUE-1",
|
|
878
|
+
* "TEST-2"
|
|
879
|
+
* ]
|
|
880
|
+
*/
|
|
881
|
+
issueKeys: string[];
|
|
882
|
+
/**
|
|
883
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
884
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
885
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
886
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
887
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
888
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
889
|
+
* what is currently stored will be ignored.
|
|
890
|
+
*
|
|
891
|
+
* @example 1523494301248
|
|
892
|
+
*/
|
|
893
|
+
updateSequenceId: number;
|
|
894
|
+
/** Deprecated. Use the id field instead. */
|
|
895
|
+
hash?: string;
|
|
896
|
+
/**
|
|
897
|
+
* The set of flags for this commit
|
|
898
|
+
*
|
|
899
|
+
* @example [MERGE_COMMIT]
|
|
900
|
+
*/
|
|
901
|
+
flags?: "MERGE_COMMIT"[];
|
|
902
|
+
/**
|
|
903
|
+
* The commit message. Max length is 1024 characters. If anything longer is
|
|
904
|
+
* supplied, it will be truncated down to 1024 characters.
|
|
905
|
+
*
|
|
906
|
+
* @example README.md edited online with Bitbucket
|
|
907
|
+
*/
|
|
908
|
+
message: string;
|
|
909
|
+
/**
|
|
910
|
+
* Author
|
|
911
|
+
*
|
|
912
|
+
* Describes the author of a particular entity
|
|
913
|
+
*/
|
|
914
|
+
author: {
|
|
915
|
+
/**
|
|
916
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
917
|
+
* is 255 characters.
|
|
918
|
+
*
|
|
919
|
+
* @example Jane Doe
|
|
920
|
+
*/
|
|
921
|
+
name?: string;
|
|
922
|
+
/**
|
|
923
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
924
|
+
* length is 255 characters.
|
|
925
|
+
*
|
|
926
|
+
* @example jane_doe@atlassian.com
|
|
927
|
+
*/
|
|
928
|
+
email?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
931
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
932
|
+
* characters.
|
|
933
|
+
*
|
|
934
|
+
* @example jdoe
|
|
935
|
+
*/
|
|
936
|
+
username?: string;
|
|
937
|
+
/**
|
|
938
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
939
|
+
*
|
|
940
|
+
* @example https://atlassian.com/account/jane_doe
|
|
941
|
+
*/
|
|
942
|
+
url?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
945
|
+
*
|
|
946
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
947
|
+
*/
|
|
948
|
+
avatar?: string;
|
|
949
|
+
} & {
|
|
950
|
+
[key: string]: unknown;
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* The total number of files added, removed, or modified by this commit
|
|
954
|
+
*
|
|
955
|
+
* @example 1
|
|
956
|
+
*/
|
|
957
|
+
fileCount: number;
|
|
958
|
+
/**
|
|
959
|
+
* The URL of this commit. Max length is 2000 characters.
|
|
960
|
+
*
|
|
961
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/commits/a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
962
|
+
*/
|
|
963
|
+
url: string;
|
|
964
|
+
/**
|
|
965
|
+
* List of file changes. Max number of files is 10. Currently, only the first 5
|
|
966
|
+
* files are shown (sorted by path) in the UI. This UI behavior may change without
|
|
967
|
+
* notice.
|
|
968
|
+
*/
|
|
969
|
+
files?: ({
|
|
970
|
+
/**
|
|
971
|
+
* The path of the file. Max length is 1024 characters.
|
|
972
|
+
*
|
|
973
|
+
* @example /home/user/src/atlassian-connect-jira-example/README.md
|
|
974
|
+
*/
|
|
975
|
+
path: string;
|
|
976
|
+
/**
|
|
977
|
+
* The URL of this file. Max length is 2000 characters.
|
|
978
|
+
*
|
|
979
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/a7727ee6350c33cdf90826dc21abaa26a5704370/README.md
|
|
980
|
+
*/
|
|
981
|
+
url: string;
|
|
982
|
+
/**
|
|
983
|
+
* The operation performed on this file
|
|
984
|
+
*
|
|
985
|
+
* @example MODIFIED
|
|
986
|
+
*/
|
|
987
|
+
changeType: "ADDED" | "COPIED" | "DELETED" | "MODIFIED" | "MOVED" | "UNKNOWN";
|
|
988
|
+
/**
|
|
989
|
+
* Number of lines added to the file
|
|
990
|
+
*
|
|
991
|
+
* @example 0
|
|
992
|
+
*/
|
|
993
|
+
linesAdded: number;
|
|
994
|
+
/**
|
|
995
|
+
* Number of lines removed from the file
|
|
996
|
+
*
|
|
997
|
+
* @example 1
|
|
998
|
+
*/
|
|
999
|
+
linesRemoved: number;
|
|
1000
|
+
} & {
|
|
1001
|
+
[key: string]: unknown;
|
|
1002
|
+
})[];
|
|
1003
|
+
/**
|
|
1004
|
+
* The author timestamp of this commit. Formatted as a UTC ISO 8601 date time
|
|
1005
|
+
* format.
|
|
1006
|
+
*
|
|
1007
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
1008
|
+
*/
|
|
1009
|
+
authorTimestamp: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Shortened identifier for this commit, used for display. Max length is 255
|
|
1012
|
+
* characters.
|
|
1013
|
+
*
|
|
1014
|
+
* @example a7727ee
|
|
1015
|
+
*/
|
|
1016
|
+
displayId: string;
|
|
1017
|
+
} & {
|
|
1018
|
+
[key: string]: unknown;
|
|
1019
|
+
})[];
|
|
1020
|
+
/**
|
|
1021
|
+
* List of branches to update in this repository. Must not contain duplicate
|
|
1022
|
+
* entity IDs. Maximum number of branches is 400.
|
|
1023
|
+
*/
|
|
1024
|
+
branches?: ({
|
|
1025
|
+
/**
|
|
1026
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
1027
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
1028
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
1029
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
1030
|
+
* is 1024 characters.
|
|
1031
|
+
*
|
|
1032
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
1033
|
+
*/
|
|
1034
|
+
id: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
1037
|
+
* Jira issue keys.
|
|
1038
|
+
*
|
|
1039
|
+
* @example [
|
|
1040
|
+
* "ISSUE-1",
|
|
1041
|
+
* "TEST-2"
|
|
1042
|
+
* ]
|
|
1043
|
+
*/
|
|
1044
|
+
issueKeys: string[];
|
|
1045
|
+
/**
|
|
1046
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
1047
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
1048
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
1049
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
1050
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
1051
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
1052
|
+
* what is currently stored will be ignored.
|
|
1053
|
+
*
|
|
1054
|
+
* @example 1523494301248
|
|
1055
|
+
*/
|
|
1056
|
+
updateSequenceId: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* The name of the branch. Max length is 512 characters.
|
|
1059
|
+
*
|
|
1060
|
+
* @example master
|
|
1061
|
+
*/
|
|
1062
|
+
name: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* Commit
|
|
1065
|
+
*
|
|
1066
|
+
* Represents a commit in the version control system.
|
|
1067
|
+
*/
|
|
1068
|
+
lastCommit: {
|
|
1069
|
+
/**
|
|
1070
|
+
* The identifier or hash of the commit. Will be used for cross entity linking.
|
|
1071
|
+
* Must be unique for all commits within a repository, i.e., only one commit can
|
|
1072
|
+
* have ID 'X' in repository 'Y'. But adding, e.g., a branch with ID 'X' to
|
|
1073
|
+
* repository 'Y' is acceptable. Only alphanumeric characters, and '~.-_', are
|
|
1074
|
+
* allowed. Max length is 1024 characters
|
|
1075
|
+
*
|
|
1076
|
+
* @example a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
1077
|
+
*/
|
|
1078
|
+
id: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
1081
|
+
* Jira issue keys.
|
|
1082
|
+
*
|
|
1083
|
+
* @example [
|
|
1084
|
+
* "ISSUE-1",
|
|
1085
|
+
* "TEST-2"
|
|
1086
|
+
* ]
|
|
1087
|
+
*/
|
|
1088
|
+
issueKeys: string[];
|
|
1089
|
+
/**
|
|
1090
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
1091
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
1092
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
1093
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
1094
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
1095
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
1096
|
+
* what is currently stored will be ignored.
|
|
1097
|
+
*
|
|
1098
|
+
* @example 1523494301248
|
|
1099
|
+
*/
|
|
1100
|
+
updateSequenceId: number;
|
|
1101
|
+
/** Deprecated. Use the id field instead. */
|
|
1102
|
+
hash?: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* The set of flags for this commit
|
|
1105
|
+
*
|
|
1106
|
+
* @example [MERGE_COMMIT]
|
|
1107
|
+
*/
|
|
1108
|
+
flags?: "MERGE_COMMIT"[];
|
|
1109
|
+
/**
|
|
1110
|
+
* The commit message. Max length is 1024 characters. If anything longer is
|
|
1111
|
+
* supplied, it will be truncated down to 1024 characters.
|
|
1112
|
+
*
|
|
1113
|
+
* @example README.md edited online with Bitbucket
|
|
1114
|
+
*/
|
|
1115
|
+
message: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Author
|
|
1118
|
+
*
|
|
1119
|
+
* Describes the author of a particular entity
|
|
1120
|
+
*/
|
|
1121
|
+
author: {
|
|
1122
|
+
/**
|
|
1123
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
1124
|
+
* is 255 characters.
|
|
1125
|
+
*
|
|
1126
|
+
* @example Jane Doe
|
|
1127
|
+
*/
|
|
1128
|
+
name?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
1131
|
+
* length is 255 characters.
|
|
1132
|
+
*
|
|
1133
|
+
* @example jane_doe@atlassian.com
|
|
1134
|
+
*/
|
|
1135
|
+
email?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
1138
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
1139
|
+
* characters.
|
|
1140
|
+
*
|
|
1141
|
+
* @example jdoe
|
|
1142
|
+
*/
|
|
1143
|
+
username?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
1146
|
+
*
|
|
1147
|
+
* @example https://atlassian.com/account/jane_doe
|
|
1148
|
+
*/
|
|
1149
|
+
url?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
1152
|
+
*
|
|
1153
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
1154
|
+
*/
|
|
1155
|
+
avatar?: string;
|
|
1156
|
+
} & {
|
|
1157
|
+
[key: string]: unknown;
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* The total number of files added, removed, or modified by this commit
|
|
1161
|
+
*
|
|
1162
|
+
* @example 1
|
|
1163
|
+
*/
|
|
1164
|
+
fileCount: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* The URL of this commit. Max length is 2000 characters.
|
|
1167
|
+
*
|
|
1168
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/commits/a7727ee6350c33cdf90826dc21abaa26a5704370
|
|
1169
|
+
*/
|
|
1170
|
+
url: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* List of file changes. Max number of files is 10. Currently, only the first 5
|
|
1173
|
+
* files are shown (sorted by path) in the UI. This UI behavior may change without
|
|
1174
|
+
* notice.
|
|
1175
|
+
*/
|
|
1176
|
+
files?: ({
|
|
1177
|
+
/**
|
|
1178
|
+
* The path of the file. Max length is 1024 characters.
|
|
1179
|
+
*
|
|
1180
|
+
* @example /home/user/src/atlassian-connect-jira-example/README.md
|
|
1181
|
+
*/
|
|
1182
|
+
path: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* The URL of this file. Max length is 2000 characters.
|
|
1185
|
+
*
|
|
1186
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/a7727ee6350c33cdf90826dc21abaa26a5704370/README.md
|
|
1187
|
+
*/
|
|
1188
|
+
url: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* The operation performed on this file
|
|
1191
|
+
*
|
|
1192
|
+
* @example MODIFIED
|
|
1193
|
+
*/
|
|
1194
|
+
changeType: "ADDED" | "COPIED" | "DELETED" | "MODIFIED" | "MOVED" | "UNKNOWN";
|
|
1195
|
+
/**
|
|
1196
|
+
* Number of lines added to the file
|
|
1197
|
+
*
|
|
1198
|
+
* @example 0
|
|
1199
|
+
*/
|
|
1200
|
+
linesAdded: number;
|
|
1201
|
+
/**
|
|
1202
|
+
* Number of lines removed from the file
|
|
1203
|
+
*
|
|
1204
|
+
* @example 1
|
|
1205
|
+
*/
|
|
1206
|
+
linesRemoved: number;
|
|
1207
|
+
} & {
|
|
1208
|
+
[key: string]: unknown;
|
|
1209
|
+
})[];
|
|
1210
|
+
/**
|
|
1211
|
+
* The author timestamp of this commit. Formatted as a UTC ISO 8601 date time
|
|
1212
|
+
* format.
|
|
1213
|
+
*
|
|
1214
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
1215
|
+
*/
|
|
1216
|
+
authorTimestamp: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Shortened identifier for this commit, used for display. Max length is 255
|
|
1219
|
+
* characters.
|
|
1220
|
+
*
|
|
1221
|
+
* @example a7727ee
|
|
1222
|
+
*/
|
|
1223
|
+
displayId: string;
|
|
1224
|
+
} & {
|
|
1225
|
+
[key: string]: unknown;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* The URL of the page for creating a pull request from this branch. Max length is
|
|
1229
|
+
* 2000 characters.
|
|
1230
|
+
*
|
|
1231
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/pull-requests/new
|
|
1232
|
+
*/
|
|
1233
|
+
createPullRequestUrl?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* The URL of the branch. Max length is 2000 characters.
|
|
1236
|
+
*
|
|
1237
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/branch/master
|
|
1238
|
+
*/
|
|
1239
|
+
url: string;
|
|
1240
|
+
} & {
|
|
1241
|
+
[key: string]: unknown;
|
|
1242
|
+
})[];
|
|
1243
|
+
/**
|
|
1244
|
+
* List of pull requests to update in this repository. Must not contain duplicate
|
|
1245
|
+
* entity IDs. Maximum number of pull requests is 400
|
|
1246
|
+
*/
|
|
1247
|
+
pullRequests?: ({
|
|
1248
|
+
/**
|
|
1249
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
1250
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
1251
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
1252
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
1253
|
+
* is 1024 characters
|
|
1254
|
+
*
|
|
1255
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
1256
|
+
*/
|
|
1257
|
+
id: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* List of issues keys that this entity is associated with. They must be valid
|
|
1260
|
+
* Jira issue keys.
|
|
1261
|
+
*
|
|
1262
|
+
* @example [
|
|
1263
|
+
* "ISSUE-1",
|
|
1264
|
+
* "TEST-2"
|
|
1265
|
+
* ]
|
|
1266
|
+
*/
|
|
1267
|
+
issueKeys: string[];
|
|
1268
|
+
/**
|
|
1269
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
1270
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
1271
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
1272
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
1273
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
1274
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
1275
|
+
* what is currently stored will be ignored.
|
|
1276
|
+
*
|
|
1277
|
+
* @example 1523494301248
|
|
1278
|
+
*/
|
|
1279
|
+
updateSequenceId: number;
|
|
1280
|
+
/**
|
|
1281
|
+
* The status of the pull request. In the case of concurrent updates, priority is
|
|
1282
|
+
* given in the order OPEN, MERGED, DECLINED, UNKNOWN
|
|
1283
|
+
*
|
|
1284
|
+
* @example OPEN
|
|
1285
|
+
*/
|
|
1286
|
+
status: "OPEN" | "MERGED" | "DECLINED" | "UNKNOWN";
|
|
1287
|
+
/**
|
|
1288
|
+
* Title of the pull request. Max length is 1024 characters.
|
|
1289
|
+
*
|
|
1290
|
+
* @example Pull request 2, fixing all the issues caused by pull request #1
|
|
1291
|
+
*/
|
|
1292
|
+
title: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* Author
|
|
1295
|
+
*
|
|
1296
|
+
* Describes the author of a particular entity
|
|
1297
|
+
*/
|
|
1298
|
+
author: {
|
|
1299
|
+
/**
|
|
1300
|
+
* Deprecated. The name of this user in a format suitable for display. Max length
|
|
1301
|
+
* is 255 characters.
|
|
1302
|
+
*
|
|
1303
|
+
* @example Jane Doe
|
|
1304
|
+
*/
|
|
1305
|
+
name?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* The email address of the user. Used to associate the user with a Jira user. Max
|
|
1308
|
+
* length is 255 characters.
|
|
1309
|
+
*
|
|
1310
|
+
* @example jane_doe@atlassian.com
|
|
1311
|
+
*/
|
|
1312
|
+
email?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Deprecated. The username of the user. Used to associate the user with a Jira
|
|
1315
|
+
* user if there are multiple users for a given email. Max length is 255
|
|
1316
|
+
* characters.
|
|
1317
|
+
*
|
|
1318
|
+
* @example jdoe
|
|
1319
|
+
*/
|
|
1320
|
+
username?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Deprecated. The URL of the profile for this user. Max length is 2000 characters.
|
|
1323
|
+
*
|
|
1324
|
+
* @example https://atlassian.com/account/jane_doe
|
|
1325
|
+
*/
|
|
1326
|
+
url?: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Deprecated. The URL of the avatar for this user. Max length is 2000 characters.
|
|
1329
|
+
*
|
|
1330
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
1331
|
+
*/
|
|
1332
|
+
avatar?: string;
|
|
1333
|
+
} & {
|
|
1334
|
+
[key: string]: unknown;
|
|
1335
|
+
};
|
|
1336
|
+
/**
|
|
1337
|
+
* The number of comments on the pull request
|
|
1338
|
+
*
|
|
1339
|
+
* @example 42
|
|
1340
|
+
*/
|
|
1341
|
+
commentCount: number;
|
|
1342
|
+
/**
|
|
1343
|
+
* The name of the source branch of this PR. Max length is 255 characters.
|
|
1344
|
+
*
|
|
1345
|
+
* @example ISSUE-1-feature-branch
|
|
1346
|
+
*/
|
|
1347
|
+
sourceBranch: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* The url of the source branch of this PR. This is used to match this PR against
|
|
1350
|
+
* the branch. Max length is 2000 characters.
|
|
1351
|
+
*
|
|
1352
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/branch/ISSUE-1-feature-branch
|
|
1353
|
+
*/
|
|
1354
|
+
sourceBranchUrl?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* The most recent update to this PR. Formatted as a UTC ISO 8601 date time format.
|
|
1357
|
+
*
|
|
1358
|
+
* @example 2016-10-31T23:27:25+00:00
|
|
1359
|
+
*/
|
|
1360
|
+
lastUpdate: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* The name of destination branch of this PR. Max length is 255 characters.
|
|
1363
|
+
*
|
|
1364
|
+
* @example master
|
|
1365
|
+
*/
|
|
1366
|
+
destinationBranch?: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* The url of the destination branch of this PR. Max length is 2000 characters.
|
|
1369
|
+
*
|
|
1370
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/src/master
|
|
1371
|
+
*/
|
|
1372
|
+
destinationBranchUrl?: string;
|
|
1373
|
+
/** The list of reviewers of this pull request */
|
|
1374
|
+
reviewers?: ({
|
|
1375
|
+
/**
|
|
1376
|
+
* Deprecated. The name of this reviewer. Max length is 255 characters.
|
|
1377
|
+
*
|
|
1378
|
+
* @example Jane Doe
|
|
1379
|
+
*/
|
|
1380
|
+
name?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The approval status of this reviewer, default is UNAPPROVED.
|
|
1383
|
+
*
|
|
1384
|
+
* @example APPROVED
|
|
1385
|
+
*/
|
|
1386
|
+
approvalStatus?: "APPROVED" | "UNAPPROVED";
|
|
1387
|
+
/**
|
|
1388
|
+
* Deprecated. The URL of the profile for this reviewer. Max length is 2000
|
|
1389
|
+
* characters.
|
|
1390
|
+
*
|
|
1391
|
+
* @example https://atlassian.com/account/jane_doe
|
|
1392
|
+
*/
|
|
1393
|
+
url?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Deprecated. The URL of the avatar for this reviewer. Max length is 2000
|
|
1396
|
+
* characters.
|
|
1397
|
+
*
|
|
1398
|
+
* @example https://atlassian.com/account/jane_doe/avatar/32
|
|
1399
|
+
*/
|
|
1400
|
+
avatar?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* The email address of this reviewer. Max length is 254 characters.
|
|
1403
|
+
*
|
|
1404
|
+
* @example jane_doe@example.com
|
|
1405
|
+
*/
|
|
1406
|
+
email?: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* The Atlassian Account ID (AAID) of this reviewer. Max length is 128 characters.
|
|
1409
|
+
*
|
|
1410
|
+
* @example 655363:e4ca5e2d-a901-40e3-877e-bf5d22c0f130
|
|
1411
|
+
*/
|
|
1412
|
+
accountId?: string;
|
|
1413
|
+
} & {
|
|
1414
|
+
[key: string]: unknown;
|
|
1415
|
+
})[];
|
|
1416
|
+
/**
|
|
1417
|
+
* The URL of this pull request. Max length is 2000 characters.
|
|
1418
|
+
*
|
|
1419
|
+
* @example https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/pull-requests/2
|
|
1420
|
+
*/
|
|
1421
|
+
url: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Shortened identifier for this pull request, used for display. Max length is 255
|
|
1424
|
+
* characters.
|
|
1425
|
+
*
|
|
1426
|
+
* @example Pull request 2
|
|
1427
|
+
*/
|
|
1428
|
+
displayId: string;
|
|
1429
|
+
} & {
|
|
1430
|
+
[key: string]: unknown;
|
|
1431
|
+
})[];
|
|
1432
|
+
/**
|
|
1433
|
+
* The URL of the avatar for this repository. Max length is 2000 characters.
|
|
1434
|
+
*
|
|
1435
|
+
* @example http://bitbucket.org/atlassianlabs/atlassian-connect-jira-example/avatar/32
|
|
1436
|
+
*/
|
|
1437
|
+
avatar?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Description of the avatar for this repository. Max length is 1024 characters.
|
|
1440
|
+
*
|
|
1441
|
+
* @example Avatar description
|
|
1442
|
+
*/
|
|
1443
|
+
avatarDescription?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* The ID of this entity. Will be used for cross entity linking. Must be unique by
|
|
1446
|
+
* entity type within a repository, i.e., only one commit can have ID 'X' in
|
|
1447
|
+
* repository 'Y'. But adding, e.g., a branch with ID 'X' to repository 'Y' is
|
|
1448
|
+
* acceptable. Only alphanumeric characters, and '~.-_', are allowed. Max length
|
|
1449
|
+
* is 1024 characters.
|
|
1450
|
+
*
|
|
1451
|
+
* @example c6c7c750-cee2-48e2-b920-d7706dfd11f9
|
|
1452
|
+
*/
|
|
1453
|
+
id: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* An ID used to apply an ordering to updates for this entity in the case of
|
|
1456
|
+
* out-of-order receipt of update requests. This can be any monotonically
|
|
1457
|
+
* increasing number. A suggested implementation is to use epoch millis from the
|
|
1458
|
+
* provider system, but other alternatives are valid (e.g. a provider could store
|
|
1459
|
+
* a counter against each entity and increment that on each update to Jira).
|
|
1460
|
+
* Updates for an entity that are received with an updateSqeuenceId lower than
|
|
1461
|
+
* what is currently stored will be ignored.
|
|
1462
|
+
*
|
|
1463
|
+
* @example 1523494301248
|
|
1464
|
+
*/
|
|
1465
|
+
updateSequenceId: number;
|
|
1466
|
+
} & {
|
|
1467
|
+
[key: string]: unknown;
|
|
1468
|
+
})[];
|
|
1469
|
+
/**
|
|
1470
|
+
* Flag to prevent automatic issue transitions and smart commits being fired,
|
|
1471
|
+
* default is false.
|
|
1472
|
+
*/
|
|
1473
|
+
preventTransitions?: boolean;
|
|
1474
|
+
/**
|
|
1475
|
+
* Indicates the operation being performed by the provider system when sending
|
|
1476
|
+
* this data. "NORMAL" - Data received during normal operation (e.g. a user
|
|
1477
|
+
* pushing a branch). "BACKFILL" - Data received while backfilling existing data
|
|
1478
|
+
* (e.g. indexing a newly connected account). Default is "NORMAL". Please note
|
|
1479
|
+
* that "BACKFILL" operations have a much higher rate-limiting threshold but are
|
|
1480
|
+
* also processed slower in comparison to "NORMAL" operations.
|
|
1481
|
+
*
|
|
1482
|
+
* @example NORMAL
|
|
1483
|
+
*/
|
|
1484
|
+
operationType?: "NORMAL" | "BACKFILL";
|
|
1485
|
+
/**
|
|
1486
|
+
* Arbitrary properties to tag the submitted repositories with. These properties
|
|
1487
|
+
* can be used for delete operations to e.g. clean up all development information
|
|
1488
|
+
* associated with an account in the event that the account is removed from the
|
|
1489
|
+
* provider system. Note that these properties will never be returned with
|
|
1490
|
+
* repository or entity data. They are not intended for use as metadata to
|
|
1491
|
+
* associate with a repository. Maximum length of each key or value is 255
|
|
1492
|
+
* characters. Maximum allowed number of properties key/value pairs is 5.
|
|
1493
|
+
* Properties keys cannot start with '_' character. Properties keys cannot contain
|
|
1494
|
+
* ':' character.
|
|
1495
|
+
*/
|
|
1496
|
+
properties?: {
|
|
1497
|
+
[key: string]: string;
|
|
1498
|
+
};
|
|
1499
|
+
/**
|
|
1500
|
+
* ProviderMetadata
|
|
1501
|
+
*
|
|
1502
|
+
* Information about the provider. This is useful for auditing, logging,
|
|
1503
|
+
* debugging, and other internal uses. It is not considered private information.
|
|
1504
|
+
* Hence, it may not contain personally identifiable information.
|
|
1505
|
+
*/
|
|
1506
|
+
providerMetadata?: {
|
|
1507
|
+
/**
|
|
1508
|
+
* An optional name of the source of the development information data.
|
|
1509
|
+
*
|
|
1510
|
+
* @example Bitbucket Server 6.7.2
|
|
1511
|
+
*/
|
|
1512
|
+
product?: string;
|
|
1513
|
+
} & {
|
|
1514
|
+
[key: string]: unknown;
|
|
1515
|
+
};
|
|
1516
|
+
} & {
|
|
1517
|
+
[key: string]: unknown;
|
|
1518
|
+
};
|
|
1519
|
+
}): Promise<{
|
|
1520
|
+
/**
|
|
1521
|
+
* The IDs of devinfo entities that have been accepted for submission grouped by
|
|
1522
|
+
* their repository IDs. Note that a devinfo entity that isn't updated due to it's
|
|
1523
|
+
* updateSequenceId being out of order is not considered a failed submission.
|
|
1524
|
+
*/
|
|
1525
|
+
acceptedDevinfoEntities?: {
|
|
1526
|
+
/**
|
|
1527
|
+
* EntityIds
|
|
1528
|
+
*
|
|
1529
|
+
* IDs of entities grouped by entity type
|
|
1530
|
+
*/
|
|
1531
|
+
[entityIds: string]: {
|
|
1532
|
+
/** Commits IDs */
|
|
1533
|
+
commits?: string[];
|
|
1534
|
+
/** Branch IDs */
|
|
1535
|
+
branches?: string[];
|
|
1536
|
+
/** Pull request IDs */
|
|
1537
|
+
pullRequests?: string[];
|
|
1538
|
+
} & {
|
|
1539
|
+
[key: string]: unknown;
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
/**
|
|
1543
|
+
* IDs of devinfo entities that have not been accepted for submission and caused
|
|
1544
|
+
* error descriptions, usually due to a problem with the request data. The
|
|
1545
|
+
* entities (if present) will be grouped by their repository id and type. Entity
|
|
1546
|
+
* IDs are listed with errors associated with that devinfo entity that have
|
|
1547
|
+
* prevented it being submitted.
|
|
1548
|
+
*/
|
|
1549
|
+
failedDevinfoEntities?: {
|
|
1550
|
+
/**
|
|
1551
|
+
* RepositoryErrors
|
|
1552
|
+
*
|
|
1553
|
+
* Represents errors related to a particular repository and its entities
|
|
1554
|
+
*/
|
|
1555
|
+
[repositoryErrors: string]: {
|
|
1556
|
+
/** Repository errors */
|
|
1557
|
+
errorMessages?: ({
|
|
1558
|
+
/** A human-readable message describing the error. */
|
|
1559
|
+
message: string;
|
|
1560
|
+
/**
|
|
1561
|
+
* An optional trace ID that can be used by Jira developers to locate the source
|
|
1562
|
+
* of the error.
|
|
1563
|
+
*/
|
|
1564
|
+
errorTraceId?: string;
|
|
1565
|
+
} & {
|
|
1566
|
+
[key: string]: unknown;
|
|
1567
|
+
})[];
|
|
1568
|
+
/** Commits errors */
|
|
1569
|
+
commits?: ({
|
|
1570
|
+
/** Entity id */
|
|
1571
|
+
id: string;
|
|
1572
|
+
/** Error message */
|
|
1573
|
+
errorMessages?: ({
|
|
1574
|
+
/** A human-readable message describing the error. */
|
|
1575
|
+
message: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* An optional trace ID that can be used by Jira developers to locate the source
|
|
1578
|
+
* of the error.
|
|
1579
|
+
*/
|
|
1580
|
+
errorTraceId?: string;
|
|
1581
|
+
} & {
|
|
1582
|
+
[key: string]: unknown;
|
|
1583
|
+
})[];
|
|
1584
|
+
} & {
|
|
1585
|
+
[key: string]: unknown;
|
|
1586
|
+
})[];
|
|
1587
|
+
/** Branches errors */
|
|
1588
|
+
branches?: ({
|
|
1589
|
+
/** Entity id */
|
|
1590
|
+
id: string;
|
|
1591
|
+
/** Error message */
|
|
1592
|
+
errorMessages?: ({
|
|
1593
|
+
/** A human-readable message describing the error. */
|
|
1594
|
+
message: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* An optional trace ID that can be used by Jira developers to locate the source
|
|
1597
|
+
* of the error.
|
|
1598
|
+
*/
|
|
1599
|
+
errorTraceId?: string;
|
|
1600
|
+
} & {
|
|
1601
|
+
[key: string]: unknown;
|
|
1602
|
+
})[];
|
|
1603
|
+
} & {
|
|
1604
|
+
[key: string]: unknown;
|
|
1605
|
+
})[];
|
|
1606
|
+
/** Pull requests errors */
|
|
1607
|
+
pullRequests?: ({
|
|
1608
|
+
/** Entity id */
|
|
1609
|
+
id: string;
|
|
1610
|
+
/** Error message */
|
|
1611
|
+
errorMessages?: ({
|
|
1612
|
+
/** A human-readable message describing the error. */
|
|
1613
|
+
message: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* An optional trace ID that can be used by Jira developers to locate the source
|
|
1616
|
+
* of the error.
|
|
1617
|
+
*/
|
|
1618
|
+
errorTraceId?: string;
|
|
1619
|
+
} & {
|
|
1620
|
+
[key: string]: unknown;
|
|
1621
|
+
})[];
|
|
1622
|
+
} & {
|
|
1623
|
+
[key: string]: unknown;
|
|
1624
|
+
})[];
|
|
1625
|
+
} & {
|
|
1626
|
+
[key: string]: unknown;
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
/**
|
|
1630
|
+
* Issue keys that are not known on this Jira instance (if any). These may be
|
|
1631
|
+
* invalid keys (e.g. `UTF-8` is sometimes incorrectly identified as a Jira issue
|
|
1632
|
+
* key), or they may be for projects that no longer exist. If a devinfo entity has
|
|
1633
|
+
* been associated with issue keys other than those in this array it will still be
|
|
1634
|
+
* stored against those valid keys.
|
|
1635
|
+
*/
|
|
1636
|
+
unknownIssueKeys?: string[];
|
|
1637
|
+
} & {
|
|
1638
|
+
[key: string]: unknown;
|
|
1639
|
+
}>;
|
|
1640
|
+
static initialize(): void;
|
|
1641
|
+
}
|