@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
|
@@ -15,128 +15,131 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-classification-levels
|
|
16
16
|
*/
|
|
17
17
|
class ProjectClassificationLevelsService extends CommonHttpService_1.CommonHttpService {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
/**
|
|
21
|
+
* Returns the default data classification for a project.
|
|
22
|
+
*
|
|
23
|
+
* **[Permissions](#permissions) required:**
|
|
24
|
+
*
|
|
25
|
+
* * *Browse Projects* [project
|
|
26
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
27
|
+
* * *Administer projects* [project
|
|
28
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
29
|
+
* * *Administer jira* [global
|
|
30
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
31
|
+
*
|
|
32
|
+
* @returns Returned if the request is successful.
|
|
33
|
+
*
|
|
34
|
+
* example: {
|
|
35
|
+
* "classification": {
|
|
36
|
+
* "id":
|
|
37
|
+
* "ari:cloud:platform::classification-tag/5bfa70f7-4af1-44f5-9e12-1ce185f15a38",
|
|
38
|
+
* "status": "published",
|
|
39
|
+
* "name": "Restricted",
|
|
40
|
+
* "rank": 1,
|
|
41
|
+
* "description": "Data we hold that would be very damaging and would cause
|
|
42
|
+
* loss of trust with customers and present legal risk if mishandled",
|
|
43
|
+
* "guideline": "Access to data must be restricted to only individuals who
|
|
44
|
+
* need access in order to perform their job duties.",
|
|
45
|
+
* "color": "RED"
|
|
46
|
+
* }
|
|
47
|
+
* }
|
|
48
|
+
* @path {GET} /rest/api/3/project/{projectIdOrKey}/classification-level/default
|
|
49
|
+
* @scopes-current read:jira-work
|
|
50
|
+
* @scopes-beta read:project:jira
|
|
51
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-classification-levels#api-rest-api-3-project-projectidorkey-classification-level-default-get
|
|
52
|
+
*/
|
|
53
|
+
this.getDefaultProjectClassification = ({ projectIdOrKey, }) => {
|
|
54
|
+
return this.getClientInstance()
|
|
55
|
+
.request({
|
|
56
|
+
path: "/rest/api/3/project/{projectIdOrKey}/classification-level/default",
|
|
57
|
+
method: "GET",
|
|
58
|
+
pathParams: {
|
|
59
|
+
projectIdOrKey,
|
|
60
|
+
},
|
|
61
|
+
})
|
|
62
|
+
.then(this.getClientInstance().responseHandler({
|
|
63
|
+
200: {
|
|
64
|
+
"application/json": "json",
|
|
65
|
+
},
|
|
66
|
+
}))
|
|
67
|
+
.then(commonHttpClient.castResponse())
|
|
68
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectClassificationLevelsService.getDefaultProjectClassification.response"))
|
|
69
|
+
.then(commonHttpClient.getBody);
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Remove the default data classification level for a project.
|
|
73
|
+
*
|
|
74
|
+
* **[Permissions](#permissions) required:**
|
|
75
|
+
*
|
|
76
|
+
* * *Administer projects* [project
|
|
77
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
78
|
+
* * *Administer jira* [global
|
|
79
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
80
|
+
*
|
|
81
|
+
* @returns Returned if the request is successful.
|
|
82
|
+
* @path {DELETE} /rest/api/3/project/{projectIdOrKey}/classification-level/default
|
|
83
|
+
* @scopes-current manage:jira-project
|
|
84
|
+
* @scopes-beta write:project:jira
|
|
85
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-classification-levels#api-rest-api-3-project-projectidorkey-classification-level-default-delete
|
|
86
|
+
*/
|
|
87
|
+
this.removeDefaultProjectClassification = ({ projectIdOrKey, }) => {
|
|
88
|
+
return this.getClientInstance()
|
|
89
|
+
.request({
|
|
90
|
+
path: "/rest/api/3/project/{projectIdOrKey}/classification-level/default",
|
|
91
|
+
method: "DELETE",
|
|
92
|
+
pathParams: {
|
|
93
|
+
projectIdOrKey,
|
|
94
|
+
},
|
|
95
|
+
})
|
|
96
|
+
.then(this.getClientInstance().responseHandler({
|
|
97
|
+
204: {
|
|
98
|
+
"application/json": "json",
|
|
99
|
+
},
|
|
100
|
+
}))
|
|
101
|
+
.then(commonHttpClient.castResponse())
|
|
102
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectClassificationLevelsService.removeDefaultProjectClassification.response"))
|
|
103
|
+
.then(commonHttpClient.getBody);
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Updates the default data classification level for a project.
|
|
107
|
+
*
|
|
108
|
+
* **[Permissions](#permissions) required:**
|
|
109
|
+
*
|
|
110
|
+
* * *Administer projects* [project
|
|
111
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for the project.
|
|
112
|
+
* * *Administer jira* [global
|
|
113
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
114
|
+
*
|
|
115
|
+
* @returns Returned if the request is successful.
|
|
116
|
+
* @path {PUT} /rest/api/3/project/{projectIdOrKey}/classification-level/default
|
|
117
|
+
* @scopes-current manage:jira-project
|
|
118
|
+
* @scopes-beta write:project:jira
|
|
119
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-classification-levels#api-rest-api-3-project-projectidorkey-classification-level-default-put
|
|
120
|
+
*/
|
|
121
|
+
this.updateDefaultProjectClassification = ({ projectIdOrKey, updateDefaultProjectClassificationBean, }) => {
|
|
122
|
+
return this.getClientInstance()
|
|
123
|
+
.request({
|
|
124
|
+
path: "/rest/api/3/project/{projectIdOrKey}/classification-level/default",
|
|
125
|
+
method: "PUT",
|
|
126
|
+
pathParams: {
|
|
127
|
+
projectIdOrKey,
|
|
128
|
+
},
|
|
129
|
+
headers: {
|
|
130
|
+
"Content-Type": "application/json",
|
|
131
|
+
},
|
|
132
|
+
body: updateDefaultProjectClassificationBean,
|
|
133
|
+
})
|
|
134
|
+
.then(this.getClientInstance().responseHandler({
|
|
135
|
+
204: {
|
|
136
|
+
"application/json": "json",
|
|
137
|
+
},
|
|
138
|
+
}))
|
|
139
|
+
.then(commonHttpClient.castResponse())
|
|
140
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ProjectClassificationLevelsService.updateDefaultProjectClassification.response"))
|
|
141
|
+
.then(commonHttpClient.getBody);
|
|
142
|
+
};
|
|
140
143
|
}
|
|
141
144
|
static initialize() {
|
|
142
145
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ProjectClassificationLevelsService.getDefaultProjectClassification.response", zod_1.z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectClassificationLevelsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/ProjectClassificationLevelsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAE9D,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,kCAAmC,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"ProjectClassificationLevelsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/ProjectClassificationLevelsService.ts"],"names":[],"mappings":"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"}
|
|
@@ -105,7 +105,7 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
105
105
|
* read:project.component:jira
|
|
106
106
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-post
|
|
107
107
|
*/
|
|
108
|
-
createComponent({ projectComponent, }: {
|
|
108
|
+
createComponent: ({ projectComponent, }: {
|
|
109
109
|
/**
|
|
110
110
|
* @example {
|
|
111
111
|
* "assigneeType": "PROJECT_LEAD",
|
|
@@ -117,7 +117,7 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
117
117
|
* }
|
|
118
118
|
*/
|
|
119
119
|
projectComponent: ProjectComponent;
|
|
120
|
-
})
|
|
120
|
+
}) => Promise<ProjectComponent>;
|
|
121
121
|
/**
|
|
122
122
|
* Deletes a component.
|
|
123
123
|
*
|
|
@@ -133,15 +133,15 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
133
133
|
* @scopes-beta delete:project.component:jira
|
|
134
134
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-delete
|
|
135
135
|
*/
|
|
136
|
-
deleteComponent({ id, moveIssuesTo, }: {
|
|
136
|
+
deleteComponent: ({ id, moveIssuesTo, }: {
|
|
137
137
|
/** The ID of the component. */
|
|
138
138
|
id: string;
|
|
139
139
|
/**
|
|
140
140
|
* The ID of the component to replace the deleted component. If this value is null
|
|
141
141
|
* no replacement is made.
|
|
142
142
|
*/
|
|
143
|
-
moveIssuesTo?: string;
|
|
144
|
-
})
|
|
143
|
+
moveIssuesTo?: string | undefined;
|
|
144
|
+
}) => Promise<void>;
|
|
145
145
|
/**
|
|
146
146
|
* Returns a [paginated](#pagination) list of all components in a project,
|
|
147
147
|
* including global (Compass) components when applicable.
|
|
@@ -162,26 +162,26 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
162
162
|
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
163
163
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-get
|
|
164
164
|
*/
|
|
165
|
-
findComponentsForProjects({ projectIdsOrKeys, startAt, maxResults, orderBy, query, }?: {
|
|
165
|
+
findComponentsForProjects: ({ projectIdsOrKeys, startAt, maxResults, orderBy, query, }?: {
|
|
166
166
|
/** The project IDs and/or project keys (case sensitive). */
|
|
167
|
-
projectIdsOrKeys?: string[];
|
|
167
|
+
projectIdsOrKeys?: string[] | undefined;
|
|
168
168
|
/** The index of the first item to return in a page of results (page offset). */
|
|
169
|
-
startAt?: number;
|
|
169
|
+
startAt?: number | undefined;
|
|
170
170
|
/** The maximum number of items to return per page. */
|
|
171
|
-
maxResults?: number;
|
|
171
|
+
maxResults?: number | undefined;
|
|
172
172
|
/**
|
|
173
173
|
* [Order](#ordering) the results by a field:
|
|
174
174
|
*
|
|
175
175
|
* * `description` Sorts by the component description.
|
|
176
176
|
* * `name` Sorts by component name.
|
|
177
177
|
*/
|
|
178
|
-
orderBy?: "
|
|
178
|
+
orderBy?: "name" | "description" | "-description" | "+description" | "-name" | "+name" | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* Filter the results using a literal string. Components with a matching `name` or
|
|
181
181
|
* `description` are returned (case insensitive).
|
|
182
182
|
*/
|
|
183
|
-
query?: string;
|
|
184
|
-
})
|
|
183
|
+
query?: string | undefined;
|
|
184
|
+
}) => Promise<PageBean2ComponentJsonBean>;
|
|
185
185
|
/**
|
|
186
186
|
* Returns a component.
|
|
187
187
|
*
|
|
@@ -275,10 +275,10 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
275
275
|
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
276
276
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-get
|
|
277
277
|
*/
|
|
278
|
-
getComponent({ id, }: {
|
|
278
|
+
getComponent: ({ id, }: {
|
|
279
279
|
/** The ID of the component. */
|
|
280
280
|
id: string;
|
|
281
|
-
})
|
|
281
|
+
}) => Promise<ProjectComponent>;
|
|
282
282
|
/**
|
|
283
283
|
* Returns the counts of issues assigned to the component.
|
|
284
284
|
*
|
|
@@ -303,10 +303,10 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
303
303
|
* @scopes-beta
|
|
304
304
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-relatedissuecounts-get
|
|
305
305
|
*/
|
|
306
|
-
getComponentRelatedIssues({ id, }: {
|
|
306
|
+
getComponentRelatedIssues: ({ id, }: {
|
|
307
307
|
/** The ID of the component. */
|
|
308
308
|
id: string;
|
|
309
|
-
})
|
|
309
|
+
}) => Promise<ComponentIssuesCount>;
|
|
310
310
|
/**
|
|
311
311
|
* Returns all components in a project. See the [Get project components
|
|
312
312
|
* paginated](#api-rest-api-3-project-projectIdOrKey-component-get) resource if
|
|
@@ -482,7 +482,7 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
482
482
|
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
483
483
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-project-projectidorkey-components-get
|
|
484
484
|
*/
|
|
485
|
-
getProjectComponents({ projectIdOrKey, componentSource, }: {
|
|
485
|
+
getProjectComponents: ({ projectIdOrKey, componentSource, }: {
|
|
486
486
|
/** The project ID or project key (case sensitive). */
|
|
487
487
|
projectIdOrKey: string;
|
|
488
488
|
/**
|
|
@@ -491,8 +491,8 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
491
491
|
* components if the project is opted into Compass, otherwise it will return Jira
|
|
492
492
|
* components. Defaults to `jira`.
|
|
493
493
|
*/
|
|
494
|
-
componentSource?: "jira" | "compass" |
|
|
495
|
-
})
|
|
494
|
+
componentSource?: "auto" | "jira" | "compass" | undefined;
|
|
495
|
+
}) => Promise<ProjectComponent[]>;
|
|
496
496
|
/**
|
|
497
497
|
* Returns a [paginated](#pagination) list of all components in a project. See the
|
|
498
498
|
* [Get project components](#api-rest-api-3-project-projectIdOrKey-components-get)
|
|
@@ -822,13 +822,13 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
822
822
|
* read:application-role:jira, read:avatar:jira, read:group:jira
|
|
823
823
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-project-projectidorkey-component-get
|
|
824
824
|
*/
|
|
825
|
-
getProjectComponentsPaginated({ projectIdOrKey, startAt, maxResults, orderBy, componentSource, query, }: {
|
|
825
|
+
getProjectComponentsPaginated: ({ projectIdOrKey, startAt, maxResults, orderBy, componentSource, query, }: {
|
|
826
826
|
/** The project ID or project key (case sensitive). */
|
|
827
827
|
projectIdOrKey: string;
|
|
828
828
|
/** The index of the first item to return in a page of results (page offset). */
|
|
829
|
-
startAt?: number;
|
|
829
|
+
startAt?: number | undefined;
|
|
830
830
|
/** The maximum number of items to return per page. */
|
|
831
|
-
maxResults?: number;
|
|
831
|
+
maxResults?: number | undefined;
|
|
832
832
|
/**
|
|
833
833
|
* [Order](#ordering) the results by a field:
|
|
834
834
|
*
|
|
@@ -837,20 +837,20 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
837
837
|
* * `lead` Sorts by the user key of the component's project lead.
|
|
838
838
|
* * `name` Sorts by component name.
|
|
839
839
|
*/
|
|
840
|
-
orderBy?: "
|
|
840
|
+
orderBy?: "name" | "description" | "lead" | "issueCount" | "-description" | "+description" | "-name" | "+name" | "-issueCount" | "+issueCount" | "-lead" | "+lead" | undefined;
|
|
841
841
|
/**
|
|
842
842
|
* The source of the components to return. Can be `jira` (default), `compass` or
|
|
843
843
|
* `auto`. When `auto` is specified, the API will return connected Compass
|
|
844
844
|
* components if the project is opted into Compass, otherwise it will return Jira
|
|
845
845
|
* components. Defaults to `jira`.
|
|
846
846
|
*/
|
|
847
|
-
componentSource?: "jira" | "compass" |
|
|
847
|
+
componentSource?: "auto" | "jira" | "compass" | undefined;
|
|
848
848
|
/**
|
|
849
849
|
* Filter the results using a literal string. Components with a matching `name` or
|
|
850
850
|
* `description` are returned (case insensitive).
|
|
851
851
|
*/
|
|
852
|
-
query?: string;
|
|
853
|
-
})
|
|
852
|
+
query?: string | undefined;
|
|
853
|
+
}) => Promise<PageBeanComponentWithIssueCount>;
|
|
854
854
|
/**
|
|
855
855
|
* Updates a component. Any fields included in the request are overwritten. If
|
|
856
856
|
* `leadAccountId` is an empty string ("") the component lead is removed.
|
|
@@ -947,7 +947,7 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
947
947
|
* read:project.component:jira
|
|
948
948
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components#api-rest-api-3-component-id-put
|
|
949
949
|
*/
|
|
950
|
-
updateComponent({ id, projectComponent, }: {
|
|
950
|
+
updateComponent: ({ id, projectComponent, }: {
|
|
951
951
|
/** The ID of the component. */
|
|
952
952
|
id: string;
|
|
953
953
|
/**
|
|
@@ -960,6 +960,6 @@ export declare class ProjectComponentsService extends CommonHttpService {
|
|
|
960
960
|
* }
|
|
961
961
|
*/
|
|
962
962
|
projectComponent: ProjectComponent;
|
|
963
|
-
})
|
|
963
|
+
}) => Promise<ProjectComponent>;
|
|
964
964
|
static initialize(): void;
|
|
965
965
|
}
|