@fusionauth/typescript-client 1.55.0 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1077,6 +1077,14 @@ export declare class FusionAuthClient {
1077
1077
  * @returns {Promise<ClientResponse<EmailTemplateResponse>>}
1078
1078
  */
1079
1079
  patchEmailTemplate(emailTemplateId: UUID, request: EmailTemplateRequest): Promise<ClientResponse<EmailTemplateResponse>>;
1080
+ /**
1081
+ * Updates, via PATCH, the Entity with the given Id.
1082
+ *
1083
+ * @param {UUID} entityId The Id of the Entity Type to update.
1084
+ * @param {EntityRequest} request The request that contains just the new Entity information.
1085
+ * @returns {Promise<ClientResponse<EntityResponse>>}
1086
+ */
1087
+ patchEntity(entityId: UUID, request: EntityRequest): Promise<ClientResponse<EntityResponse>>;
1080
1088
  /**
1081
1089
  * Updates, via PATCH, the Entity Type with the given Id.
1082
1090
  *
@@ -1085,6 +1093,31 @@ export declare class FusionAuthClient {
1085
1093
  * @returns {Promise<ClientResponse<EntityTypeResponse>>}
1086
1094
  */
1087
1095
  patchEntityType(entityTypeId: UUID, request: EntityTypeRequest): Promise<ClientResponse<EntityTypeResponse>>;
1096
+ /**
1097
+ * Patches the permission with the given Id for the entity type.
1098
+ *
1099
+ * @param {UUID} entityTypeId The Id of the entityType that the permission belongs to.
1100
+ * @param {UUID} permissionId The Id of the permission to patch.
1101
+ * @param {EntityTypeRequest} request The request that contains the new permission information.
1102
+ * @returns {Promise<ClientResponse<EntityTypeResponse>>}
1103
+ */
1104
+ patchEntityTypePermission(entityTypeId: UUID, permissionId: UUID, request: EntityTypeRequest): Promise<ClientResponse<EntityTypeResponse>>;
1105
+ /**
1106
+ * Patches the form with the given Id.
1107
+ *
1108
+ * @param {UUID} formId The Id of the form to patch.
1109
+ * @param {FormRequest} request The request object that contains the new form information.
1110
+ * @returns {Promise<ClientResponse<FormResponse>>}
1111
+ */
1112
+ patchForm(formId: UUID, request: FormRequest): Promise<ClientResponse<FormResponse>>;
1113
+ /**
1114
+ * Patches the form field with the given Id.
1115
+ *
1116
+ * @param {UUID} fieldId The Id of the form field to patch.
1117
+ * @param {FormFieldRequest} request The request object that contains the new form field information.
1118
+ * @returns {Promise<ClientResponse<FormFieldResponse>>}
1119
+ */
1120
+ patchFormField(fieldId: UUID, request: FormFieldRequest): Promise<ClientResponse<FormFieldResponse>>;
1088
1121
  /**
1089
1122
  * Updates, via PATCH, the group with the given Id.
1090
1123
  *
@@ -1093,6 +1126,14 @@ export declare class FusionAuthClient {
1093
1126
  * @returns {Promise<ClientResponse<GroupResponse>>}
1094
1127
  */
1095
1128
  patchGroup(groupId: UUID, request: GroupRequest): Promise<ClientResponse<GroupResponse>>;
1129
+ /**
1130
+ * Update the IP Access Control List with the given Id.
1131
+ *
1132
+ * @param {UUID} accessControlListId The Id of the IP Access Control List to patch.
1133
+ * @param {IPAccessControlListRequest} request The request that contains the new IP Access Control List information.
1134
+ * @returns {Promise<ClientResponse<IPAccessControlListResponse>>}
1135
+ */
1136
+ patchIPAccessControlList(accessControlListId: UUID, request: IPAccessControlListRequest): Promise<ClientResponse<IPAccessControlListResponse>>;
1096
1137
  /**
1097
1138
  * Updates, via PATCH, the identity provider with the given Id.
1098
1139
  *
@@ -1204,6 +1245,14 @@ export declare class FusionAuthClient {
1204
1245
  * @returns {Promise<ClientResponse<UserConsentResponse>>}
1205
1246
  */
1206
1247
  patchUserConsent(userConsentId: UUID, request: UserConsentRequest): Promise<ClientResponse<UserConsentResponse>>;
1248
+ /**
1249
+ * Patches the webhook with the given Id.
1250
+ *
1251
+ * @param {UUID} webhookId The Id of the webhook to update.
1252
+ * @param {WebhookRequest} request The request that contains the new webhook information.
1253
+ * @returns {Promise<ClientResponse<WebhookResponse>>}
1254
+ */
1255
+ patchWebhook(webhookId: UUID, request: WebhookRequest): Promise<ClientResponse<WebhookResponse>>;
1207
1256
  /**
1208
1257
  * Reactivates the application with the given Id.
1209
1258
  *
@@ -2538,6 +2587,14 @@ export declare class FusionAuthClient {
2538
2587
  * @returns {Promise<ClientResponse<EntityTypeResponse>>}
2539
2588
  */
2540
2589
  updateEntityTypePermission(entityTypeId: UUID, permissionId: UUID, request: EntityTypeRequest): Promise<ClientResponse<EntityTypeResponse>>;
2590
+ /**
2591
+ * Updates a family with a given Id.
2592
+ *
2593
+ * @param {UUID} familyId The Id of the family to update.
2594
+ * @param {FamilyRequest} request The request object that contains all the new family information.
2595
+ * @returns {Promise<ClientResponse<FamilyResponse>>}
2596
+ */
2597
+ updateFamily(familyId: UUID, request: FamilyRequest): Promise<ClientResponse<FamilyResponse>>;
2541
2598
  /**
2542
2599
  * Updates the form with the given Id.
2543
2600
  *
@@ -3547,6 +3604,11 @@ export interface DisplayableRawLogin extends RawLogin {
3547
3604
  location?: Location;
3548
3605
  loginId?: string;
3549
3606
  }
3607
+ /**
3608
+ * @author Daniel DeGroff
3609
+ */
3610
+ export interface UserinfoResponse extends Record<string, any> {
3611
+ }
3550
3612
  /**
3551
3613
  * A number identifying a cryptographic algorithm. Values should be registered with the <a
3552
3614
  * href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">IANA COSE Algorithms registry</a>
@@ -3564,11 +3626,6 @@ export declare enum CoseAlgorithmIdentifier {
3564
3626
  PS384 = "SHA-384",
3565
3627
  PS512 = "SHA-512"
3566
3628
  }
3567
- /**
3568
- * @author Daniel DeGroff
3569
- */
3570
- export interface UserinfoResponse extends Record<string, any> {
3571
- }
3572
3629
  /**
3573
3630
  * @author Daniel DeGroff
3574
3631
  */
@@ -3642,6 +3699,14 @@ export interface WebhookCallResponse {
3642
3699
  statusCode?: number;
3643
3700
  url?: string;
3644
3701
  }
3702
+ /**
3703
+ * Search request for user comments
3704
+ *
3705
+ * @author Spencer Witt
3706
+ */
3707
+ export interface UserCommentSearchRequest {
3708
+ search?: UserCommentSearchCriteria;
3709
+ }
3645
3710
  /**
3646
3711
  * Provides the <i>authenticator</i> with the data it needs to generate an assertion.
3647
3712
  *
@@ -3654,14 +3719,6 @@ export interface PublicKeyCredentialRequestOptions {
3654
3719
  timeout?: number;
3655
3720
  userVerification?: UserVerificationRequirement;
3656
3721
  }
3657
- /**
3658
- * Search request for user comments
3659
- *
3660
- * @author Spencer Witt
3661
- */
3662
- export interface UserCommentSearchRequest {
3663
- search?: UserCommentSearchCriteria;
3664
- }
3665
3722
  /**
3666
3723
  * @author Daniel DeGroff
3667
3724
  */
@@ -3685,12 +3742,6 @@ export declare enum MessengerType {
3685
3742
  Kafka = "Kafka",
3686
3743
  Twilio = "Twilio"
3687
3744
  }
3688
- /**
3689
- * @author Brian Pontarelli
3690
- */
3691
- export interface EventLogSearchRequest {
3692
- search?: EventLogSearchCriteria;
3693
- }
3694
3745
  /**
3695
3746
  * Event log response.
3696
3747
  *
@@ -3700,6 +3751,12 @@ export interface EventLogSearchResponse {
3700
3751
  eventLogs?: Array<EventLog>;
3701
3752
  total?: number;
3702
3753
  }
3754
+ /**
3755
+ * @author Brian Pontarelli
3756
+ */
3757
+ export interface EventLogSearchRequest {
3758
+ search?: EventLogSearchCriteria;
3759
+ }
3703
3760
  /**
3704
3761
  * Webhook event log response.
3705
3762
  *
@@ -3958,6 +4015,17 @@ export declare enum ConsentStatus {
3958
4015
  Active = "Active",
3959
4016
  Revoked = "Revoked"
3960
4017
  }
4018
+ /**
4019
+ * Models the User Deleted Registration Event.
4020
+ * <p>
4021
+ * This is different than user.registration.delete in that it is sent after the TX has been committed. This event cannot be transactional.
4022
+ *
4023
+ * @author Daniel DeGroff
4024
+ */
4025
+ export interface UserRegistrationDeleteCompleteEvent extends BaseUserEvent {
4026
+ applicationId?: UUID;
4027
+ registration?: UserRegistration;
4028
+ }
3961
4029
  /**
3962
4030
  * @author Daniel DeGroff
3963
4031
  */
@@ -3970,17 +4038,6 @@ export declare enum HTTPMethod {
3970
4038
  OPTIONS = "OPTIONS",
3971
4039
  PATCH = "PATCH"
3972
4040
  }
3973
- /**
3974
- * Models the User Deleted Registration Event.
3975
- * <p>
3976
- * This is different than user.registration.delete in that it is sent after the TX has been committed. This event cannot be transactional.
3977
- *
3978
- * @author Daniel DeGroff
3979
- */
3980
- export interface UserRegistrationDeleteCompleteEvent extends BaseUserEvent {
3981
- applicationId?: UUID;
3982
- registration?: UserRegistration;
3983
- }
3984
4041
  /**
3985
4042
  * Steam gaming login provider.
3986
4043
  *
@@ -4146,14 +4203,6 @@ export interface Group {
4146
4203
  roles?: Record<UUID, Array<ApplicationRole>>;
4147
4204
  tenantId?: UUID;
4148
4205
  }
4149
- /**
4150
- * Base class for all {@link User}-related events.
4151
- *
4152
- * @author Spencer Witt
4153
- */
4154
- export interface BaseUserEvent extends BaseEvent {
4155
- user?: User;
4156
- }
4157
4206
  /**
4158
4207
  * @author Daniel DeGroff
4159
4208
  */
@@ -4166,6 +4215,14 @@ export interface Form {
4166
4215
  steps?: Array<FormStep>;
4167
4216
  type?: FormType;
4168
4217
  }
4218
+ /**
4219
+ * Base class for all {@link User}-related events.
4220
+ *
4221
+ * @author Spencer Witt
4222
+ */
4223
+ export interface BaseUserEvent extends BaseEvent {
4224
+ user?: User;
4225
+ }
4169
4226
  /**
4170
4227
  * @author Daniel DeGroff
4171
4228
  */
@@ -4180,9 +4237,17 @@ export declare enum UserState {
4180
4237
  *
4181
4238
  * @author Spencer Witt
4182
4239
  */
4183
- export interface WebhookEventLogConfiguration {
4240
+ export interface WebhookEventLogConfiguration extends Enableable {
4184
4241
  delete?: DeleteConfiguration;
4185
4242
  }
4243
+ /**
4244
+ * Model a user event when a two-factor method has been removed.
4245
+ *
4246
+ * @author Daniel DeGroff
4247
+ */
4248
+ export interface UserTwoFactorMethodAddEvent extends BaseUserEvent {
4249
+ method?: TwoFactorMethod;
4250
+ }
4186
4251
  /**
4187
4252
  * @author Daniel DeGroff
4188
4253
  */
@@ -4192,14 +4257,6 @@ export interface LinkedInApplicationConfiguration extends BaseIdentityProviderAp
4192
4257
  client_secret?: string;
4193
4258
  scope?: string;
4194
4259
  }
4195
- /**
4196
- * Model a user event when a two-factor method has been removed.
4197
- *
4198
- * @author Daniel DeGroff
4199
- */
4200
- export interface UserTwoFactorMethodAddEvent extends BaseUserEvent {
4201
- method?: TwoFactorMethod;
4202
- }
4203
4260
  /**
4204
4261
  * @author Lyle Schemmerling
4205
4262
  */
@@ -5169,19 +5226,6 @@ export interface TwitterApplicationConfiguration extends BaseIdentityProviderApp
5169
5226
  export interface ConnectorRequest {
5170
5227
  connector?: BaseConnectorConfiguration;
5171
5228
  }
5172
- /**
5173
- * External JWT-only identity provider.
5174
- *
5175
- * @author Daniel DeGroff and Brian Pontarelli
5176
- */
5177
- export interface ExternalJWTIdentityProvider extends BaseIdentityProvider<ExternalJWTApplicationConfiguration> {
5178
- claimMap?: Record<string, string>;
5179
- defaultKeyId?: UUID;
5180
- domains?: Array<string>;
5181
- headerKeyParameter?: string;
5182
- oauth2?: IdentityProviderOauth2Configuration;
5183
- uniqueIdentityClaim?: string;
5184
- }
5185
5229
  /**
5186
5230
  * Request to register a new public key with WebAuthn
5187
5231
  *
@@ -5195,6 +5239,19 @@ export interface WebAuthnPublicKeyRegistrationRequest {
5195
5239
  transports?: Array<string>;
5196
5240
  type?: string;
5197
5241
  }
5242
+ /**
5243
+ * External JWT-only identity provider.
5244
+ *
5245
+ * @author Daniel DeGroff and Brian Pontarelli
5246
+ */
5247
+ export interface ExternalJWTIdentityProvider extends BaseIdentityProvider<ExternalJWTApplicationConfiguration> {
5248
+ claimMap?: Record<string, string>;
5249
+ defaultKeyId?: UUID;
5250
+ domains?: Array<string>;
5251
+ headerKeyParameter?: string;
5252
+ oauth2?: IdentityProviderOauth2Configuration;
5253
+ uniqueIdentityClaim?: string;
5254
+ }
5198
5255
  /**
5199
5256
  * Webhook search response
5200
5257
  *
@@ -5204,6 +5261,11 @@ export interface WebhookSearchResponse {
5204
5261
  total?: number;
5205
5262
  webhooks?: Array<Webhook>;
5206
5263
  }
5264
+ /**
5265
+ * @author Daniel DeGroff
5266
+ */
5267
+ export interface RefreshResponse {
5268
+ }
5207
5269
  /**
5208
5270
  * Response for the login report.
5209
5271
  *
@@ -5213,11 +5275,6 @@ export interface LoginReportResponse {
5213
5275
  hourlyCounts?: Array<Count>;
5214
5276
  total?: number;
5215
5277
  }
5216
- /**
5217
- * @author Daniel DeGroff
5218
- */
5219
- export interface RefreshResponse {
5220
- }
5221
5278
  /**
5222
5279
  * Group Member Delete Request
5223
5280
  *
@@ -5741,6 +5798,14 @@ export declare enum DeviceType {
5741
5798
  export interface SystemConfigurationResponse {
5742
5799
  systemConfiguration?: SystemConfiguration;
5743
5800
  }
5801
+ /**
5802
+ * API response for completing WebAuthn assertion
5803
+ *
5804
+ * @author Spencer Witt
5805
+ */
5806
+ export interface WebAuthnAssertResponse {
5807
+ credential?: WebAuthnCredential;
5808
+ }
5744
5809
  /**
5745
5810
  * @author Daniel DeGroff
5746
5811
  */
@@ -5766,14 +5831,6 @@ export interface ReactorStatus {
5766
5831
  webAuthnPlatformAuthenticators?: ReactorFeatureStatus;
5767
5832
  webAuthnRoamingAuthenticators?: ReactorFeatureStatus;
5768
5833
  }
5769
- /**
5770
- * API response for completing WebAuthn assertion
5771
- *
5772
- * @author Spencer Witt
5773
- */
5774
- export interface WebAuthnAssertResponse {
5775
- credential?: WebAuthnCredential;
5776
- }
5777
5834
  /**
5778
5835
  * @author Daniel DeGroff
5779
5836
  */
@@ -5851,6 +5908,14 @@ export interface SAMLv2IdentityProvider extends BaseSAMLv2IdentityProvider<SAMLv
5851
5908
  export interface EntityTypeSearchRequest {
5852
5909
  search?: EntityTypeSearchCriteria;
5853
5910
  }
5911
+ /**
5912
+ * API request for managing families and members.
5913
+ *
5914
+ * @author Brian Pontarelli
5915
+ */
5916
+ export interface FamilyRequest {
5917
+ familyMember?: FamilyMember;
5918
+ }
5854
5919
  export interface BaseConnectorConfiguration {
5855
5920
  data?: Record<string, any>;
5856
5921
  debug?: boolean;
@@ -5860,14 +5925,6 @@ export interface BaseConnectorConfiguration {
5860
5925
  name?: string;
5861
5926
  type?: ConnectorType;
5862
5927
  }
5863
- /**
5864
- * API request for managing families and members.
5865
- *
5866
- * @author Brian Pontarelli
5867
- */
5868
- export interface FamilyRequest {
5869
- familyMember?: FamilyMember;
5870
- }
5871
5928
  /**
5872
5929
  * @author Daniel DeGroff
5873
5930
  */
@@ -5903,16 +5960,16 @@ export interface MultiFactorSMSTemplate {
5903
5960
  /**
5904
5961
  * @author Daniel DeGroff
5905
5962
  */
5906
- export interface IssueResponse {
5907
- refreshToken?: string;
5908
- token?: string;
5963
+ export interface IdentityProviderLinkResponse {
5964
+ identityProviderLink?: IdentityProviderLink;
5965
+ identityProviderLinks?: Array<IdentityProviderLink>;
5909
5966
  }
5910
5967
  /**
5911
5968
  * @author Daniel DeGroff
5912
5969
  */
5913
- export interface IdentityProviderLinkResponse {
5914
- identityProviderLink?: IdentityProviderLink;
5915
- identityProviderLinks?: Array<IdentityProviderLink>;
5970
+ export interface IssueResponse {
5971
+ refreshToken?: string;
5972
+ token?: string;
5916
5973
  }
5917
5974
  /**
5918
5975
  * Request to authenticate with WebAuthn
@@ -6399,17 +6456,6 @@ export interface UserRegistrationVerifiedEvent extends BaseUserEvent {
6399
6456
  export interface MessageTemplateRequest {
6400
6457
  messageTemplate?: MessageTemplate;
6401
6458
  }
6402
- /**
6403
- * @author Daniel DeGroff
6404
- */
6405
- export interface AppleIdentityProvider extends BaseIdentityProvider<AppleApplicationConfiguration> {
6406
- bundleId?: string;
6407
- buttonText?: string;
6408
- keyId?: UUID;
6409
- scope?: string;
6410
- servicesId?: string;
6411
- teamId?: string;
6412
- }
6413
6459
  /**
6414
6460
  * @author Daniel DeGroff
6415
6461
  */
@@ -6422,6 +6468,17 @@ export interface DeviceUserCodeResponse {
6422
6468
  tenantId?: UUID;
6423
6469
  user_code?: string;
6424
6470
  }
6471
+ /**
6472
+ * @author Daniel DeGroff
6473
+ */
6474
+ export interface AppleIdentityProvider extends BaseIdentityProvider<AppleApplicationConfiguration> {
6475
+ bundleId?: string;
6476
+ buttonText?: string;
6477
+ keyId?: UUID;
6478
+ scope?: string;
6479
+ servicesId?: string;
6480
+ teamId?: string;
6481
+ }
6425
6482
  /**
6426
6483
  * @author Daniel DeGroff
6427
6484
  */
@@ -6685,6 +6742,12 @@ export interface ProvidedScopePolicy {
6685
6742
  */
6686
6743
  export interface GroupDeleteEvent extends BaseGroupEvent {
6687
6744
  }
6745
+ /**
6746
+ * @author Daniel DeGroff
6747
+ */
6748
+ export interface LoginHintConfiguration extends Enableable {
6749
+ parameterName?: string;
6750
+ }
6688
6751
  /**
6689
6752
  * Supply additional information about the Relying Party when creating a new credential
6690
6753
  *
@@ -6693,12 +6756,6 @@ export interface GroupDeleteEvent extends BaseGroupEvent {
6693
6756
  export interface PublicKeyCredentialRelyingPartyEntity extends PublicKeyCredentialEntity {
6694
6757
  id?: string;
6695
6758
  }
6696
- /**
6697
- * @author Daniel DeGroff
6698
- */
6699
- export interface LoginHintConfiguration extends Enableable {
6700
- parameterName?: string;
6701
- }
6702
6759
  /**
6703
6760
  * Search response for entity types.
6704
6761
  *
@@ -7986,14 +8043,11 @@ export interface CertificateInformation {
7986
8043
  validTo?: number;
7987
8044
  }
7988
8045
  /**
7989
- * Search criteria for entity grants.
7990
- *
7991
- * @author Brian Pontarelli
8046
+ * @author Trevor Smith
7992
8047
  */
7993
- export interface EntityGrantSearchCriteria extends BaseSearchCriteria {
7994
- entityId?: UUID;
7995
- name?: string;
7996
- userId?: UUID;
8048
+ export interface ConnectorResponse {
8049
+ connector?: BaseConnectorConfiguration;
8050
+ connectors?: Array<BaseConnectorConfiguration>;
7997
8051
  }
7998
8052
  /**
7999
8053
  * Models the FusionAuth connector.
@@ -8002,13 +8056,6 @@ export interface EntityGrantSearchCriteria extends BaseSearchCriteria {
8002
8056
  */
8003
8057
  export interface FusionAuthConnectorConfiguration extends BaseConnectorConfiguration {
8004
8058
  }
8005
- /**
8006
- * @author Trevor Smith
8007
- */
8008
- export interface ConnectorResponse {
8009
- connector?: BaseConnectorConfiguration;
8010
- connectors?: Array<BaseConnectorConfiguration>;
8011
- }
8012
8059
  /**
8013
8060
  * Controls the policy for requesting user permission to grant access to requested scopes during an OAuth workflow
8014
8061
  * for a third-party application.
@@ -8020,6 +8067,16 @@ export declare enum OAuthScopeConsentMode {
8020
8067
  RememberDecision = "RememberDecision",
8021
8068
  NeverPrompt = "NeverPrompt"
8022
8069
  }
8070
+ /**
8071
+ * Search criteria for entity grants.
8072
+ *
8073
+ * @author Brian Pontarelli
8074
+ */
8075
+ export interface EntityGrantSearchCriteria extends BaseSearchCriteria {
8076
+ entityId?: UUID;
8077
+ name?: string;
8078
+ userId?: UUID;
8079
+ }
8023
8080
  /**
8024
8081
  * @author Daniel DeGroff
8025
8082
  */
@@ -8139,6 +8196,7 @@ export interface GroupCreateCompleteEvent extends BaseGroupEvent {
8139
8196
  * @author Brett Pontarelli
8140
8197
  */
8141
8198
  export interface TenantSSOConfiguration {
8199
+ allowAccessTokenBootstrap?: boolean;
8142
8200
  deviceTrustTimeToLiveInSeconds?: number;
8143
8201
  }
8144
8202
  /**
@@ -8598,14 +8656,6 @@ export interface LambdaResponse {
8598
8656
  lambda?: Lambda;
8599
8657
  lambdas?: Array<Lambda>;
8600
8658
  }
8601
- /**
8602
- * The Integration Request
8603
- *
8604
- * @author Daniel DeGroff
8605
- */
8606
- export interface IntegrationRequest {
8607
- integrations?: Integrations;
8608
- }
8609
8659
  /**
8610
8660
  * Models the JWT public key Refresh Token Revoke Event. This event might be for a single
8611
8661
  * token, a user or an entire application.
@@ -8615,6 +8665,14 @@ export interface IntegrationRequest {
8615
8665
  export interface JWTPublicKeyUpdateEvent extends BaseEvent {
8616
8666
  applicationIds?: Array<UUID>;
8617
8667
  }
8668
+ /**
8669
+ * The Integration Request
8670
+ *
8671
+ * @author Daniel DeGroff
8672
+ */
8673
+ export interface IntegrationRequest {
8674
+ integrations?: Integrations;
8675
+ }
8618
8676
  /**
8619
8677
  * @author Brett Pontarelli
8620
8678
  */
@@ -8733,7 +8791,9 @@ export interface APIKey {
8733
8791
  keyManager?: boolean;
8734
8792
  lastUpdateInstant?: number;
8735
8793
  metaData?: APIKeyMetaData;
8794
+ name?: string;
8736
8795
  permissions?: APIKeyPermissions;
8796
+ retrievable?: boolean;
8737
8797
  tenantId?: UUID;
8738
8798
  }
8739
8799
  export interface APIKeyMetaData {
@@ -1963,6 +1963,21 @@ class FusionAuthClient {
1963
1963
  .withMethod("PATCH")
1964
1964
  .go();
1965
1965
  }
1966
+ /**
1967
+ * Updates, via PATCH, the Entity with the given Id.
1968
+ *
1969
+ * @param {UUID} entityId The Id of the Entity Type to update.
1970
+ * @param {EntityRequest} request The request that contains just the new Entity information.
1971
+ * @returns {Promise<ClientResponse<EntityResponse>>}
1972
+ */
1973
+ patchEntity(entityId, request) {
1974
+ return this.start()
1975
+ .withUri('/api/entity')
1976
+ .withUriSegment(entityId)
1977
+ .withJSONBody(request)
1978
+ .withMethod("PATCH")
1979
+ .go();
1980
+ }
1966
1981
  /**
1967
1982
  * Updates, via PATCH, the Entity Type with the given Id.
1968
1983
  *
@@ -1978,6 +1993,54 @@ class FusionAuthClient {
1978
1993
  .withMethod("PATCH")
1979
1994
  .go();
1980
1995
  }
1996
+ /**
1997
+ * Patches the permission with the given Id for the entity type.
1998
+ *
1999
+ * @param {UUID} entityTypeId The Id of the entityType that the permission belongs to.
2000
+ * @param {UUID} permissionId The Id of the permission to patch.
2001
+ * @param {EntityTypeRequest} request The request that contains the new permission information.
2002
+ * @returns {Promise<ClientResponse<EntityTypeResponse>>}
2003
+ */
2004
+ patchEntityTypePermission(entityTypeId, permissionId, request) {
2005
+ return this.start()
2006
+ .withUri('/api/entity/type')
2007
+ .withUriSegment(entityTypeId)
2008
+ .withUriSegment("permission")
2009
+ .withUriSegment(permissionId)
2010
+ .withJSONBody(request)
2011
+ .withMethod("PATCH")
2012
+ .go();
2013
+ }
2014
+ /**
2015
+ * Patches the form with the given Id.
2016
+ *
2017
+ * @param {UUID} formId The Id of the form to patch.
2018
+ * @param {FormRequest} request The request object that contains the new form information.
2019
+ * @returns {Promise<ClientResponse<FormResponse>>}
2020
+ */
2021
+ patchForm(formId, request) {
2022
+ return this.start()
2023
+ .withUri('/api/form')
2024
+ .withUriSegment(formId)
2025
+ .withJSONBody(request)
2026
+ .withMethod("PATCH")
2027
+ .go();
2028
+ }
2029
+ /**
2030
+ * Patches the form field with the given Id.
2031
+ *
2032
+ * @param {UUID} fieldId The Id of the form field to patch.
2033
+ * @param {FormFieldRequest} request The request object that contains the new form field information.
2034
+ * @returns {Promise<ClientResponse<FormFieldResponse>>}
2035
+ */
2036
+ patchFormField(fieldId, request) {
2037
+ return this.start()
2038
+ .withUri('/api/form/field')
2039
+ .withUriSegment(fieldId)
2040
+ .withJSONBody(request)
2041
+ .withMethod("PATCH")
2042
+ .go();
2043
+ }
1981
2044
  /**
1982
2045
  * Updates, via PATCH, the group with the given Id.
1983
2046
  *
@@ -1993,6 +2056,21 @@ class FusionAuthClient {
1993
2056
  .withMethod("PATCH")
1994
2057
  .go();
1995
2058
  }
2059
+ /**
2060
+ * Update the IP Access Control List with the given Id.
2061
+ *
2062
+ * @param {UUID} accessControlListId The Id of the IP Access Control List to patch.
2063
+ * @param {IPAccessControlListRequest} request The request that contains the new IP Access Control List information.
2064
+ * @returns {Promise<ClientResponse<IPAccessControlListResponse>>}
2065
+ */
2066
+ patchIPAccessControlList(accessControlListId, request) {
2067
+ return this.start()
2068
+ .withUri('/api/ip-acl')
2069
+ .withUriSegment(accessControlListId)
2070
+ .withJSONBody(request)
2071
+ .withMethod("PATCH")
2072
+ .go();
2073
+ }
1996
2074
  /**
1997
2075
  * Updates, via PATCH, the identity provider with the given Id.
1998
2076
  *
@@ -2202,6 +2280,21 @@ class FusionAuthClient {
2202
2280
  .withMethod("PATCH")
2203
2281
  .go();
2204
2282
  }
2283
+ /**
2284
+ * Patches the webhook with the given Id.
2285
+ *
2286
+ * @param {UUID} webhookId The Id of the webhook to update.
2287
+ * @param {WebhookRequest} request The request that contains the new webhook information.
2288
+ * @returns {Promise<ClientResponse<WebhookResponse>>}
2289
+ */
2290
+ patchWebhook(webhookId, request) {
2291
+ return this.start()
2292
+ .withUri('/api/webhook')
2293
+ .withUriSegment(webhookId)
2294
+ .withJSONBody(request)
2295
+ .withMethod("PATCH")
2296
+ .go();
2297
+ }
2205
2298
  /**
2206
2299
  * Reactivates the application with the given Id.
2207
2300
  *
@@ -4622,6 +4715,21 @@ class FusionAuthClient {
4622
4715
  .withMethod("PUT")
4623
4716
  .go();
4624
4717
  }
4718
+ /**
4719
+ * Updates a family with a given Id.
4720
+ *
4721
+ * @param {UUID} familyId The Id of the family to update.
4722
+ * @param {FamilyRequest} request The request object that contains all the new family information.
4723
+ * @returns {Promise<ClientResponse<FamilyResponse>>}
4724
+ */
4725
+ updateFamily(familyId, request) {
4726
+ return this.start()
4727
+ .withUri('/api/user/family')
4728
+ .withUriSegment(familyId)
4729
+ .withJSONBody(request)
4730
+ .withMethod("PUT")
4731
+ .go();
4732
+ }
4625
4733
  /**
4626
4734
  * Updates the form with the given Id.
4627
4735
  *