@resolution/jira-api-client 0.4.2 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +4 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +6 -0
- package/lib/openapi/platform/models/common.js +12 -1
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
- package/lib/openapi/platform/models/dynamicModules.js +0 -6
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
- package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
- package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
- package/lib/openapi/platform/services/AppMigrationService.js +139 -136
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
- package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
- package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
- package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
- package/lib/openapi/platform/services/AvatarsService.js +412 -415
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
- package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
- package/lib/openapi/platform/services/DashboardsService.js +983 -974
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
- package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
- package/lib/openapi/platform/services/FilterSharingService.js +512 -509
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
- package/lib/openapi/platform/services/FiltersService.js +1262 -1259
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
- package/lib/openapi/platform/services/GroupsService.js +385 -382
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
- package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
- package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
- package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.js +230 -227
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
- package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
- package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
- package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueSearchService.js +826 -823
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
- package/lib/openapi/platform/services/IssueTypesService.js +424 -427
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueVotesService.js +148 -145
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
- package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
- package/lib/openapi/platform/services/IssuesService.js +1856 -1853
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
- package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +15 -15
- package/lib/openapi/platform/services/JqlService.js +635 -632
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
- package/lib/openapi/platform/services/LabelsService.js +41 -38
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
- package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
- package/lib/openapi/platform/services/MyselfService.js +321 -318
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
- package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
- package/lib/openapi/platform/services/PermissionsService.js +235 -232
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
- package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
- package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
- package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
- package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
- package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
- package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
- package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
- package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
- package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
- package/lib/openapi/platform/services/ScreensService.js +281 -278
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
- package/lib/openapi/platform/services/ServerInfoService.js +51 -48
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
- package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +17 -17
- package/lib/openapi/platform/services/StatusService.js +271 -268
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +4 -4
- package/lib/openapi/platform/services/TasksService.js +93 -90
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
- package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
- package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
- package/lib/openapi/platform/services/UserSearchService.js +709 -706
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +51 -51
- package/lib/openapi/platform/services/UsersService.js +637 -634
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
- package/lib/openapi/platform/services/WebhooksService.js +262 -259
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
- package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
- package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +4 -4
- package/lib/openapi/software/services/BacklogService.js +81 -78
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +124 -124
- package/lib/openapi/software/services/BoardService.js +2048 -2045
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +10 -10
- package/lib/openapi/software/services/BuildsService.js +164 -161
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
- package/lib/openapi/software/services/DeploymentsService.js +192 -189
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
- package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
- package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +26 -26
- package/lib/openapi/software/services/EpicService.js +597 -594
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
- package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +13 -13
- package/lib/openapi/software/services/IssueService.js +359 -356
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +24 -24
- package/lib/openapi/software/services/OperationsService.js +301 -298
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
- package/lib/openapi/software/services/RemoteLinksService.js +160 -157
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
- package/lib/openapi/software/services/SecurityInformationService.js +262 -259
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +33 -33
- package/lib/openapi/software/services/SprintService.js +594 -591
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/package.json +4 -3
|
@@ -28,7 +28,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
28
28
|
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}
|
|
29
29
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-delete
|
|
30
30
|
*/
|
|
31
|
-
deleteDeploymentByKey({ pipelineId, environmentId, deploymentSequenceNumber, updateSequenceNumber, authorization, }: {
|
|
31
|
+
deleteDeploymentByKey: ({ pipelineId, environmentId, deploymentSequenceNumber, updateSequenceNumber, authorization, }: {
|
|
32
32
|
/** The ID of the deployment's pipeline. */
|
|
33
33
|
pipelineId: string;
|
|
34
34
|
/** The ID of the deployment's environment. */
|
|
@@ -47,7 +47,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
47
47
|
*
|
|
48
48
|
* @deprecated
|
|
49
49
|
*/
|
|
50
|
-
updateSequenceNumber?: number;
|
|
50
|
+
updateSequenceNumber?: number | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
53
53
|
* an on-premise integration that corresponds to an app installed in Jira.
|
|
@@ -62,7 +62,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
62
62
|
* for details about on-premise integrations.
|
|
63
63
|
*/
|
|
64
64
|
authorization: string;
|
|
65
|
-
})
|
|
65
|
+
}) => Promise<void>;
|
|
66
66
|
/**
|
|
67
67
|
* Bulk delete all deployments that match the given request.
|
|
68
68
|
*
|
|
@@ -85,7 +85,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
85
85
|
* @path {DELETE} /rest/deployments/0.1/bulkByProperties
|
|
86
86
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulkbyproperties-delete
|
|
87
87
|
*/
|
|
88
|
-
deleteDeploymentsByProperty({ updateSequenceNumber, authorization, }: {
|
|
88
|
+
deleteDeploymentsByProperty: ({ updateSequenceNumber, authorization, }: {
|
|
89
89
|
/**
|
|
90
90
|
* This parameter usage is no longer supported.
|
|
91
91
|
*
|
|
@@ -100,7 +100,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
100
100
|
*
|
|
101
101
|
* @deprecated
|
|
102
102
|
*/
|
|
103
|
-
updateSequenceNumber?: number;
|
|
103
|
+
updateSequenceNumber?: number | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
106
106
|
* an on-premise integration that corresponds to an app installed in Jira.
|
|
@@ -115,7 +115,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
115
115
|
* for details about on-premise integrations.
|
|
116
116
|
*/
|
|
117
117
|
authorization: string;
|
|
118
|
-
})
|
|
118
|
+
}) => Promise<void>;
|
|
119
119
|
/**
|
|
120
120
|
* Retrieve the currently stored deployment data for the given `pipelineId`,
|
|
121
121
|
* `environmentId` and `deploymentSequenceNumber` combination.
|
|
@@ -132,7 +132,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
132
132
|
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}
|
|
133
133
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-get
|
|
134
134
|
*/
|
|
135
|
-
getDeploymentByKey({ pipelineId, environmentId, deploymentSequenceNumber, authorization, }: {
|
|
135
|
+
getDeploymentByKey: ({ pipelineId, environmentId, deploymentSequenceNumber, authorization, }: {
|
|
136
136
|
/** The ID of the deployment's pipeline. */
|
|
137
137
|
pipelineId: string;
|
|
138
138
|
/** The ID of the deployment's environment. */
|
|
@@ -153,7 +153,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
153
153
|
* for details about on-premise integrations.
|
|
154
154
|
*/
|
|
155
155
|
authorization: string;
|
|
156
|
-
})
|
|
156
|
+
}) => Promise<DeploymentData>;
|
|
157
157
|
/**
|
|
158
158
|
* Retrieve the Deployment gating status for the given `pipelineId +
|
|
159
159
|
* environmentId + deploymentSequenceNumber` combination.
|
|
@@ -165,14 +165,14 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
165
165
|
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}/gating-status
|
|
166
166
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-gating-status-get
|
|
167
167
|
*/
|
|
168
|
-
getDeploymentGatingStatusByKey({ pipelineId, environmentId, deploymentSequenceNumber, }: {
|
|
168
|
+
getDeploymentGatingStatusByKey: ({ pipelineId, environmentId, deploymentSequenceNumber, }: {
|
|
169
169
|
/** The ID of the Deployment's pipeline. */
|
|
170
170
|
pipelineId: string;
|
|
171
171
|
/** The ID of the Deployment's environment. */
|
|
172
172
|
environmentId: string;
|
|
173
173
|
/** The Deployment's deploymentSequenceNumber. */
|
|
174
174
|
deploymentSequenceNumber: number;
|
|
175
|
-
})
|
|
175
|
+
}) => Promise<SubmitDeploymentsResponse>;
|
|
176
176
|
/**
|
|
177
177
|
* Update / insert deployment data.
|
|
178
178
|
*
|
|
@@ -203,7 +203,7 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
203
203
|
* @path {POST} /rest/deployments/0.1/bulk
|
|
204
204
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulk-post
|
|
205
205
|
*/
|
|
206
|
-
submitDeployments({ authorization, submitDeploymentRequest, }: {
|
|
206
|
+
submitDeployments: ({ authorization, submitDeploymentRequest, }: {
|
|
207
207
|
/**
|
|
208
208
|
* All requests must be signed with either a Connect JWT token or OAuth token for
|
|
209
209
|
* an on-premise integration that corresponds to an app installed in Jira.
|
|
@@ -220,6 +220,6 @@ export declare class DeploymentsService extends CommonHttpService {
|
|
|
220
220
|
authorization: string;
|
|
221
221
|
/** Deployment data to submit. */
|
|
222
222
|
submitDeploymentRequest: SubmitDeploymentRequest;
|
|
223
|
-
})
|
|
223
|
+
}) => Promise<SubmitDeploymentsResponse>;
|
|
224
224
|
static initialize(): void;
|
|
225
225
|
}
|
|
@@ -22,195 +22,198 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
22
22
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments
|
|
23
23
|
*/
|
|
24
24
|
class DeploymentsService extends CommonHttpService_1.CommonHttpService {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
/**
|
|
28
|
+
* Delete the currently stored deployment data for the given `pipelineId`,
|
|
29
|
+
* `environmentId` and `deploymentSequenceNumber` combination.
|
|
30
|
+
*
|
|
31
|
+
* Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
|
|
32
|
+
* used to confirm that data has been deleted successfully (if needed).
|
|
33
|
+
*
|
|
34
|
+
* Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
|
|
35
|
+
* on-premise integrations, can access this resource.
|
|
36
|
+
* This resource requires the 'DELETE' scope for Connect apps.
|
|
37
|
+
*
|
|
38
|
+
* @path {DELETE}
|
|
39
|
+
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}
|
|
40
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-delete
|
|
41
|
+
*/
|
|
42
|
+
this.deleteDeploymentByKey = ({ pipelineId, environmentId, deploymentSequenceNumber, updateSequenceNumber, authorization, }) => {
|
|
43
|
+
return this.getClientInstance()
|
|
44
|
+
.request({
|
|
45
|
+
path: "/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}",
|
|
46
|
+
method: "DELETE",
|
|
47
|
+
pathParams: {
|
|
48
|
+
pipelineId,
|
|
49
|
+
environmentId,
|
|
50
|
+
deploymentSequenceNumber,
|
|
51
|
+
},
|
|
52
|
+
query: {
|
|
53
|
+
_updateSequenceNumber: updateSequenceNumber,
|
|
54
|
+
},
|
|
55
|
+
headers: {
|
|
56
|
+
Authorization: authorization,
|
|
57
|
+
},
|
|
58
|
+
})
|
|
59
|
+
.then(commonHttpClient.discardResult);
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Bulk delete all deployments that match the given request.
|
|
63
|
+
*
|
|
64
|
+
* One or more query params must be supplied to specify the Properties to delete
|
|
65
|
+
* by. Optional param `_updateSequenceNumber` is no longer supported.
|
|
66
|
+
* If more than one Property is provided, data will be deleted that matches ALL of
|
|
67
|
+
* the Properties (i.e. treated as AND).
|
|
68
|
+
* See the documentation for the `submitDeployments` operation for more details.
|
|
69
|
+
*
|
|
70
|
+
* Example operation: DELETE
|
|
71
|
+
* /bulkByProperties?accountId=account-123&createdBy=user-456
|
|
72
|
+
*
|
|
73
|
+
* Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
|
|
74
|
+
* used to confirm that data has been deleted successfully (if needed).
|
|
75
|
+
*
|
|
76
|
+
* Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
|
|
77
|
+
* on-premise integrations, can access this resource.
|
|
78
|
+
* This resource requires the 'DELETE' scope for Connect apps.
|
|
79
|
+
*
|
|
80
|
+
* @path {DELETE} /rest/deployments/0.1/bulkByProperties
|
|
81
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulkbyproperties-delete
|
|
82
|
+
*/
|
|
83
|
+
this.deleteDeploymentsByProperty = ({ updateSequenceNumber, authorization, }) => {
|
|
84
|
+
return this.getClientInstance()
|
|
85
|
+
.request({
|
|
86
|
+
path: "/rest/deployments/0.1/bulkByProperties",
|
|
87
|
+
method: "DELETE",
|
|
88
|
+
query: {
|
|
89
|
+
_updateSequenceNumber: updateSequenceNumber,
|
|
90
|
+
},
|
|
91
|
+
headers: {
|
|
92
|
+
Authorization: authorization,
|
|
93
|
+
},
|
|
94
|
+
})
|
|
95
|
+
.then(commonHttpClient.discardResult);
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Retrieve the currently stored deployment data for the given `pipelineId`,
|
|
99
|
+
* `environmentId` and `deploymentSequenceNumber` combination.
|
|
100
|
+
*
|
|
101
|
+
* The result will be what is currently stored, ignoring any pending updates or
|
|
102
|
+
* deletes.
|
|
103
|
+
*
|
|
104
|
+
* Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
|
|
105
|
+
* on-premise integrations, can access this resource.
|
|
106
|
+
* This resource requires the 'READ' scope for Connect apps.
|
|
107
|
+
*
|
|
108
|
+
* @returns The deployment data currently stored for the given ID.
|
|
109
|
+
* @path {GET}
|
|
110
|
+
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}
|
|
111
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-get
|
|
112
|
+
*/
|
|
113
|
+
this.getDeploymentByKey = ({ pipelineId, environmentId, deploymentSequenceNumber, authorization, }) => {
|
|
114
|
+
return this.getClientInstance()
|
|
115
|
+
.request({
|
|
116
|
+
path: "/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}",
|
|
117
|
+
method: "GET",
|
|
118
|
+
pathParams: {
|
|
119
|
+
pipelineId,
|
|
120
|
+
environmentId,
|
|
121
|
+
deploymentSequenceNumber,
|
|
122
|
+
},
|
|
123
|
+
headers: {
|
|
124
|
+
Authorization: authorization,
|
|
125
|
+
},
|
|
126
|
+
})
|
|
127
|
+
.then(this.getClientInstance().responseHandler({
|
|
128
|
+
200: {
|
|
129
|
+
"application/json": "json",
|
|
130
|
+
},
|
|
131
|
+
}))
|
|
132
|
+
.then(commonHttpClient.castResponse())
|
|
133
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("DeploymentsService.getDeploymentByKey.response"))
|
|
134
|
+
.then(commonHttpClient.getBody);
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Retrieve the Deployment gating status for the given `pipelineId +
|
|
138
|
+
* environmentId + deploymentSequenceNumber` combination.
|
|
139
|
+
* Only apps that define the `jiraDeploymentInfoProvider` module can access this
|
|
140
|
+
* resource. This resource requires the 'READ' scope.
|
|
141
|
+
*
|
|
142
|
+
* @returns The current gating status for the given Deployment
|
|
143
|
+
* @path {GET}
|
|
144
|
+
* /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}/gating-status
|
|
145
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-gating-status-get
|
|
146
|
+
*/
|
|
147
|
+
this.getDeploymentGatingStatusByKey = ({ pipelineId, environmentId, deploymentSequenceNumber, }) => {
|
|
148
|
+
return this.getClientInstance()
|
|
149
|
+
.request({
|
|
150
|
+
path: "/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}/gating-status",
|
|
151
|
+
method: "GET",
|
|
152
|
+
pathParams: {
|
|
153
|
+
pipelineId,
|
|
154
|
+
environmentId,
|
|
155
|
+
deploymentSequenceNumber,
|
|
156
|
+
},
|
|
157
|
+
})
|
|
158
|
+
.then(this.getClientInstance().responseHandler({
|
|
159
|
+
200: {
|
|
160
|
+
"application/json": "json",
|
|
161
|
+
},
|
|
162
|
+
}))
|
|
163
|
+
.then(commonHttpClient.castResponse())
|
|
164
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("DeploymentsService.getDeploymentGatingStatusByKey.response"))
|
|
165
|
+
.then(commonHttpClient.getBody);
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Update / insert deployment data.
|
|
169
|
+
*
|
|
170
|
+
* Deployments are identified by the combination of `pipelineId`, `environmentId`
|
|
171
|
+
* and `deploymentSequenceNumber`, and existing deployment data for the same
|
|
172
|
+
* deployment will be replaced if it exists and the `updateSequenceNumber` of
|
|
173
|
+
* existing data is less than the incoming data.
|
|
174
|
+
*
|
|
175
|
+
* Submissions are processed asynchronously. Submitted data will eventually be
|
|
176
|
+
* available in Jira. Most updates are available within a short period of time,
|
|
177
|
+
* but may take some time during peak load and/or maintenance times. The
|
|
178
|
+
* `getDeploymentByKey` operation can be used to confirm that data has been stored
|
|
179
|
+
* successfully (if needed).
|
|
180
|
+
*
|
|
181
|
+
* In the case of multiple deployments being submitted in one request, each is
|
|
182
|
+
* validated individually prior to submission. Details of which deployments failed
|
|
183
|
+
* submission (if any) are available in the response object.
|
|
184
|
+
*
|
|
185
|
+
* Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
|
|
186
|
+
* on-premise integrations, can access this resource.
|
|
187
|
+
* This resource requires the 'WRITE' scope for Connect apps.
|
|
188
|
+
*
|
|
189
|
+
* @returns Submission accepted. Each submitted deployment that is of a valid format will
|
|
190
|
+
* eventually be available in Jira.
|
|
191
|
+
*
|
|
192
|
+
* Details of which deployments were submitted and which failed submission (due to
|
|
193
|
+
* data format problems etc.) are available in the response object.
|
|
194
|
+
* @path {POST} /rest/deployments/0.1/bulk
|
|
195
|
+
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulk-post
|
|
196
|
+
*/
|
|
197
|
+
this.submitDeployments = ({ authorization, submitDeploymentRequest, }) => {
|
|
198
|
+
return this.getClientInstance()
|
|
199
|
+
.request({
|
|
200
|
+
path: "/rest/deployments/0.1/bulk",
|
|
201
|
+
method: "POST",
|
|
202
|
+
headers: {
|
|
203
|
+
Authorization: authorization,
|
|
204
|
+
"Content-Type": "application/json",
|
|
205
|
+
},
|
|
206
|
+
body: submitDeploymentRequest,
|
|
207
|
+
})
|
|
208
|
+
.then(this.getClientInstance().responseHandler({
|
|
209
|
+
202: {
|
|
210
|
+
"application/json": "json",
|
|
211
|
+
},
|
|
212
|
+
}))
|
|
213
|
+
.then(commonHttpClient.castResponse())
|
|
214
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("DeploymentsService.submitDeployments.response"))
|
|
215
|
+
.then(commonHttpClient.getBody);
|
|
216
|
+
};
|
|
214
217
|
}
|
|
215
218
|
static initialize() {
|
|
216
219
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DeploymentsService.submitDeployments.response", zod_1.z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeploymentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DeploymentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,uDAK+B;AAC/B,wEAAqE;AACrE;;;;;;;;;;;GAWG;AACH,MAAa,kBAAmB,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"DeploymentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DeploymentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,uDAK+B;AAC/B,wEAAqE;AACrE;;;;;;;;;;;GAWG;AACH,MAAa,kBAAmB,SAAQ,qCAAiB;IAAzD;;QACE;;;;;;;;;;;;;;WAcG;QACH,0BAAqB,GAAG,CAAC,EACvB,UAAU,EACV,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,GAmCd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,kHAAkH;gBACxH,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,UAAU;oBACV,aAAa;oBACb,wBAAwB;iBACzB;gBACD,KAAK,EAAE;oBACL,qBAAqB,EAAE,oBAAoB;iBAC5C;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,gCAA2B,GAAG,CAAC,EAC7B,oBAAoB,EACpB,aAAa,GA+Bd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wCAAwC;gBAC9C,MAAM,EAAE,QAAQ;gBAChB,KAAK,EAAE;oBACL,qBAAqB,EAAE,oBAAoB;iBAC5C;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;WAeG;QACH,uBAAkB,GAAG,CAAC,EACpB,UAAU,EACV,aAAa,EACb,wBAAwB,EACxB,aAAa,GAsBd,EAA2B,EAAE;YAC5B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,kHAAkH;gBACxH,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,UAAU;oBACV,aAAa;oBACb,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,gDAAgD,CACjD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;WAUG;QACH,mCAA8B,GAAG,CAAC,EAChC,UAAU,EACV,aAAa,EACb,wBAAwB,GAQzB,EAAsC,EAAE;YACvC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,gIAAgI;gBACtI,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,UAAU;oBACV,aAAa;oBACb,wBAAwB;iBACzB;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,4DAA4D,CAC7D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BG;QACH,sBAAiB,GAAG,CAAC,EACnB,aAAa,EACb,uBAAuB,GAkBxB,EAAsC,EAAE;YACvC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,4BAA4B;gBAClC,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;oBAC5B,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,uBAAuB;aAC9B,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,+CAA+C,CAChD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAoCJ,CAAC;IAnCC,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,+CAA+C,EAC/C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,+CAA+C,CAAC,CAC7D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,4DAA4D,EAC5D,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,4DAA4D,CAAC,CAC1E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kDAAoC;SACrC,CAAC,CAAC;IACL,CAAC;CACF;AAxYD,gDAwYC"}
|
|
@@ -127,7 +127,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
127
127
|
* @path {DELETE} /rest/devopscomponents/1.0/{componentId}
|
|
128
128
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-delete
|
|
129
129
|
*/
|
|
130
|
-
deleteComponentById({ componentId, authorization, }: {
|
|
130
|
+
deleteComponentById: ({ componentId, authorization, }: {
|
|
131
131
|
/** The ID of the Component to delete. */
|
|
132
132
|
componentId: string;
|
|
133
133
|
/**
|
|
@@ -141,7 +141,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
141
141
|
* details.
|
|
142
142
|
*/
|
|
143
143
|
authorization: string;
|
|
144
|
-
})
|
|
144
|
+
}) => Promise<void>;
|
|
145
145
|
/**
|
|
146
146
|
* Bulk delete all Components that match the given request.
|
|
147
147
|
*
|
|
@@ -162,7 +162,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
162
162
|
* @path {DELETE} /rest/devopscomponents/1.0/bulkByProperties
|
|
163
163
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-bulkbyproperties-delete
|
|
164
164
|
*/
|
|
165
|
-
deleteComponentsByProperty({ authorization, }: {
|
|
165
|
+
deleteComponentsByProperty: ({ authorization, }: {
|
|
166
166
|
/**
|
|
167
167
|
* All requests must be signed with a Connect JWT token that corresponds to the
|
|
168
168
|
* Provider app installed in Jira.
|
|
@@ -174,7 +174,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
174
174
|
* details.
|
|
175
175
|
*/
|
|
176
176
|
authorization: string;
|
|
177
|
-
})
|
|
177
|
+
}) => Promise<void>;
|
|
178
178
|
/**
|
|
179
179
|
* Retrieve the currently stored Component data for the given ID.
|
|
180
180
|
*
|
|
@@ -189,7 +189,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
189
189
|
* @path {GET} /rest/devopscomponents/1.0/{componentId}
|
|
190
190
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-get
|
|
191
191
|
*/
|
|
192
|
-
getComponentById({ componentId, authorization, }: {
|
|
192
|
+
getComponentById: ({ componentId, authorization, }: {
|
|
193
193
|
/** The ID of the Component to fetch. */
|
|
194
194
|
componentId: string;
|
|
195
195
|
/**
|
|
@@ -203,7 +203,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
203
203
|
* details.
|
|
204
204
|
*/
|
|
205
205
|
authorization: string;
|
|
206
|
-
})
|
|
206
|
+
}) => Promise<{
|
|
207
207
|
/**
|
|
208
208
|
* The DevOpsComponentData schema version used for this devops component data.
|
|
209
209
|
*
|
|
@@ -322,7 +322,7 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
322
322
|
* @path {POST} /rest/devopscomponents/1.0/bulk
|
|
323
323
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-bulk-post
|
|
324
324
|
*/
|
|
325
|
-
submitComponents({ authorization, submitDevopsComponentsRequest, }: {
|
|
325
|
+
submitComponents: ({ authorization, submitDevopsComponentsRequest, }: {
|
|
326
326
|
/**
|
|
327
327
|
* All requests must be signed with a Connect JWT token that corresponds to the
|
|
328
328
|
* Provider app installed in Jira.
|
|
@@ -336,6 +336,6 @@ export declare class DevOpsComponentsService extends CommonHttpService {
|
|
|
336
336
|
authorization: string;
|
|
337
337
|
/** DevOps Component data to submit. */
|
|
338
338
|
submitDevopsComponentsRequest: SubmitDevopsComponentsRequest;
|
|
339
|
-
})
|
|
339
|
+
}) => Promise<SubmitDevopsComponentsResponse>;
|
|
340
340
|
static initialize(): void;
|
|
341
341
|
}
|