@@ -1496,6 +1496,7 @@ open class CoreAPI {
1496
1496
/**
1497
1497
1498
1498
- parameter attributes: (query) Attributes (optional)
1499
+ - parameter includeChildren: (query) (optional, default to false)
1499
1500
- parameter includeUsers: (query) (optional, default to true)
1500
1501
- parameter isSuperuser: (query) (optional)
1501
1502
- parameter membersByPk: (query) (optional)
@@ -1509,8 +1510,8 @@ open class CoreAPI {
1509
1510
- returns: PaginatedGroupList
1510
1511
*/
1511
1512
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1512
- open class func coreGroupsList( attributes: String ? = nil , includeUsers: Bool ? = nil , isSuperuser: Bool ? = nil , membersByPk: [ Int ] ? = nil , membersByUsername: [ String ] ? = nil , name: String ? = nil , ordering: String ? = nil , page: Int ? = nil , pageSize: Int ? = nil , search: String ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) async throws ( ErrorResponse) -> PaginatedGroupList {
1513
- return try await coreGroupsListWithRequestBuilder ( attributes: attributes, includeUsers: includeUsers, isSuperuser: isSuperuser, membersByPk: membersByPk, membersByUsername: membersByUsername, name: name, ordering: ordering, page: page, pageSize: pageSize, search: search, apiConfiguration: apiConfiguration) . execute ( ) . body
1513
+ open class func coreGroupsList( attributes: String ? = nil , includeChildren : Bool ? = nil , includeUsers: Bool ? = nil , isSuperuser: Bool ? = nil , membersByPk: [ Int ] ? = nil , membersByUsername: [ String ] ? = nil , name: String ? = nil , ordering: String ? = nil , page: Int ? = nil , pageSize: Int ? = nil , search: String ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) async throws ( ErrorResponse) -> PaginatedGroupList {
1514
+ return try await coreGroupsListWithRequestBuilder ( attributes: attributes, includeChildren : includeChildren , includeUsers: includeUsers, isSuperuser: isSuperuser, membersByPk: membersByPk, membersByUsername: membersByUsername, name: name, ordering: ordering, page: page, pageSize: pageSize, search: search, apiConfiguration: apiConfiguration) . execute ( ) . body
1514
1515
}
1515
1516
1516
1517
/**
@@ -1520,6 +1521,7 @@ open class CoreAPI {
1520
1521
- type: http
1521
1522
- name: authentik
1522
1523
- parameter attributes: (query) Attributes (optional)
1524
+ - parameter includeChildren: (query) (optional, default to false)
1523
1525
- parameter includeUsers: (query) (optional, default to true)
1524
1526
- parameter isSuperuser: (query) (optional)
1525
1527
- parameter membersByPk: (query) (optional)
@@ -1532,14 +1534,15 @@ open class CoreAPI {
1532
1534
- parameter apiConfiguration: The configuration for the http request.
1533
1535
- returns: RequestBuilder<PaginatedGroupList>
1534
1536
*/
1535
- open class func coreGroupsListWithRequestBuilder( attributes: String ? = nil , includeUsers: Bool ? = nil , isSuperuser: Bool ? = nil , membersByPk: [ Int ] ? = nil , membersByUsername: [ String ] ? = nil , name: String ? = nil , ordering: String ? = nil , page: Int ? = nil , pageSize: Int ? = nil , search: String ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) -> RequestBuilder < PaginatedGroupList > {
1537
+ open class func coreGroupsListWithRequestBuilder( attributes: String ? = nil , includeChildren : Bool ? = nil , includeUsers: Bool ? = nil , isSuperuser: Bool ? = nil , membersByPk: [ Int ] ? = nil , membersByUsername: [ String ] ? = nil , name: String ? = nil , ordering: String ? = nil , page: Int ? = nil , pageSize: Int ? = nil , search: String ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) -> RequestBuilder < PaginatedGroupList > {
1536
1538
let localVariablePath = " /core/groups/ "
1537
1539
let localVariableURLString = apiConfiguration. basePath + localVariablePath
1538
1540
let localVariableParameters : [ String : any Sendable ] ? = nil
1539
1541
1540
1542
var localVariableUrlComponents = URLComponents ( string: localVariableURLString)
1541
1543
localVariableUrlComponents? . queryItems = APIHelper . mapValuesToQueryItems ( [
1542
1544
" attributes " : ( wrappedValue: attributes? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1545
+ " include_children " : ( wrappedValue: includeChildren? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1543
1546
" include_users " : ( wrappedValue: includeUsers? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1544
1547
" is_superuser " : ( wrappedValue: isSuperuser? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1545
1548
" members_by_pk " : ( wrappedValue: membersByPk? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
@@ -1653,13 +1656,14 @@ open class CoreAPI {
1653
1656
/**
1654
1657
1655
1658
- parameter groupUuid: (path) A UUID string identifying this Group.
1659
+ - parameter includeChildren: (query) (optional, default to false)
1656
1660
- parameter includeUsers: (query) (optional, default to true)
1657
1661
- parameter apiConfiguration: The configuration for the http request.
1658
1662
- returns: Group
1659
1663
*/
1660
1664
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1661
- open class func coreGroupsRetrieve( groupUuid: UUID , includeUsers: Bool ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) async throws ( ErrorResponse) -> Group {
1662
- return try await coreGroupsRetrieveWithRequestBuilder ( groupUuid: groupUuid, includeUsers: includeUsers, apiConfiguration: apiConfiguration) . execute ( ) . body
1665
+ open class func coreGroupsRetrieve( groupUuid: UUID , includeChildren : Bool ? = nil , includeUsers: Bool ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) async throws ( ErrorResponse) -> Group {
1666
+ return try await coreGroupsRetrieveWithRequestBuilder ( groupUuid: groupUuid, includeChildren : includeChildren , includeUsers: includeUsers, apiConfiguration: apiConfiguration) . execute ( ) . body
1663
1667
}
1664
1668
1665
1669
/**
@@ -1669,11 +1673,12 @@ open class CoreAPI {
1669
1673
- type: http
1670
1674
- name: authentik
1671
1675
- parameter groupUuid: (path) A UUID string identifying this Group.
1676
+ - parameter includeChildren: (query) (optional, default to false)
1672
1677
- parameter includeUsers: (query) (optional, default to true)
1673
1678
- parameter apiConfiguration: The configuration for the http request.
1674
1679
- returns: RequestBuilder<Group>
1675
1680
*/
1676
- open class func coreGroupsRetrieveWithRequestBuilder( groupUuid: UUID , includeUsers: Bool ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) -> RequestBuilder < Group > {
1681
+ open class func coreGroupsRetrieveWithRequestBuilder( groupUuid: UUID , includeChildren : Bool ? = nil , includeUsers: Bool ? = nil , apiConfiguration: authentikClientAPIConfiguration = authentikClientAPIConfiguration. shared) -> RequestBuilder < Group > {
1677
1682
var localVariablePath = " /core/groups/{group_uuid}/ "
1678
1683
let groupUuidPreEscape = " \( APIHelper . mapValueToPathItem ( groupUuid) ) "
1679
1684
let groupUuidPostEscape = groupUuidPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAllowed) ?? " "
@@ -1683,6 +1688,7 @@ open class CoreAPI {
1683
1688
1684
1689
var localVariableUrlComponents = URLComponents ( string: localVariableURLString)
1685
1690
localVariableUrlComponents? . queryItems = APIHelper . mapValuesToQueryItems ( [
1691
+ " include_children " : ( wrappedValue: includeChildren? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1686
1692
" include_users " : ( wrappedValue: includeUsers? . asParameter ( codableHelper: apiConfiguration. codableHelper) , isExplode: true ) ,
1687
1693
] )
1688
1694
0 commit comments