Skip to content

Commit 27762a9

Browse files
authored
rebuild for 1.57.0 (#48)
1 parent 571bcc4 commit 27762a9

1 file changed

Lines changed: 129 additions & 0 deletions

File tree

src/FusionAuth/FusionAuthClient.php

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,24 @@ public function patchEmailTemplate($emailTemplateId, $request)
23582358
->go();
23592359
}
23602360

2361+
/**
2362+
* Updates, via PATCH, the Entity with the given Id.
2363+
*
2364+
* @param string $entityId The Id of the Entity Type to update.
2365+
* @param array $request The request that contains just the new Entity information.
2366+
*
2367+
* @return ClientResponse The ClientResponse.
2368+
* @throws \Exception
2369+
*/
2370+
public function patchEntity($entityId, $request)
2371+
{
2372+
return $this->start()->uri("/api/entity")
2373+
->urlSegment($entityId)
2374+
->bodyHandler(new JSONBodyHandler($request))
2375+
->patch()
2376+
->go();
2377+
}
2378+
23612379
/**
23622380
* Updates, via PATCH, the Entity Type with the given Id.
23632381
*
@@ -2376,6 +2394,63 @@ public function patchEntityType($entityTypeId, $request)
23762394
->go();
23772395
}
23782396

2397+
/**
2398+
* Patches the permission with the given Id for the entity type.
2399+
*
2400+
* @param string $entityTypeId The Id of the entityType that the permission belongs to.
2401+
* @param string $permissionId The Id of the permission to patch.
2402+
* @param array $request The request that contains the new permission information.
2403+
*
2404+
* @return ClientResponse The ClientResponse.
2405+
* @throws \Exception
2406+
*/
2407+
public function patchEntityTypePermission($entityTypeId, $permissionId, $request)
2408+
{
2409+
return $this->start()->uri("/api/entity/type")
2410+
->urlSegment($entityTypeId)
2411+
->urlSegment("permission")
2412+
->urlSegment($permissionId)
2413+
->bodyHandler(new JSONBodyHandler($request))
2414+
->patch()
2415+
->go();
2416+
}
2417+
2418+
/**
2419+
* Patches the form with the given Id.
2420+
*
2421+
* @param string $formId The Id of the form to patch.
2422+
* @param array $request The request object that contains the new form information.
2423+
*
2424+
* @return ClientResponse The ClientResponse.
2425+
* @throws \Exception
2426+
*/
2427+
public function patchForm($formId, $request)
2428+
{
2429+
return $this->start()->uri("/api/form")
2430+
->urlSegment($formId)
2431+
->bodyHandler(new JSONBodyHandler($request))
2432+
->patch()
2433+
->go();
2434+
}
2435+
2436+
/**
2437+
* Patches the form field with the given Id.
2438+
*
2439+
* @param string $fieldId The Id of the form field to patch.
2440+
* @param array $request The request object that contains the new form field information.
2441+
*
2442+
* @return ClientResponse The ClientResponse.
2443+
* @throws \Exception
2444+
*/
2445+
public function patchFormField($fieldId, $request)
2446+
{
2447+
return $this->start()->uri("/api/form/field")
2448+
->urlSegment($fieldId)
2449+
->bodyHandler(new JSONBodyHandler($request))
2450+
->patch()
2451+
->go();
2452+
}
2453+
23792454
/**
23802455
* Updates, via PATCH, the group with the given Id.
23812456
*
@@ -2394,6 +2469,24 @@ public function patchGroup($groupId, $request)
23942469
->go();
23952470
}
23962471

2472+
/**
2473+
* Update the IP Access Control List with the given Id.
2474+
*
2475+
* @param string $accessControlListId The Id of the IP Access Control List to patch.
2476+
* @param array $request The request that contains the new IP Access Control List information.
2477+
*
2478+
* @return ClientResponse The ClientResponse.
2479+
* @throws \Exception
2480+
*/
2481+
public function patchIPAccessControlList($accessControlListId, $request)
2482+
{
2483+
return $this->start()->uri("/api/ip-acl")
2484+
->urlSegment($accessControlListId)
2485+
->bodyHandler(new JSONBodyHandler($request))
2486+
->patch()
2487+
->go();
2488+
}
2489+
23972490
/**
23982491
* Updates, via PATCH, the identity provider with the given Id.
23992492
*
@@ -2645,6 +2738,24 @@ public function patchUserConsent($userConsentId, $request)
26452738
->go();
26462739
}
26472740

2741+
/**
2742+
* Patches the webhook with the given Id.
2743+
*
2744+
* @param string $webhookId The Id of the webhook to update.
2745+
* @param array $request The request that contains the new webhook information.
2746+
*
2747+
* @return ClientResponse The ClientResponse.
2748+
* @throws \Exception
2749+
*/
2750+
public function patchWebhook($webhookId, $request)
2751+
{
2752+
return $this->start()->uri("/api/webhook")
2753+
->urlSegment($webhookId)
2754+
->bodyHandler(new JSONBodyHandler($request))
2755+
->patch()
2756+
->go();
2757+
}
2758+
26482759
/**
26492760
* Reactivates the application with the given Id.
26502761
*
@@ -5590,6 +5701,24 @@ public function updateEntityTypePermission($entityTypeId, $permissionId, $reques
55905701
->go();
55915702
}
55925703

5704+
/**
5705+
* Updates a family with a given Id.
5706+
*
5707+
* @param string $familyId The Id of the family to update.
5708+
* @param array $request The request object that contains all the new family information.
5709+
*
5710+
* @return ClientResponse The ClientResponse.
5711+
* @throws \Exception
5712+
*/
5713+
public function updateFamily($familyId, $request)
5714+
{
5715+
return $this->start()->uri("/api/user/family")
5716+
->urlSegment($familyId)
5717+
->bodyHandler(new JSONBodyHandler($request))
5718+
->put()
5719+
->go();
5720+
}
5721+
55935722
/**
55945723
* Updates the form with the given Id.
55955724
*

0 commit comments

Comments
 (0)