85 Commits

Author SHA1 Message Date
dependabot[bot]
638202a5d2
Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.0.0 (#3343)
* Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.0.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.61.0 to 6.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.0.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fixing typing errors

* Reformatting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2023-07-11 15:15:50 -04:00
Justin Dalrymple
5012276f61
Ensure the combined nested object options are handled correctly (#3331) 2023-07-02 22:46:01 -04:00
Justin Dalrymple
d7618af65b
Adding unit tests and fixing the trigger and remove methods (#3328) 2023-06-27 12:32:45 -04:00
ArnaudTA
43e29499c8
Add missing administrator-only Users.all search params (#3327)
---------

Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2023-06-26 19:20:26 -04:00
Justin Dalrymple
678a0a7887
Adding streaming support to import/exports (#3326) 2023-06-26 16:36:16 -04:00
Justin Dalrymple
71db47b95f
Add missing types to PipelineTriggerTokenSchema (#3318) 2023-06-26 12:54:08 -04:00
Justin Dalrymple
98111ea741
Add search specific query params to the all types (#3319) 2023-06-26 12:25:31 -04:00
Justin Dalrymple
6eeeffa805
Fixing typo in the edit function of Resource/Group/Project Milestones (#3308) 2023-06-11 12:04:22 -04:00
Justin Dalrymple
e58ae0c7b1
Fix the pipeline trigger endpoint (#3305) 2023-06-08 17:06:12 -04:00
Justin Dalrymple
4de57d3f3e
Adding missing property is_admin to ExpandedUserSchema type (#3304) 2023-06-08 15:55:35 -04:00
Justin Dalrymple
a396200540
Update protected branch types (#3302) 2023-06-08 15:55:22 -04:00
Justin Dalrymple
70d8ee95c5
Renaming downloadTraceFile to showLog and updating return type (#3301) 2023-06-08 15:55:09 -04:00
Rafael Mello
2a17bb9ba0
Updating typing for MergeRequests.all() to properly support not passing groupId or projectId (#3298) 2023-06-06 22:28:10 -04:00
Justin Dalrymple
30bac07d21
Switching to a more strict "Omit" type to support better mapped typing (#3297) 2023-06-06 16:35:29 -04:00
Rafael Mello
78dc6b7aef
Adding Mergerequest "changes" endpoint for backwards compatibility until full deprecation (#3293)
Co-authored-by: Rafael Mello <rafael.mello@ifood.com.br>
Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2023-06-06 13:17:42 -04:00
Justin Dalrymple
320582d75a
Change ProjectImportExport to ProjectImportExports (#3292) 2023-06-02 12:49:31 -04:00
Justin Dalrymple
d81f48fa52
Fix return types for a few MR methods (#3290)
* Fix typo in AllMergeRequestOptions, `in` was supposed to be `iids`
2023-06-01 20:00:44 -04:00
Will
a15342ddde
Mark some MR nullable types as nullable (#3286) 2023-06-01 11:01:36 -04:00
Justin Dalrymple
7375c1ed50
Add missing pagination type exports (#3281) 2023-05-29 14:08:26 -04:00
Justin Dalrymple
9184752700
Improving pagination types for easier usage (#3280) 2023-05-29 13:48:17 -04:00
Justin Dalrymple
5b340ecb14
Updating CI Lint API Support to match Gitlab API v16 (#3278)
* Updating testing docker config to be a fixed gitlab version
2023-05-28 02:21:25 -04:00
Roman Khristoforov
a300ca93f0
Fix ExternalStatusChecks arguments (#3276)
* Remove unnecessary show() method
* Fix unit tests for ExternalStatusChecks
---------

Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2023-05-27 18:30:23 -04:00
Bambii
8563174829
Added fix for Group Access tokens requests (#3275)
Co-authored-by: Shaun Brown <shaunbrown@capitecbank.co.za>
2023-05-25 11:07:11 -04:00
Justin Dalrymple
63cc513686
Add support for a query timeout (#3271) 2023-05-22 00:16:22 -04:00
Justin Dalrymple
cb6305282d
Fix typing for Projects, Users and Groups (#3272)
* Fix the overload functions
* Fixing typing for the Project, User and Group related schemas
2023-05-21 14:10:07 -04:00
Justin Dalrymple
02f789faca
Handle casing edge cases (#3268) 2023-05-19 22:03:10 -04:00
Marvin Altemeier
b31b267667
Add MergeRequestNoteAwardEmojis class (#3265) 2023-05-19 22:01:17 -04:00
Spencer Salisbury
6fd8232b66
Add missing fields to EditMergeRequestOptions (#3262)
* Add assigneeIds, reviewerIds and squashOnMerge to EditMergeRequestOptions
2023-05-15 14:34:04 -04:00
Théis Bazin
06379ce6d1
Fix argument typo: contenxt -> content typo (#3257) 2023-05-12 19:34:03 -04:00
Justin Dalrymple
23e66581f8
Settings cors to same-origin conditionally for protected api route (#3258) 2023-05-12 19:14:32 -04:00
Justin Dalrymple
56c2540056
Export additional template types (#3252) 2023-05-11 22:14:04 -04:00
Justin Dalrymple
f9ac9f4666
Update fetch mode to exclude cors and add repository unit and integration tests (#3249) 2023-05-09 20:30:00 -04:00
Justin Dalrymple
764459737c
Fixing support for nested position arguments (#3246) 2023-05-06 14:35:45 -04:00
Justin Dalrymple
43a7bd3561
Fixing support for nested position arguments (#3244) 2023-05-06 14:09:34 -04:00
Justin Dalrymple
3808fbbbc4
Latest release housekeeping v3 (#3229)
* More CI tweaks, and additional CLI restructuring
* Add 'Camelize'  from '@gitbeaker/core' export (#3231)

---------

Co-authored-by: Rafael Mello <merorafael@gmail.com>
2023-04-29 14:19:43 -04:00
Justin Dalrymple
ef05364f37
v37 Release Housekeeping - Part 2 (#3226)
- Fixing codeclimate config
- Improving README badge config
- Debug CI test reports
- Improve test coverage
- Update externals APIs to have consistent structures
- Update Alert Management to improve clarity
- Add convenience methods in ProtectedTags
- Update optional types through the library that were missed
- Rename deregister to unregister and fix the register method which was using the wrong HTTP method
- Fixing CI caching
2023-04-28 22:48:27 -04:00
Justin Dalrymple
947867b5c9
v37 Release Housekeeping (#3222)
* Updating all-contributors-cli version and packages
* Explicitly export types and fix conflict
* Fixing position argument formatting for oddly cased resources in the cli export
2023-04-27 17:47:00 -04:00
Justin Dalrymple
7f1648802b Major Release v36.0.0 - Improved Typing, and API support (16.0) (#2258)
Adding extensive typing support
Unified browser and Node.JS implementations
Adding support of Gitlab API 16.0
2023-04-26 12:58:56 -04:00
Sander Cox
15497ed9bf
Allow MR discussions to be resolved (#2463)
Also updated the discussionId to be string | number not a number
2022-11-15 21:40:19 -05:00
Ivan Katliarchuk
5e8bfad16b
fix: Update Users current method return type to UserExtendedSchema (#2737) 2022-11-15 21:27:39 -05:00
phillipB-nmprofile
9258f954b2
fix: Expand Groups.search's options parameter type to PaginatedRequestOptions (#2813) 2022-11-15 21:25:31 -05:00
Robert Donnelly
ab7a45e81f
fix: allow string discussionId for MergeRequestDiscussions (#2818) 2022-11-15 21:23:33 -05:00
Felix Herold
6b73c5b815
fix: missing resolved key in DiscussionNote interface (#2821) 2022-11-15 21:21:06 -05:00
Sullivan SENECHAL
0c8ada8c86
Update Project default branch typing to include undefined value (#2515) 2022-07-11 18:39:51 -04:00
Justin Dalrymple
dd2be269a6
Support camelized keys on discussions (#2433) 2022-03-23 19:24:29 -04:00
youngje
63f681c362
Typo in MergeRequest type (#2431) 2022-03-22 09:27:23 -04:00
Justin Dalrymple
44cb1f379b
Update del requests to accept body parameters (#2424) 2022-03-20 11:23:47 -04:00
Justin Dalrymple
0bf87da2a9
Handle position arguments correctly (#2423) 2022-03-19 23:49:05 -04:00
Justin Dalrymple
a7f034cc7d
Remove double encoding (#2401) 2022-03-15 23:50:45 -04:00
Justin Dalrymple
a803c2d288
Updating return type for raw method #2379 (#2383) 2022-03-09 13:35:00 -05:00