Skip to content

Commit bb5478d

Browse files
authored
rebuild for 1.57.0 (#31)
1 parent 4b7f792 commit bb5478d

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

lib/fusionauth/fusionauth_client.rb

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,6 +1840,20 @@ def patch_email_template(email_template_id, request)
18401840
.go
18411841
end
18421842

1843+
#
1844+
# Updates, via PATCH, the Entity with the given Id.
1845+
#
1846+
# @param entity_id [string] The Id of the Entity Type to update.
1847+
# @param request [OpenStruct, Hash] The request that contains just the new Entity information.
1848+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1849+
def patch_entity(entity_id, request)
1850+
start.uri('/api/entity')
1851+
.url_segment(entity_id)
1852+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
1853+
.patch
1854+
.go
1855+
end
1856+
18431857
#
18441858
# Updates, via PATCH, the Entity Type with the given Id.
18451859
#
@@ -1854,6 +1868,51 @@ def patch_entity_type(entity_type_id, request)
18541868
.go
18551869
end
18561870

1871+
#
1872+
# Patches the permission with the given Id for the entity type.
1873+
#
1874+
# @param entity_type_id [string] The Id of the entityType that the permission belongs to.
1875+
# @param permission_id [string] The Id of the permission to patch.
1876+
# @param request [OpenStruct, Hash] The request that contains the new permission information.
1877+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1878+
def patch_entity_type_permission(entity_type_id, permission_id, request)
1879+
start.uri('/api/entity/type')
1880+
.url_segment(entity_type_id)
1881+
.url_segment("permission")
1882+
.url_segment(permission_id)
1883+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
1884+
.patch
1885+
.go
1886+
end
1887+
1888+
#
1889+
# Patches the form with the given Id.
1890+
#
1891+
# @param form_id [string] The Id of the form to patch.
1892+
# @param request [OpenStruct, Hash] The request object that contains the new form information.
1893+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1894+
def patch_form(form_id, request)
1895+
start.uri('/api/form')
1896+
.url_segment(form_id)
1897+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
1898+
.patch
1899+
.go
1900+
end
1901+
1902+
#
1903+
# Patches the form field with the given Id.
1904+
#
1905+
# @param field_id [string] The Id of the form field to patch.
1906+
# @param request [OpenStruct, Hash] The request object that contains the new form field information.
1907+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1908+
def patch_form_field(field_id, request)
1909+
start.uri('/api/form/field')
1910+
.url_segment(field_id)
1911+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
1912+
.patch
1913+
.go
1914+
end
1915+
18571916
#
18581917
# Updates, via PATCH, the group with the given Id.
18591918
#
@@ -1868,6 +1927,20 @@ def patch_group(group_id, request)
18681927
.go
18691928
end
18701929

1930+
#
1931+
# Update the IP Access Control List with the given Id.
1932+
#
1933+
# @param access_control_list_id [string] The Id of the IP Access Control List to patch.
1934+
# @param request [OpenStruct, Hash] The request that contains the new IP Access Control List information.
1935+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1936+
def patch_ip_access_control_list(access_control_list_id, request)
1937+
start.uri('/api/ip-acl')
1938+
.url_segment(access_control_list_id)
1939+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
1940+
.patch
1941+
.go
1942+
end
1943+
18711944
#
18721945
# Updates, via PATCH, the identity provider with the given Id.
18731946
#
@@ -2063,6 +2136,20 @@ def patch_user_consent(user_consent_id, request)
20632136
.go
20642137
end
20652138

2139+
#
2140+
# Patches the webhook with the given Id.
2141+
#
2142+
# @param webhook_id [string] The Id of the webhook to update.
2143+
# @param request [OpenStruct, Hash] The request that contains the new webhook information.
2144+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
2145+
def patch_webhook(webhook_id, request)
2146+
start.uri('/api/webhook')
2147+
.url_segment(webhook_id)
2148+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
2149+
.patch
2150+
.go
2151+
end
2152+
20662153
#
20672154
# Reactivates the application with the given Id.
20682155
#
@@ -4304,6 +4391,20 @@ def update_entity_type_permission(entity_type_id, permission_id, request)
43044391
.go
43054392
end
43064393

4394+
#
4395+
# Updates a family with a given Id.
4396+
#
4397+
# @param family_id [string] The Id of the family to update.
4398+
# @param request [OpenStruct, Hash] The request object that contains all the new family information.
4399+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
4400+
def update_family(family_id, request)
4401+
start.uri('/api/user/family')
4402+
.url_segment(family_id)
4403+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
4404+
.put
4405+
.go
4406+
end
4407+
43074408
#
43084409
# Updates the form with the given Id.
43094410
#

0 commit comments

Comments
 (0)