@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,523 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarsService = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const commonHttpClient = require("../core/common-http-client");
|
|
6
|
+
const common_http_service_1 = require("../core/common-http-service");
|
|
7
|
+
const avatars_1 = require("../models/avatars");
|
|
8
|
+
const common_1 = require("../models/common");
|
|
9
|
+
const validation_schema_storage_1 = require("../validation-schema-storage");
|
|
10
|
+
/**
|
|
11
|
+
* This resource represents system and custom avatars. Use it to obtain the
|
|
12
|
+
* details of system or custom avatars, add and remove avatars from a project or
|
|
13
|
+
* issue type, and obtain avatar images.
|
|
14
|
+
*/
|
|
15
|
+
class AvatarsService extends common_http_service_1.CommonHttpService {
|
|
16
|
+
/**
|
|
17
|
+
* Deletes an avatar from a project or issue type.
|
|
18
|
+
*
|
|
19
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
20
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
21
|
+
*
|
|
22
|
+
* @path {DELETE}
|
|
23
|
+
* /rest/api/3/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}
|
|
24
|
+
* @scopes-current manage:jira-configuration
|
|
25
|
+
* @scopes-beta delete:avatar:jira
|
|
26
|
+
*/
|
|
27
|
+
deleteAvatar({ type, owningObjectId, id, }) {
|
|
28
|
+
return this.getClientInstance()
|
|
29
|
+
.request({
|
|
30
|
+
path: "/rest/api/3/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}",
|
|
31
|
+
method: "DELETE",
|
|
32
|
+
pathParams: {
|
|
33
|
+
type,
|
|
34
|
+
owningObjectId,
|
|
35
|
+
id,
|
|
36
|
+
},
|
|
37
|
+
})
|
|
38
|
+
.then(commonHttpClient.discardResult);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns a list of system avatar details by owner type, where the owner types
|
|
42
|
+
* are issue type, project, or user.
|
|
43
|
+
*
|
|
44
|
+
* This operation can be accessed anonymously.
|
|
45
|
+
*
|
|
46
|
+
* **[Permissions](#permissions) required:** None.
|
|
47
|
+
*
|
|
48
|
+
* @returns Returned if the request is successful.
|
|
49
|
+
*
|
|
50
|
+
* example: {
|
|
51
|
+
* "system": [
|
|
52
|
+
* {
|
|
53
|
+
* "id": "1000",
|
|
54
|
+
* "isDeletable": false,
|
|
55
|
+
* "isSelected": false,
|
|
56
|
+
* "isSystemAvatar": true,
|
|
57
|
+
* "urls": {
|
|
58
|
+
* "16x16":
|
|
59
|
+
* "/secure/useravatar?size=xsmall&avatarId=10040&avatarType=project",
|
|
60
|
+
* "24x24":
|
|
61
|
+
* "/secure/useravatar?size=small&avatarId=10040&avatarType=project",
|
|
62
|
+
* "32x32":
|
|
63
|
+
* "/secure/useravatar?size=medium&avatarId=10040&avatarType=project",
|
|
64
|
+
* "48x48": "/secure/useravatar?avatarId=10040&avatarType=project"
|
|
65
|
+
* }
|
|
66
|
+
* }
|
|
67
|
+
* ]
|
|
68
|
+
* }
|
|
69
|
+
* @path {GET} /rest/api/3/avatar/{type}/system
|
|
70
|
+
* @scopes-current manage:jira-configuration
|
|
71
|
+
* @scopes-beta read:avatar:jira
|
|
72
|
+
*/
|
|
73
|
+
getAllSystemAvatars({ type, }) {
|
|
74
|
+
return this.getClientInstance()
|
|
75
|
+
.request({
|
|
76
|
+
path: "/rest/api/3/avatar/{type}/system",
|
|
77
|
+
method: "GET",
|
|
78
|
+
pathParams: {
|
|
79
|
+
type,
|
|
80
|
+
},
|
|
81
|
+
})
|
|
82
|
+
.then(this.getClientInstance().responseHandler({
|
|
83
|
+
200: {
|
|
84
|
+
"application/json": "json",
|
|
85
|
+
},
|
|
86
|
+
}))
|
|
87
|
+
.then(commonHttpClient.castResponse())
|
|
88
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.getAllSystemAvatars.response"))
|
|
89
|
+
.then(commonHttpClient.getBody);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Returns a project or issue type avatar image by ID.
|
|
93
|
+
*
|
|
94
|
+
* This operation can be accessed anonymously.
|
|
95
|
+
*
|
|
96
|
+
* **[Permissions](#permissions) required:**
|
|
97
|
+
*
|
|
98
|
+
* * For system avatars, none.
|
|
99
|
+
* * For custom project avatars, *Browse projects* [project
|
|
100
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project the
|
|
101
|
+
* avatar belongs to.
|
|
102
|
+
* * For custom issue type avatars, *Browse projects* [project
|
|
103
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for at least one project
|
|
104
|
+
* the issue type is used in.
|
|
105
|
+
*
|
|
106
|
+
* @returns * status: 200, mediaType: * /*
|
|
107
|
+
*
|
|
108
|
+
* Returned if the request is successful.
|
|
109
|
+
*
|
|
110
|
+
* * status: 200, mediaType: application/json
|
|
111
|
+
*
|
|
112
|
+
* Returned if the request is successful.
|
|
113
|
+
*
|
|
114
|
+
* * status: 200, mediaType: image/png
|
|
115
|
+
*
|
|
116
|
+
* Returned if the request is successful.
|
|
117
|
+
*
|
|
118
|
+
* * status: 200, mediaType: image/svg+xml
|
|
119
|
+
*
|
|
120
|
+
* Returned if the request is successful.
|
|
121
|
+
* @path {GET} /rest/api/3/universal_avatar/view/type/{type}/avatar/{id}
|
|
122
|
+
* @scopes-current read:jira-work
|
|
123
|
+
* @scopes-beta read:avatar:jira
|
|
124
|
+
*/
|
|
125
|
+
getAvatarImageById({ type, id, size, format, }) {
|
|
126
|
+
return this.getClientInstance()
|
|
127
|
+
.request({
|
|
128
|
+
path: "/rest/api/3/universal_avatar/view/type/{type}/avatar/{id}",
|
|
129
|
+
method: "GET",
|
|
130
|
+
pathParams: {
|
|
131
|
+
type,
|
|
132
|
+
id,
|
|
133
|
+
},
|
|
134
|
+
query: {
|
|
135
|
+
size,
|
|
136
|
+
format,
|
|
137
|
+
},
|
|
138
|
+
})
|
|
139
|
+
.then(this.getClientInstance().responseHandler({
|
|
140
|
+
200: {
|
|
141
|
+
"*/*": "blob",
|
|
142
|
+
"application/json": "json",
|
|
143
|
+
"image/png": "blob",
|
|
144
|
+
"image/svg+xml": "blob",
|
|
145
|
+
},
|
|
146
|
+
}))
|
|
147
|
+
.then(commonHttpClient.castResponse())
|
|
148
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.getAvatarImageByID.response"));
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns the avatar image for a project or issue type.
|
|
152
|
+
*
|
|
153
|
+
* This operation can be accessed anonymously.
|
|
154
|
+
*
|
|
155
|
+
* **[Permissions](#permissions) required:**
|
|
156
|
+
*
|
|
157
|
+
* * For system avatars, none.
|
|
158
|
+
* * For custom project avatars, *Browse projects* [project
|
|
159
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project the
|
|
160
|
+
* avatar belongs to.
|
|
161
|
+
* * For custom issue type avatars, *Browse projects* [project
|
|
162
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for at least one project
|
|
163
|
+
* the issue type is used in.
|
|
164
|
+
*
|
|
165
|
+
* @returns * status: 200, mediaType: * /*
|
|
166
|
+
*
|
|
167
|
+
* Returned if the request is successful.
|
|
168
|
+
*
|
|
169
|
+
* * status: 200, mediaType: application/json
|
|
170
|
+
*
|
|
171
|
+
* Returned if the request is successful.
|
|
172
|
+
*
|
|
173
|
+
* * status: 200, mediaType: image/png
|
|
174
|
+
*
|
|
175
|
+
* Returned if the request is successful.
|
|
176
|
+
*
|
|
177
|
+
* * status: 200, mediaType: image/svg+xml
|
|
178
|
+
*
|
|
179
|
+
* Returned if the request is successful.
|
|
180
|
+
* @path {GET} /rest/api/3/universal_avatar/view/type/{type}/owner/{entityId}
|
|
181
|
+
* @scopes-current read:jira-work
|
|
182
|
+
* @scopes-beta read:avatar:jira
|
|
183
|
+
*/
|
|
184
|
+
getAvatarImageByOwner({ type, entityId, size, format, }) {
|
|
185
|
+
return this.getClientInstance()
|
|
186
|
+
.request({
|
|
187
|
+
path: "/rest/api/3/universal_avatar/view/type/{type}/owner/{entityId}",
|
|
188
|
+
method: "GET",
|
|
189
|
+
pathParams: {
|
|
190
|
+
type,
|
|
191
|
+
entityId,
|
|
192
|
+
},
|
|
193
|
+
query: {
|
|
194
|
+
size,
|
|
195
|
+
format,
|
|
196
|
+
},
|
|
197
|
+
})
|
|
198
|
+
.then(this.getClientInstance().responseHandler({
|
|
199
|
+
200: {
|
|
200
|
+
"*/*": "blob",
|
|
201
|
+
"application/json": "json",
|
|
202
|
+
"image/png": "blob",
|
|
203
|
+
"image/svg+xml": "blob",
|
|
204
|
+
},
|
|
205
|
+
}))
|
|
206
|
+
.then(commonHttpClient.castResponse())
|
|
207
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.getAvatarImageByOwner.response"));
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Returns the default project or issue type avatar image.
|
|
211
|
+
*
|
|
212
|
+
* This operation can be accessed anonymously.
|
|
213
|
+
*
|
|
214
|
+
* **[Permissions](#permissions) required:** None.
|
|
215
|
+
*
|
|
216
|
+
* @returns * status: 200, mediaType: * /*
|
|
217
|
+
*
|
|
218
|
+
* Returned if the request is successful.
|
|
219
|
+
*
|
|
220
|
+
* * status: 200, mediaType: application/json
|
|
221
|
+
*
|
|
222
|
+
* Returned if the request is successful.
|
|
223
|
+
*
|
|
224
|
+
* * status: 200, mediaType: image/png
|
|
225
|
+
*
|
|
226
|
+
* Returned if the request is successful.
|
|
227
|
+
*
|
|
228
|
+
* * status: 200, mediaType: image/svg+xml
|
|
229
|
+
*
|
|
230
|
+
* Returned if the request is successful.
|
|
231
|
+
* @path {GET} /rest/api/3/universal_avatar/view/type/{type}
|
|
232
|
+
* @scopes-current read:jira-work
|
|
233
|
+
* @scopes-beta read:avatar:jira
|
|
234
|
+
*/
|
|
235
|
+
getAvatarImageByType({ type, size, format, }) {
|
|
236
|
+
return this.getClientInstance()
|
|
237
|
+
.request({
|
|
238
|
+
path: "/rest/api/3/universal_avatar/view/type/{type}",
|
|
239
|
+
method: "GET",
|
|
240
|
+
pathParams: {
|
|
241
|
+
type,
|
|
242
|
+
},
|
|
243
|
+
query: {
|
|
244
|
+
size,
|
|
245
|
+
format,
|
|
246
|
+
},
|
|
247
|
+
})
|
|
248
|
+
.then(this.getClientInstance().responseHandler({
|
|
249
|
+
200: {
|
|
250
|
+
"*/*": "blob",
|
|
251
|
+
"application/json": "json",
|
|
252
|
+
"image/png": "blob",
|
|
253
|
+
"image/svg+xml": "blob",
|
|
254
|
+
},
|
|
255
|
+
}))
|
|
256
|
+
.then(commonHttpClient.castResponse())
|
|
257
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.getAvatarImageByType.response"));
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Returns the system and custom avatars for a project or issue type.
|
|
261
|
+
*
|
|
262
|
+
* This operation can be accessed anonymously.
|
|
263
|
+
*
|
|
264
|
+
* **[Permissions](#permissions) required:**
|
|
265
|
+
*
|
|
266
|
+
* * for custom project avatars, *Browse projects* [project
|
|
267
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project the
|
|
268
|
+
* avatar belongs to.
|
|
269
|
+
* * for custom issue type avatars, *Browse projects* [project
|
|
270
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for at least one project
|
|
271
|
+
* the issue type is used in.
|
|
272
|
+
* * for system avatars, none.
|
|
273
|
+
*
|
|
274
|
+
* @returns Returned if the request is successful.
|
|
275
|
+
*
|
|
276
|
+
* example: {
|
|
277
|
+
* "custom": [
|
|
278
|
+
* {
|
|
279
|
+
* "id": "1010",
|
|
280
|
+
* "isDeletable": true,
|
|
281
|
+
* "isSelected": false,
|
|
282
|
+
* "isSystemAvatar": false,
|
|
283
|
+
* "urls": {
|
|
284
|
+
* "16x16":
|
|
285
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10080&avatarType=project",
|
|
286
|
+
* "24x24":
|
|
287
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=small&avatarId=10080&avatarType=project",
|
|
288
|
+
* "32x32":
|
|
289
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=medium&avatarId=10080&avatarType=project",
|
|
290
|
+
* "48x48":
|
|
291
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?avatarId=10080&avatarType=project"
|
|
292
|
+
* }
|
|
293
|
+
* }
|
|
294
|
+
* ],
|
|
295
|
+
* "system": [
|
|
296
|
+
* {
|
|
297
|
+
* "id": "1000",
|
|
298
|
+
* "isDeletable": false,
|
|
299
|
+
* "isSelected": false,
|
|
300
|
+
* "isSystemAvatar": true,
|
|
301
|
+
* "urls": {
|
|
302
|
+
* "16x16":
|
|
303
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10040&avatarType=project",
|
|
304
|
+
* "24x24":
|
|
305
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=small&avatarId=10040&avatarType=project",
|
|
306
|
+
* "32x32":
|
|
307
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?size=medium&avatarId=10040&avatarType=project",
|
|
308
|
+
* "48x48":
|
|
309
|
+
* "https://your-domain.atlassian.net/secure/viewavatar?avatarId=10040&avatarType=project"
|
|
310
|
+
* }
|
|
311
|
+
* }
|
|
312
|
+
* ]
|
|
313
|
+
* }
|
|
314
|
+
* @path {GET} /rest/api/3/universal_avatar/type/{type}/owner/{entityId}
|
|
315
|
+
* @scopes-current manage:jira-configuration
|
|
316
|
+
* @scopes-beta read:avatar:jira
|
|
317
|
+
*/
|
|
318
|
+
getAvatars({ type, entityId, }) {
|
|
319
|
+
return this.getClientInstance()
|
|
320
|
+
.request({
|
|
321
|
+
path: "/rest/api/3/universal_avatar/type/{type}/owner/{entityId}",
|
|
322
|
+
method: "GET",
|
|
323
|
+
pathParams: {
|
|
324
|
+
type,
|
|
325
|
+
entityId,
|
|
326
|
+
},
|
|
327
|
+
})
|
|
328
|
+
.then(this.getClientInstance().responseHandler({
|
|
329
|
+
200: {
|
|
330
|
+
"application/json": "json",
|
|
331
|
+
},
|
|
332
|
+
}))
|
|
333
|
+
.then(commonHttpClient.castResponse())
|
|
334
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.getAvatars.response"))
|
|
335
|
+
.then(commonHttpClient.getBody);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Loads a custom avatar for a project or issue type.
|
|
339
|
+
*
|
|
340
|
+
* Specify the avatar's local file location in the body of the request. Also,
|
|
341
|
+
* include the following headers:
|
|
342
|
+
*
|
|
343
|
+
* * `X-Atlassian-Token: no-check` To prevent XSRF protection blocking the
|
|
344
|
+
* request, for more information see [Special Headers](#special-request-headers).
|
|
345
|
+
* * `Content-Type: image/image type` Valid image types are JPEG, GIF, or PNG.
|
|
346
|
+
*
|
|
347
|
+
* For example:
|
|
348
|
+
* `curl --request POST `
|
|
349
|
+
*
|
|
350
|
+
* `--user email@example.com:<api_token> `
|
|
351
|
+
*
|
|
352
|
+
* `--header 'X-Atlassian-Token: no-check' `
|
|
353
|
+
*
|
|
354
|
+
* `--header 'Content-Type: image/< image_type>' `
|
|
355
|
+
*
|
|
356
|
+
* `--data-binary "<@/path/to/file/with/your/avatar>" `
|
|
357
|
+
*
|
|
358
|
+
* `--url
|
|
359
|
+
* 'https://your-domain.atlassian.net/rest/api/3/universal_avatar/type/{type}/owner/{entityId}'`
|
|
360
|
+
*
|
|
361
|
+
* The avatar is cropped to a square. If no crop parameters are specified, the
|
|
362
|
+
* square originates at the top left of the image. The length of the square's
|
|
363
|
+
* sides is set to the smaller of the height or width of the image.
|
|
364
|
+
*
|
|
365
|
+
* The cropped image is then used to create avatars of 16x16, 24x24, 32x32, and
|
|
366
|
+
* 48x48 in size.
|
|
367
|
+
*
|
|
368
|
+
* After creating the avatar use:
|
|
369
|
+
*
|
|
370
|
+
* * [Update issue type](#api-rest-api-3-issuetype-id-put) to set it as the
|
|
371
|
+
* issue type's displayed avatar.
|
|
372
|
+
* * [Set project avatar](#api-rest-api-3-project-projectIdOrKey-avatar-put) to
|
|
373
|
+
* set it as the project's displayed avatar.
|
|
374
|
+
*
|
|
375
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
376
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
377
|
+
*
|
|
378
|
+
* @returns Returned if the request is successful.
|
|
379
|
+
*
|
|
380
|
+
* example: {
|
|
381
|
+
* "id": "1000",
|
|
382
|
+
* "isDeletable": false,
|
|
383
|
+
* "isSelected": false,
|
|
384
|
+
* "isSystemAvatar": true,
|
|
385
|
+
* "urls": {
|
|
386
|
+
* "16x16": "/secure/useravatar?size=xsmall&avatarId=10040&avatarType=project",
|
|
387
|
+
* "24x24": "/secure/useravatar?size=small&avatarId=10040&avatarType=project",
|
|
388
|
+
* "32x32": "/secure/useravatar?size=medium&avatarId=10040&avatarType=project",
|
|
389
|
+
* "48x48": "/secure/useravatar?avatarId=10040&avatarType=project"
|
|
390
|
+
* }
|
|
391
|
+
* }
|
|
392
|
+
* @path {POST} /rest/api/3/universal_avatar/type/{type}/owner/{entityId}
|
|
393
|
+
* @scopes-current manage:jira-configuration
|
|
394
|
+
* @scopes-beta write:avatar:jira, read:avatar:jira
|
|
395
|
+
*/
|
|
396
|
+
storeAvatar({ type, entityId, x, y, size, mediaType, requestBody, }) {
|
|
397
|
+
return this.getClientInstance()
|
|
398
|
+
.request({
|
|
399
|
+
path: "/rest/api/3/universal_avatar/type/{type}/owner/{entityId}",
|
|
400
|
+
method: "POST",
|
|
401
|
+
pathParams: {
|
|
402
|
+
type,
|
|
403
|
+
entityId,
|
|
404
|
+
},
|
|
405
|
+
query: {
|
|
406
|
+
x,
|
|
407
|
+
y,
|
|
408
|
+
size,
|
|
409
|
+
},
|
|
410
|
+
headers: {
|
|
411
|
+
"X-Atlassian-Token": "nocheck",
|
|
412
|
+
"Content-Type": mediaType,
|
|
413
|
+
},
|
|
414
|
+
body: requestBody,
|
|
415
|
+
})
|
|
416
|
+
.then(this.getClientInstance().responseHandler({
|
|
417
|
+
201: {
|
|
418
|
+
"application/json": "json",
|
|
419
|
+
},
|
|
420
|
+
}))
|
|
421
|
+
.then(commonHttpClient.castResponse())
|
|
422
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("AvatarsService.storeAvatar.response"))
|
|
423
|
+
.then(commonHttpClient.getBody);
|
|
424
|
+
}
|
|
425
|
+
static initialize() {
|
|
426
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.getAllSystemAvatars.response", zod_1.z
|
|
427
|
+
.object({
|
|
428
|
+
status: zod_1.z.literal(200),
|
|
429
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
430
|
+
body: validation_schema_storage_1.validationSchemaStorage.lazy("SystemAvatars"),
|
|
431
|
+
})
|
|
432
|
+
.describe("AvatarsService.getAllSystemAvatars.response"));
|
|
433
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.getAvatars.response", zod_1.z
|
|
434
|
+
.object({
|
|
435
|
+
status: zod_1.z.literal(200),
|
|
436
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
437
|
+
body: validation_schema_storage_1.validationSchemaStorage.lazy("Avatars"),
|
|
438
|
+
})
|
|
439
|
+
.describe("AvatarsService.getAvatars.response"));
|
|
440
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.storeAvatar.response", zod_1.z
|
|
441
|
+
.object({
|
|
442
|
+
status: zod_1.z.literal(201),
|
|
443
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
444
|
+
body: validation_schema_storage_1.validationSchemaStorage.lazy("Avatar"),
|
|
445
|
+
})
|
|
446
|
+
.describe("AvatarsService.storeAvatar.response"));
|
|
447
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.getAvatarImageByType.response", zod_1.z
|
|
448
|
+
.object({
|
|
449
|
+
status: zod_1.z.number(),
|
|
450
|
+
mediaType: zod_1.z.string(),
|
|
451
|
+
body: zod_1.z.unknown(),
|
|
452
|
+
})
|
|
453
|
+
.superRefine(({ mediaType: mediaType, body: body }, ctx) => {
|
|
454
|
+
if (mediaType === "application/json") {
|
|
455
|
+
validation_schema_storage_1.validationSchemaStorage.lazy("StreamingResponseBody").parse(body);
|
|
456
|
+
}
|
|
457
|
+
else if (mediaType === "image/png" ||
|
|
458
|
+
mediaType === "image/svg+xml") {
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
else {
|
|
462
|
+
ctx.addIssue({
|
|
463
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
464
|
+
path: ["mediaType"],
|
|
465
|
+
message: `Unexpected media type: ${mediaType}`,
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
})
|
|
469
|
+
.describe("AvatarsService.getAvatarImageByType.response"));
|
|
470
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.getAvatarImageByID.response", zod_1.z
|
|
471
|
+
.object({
|
|
472
|
+
status: zod_1.z.number(),
|
|
473
|
+
mediaType: zod_1.z.string(),
|
|
474
|
+
body: zod_1.z.unknown(),
|
|
475
|
+
})
|
|
476
|
+
.superRefine(({ mediaType: mediaType, body: body }, ctx) => {
|
|
477
|
+
if (mediaType === "application/json") {
|
|
478
|
+
validation_schema_storage_1.validationSchemaStorage.lazy("StreamingResponseBody").parse(body);
|
|
479
|
+
}
|
|
480
|
+
else if (mediaType === "image/png" ||
|
|
481
|
+
mediaType === "image/svg+xml") {
|
|
482
|
+
return;
|
|
483
|
+
}
|
|
484
|
+
else {
|
|
485
|
+
ctx.addIssue({
|
|
486
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
487
|
+
path: ["mediaType"],
|
|
488
|
+
message: `Unexpected media type: ${mediaType}`,
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
})
|
|
492
|
+
.describe("AvatarsService.getAvatarImageByID.response"));
|
|
493
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("AvatarsService.getAvatarImageByOwner.response", zod_1.z
|
|
494
|
+
.object({
|
|
495
|
+
status: zod_1.z.number(),
|
|
496
|
+
mediaType: zod_1.z.string(),
|
|
497
|
+
body: zod_1.z.unknown(),
|
|
498
|
+
})
|
|
499
|
+
.superRefine(({ mediaType: mediaType, body: body }, ctx) => {
|
|
500
|
+
if (mediaType === "application/json") {
|
|
501
|
+
validation_schema_storage_1.validationSchemaStorage.lazy("StreamingResponseBody").parse(body);
|
|
502
|
+
}
|
|
503
|
+
else if (mediaType === "image/png" ||
|
|
504
|
+
mediaType === "image/svg+xml") {
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
ctx.addIssue({
|
|
509
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
510
|
+
path: ["mediaType"],
|
|
511
|
+
message: `Unexpected media type: ${mediaType}`,
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
})
|
|
515
|
+
.describe("AvatarsService.getAvatarImageByOwner.response"));
|
|
516
|
+
validation_schema_storage_1.validationSchemaStorage.registerOnce([
|
|
517
|
+
avatars_1.registerAvatarsValidationSchemas,
|
|
518
|
+
common_1.registerCommonValidationSchemas,
|
|
519
|
+
]);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
exports.AvatarsService = AvatarsService;
|
|
523
|
+
//# sourceMappingURL=avatars-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatars-service.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/avatars-service.ts"],"names":[],"mappings":";;;AAIA,6BAAwB;AAExB,+DAA+D;AAC/D,qEAAgE;AAChE,+CAK2B;AAC3B,6CAAgF;AAChF,4EAAuE;AACvE;;;;GAIG;AACH,MAAa,cAAe,SAAQ,uCAAiB;IACnD;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EACX,IAAI,EACJ,cAAc,EACd,EAAE,GAQH;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6EAA6E;YACnF,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,IAAI;gBACJ,cAAc;gBACd,EAAE;aACH;SACF,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,mBAAmB,CAAC,EAClB,IAAI,GAIL;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,kCAAkC;YACxC,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,IAAI;aACL;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG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C,EAC/C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;YAClB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;SAClB,CAAC;aACD,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;YACzD,IAAI,SAAS,KAAK,kBAAkB,EAAE,CAAC;gBACrC,mDAAuB,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpE,CAAC;iBAAM,IACL,SAAS,KAAK,WAAW;gBACzB,SAAS,KAAK,eAAe,EAC7B,CAAC;gBACD,OAAO;YACT,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,QAAQ,CAAC;oBACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;oBAC3B,IAAI,EAAE,CAAC,WAAW,CAAC;oBACnB,OAAO,EAAE,0BAA0B,SAAS,EAAE;iBAC/C,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;aACD,QAAQ,CAAC,+CAA+C,CAAC,CAC7D,CAAC;QACF,mDAAuB,CAAC,YAAY,CAAC;YACnC,0CAAgC;YAChC,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA3uBD,wCA2uBC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/common-http-service";
|
|
2
|
+
import { type DataClassificationLevelsBean } from "../models/classification-levels";
|
|
3
|
+
/** This resource represents classification levels. */
|
|
4
|
+
export declare class ClassificationLevelsService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Returns all classification levels.
|
|
7
|
+
*
|
|
8
|
+
* **[Permissions](#permissions) required:** None.
|
|
9
|
+
*
|
|
10
|
+
* @returns Returned if the request is successful.
|
|
11
|
+
*
|
|
12
|
+
* example: {
|
|
13
|
+
* "classifications": [
|
|
14
|
+
* {
|
|
15
|
+
* "id":
|
|
16
|
+
* "ari:cloud:platform::classification-tag/5bfa70f7-4af1-44f5-9e12-1ce185f15a38",
|
|
17
|
+
* "status": "published",
|
|
18
|
+
* "name": "Restricted",
|
|
19
|
+
* "rank": 1,
|
|
20
|
+
* "description": "Data we hold that would be very damaging and would cause
|
|
21
|
+
* loss of trust with customers and present legal risk to Atlassian and/or
|
|
22
|
+
* customers if mishandled",
|
|
23
|
+
* "guideline": "Access to data must be restricted to only individuals who
|
|
24
|
+
* need access in order to perform their job duties.",
|
|
25
|
+
* "color": "RED"
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* "id":
|
|
29
|
+
* "ari:cloud:platform::classification-tag/bd58e74c-c31b-41a7-ba69-9673ebd9dae9",
|
|
30
|
+
* "status": "archived",
|
|
31
|
+
* "name": "Protected",
|
|
32
|
+
* "rank": 2,
|
|
33
|
+
* "description": "Data we hold that could cause loss of trust with
|
|
34
|
+
* customers or present legal risk to Atlassian if mishandled",
|
|
35
|
+
* "guideline": "Access to systems or APIs mapping data to other identifiers
|
|
36
|
+
* must be carefully controlled.",
|
|
37
|
+
* "color": "ORANGE"
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* "id":
|
|
41
|
+
* "ari:cloud:platform::classification-tag/a82d653e-1035-4aa2-b9de-4265511fd487",
|
|
42
|
+
* "status": "published",
|
|
43
|
+
* "name": "Confidential",
|
|
44
|
+
* "rank": 3,
|
|
45
|
+
* "description": "Data we hold that would likely be damaging and could
|
|
46
|
+
* cause loss of trust with our customers if mishandled",
|
|
47
|
+
* "guideline": "Data should be encrypted at rest and in transit.",
|
|
48
|
+
* "color": "BLUE"
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* "id":
|
|
52
|
+
* "ari:cloud:platform::classification-tag/a82d653e-1035-4aa2-b9de-4265511fd487",
|
|
53
|
+
* "status": "published",
|
|
54
|
+
* "name": "system-tag"
|
|
55
|
+
* }
|
|
56
|
+
* ]
|
|
57
|
+
* }
|
|
58
|
+
* @path {GET} /rest/api/3/classification-levels
|
|
59
|
+
* @scopes-current read:jira-work
|
|
60
|
+
* @scopes-beta read:project:jira
|
|
61
|
+
*/
|
|
62
|
+
getAllUserDataClassificationLevels({ status, orderBy, }: {
|
|
63
|
+
/** Optional set of statuses to filter by. */
|
|
64
|
+
status?: ("PUBLISHED" | "ARCHIVED" | "DRAFT")[];
|
|
65
|
+
/**
|
|
66
|
+
* Ordering of the results by a given field. If not provided, values will not be
|
|
67
|
+
* sorted.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: "rank" | "-rank" | "+rank";
|
|
70
|
+
}): Promise<DataClassificationLevelsBean>;
|
|
71
|
+
static initialize(): void;
|
|
72
|
+
}
|