fusionauth_client 1.31.0 → 1.32.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 797d23a1d462217a91f20bf6a6bc9176f186f9522ffbd739bd526e728c3945f4
4
- data.tar.gz: dbbe0ceeb2c7674889a8be4064b99856aa05cec8eddbb2221add95907331f1c2
3
+ metadata.gz: e82e77f3fe4fbae9c3db8edf4efc6bdc638693d22fb78efcd776977f1949e42b
4
+ data.tar.gz: fd43866ff5d73b8f1048bb7aafa72dc116c495d5e2e63695b91bb42237d0bc27
5
5
  SHA512:
6
- metadata.gz: faef055bf17d8ae7328cb621056531732081015b06e5b8f6dbc728af9cafe5f3793bd52858e3801022b7541b9a6e0b29350b6f544e74a9c56eb64f2f1ad772a6
7
- data.tar.gz: b80fa21d86d76e1dfd6b44b5bb4ae051d6d629a97948ad5352af3a46cf07116a3ade7883dc020cad43470dd9acde8527616b1e95438bbcd8837394fc62cbfe23
6
+ metadata.gz: 1b4e81a81e6dbec8c0f86f6adbca5cbbd04bc8b3a1803af6a7832cfe56c350d842086039103d8a1018bdf18d8a10d3f556475d7f9906447be1eab3227a185f59
7
+ data.tar.gz: 6a5a97fa78fe73fab998d445c9bf69c72ded58d9d228737deada14f05e67991db720efd1ef47ebafdcf5d183893f92a6cc57d277b2da9e66910569c9192a8fb5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.31.0)
4
+ fusionauth_client (1.32.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/build.savant CHANGED
@@ -16,13 +16,19 @@
16
16
  savantVersion = "1.0.0"
17
17
 
18
18
  pubVersion = ""
19
- project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.31.0", licenses: ["ApacheV2_0"]) {
19
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.32.0", licenses: ["ApacheV2_0"]) {
20
20
  workflow {
21
- standard()
21
+ fetch {
22
+ cache()
23
+ url(url: "https://external.savant.fusionauth.io")
24
+ }
25
+ publish {
26
+ cache()
27
+ }
22
28
  }
23
29
 
24
30
  publishWorkflow {
25
- subversion(repository: "http://svn.inversoft.org/savant")
31
+ subversion(repository: "https://external.svn.fusionauth.io", username: global.internalRepositoryUsername, password: global.internalRepositoryPassword)
26
32
  }
27
33
 
28
34
  pubVersion = project.version.toString().replaceAll('-', '.pre.')
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'fusionauth_client'
7
- spec.version = '1.31.0'
7
+ spec.version = '1.32.0'
8
8
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
9
9
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
10
10
 
@@ -71,7 +71,7 @@ module FusionAuth
71
71
  # Adds a user to an existing family. The family id must be specified.
72
72
  #
73
73
  # @param family_id [string] The id of the family.
74
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to determine which user to add to the family.
74
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to determine which user to add to the family.
75
75
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
76
76
  def add_user_to_family(family_id, request)
77
77
  start.uri('/api/user/family')
@@ -127,7 +127,7 @@ module FusionAuth
127
127
  #
128
128
  # Adds a comment to the user's account.
129
129
  #
130
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the user comment.
130
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the user comment.
131
131
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
132
132
  def comment_on_user(request)
133
133
  start.uri('/api/user/comment')
@@ -158,7 +158,7 @@ module FusionAuth
158
158
  # Creates an application. You can optionally specify an Id for the application, if not provided one will be generated.
159
159
  #
160
160
  # @param application_id [string] (Optional) The Id to use for the application. If not provided a secure random UUID will be generated.
161
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the application.
161
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the application.
162
162
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
163
163
  def create_application(application_id, request)
164
164
  start.uri('/api/application')
@@ -174,7 +174,7 @@ module FusionAuth
174
174
  #
175
175
  # @param application_id [string] The Id of the application to create the role on.
176
176
  # @param role_id [string] (Optional) The Id of the role. If not provided a secure random UUID will be generated.
177
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the application role.
177
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the application role.
178
178
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
179
179
  def create_application_role(application_id, role_id, request)
180
180
  start.uri('/api/application')
@@ -191,7 +191,7 @@ module FusionAuth
191
191
  # make changes to the FusionAuth database. When using the FusionAuth App web interface, any changes are automatically
192
192
  # written to the audit log. However, if you are accessing the API, you must write the audit logs yourself.
193
193
  #
194
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the audit log entry.
194
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the audit log entry.
195
195
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
196
196
  def create_audit_log(request)
197
197
  start.uri('/api/system/audit-log')
@@ -204,7 +204,7 @@ module FusionAuth
204
204
  # Creates a connector. You can optionally specify an Id for the connector, if not provided one will be generated.
205
205
  #
206
206
  # @param connector_id [string] (Optional) The Id for the connector. If not provided a secure random UUID will be generated.
207
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the connector.
207
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the connector.
208
208
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
209
209
  def create_connector(connector_id, request)
210
210
  start.uri('/api/connector')
@@ -218,7 +218,7 @@ module FusionAuth
218
218
  # Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.
219
219
  #
220
220
  # @param consent_id [string] (Optional) The Id for the consent. If not provided a secure random UUID will be generated.
221
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the consent.
221
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the consent.
222
222
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
223
223
  def create_consent(consent_id, request)
224
224
  start.uri('/api/consent')
@@ -232,7 +232,7 @@ module FusionAuth
232
232
  # Creates an email template. You can optionally specify an Id for the template, if not provided one will be generated.
233
233
  #
234
234
  # @param email_template_id [string] (Optional) The Id for the template. If not provided a secure random UUID will be generated.
235
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the email template.
235
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the email template.
236
236
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
237
237
  def create_email_template(email_template_id, request)
238
238
  start.uri('/api/email/template')
@@ -246,7 +246,7 @@ module FusionAuth
246
246
  # Creates an Entity. You can optionally specify an Id for the Entity. If not provided one will be generated.
247
247
  #
248
248
  # @param entity_id [string] (Optional) The Id for the Entity. If not provided a secure random UUID will be generated.
249
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the Entity.
249
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the Entity.
250
250
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
251
251
  def create_entity(entity_id, request)
252
252
  start.uri('/api/entity')
@@ -260,7 +260,7 @@ module FusionAuth
260
260
  # Creates a Entity Type. You can optionally specify an Id for the Entity Type, if not provided one will be generated.
261
261
  #
262
262
  # @param entity_type_id [string] (Optional) The Id for the Entity Type. If not provided a secure random UUID will be generated.
263
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the Entity Type.
263
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the Entity Type.
264
264
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
265
265
  def create_entity_type(entity_type_id, request)
266
266
  start.uri('/api/entity/type')
@@ -276,7 +276,7 @@ module FusionAuth
276
276
  #
277
277
  # @param entity_type_id [string] The Id of the entity type to create the permission on.
278
278
  # @param permission_id [string] (Optional) The Id of the permission. If not provided a secure random UUID will be generated.
279
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the permission.
279
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the permission.
280
280
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
281
281
  def create_entity_type_permission(entity_type_id, permission_id, request)
282
282
  start.uri('/api/entity/type')
@@ -293,7 +293,7 @@ module FusionAuth
293
293
  # family, if not provided one will be generated.
294
294
  #
295
295
  # @param family_id [string] (Optional) The id for the family. If not provided a secure random UUID will be generated.
296
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the family.
296
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the family.
297
297
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
298
298
  def create_family(family_id, request)
299
299
  start.uri('/api/user/family')
@@ -307,7 +307,7 @@ module FusionAuth
307
307
  # Creates a form. You can optionally specify an Id for the form, if not provided one will be generated.
308
308
  #
309
309
  # @param form_id [string] (Optional) The Id for the form. If not provided a secure random UUID will be generated.
310
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the form.
310
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the form.
311
311
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
312
312
  def create_form(form_id, request)
313
313
  start.uri('/api/form')
@@ -321,7 +321,7 @@ module FusionAuth
321
321
  # Creates a form field. You can optionally specify an Id for the form, if not provided one will be generated.
322
322
  #
323
323
  # @param field_id [string] (Optional) The Id for the form field. If not provided a secure random UUID will be generated.
324
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the form field.
324
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the form field.
325
325
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
326
326
  def create_form_field(field_id, request)
327
327
  start.uri('/api/form/field')
@@ -335,7 +335,7 @@ module FusionAuth
335
335
  # Creates a group. You can optionally specify an Id for the group, if not provided one will be generated.
336
336
  #
337
337
  # @param group_id [string] (Optional) The Id for the group. If not provided a secure random UUID will be generated.
338
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the group.
338
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the group.
339
339
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
340
340
  def create_group(group_id, request)
341
341
  start.uri('/api/group')
@@ -348,7 +348,7 @@ module FusionAuth
348
348
  #
349
349
  # Creates a member in a group.
350
350
  #
351
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the group member(s).
351
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the group member(s).
352
352
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
353
353
  def create_group_members(request)
354
354
  start.uri('/api/group/member')
@@ -361,7 +361,7 @@ module FusionAuth
361
361
  # Creates an IP Access Control List. You can optionally specify an Id on this create request, if one is not provided one will be generated.
362
362
  #
363
363
  # @param access_control_list_id [string] (Optional) The Id for the IP Access Control List. If not provided a secure random UUID will be generated.
364
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the IP Access Control List.
364
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the IP Access Control List.
365
365
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
366
366
  def create_ip_access_control_list(access_control_list_id, request)
367
367
  start.uri('/api/ip-acl')
@@ -375,7 +375,7 @@ module FusionAuth
375
375
  # Creates an identity provider. You can optionally specify an Id for the identity provider, if not provided one will be generated.
376
376
  #
377
377
  # @param identity_provider_id [string] (Optional) The Id of the identity provider. If not provided a secure random UUID will be generated.
378
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the identity provider.
378
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the identity provider.
379
379
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
380
380
  def create_identity_provider(identity_provider_id, request)
381
381
  start.uri('/api/identity-provider')
@@ -389,7 +389,7 @@ module FusionAuth
389
389
  # Creates a Lambda. You can optionally specify an Id for the lambda, if not provided one will be generated.
390
390
  #
391
391
  # @param lambda_id [string] (Optional) The Id for the lambda. If not provided a secure random UUID will be generated.
392
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the lambda.
392
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the lambda.
393
393
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
394
394
  def create_lambda(lambda_id, request)
395
395
  start.uri('/api/lambda')
@@ -403,7 +403,7 @@ module FusionAuth
403
403
  # Creates an message template. You can optionally specify an Id for the template, if not provided one will be generated.
404
404
  #
405
405
  # @param message_template_id [string] (Optional) The Id for the template. If not provided a secure random UUID will be generated.
406
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the message template.
406
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the message template.
407
407
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
408
408
  def create_message_template(message_template_id, request)
409
409
  start.uri('/api/message/template')
@@ -417,7 +417,7 @@ module FusionAuth
417
417
  # Creates a messenger. You can optionally specify an Id for the messenger, if not provided one will be generated.
418
418
  #
419
419
  # @param messenger_id [string] (Optional) The Id for the messenger. If not provided a secure random UUID will be generated.
420
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the messenger.
420
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the messenger.
421
421
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
422
422
  def create_messenger(messenger_id, request)
423
423
  start.uri('/api/messenger')
@@ -431,7 +431,7 @@ module FusionAuth
431
431
  # Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated.
432
432
  #
433
433
  # @param tenant_id [string] (Optional) The Id for the tenant. If not provided a secure random UUID will be generated.
434
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the tenant.
434
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the tenant.
435
435
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
436
436
  def create_tenant(tenant_id, request)
437
437
  start.uri('/api/tenant')
@@ -445,7 +445,7 @@ module FusionAuth
445
445
  # Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
446
446
  #
447
447
  # @param theme_id [string] (Optional) The Id for the theme. If not provided a secure random UUID will be generated.
448
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the theme.
448
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the theme.
449
449
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
450
450
  def create_theme(theme_id, request)
451
451
  start.uri('/api/theme')
@@ -459,7 +459,7 @@ module FusionAuth
459
459
  # Creates a user. You can optionally specify an Id for the user, if not provided one will be generated.
460
460
  #
461
461
  # @param user_id [string] (Optional) The Id for the user. If not provided a secure random UUID will be generated.
462
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the user.
462
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the user.
463
463
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
464
464
  def create_user(user_id, request)
465
465
  start.uri('/api/user')
@@ -474,7 +474,7 @@ module FusionAuth
474
474
  # that the user action can be applied to any user.
475
475
  #
476
476
  # @param user_action_id [string] (Optional) The Id for the user action. If not provided a secure random UUID will be generated.
477
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the user action.
477
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the user action.
478
478
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
479
479
  def create_user_action(user_action_id, request)
480
480
  start.uri('/api/user-action')
@@ -489,7 +489,7 @@ module FusionAuth
489
489
  # successfully. Anytime after that the user action reason can be used.
490
490
  #
491
491
  # @param user_action_reason_id [string] (Optional) The Id for the user action reason. If not provided a secure random UUID will be generated.
492
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the user action reason.
492
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the user action reason.
493
493
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
494
494
  def create_user_action_reason(user_action_reason_id, request)
495
495
  start.uri('/api/user-action-reason')
@@ -516,7 +516,7 @@ module FusionAuth
516
516
  #
517
517
  # Link an external user from a 3rd party identity provider to a FusionAuth user.
518
518
  #
519
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to link the FusionAuth user.
519
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to link the FusionAuth user.
520
520
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
521
521
  def create_user_link(request)
522
522
  start.uri('/api/identity-provider/link')
@@ -529,7 +529,7 @@ module FusionAuth
529
529
  # Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.
530
530
  #
531
531
  # @param webhook_id [string] (Optional) The Id for the webhook. If not provided a secure random UUID will be generated.
532
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the webhook.
532
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the webhook.
533
533
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
534
534
  def create_webhook(webhook_id, request)
535
535
  start.uri('/api/webhook')
@@ -933,7 +933,7 @@ module FusionAuth
933
933
  # with the tenant and everything under the tenant (applications, users, etc).
934
934
  #
935
935
  # @param tenant_id [string] The Id of the tenant to delete.
936
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to delete the user.
936
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to delete the user.
937
937
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
938
938
  def delete_tenant_with_request(tenant_id, request)
939
939
  start.uri('/api/tenant')
@@ -1016,7 +1016,7 @@ module FusionAuth
1016
1016
  # with the user.
1017
1017
  #
1018
1018
  # @param user_id [string] The Id of the user to delete (required).
1019
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to delete the user.
1019
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to delete the user.
1020
1020
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1021
1021
  def delete_user_with_request(user_id, request)
1022
1022
  start.uri('/api/user')
@@ -1257,7 +1257,7 @@ module FusionAuth
1257
1257
  # Generate a new RSA or EC key pair or an HMAC secret.
1258
1258
  #
1259
1259
  # @param key_id [string] (Optional) The Id for the key. If not provided a secure random UUID will be generated.
1260
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the key.
1260
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the key.
1261
1261
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1262
1262
  def generate_key(key_id, request)
1263
1263
  start.uri('/api/key/generate')
@@ -1339,7 +1339,7 @@ module FusionAuth
1339
1339
  # Import an existing RSA or EC key pair or an HMAC secret.
1340
1340
  #
1341
1341
  # @param key_id [string] (Optional) The Id for the key. If not provided a secure random UUID will be generated.
1342
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the key.
1342
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the key.
1343
1343
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1344
1344
  def import_key(key_id, request)
1345
1345
  start.uri('/api/key/import')
@@ -1482,7 +1482,7 @@ module FusionAuth
1482
1482
  # The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the
1483
1483
  # client and revoke the refresh token stored. This API takes the refresh token in the JSON body.
1484
1484
  #
1485
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to logout the user.
1485
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to logout the user.
1486
1486
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1487
1487
  def logout_with_request(request)
1488
1488
  startAnonymous.uri('/api/logout')
@@ -3483,7 +3483,7 @@ module FusionAuth
3483
3483
  #
3484
3484
  # Send a Two Factor authentication code to assist in setting up Two Factor authentication or disabling.
3485
3485
  #
3486
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to send the code.
3486
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to send the code.
3487
3487
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3488
3488
  # @deprecated This method has been renamed to send_two_factor_code_for_enable_disable, use that method instead.
3489
3489
  def send_two_factor_code(request)
@@ -3496,7 +3496,7 @@ module FusionAuth
3496
3496
  #
3497
3497
  # Send a Two Factor authentication code to assist in setting up Two Factor authentication or disabling.
3498
3498
  #
3499
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to send the code.
3499
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to send the code.
3500
3500
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3501
3501
  def send_two_factor_code_for_enable_disable(request)
3502
3502
  start.uri('/api/two-factor/send')
@@ -3591,7 +3591,7 @@ module FusionAuth
3591
3591
  # Updates an API key by given id
3592
3592
  #
3593
3593
  # @param api_key_id [string] The Id of the API key to update.
3594
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the API Key.
3594
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the API Key.
3595
3595
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3596
3596
  def update_api_key(api_key_id, request)
3597
3597
  start.uri('/api/api-key')
@@ -3985,7 +3985,7 @@ module FusionAuth
3985
3985
  # Creates or updates an Entity Grant. This is when a User/Entity is granted permissions to an Entity.
3986
3986
  #
3987
3987
  # @param entity_id [string] The Id of the Entity that the User/Entity is being granted access to.
3988
- # @param request [OpenStruct, Hash] The request object that contains all of the information used to create the Entity Grant.
3988
+ # @param request [OpenStruct, Hash] The request object that contains all the information used to create the Entity Grant.
3989
3989
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3990
3990
  def upsert_entity_grant(entity_id, request)
3991
3991
  start.uri('/api/entity')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusionauth_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pontarelli
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-11-19 00:00:00.000000000 Z
12
+ date: 2021-12-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This library contains the Ruby client library that helps you connect
15
15
  your application to FusionAuth.