@@ -2366,6 +2366,22 @@ public ClientResponse<EmailTemplateResponse, Errors> patchEmailTemplate(UUID ema
23662366 .go ();
23672367 }
23682368
2369+ /**
2370+ * Updates, via PATCH, the Entity with the given Id.
2371+ *
2372+ * @param entityId The Id of the Entity Type to update.
2373+ * @param request The request that contains just the new Entity information.
2374+ * @return The ClientResponse object.
2375+ */
2376+ public ClientResponse <EntityResponse , Errors > patchEntity (UUID entityId , Map <String , Object > request ) {
2377+ return start (EntityResponse .class , Errors .class )
2378+ .uri ("/api/entity" )
2379+ .urlSegment (entityId )
2380+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2381+ .patch ()
2382+ .go ();
2383+ }
2384+
23692385 /**
23702386 * Updates, via PATCH, the Entity Type with the given Id.
23712387 *
@@ -2382,6 +2398,57 @@ public ClientResponse<EntityTypeResponse, Errors> patchEntityType(UUID entityTyp
23822398 .go ();
23832399 }
23842400
2401+ /**
2402+ * Patches the permission with the given Id for the entity type.
2403+ *
2404+ * @param entityTypeId The Id of the entityType that the permission belongs to.
2405+ * @param permissionId The Id of the permission to patch.
2406+ * @param request The request that contains the new permission information.
2407+ * @return The ClientResponse object.
2408+ */
2409+ public ClientResponse <EntityTypeResponse , Errors > patchEntityTypePermission (UUID entityTypeId , UUID permissionId , Map <String , Object > request ) {
2410+ return start (EntityTypeResponse .class , Errors .class )
2411+ .uri ("/api/entity/type" )
2412+ .urlSegment (entityTypeId )
2413+ .urlSegment ("permission" )
2414+ .urlSegment (permissionId )
2415+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2416+ .patch ()
2417+ .go ();
2418+ }
2419+
2420+ /**
2421+ * Patches the form with the given Id.
2422+ *
2423+ * @param formId The Id of the form to patch.
2424+ * @param request The request object that contains the new form information.
2425+ * @return The ClientResponse object.
2426+ */
2427+ public ClientResponse <FormResponse , Errors > patchForm (UUID formId , Map <String , Object > request ) {
2428+ return start (FormResponse .class , Errors .class )
2429+ .uri ("/api/form" )
2430+ .urlSegment (formId )
2431+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2432+ .patch ()
2433+ .go ();
2434+ }
2435+
2436+ /**
2437+ * Patches the form field with the given Id.
2438+ *
2439+ * @param fieldId The Id of the form field to patch.
2440+ * @param request The request object that contains the new form field information.
2441+ * @return The ClientResponse object.
2442+ */
2443+ public ClientResponse <FormFieldResponse , Errors > patchFormField (UUID fieldId , Map <String , Object > request ) {
2444+ return start (FormFieldResponse .class , Errors .class )
2445+ .uri ("/api/form/field" )
2446+ .urlSegment (fieldId )
2447+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2448+ .patch ()
2449+ .go ();
2450+ }
2451+
23852452 /**
23862453 * Updates, via PATCH, the group with the given Id.
23872454 *
@@ -2398,6 +2465,22 @@ public ClientResponse<GroupResponse, Errors> patchGroup(UUID groupId, Map<String
23982465 .go ();
23992466 }
24002467
2468+ /**
2469+ * Update the IP Access Control List with the given Id.
2470+ *
2471+ * @param accessControlListId The Id of the IP Access Control List to patch.
2472+ * @param request The request that contains the new IP Access Control List information.
2473+ * @return The ClientResponse object.
2474+ */
2475+ public ClientResponse <IPAccessControlListResponse , Errors > patchIPAccessControlList (UUID accessControlListId , Map <String , Object > request ) {
2476+ return start (IPAccessControlListResponse .class , Errors .class )
2477+ .uri ("/api/ip-acl" )
2478+ .urlSegment (accessControlListId )
2479+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2480+ .patch ()
2481+ .go ();
2482+ }
2483+
24012484 /**
24022485 * Updates, via PATCH, the identity provider with the given Id.
24032486 *
@@ -2621,6 +2704,22 @@ public ClientResponse<UserConsentResponse, Errors> patchUserConsent(UUID userCon
26212704 .go ();
26222705 }
26232706
2707+ /**
2708+ * Patches the webhook with the given Id.
2709+ *
2710+ * @param webhookId The Id of the webhook to update.
2711+ * @param request The request that contains the new webhook information.
2712+ * @return The ClientResponse object.
2713+ */
2714+ public ClientResponse <WebhookResponse , Errors > patchWebhook (UUID webhookId , Map <String , Object > request ) {
2715+ return start (WebhookResponse .class , Errors .class )
2716+ .uri ("/api/webhook" )
2717+ .urlSegment (webhookId )
2718+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
2719+ .patch ()
2720+ .go ();
2721+ }
2722+
26242723 /**
26252724 * Reactivates the application with the given Id.
26262725 *
@@ -5216,6 +5315,22 @@ public ClientResponse<EntityTypeResponse, Errors> updateEntityTypePermission(UUI
52165315 .go ();
52175316 }
52185317
5318+ /**
5319+ * Updates a family with a given Id.
5320+ *
5321+ * @param familyId The Id of the family to update.
5322+ * @param request The request object that contains all the new family information.
5323+ * @return The ClientResponse object.
5324+ */
5325+ public ClientResponse <FamilyResponse , Errors > updateFamily (UUID familyId , FamilyRequest request ) {
5326+ return start (FamilyResponse .class , Errors .class )
5327+ .uri ("/api/user/family" )
5328+ .urlSegment (familyId )
5329+ .bodyHandler (new JSONBodyHandler (request , objectMapper ()))
5330+ .put ()
5331+ .go ();
5332+ }
5333+
52195334 /**
52205335 * Updates the form with the given Id.
52215336 *
0 commit comments