algolia 3.38.0 → 3.39.1

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.
@@ -378,6 +378,10 @@ module Algolia
378
378
  if @api_client.config.client_side_validation && path.nil?
379
379
  raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
380
380
  end
381
+ # verify the required parameter 'path' is not empty
382
+ if @api_client.config.client_side_validation && path.empty?
383
+ raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
384
+ end
381
385
 
382
386
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
383
387
  query_params = {}
@@ -421,6 +425,10 @@ module Algolia
421
425
  if @api_client.config.client_side_validation && path.nil?
422
426
  raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
423
427
  end
428
+ # verify the required parameter 'path' is not empty
429
+ if @api_client.config.client_side_validation && path.empty?
430
+ raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
431
+ end
424
432
 
425
433
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
426
434
  query_params = {}
@@ -465,6 +473,10 @@ module Algolia
465
473
  if @api_client.config.client_side_validation && path.nil?
466
474
  raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
467
475
  end
476
+ # verify the required parameter 'path' is not empty
477
+ if @api_client.config.client_side_validation && path.empty?
478
+ raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
479
+ end
468
480
 
469
481
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
470
482
  query_params = {}
@@ -510,6 +522,10 @@ module Algolia
510
522
  if @api_client.config.client_side_validation && path.nil?
511
523
  raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
512
524
  end
525
+ # verify the required parameter 'path' is not empty
526
+ if @api_client.config.client_side_validation && path.empty?
527
+ raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
528
+ end
513
529
 
514
530
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
515
531
  query_params = {}
@@ -557,6 +573,10 @@ module Algolia
557
573
  if @api_client.config.client_side_validation && authentication_id.nil?
558
574
  raise ArgumentError, "Parameter `authentication_id` is required when calling `delete_authentication`."
559
575
  end
576
+ # verify the required parameter 'authentication_id' is not empty
577
+ if @api_client.config.client_side_validation && authentication_id.empty?
578
+ raise ArgumentError, "Parameter `authentication_id` is required when calling `delete_authentication`."
579
+ end
560
580
 
561
581
  path = "/1/authentications/{authenticationID}".sub(
562
582
  "{" + "authenticationID" + "}",
@@ -608,6 +628,10 @@ module Algolia
608
628
  if @api_client.config.client_side_validation && destination_id.nil?
609
629
  raise ArgumentError, "Parameter `destination_id` is required when calling `delete_destination`."
610
630
  end
631
+ # verify the required parameter 'destination_id' is not empty
632
+ if @api_client.config.client_side_validation && destination_id.empty?
633
+ raise ArgumentError, "Parameter `destination_id` is required when calling `delete_destination`."
634
+ end
611
635
 
612
636
  path = "/1/destinations/{destinationID}".sub(
613
637
  "{" + "destinationID" + "}",
@@ -659,6 +683,10 @@ module Algolia
659
683
  if @api_client.config.client_side_validation && source_id.nil?
660
684
  raise ArgumentError, "Parameter `source_id` is required when calling `delete_source`."
661
685
  end
686
+ # verify the required parameter 'source_id' is not empty
687
+ if @api_client.config.client_side_validation && source_id.empty?
688
+ raise ArgumentError, "Parameter `source_id` is required when calling `delete_source`."
689
+ end
662
690
 
663
691
  path = "/1/sources/{sourceID}".sub("{" + "sourceID" + "}", Transport.encode_uri(source_id.to_s))
664
692
  query_params = {}
@@ -707,6 +735,10 @@ module Algolia
707
735
  if @api_client.config.client_side_validation && task_id.nil?
708
736
  raise ArgumentError, "Parameter `task_id` is required when calling `delete_task`."
709
737
  end
738
+ # verify the required parameter 'task_id' is not empty
739
+ if @api_client.config.client_side_validation && task_id.empty?
740
+ raise ArgumentError, "Parameter `task_id` is required when calling `delete_task`."
741
+ end
710
742
 
711
743
  path = "/2/tasks/{taskID}".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
712
744
  query_params = {}
@@ -756,6 +788,10 @@ module Algolia
756
788
  if @api_client.config.client_side_validation && task_id.nil?
757
789
  raise ArgumentError, "Parameter `task_id` is required when calling `delete_task_v1`."
758
790
  end
791
+ # verify the required parameter 'task_id' is not empty
792
+ if @api_client.config.client_side_validation && task_id.empty?
793
+ raise ArgumentError, "Parameter `task_id` is required when calling `delete_task_v1`."
794
+ end
759
795
 
760
796
  path = "/1/tasks/{taskID}".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
761
797
  query_params = {}
@@ -804,6 +840,10 @@ module Algolia
804
840
  if @api_client.config.client_side_validation && transformation_id.nil?
805
841
  raise ArgumentError, "Parameter `transformation_id` is required when calling `delete_transformation`."
806
842
  end
843
+ # verify the required parameter 'transformation_id' is not empty
844
+ if @api_client.config.client_side_validation && transformation_id.empty?
845
+ raise ArgumentError, "Parameter `transformation_id` is required when calling `delete_transformation`."
846
+ end
807
847
 
808
848
  path = "/1/transformations/{transformationID}".sub(
809
849
  "{" + "transformationID" + "}",
@@ -855,6 +895,10 @@ module Algolia
855
895
  if @api_client.config.client_side_validation && task_id.nil?
856
896
  raise ArgumentError, "Parameter `task_id` is required when calling `disable_task`."
857
897
  end
898
+ # verify the required parameter 'task_id' is not empty
899
+ if @api_client.config.client_side_validation && task_id.empty?
900
+ raise ArgumentError, "Parameter `task_id` is required when calling `disable_task`."
901
+ end
858
902
 
859
903
  path = "/2/tasks/{taskID}/disable".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
860
904
  query_params = {}
@@ -904,6 +948,10 @@ module Algolia
904
948
  if @api_client.config.client_side_validation && task_id.nil?
905
949
  raise ArgumentError, "Parameter `task_id` is required when calling `disable_task_v1`."
906
950
  end
951
+ # verify the required parameter 'task_id' is not empty
952
+ if @api_client.config.client_side_validation && task_id.empty?
953
+ raise ArgumentError, "Parameter `task_id` is required when calling `disable_task_v1`."
954
+ end
907
955
 
908
956
  path = "/1/tasks/{taskID}/disable".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
909
957
  query_params = {}
@@ -952,6 +1000,10 @@ module Algolia
952
1000
  if @api_client.config.client_side_validation && task_id.nil?
953
1001
  raise ArgumentError, "Parameter `task_id` is required when calling `enable_task`."
954
1002
  end
1003
+ # verify the required parameter 'task_id' is not empty
1004
+ if @api_client.config.client_side_validation && task_id.empty?
1005
+ raise ArgumentError, "Parameter `task_id` is required when calling `enable_task`."
1006
+ end
955
1007
 
956
1008
  path = "/2/tasks/{taskID}/enable".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
957
1009
  query_params = {}
@@ -1001,6 +1053,10 @@ module Algolia
1001
1053
  if @api_client.config.client_side_validation && task_id.nil?
1002
1054
  raise ArgumentError, "Parameter `task_id` is required when calling `enable_task_v1`."
1003
1055
  end
1056
+ # verify the required parameter 'task_id' is not empty
1057
+ if @api_client.config.client_side_validation && task_id.empty?
1058
+ raise ArgumentError, "Parameter `task_id` is required when calling `enable_task_v1`."
1059
+ end
1004
1060
 
1005
1061
  path = "/1/tasks/{taskID}/enable".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
1006
1062
  query_params = {}
@@ -1049,6 +1105,10 @@ module Algolia
1049
1105
  if @api_client.config.client_side_validation && authentication_id.nil?
1050
1106
  raise ArgumentError, "Parameter `authentication_id` is required when calling `get_authentication`."
1051
1107
  end
1108
+ # verify the required parameter 'authentication_id' is not empty
1109
+ if @api_client.config.client_side_validation && authentication_id.empty?
1110
+ raise ArgumentError, "Parameter `authentication_id` is required when calling `get_authentication`."
1111
+ end
1052
1112
 
1053
1113
  path = "/1/authentications/{authenticationID}".sub(
1054
1114
  "{" + "authenticationID" + "}",
@@ -1100,6 +1160,10 @@ module Algolia
1100
1160
  if @api_client.config.client_side_validation && destination_id.nil?
1101
1161
  raise ArgumentError, "Parameter `destination_id` is required when calling `get_destination`."
1102
1162
  end
1163
+ # verify the required parameter 'destination_id' is not empty
1164
+ if @api_client.config.client_side_validation && destination_id.empty?
1165
+ raise ArgumentError, "Parameter `destination_id` is required when calling `get_destination`."
1166
+ end
1103
1167
 
1104
1168
  path = "/1/destinations/{destinationID}".sub(
1105
1169
  "{" + "destinationID" + "}",
@@ -1152,10 +1216,18 @@ module Algolia
1152
1216
  if @api_client.config.client_side_validation && run_id.nil?
1153
1217
  raise ArgumentError, "Parameter `run_id` is required when calling `get_event`."
1154
1218
  end
1219
+ # verify the required parameter 'run_id' is not empty
1220
+ if @api_client.config.client_side_validation && run_id.empty?
1221
+ raise ArgumentError, "Parameter `run_id` is required when calling `get_event`."
1222
+ end
1155
1223
  # verify the required parameter 'event_id' is set
1156
1224
  if @api_client.config.client_side_validation && event_id.nil?
1157
1225
  raise ArgumentError, "Parameter `event_id` is required when calling `get_event`."
1158
1226
  end
1227
+ # verify the required parameter 'event_id' is not empty
1228
+ if @api_client.config.client_side_validation && event_id.empty?
1229
+ raise ArgumentError, "Parameter `event_id` is required when calling `get_event`."
1230
+ end
1159
1231
 
1160
1232
  path = "/1/runs/{runID}/events/{eventID}".sub("{" + "runID" + "}", Transport.encode_uri(run_id.to_s)).sub(
1161
1233
  "{" + "eventID" + "}",
@@ -1208,6 +1280,10 @@ module Algolia
1208
1280
  if @api_client.config.client_side_validation && run_id.nil?
1209
1281
  raise ArgumentError, "Parameter `run_id` is required when calling `get_run`."
1210
1282
  end
1283
+ # verify the required parameter 'run_id' is not empty
1284
+ if @api_client.config.client_side_validation && run_id.empty?
1285
+ raise ArgumentError, "Parameter `run_id` is required when calling `get_run`."
1286
+ end
1211
1287
 
1212
1288
  path = "/1/runs/{runID}".sub("{" + "runID" + "}", Transport.encode_uri(run_id.to_s))
1213
1289
  query_params = {}
@@ -1256,6 +1332,10 @@ module Algolia
1256
1332
  if @api_client.config.client_side_validation && source_id.nil?
1257
1333
  raise ArgumentError, "Parameter `source_id` is required when calling `get_source`."
1258
1334
  end
1335
+ # verify the required parameter 'source_id' is not empty
1336
+ if @api_client.config.client_side_validation && source_id.empty?
1337
+ raise ArgumentError, "Parameter `source_id` is required when calling `get_source`."
1338
+ end
1259
1339
 
1260
1340
  path = "/1/sources/{sourceID}".sub("{" + "sourceID" + "}", Transport.encode_uri(source_id.to_s))
1261
1341
  query_params = {}
@@ -1304,6 +1384,10 @@ module Algolia
1304
1384
  if @api_client.config.client_side_validation && task_id.nil?
1305
1385
  raise ArgumentError, "Parameter `task_id` is required when calling `get_task`."
1306
1386
  end
1387
+ # verify the required parameter 'task_id' is not empty
1388
+ if @api_client.config.client_side_validation && task_id.empty?
1389
+ raise ArgumentError, "Parameter `task_id` is required when calling `get_task`."
1390
+ end
1307
1391
 
1308
1392
  path = "/2/tasks/{taskID}".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
1309
1393
  query_params = {}
@@ -1353,6 +1437,10 @@ module Algolia
1353
1437
  if @api_client.config.client_side_validation && task_id.nil?
1354
1438
  raise ArgumentError, "Parameter `task_id` is required when calling `get_task_v1`."
1355
1439
  end
1440
+ # verify the required parameter 'task_id' is not empty
1441
+ if @api_client.config.client_side_validation && task_id.empty?
1442
+ raise ArgumentError, "Parameter `task_id` is required when calling `get_task_v1`."
1443
+ end
1356
1444
 
1357
1445
  path = "/1/tasks/{taskID}".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
1358
1446
  query_params = {}
@@ -1401,6 +1489,10 @@ module Algolia
1401
1489
  if @api_client.config.client_side_validation && transformation_id.nil?
1402
1490
  raise ArgumentError, "Parameter `transformation_id` is required when calling `get_transformation`."
1403
1491
  end
1492
+ # verify the required parameter 'transformation_id' is not empty
1493
+ if @api_client.config.client_side_validation && transformation_id.empty?
1494
+ raise ArgumentError, "Parameter `transformation_id` is required when calling `get_transformation`."
1495
+ end
1404
1496
 
1405
1497
  path = "/1/transformations/{transformationID}".sub(
1406
1498
  "{" + "transformationID" + "}",
@@ -1644,6 +1736,10 @@ module Algolia
1644
1736
  if @api_client.config.client_side_validation && run_id.nil?
1645
1737
  raise ArgumentError, "Parameter `run_id` is required when calling `list_events`."
1646
1738
  end
1739
+ # verify the required parameter 'run_id' is not empty
1740
+ if @api_client.config.client_side_validation && run_id.empty?
1741
+ raise ArgumentError, "Parameter `run_id` is required when calling `list_events`."
1742
+ end
1647
1743
 
1648
1744
  path = "/1/runs/{runID}/events".sub("{" + "runID" + "}", Transport.encode_uri(run_id.to_s))
1649
1745
  query_params = {}
@@ -2220,6 +2316,10 @@ module Algolia
2220
2316
  if @api_client.config.client_side_validation && index_name.nil?
2221
2317
  raise ArgumentError, "Parameter `index_name` is required when calling `push`."
2222
2318
  end
2319
+ # verify the required parameter 'index_name' is not empty
2320
+ if @api_client.config.client_side_validation && index_name.empty?
2321
+ raise ArgumentError, "Parameter `index_name` is required when calling `push`."
2322
+ end
2223
2323
  # verify the required parameter 'push_task_payload' is set
2224
2324
  if @api_client.config.client_side_validation && push_task_payload.nil?
2225
2325
  raise ArgumentError, "Parameter `push_task_payload` is required when calling `push`."
@@ -2281,6 +2381,10 @@ module Algolia
2281
2381
  if @api_client.config.client_side_validation && task_id.nil?
2282
2382
  raise ArgumentError, "Parameter `task_id` is required when calling `push_task`."
2283
2383
  end
2384
+ # verify the required parameter 'task_id' is not empty
2385
+ if @api_client.config.client_side_validation && task_id.empty?
2386
+ raise ArgumentError, "Parameter `task_id` is required when calling `push_task`."
2387
+ end
2284
2388
  # verify the required parameter 'push_task_payload' is set
2285
2389
  if @api_client.config.client_side_validation && push_task_payload.nil?
2286
2390
  raise ArgumentError, "Parameter `push_task_payload` is required when calling `push_task`."
@@ -2339,6 +2443,10 @@ module Algolia
2339
2443
  if @api_client.config.client_side_validation && task_id.nil?
2340
2444
  raise ArgumentError, "Parameter `task_id` is required when calling `replace_task`."
2341
2445
  end
2446
+ # verify the required parameter 'task_id' is not empty
2447
+ if @api_client.config.client_side_validation && task_id.empty?
2448
+ raise ArgumentError, "Parameter `task_id` is required when calling `replace_task`."
2449
+ end
2342
2450
  # verify the required parameter 'task_replace' is set
2343
2451
  if @api_client.config.client_side_validation && task_replace.nil?
2344
2452
  raise ArgumentError, "Parameter `task_replace` is required when calling `replace_task`."
@@ -2393,6 +2501,10 @@ module Algolia
2393
2501
  if @api_client.config.client_side_validation && source_id.nil?
2394
2502
  raise ArgumentError, "Parameter `source_id` is required when calling `run_source`."
2395
2503
  end
2504
+ # verify the required parameter 'source_id' is not empty
2505
+ if @api_client.config.client_side_validation && source_id.empty?
2506
+ raise ArgumentError, "Parameter `source_id` is required when calling `run_source`."
2507
+ end
2396
2508
 
2397
2509
  path = "/1/sources/{sourceID}/run".sub("{" + "sourceID" + "}", Transport.encode_uri(source_id.to_s))
2398
2510
  query_params = {}
@@ -2443,6 +2555,10 @@ module Algolia
2443
2555
  if @api_client.config.client_side_validation && task_id.nil?
2444
2556
  raise ArgumentError, "Parameter `task_id` is required when calling `run_task`."
2445
2557
  end
2558
+ # verify the required parameter 'task_id' is not empty
2559
+ if @api_client.config.client_side_validation && task_id.empty?
2560
+ raise ArgumentError, "Parameter `task_id` is required when calling `run_task`."
2561
+ end
2446
2562
 
2447
2563
  path = "/2/tasks/{taskID}/run".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
2448
2564
  query_params = {}
@@ -2494,6 +2610,10 @@ module Algolia
2494
2610
  if @api_client.config.client_side_validation && task_id.nil?
2495
2611
  raise ArgumentError, "Parameter `task_id` is required when calling `run_task_v1`."
2496
2612
  end
2613
+ # verify the required parameter 'task_id' is not empty
2614
+ if @api_client.config.client_side_validation && task_id.empty?
2615
+ raise ArgumentError, "Parameter `task_id` is required when calling `run_task_v1`."
2616
+ end
2497
2617
 
2498
2618
  path = "/1/tasks/{taskID}/run".sub("{" + "taskID" + "}", Transport.encode_uri(task_id.to_s))
2499
2619
  query_params = {}
@@ -2832,6 +2952,10 @@ module Algolia
2832
2952
  if @api_client.config.client_side_validation && source_id.nil?
2833
2953
  raise ArgumentError, "Parameter `source_id` is required when calling `trigger_docker_source_discover`."
2834
2954
  end
2955
+ # verify the required parameter 'source_id' is not empty
2956
+ if @api_client.config.client_side_validation && source_id.empty?
2957
+ raise ArgumentError, "Parameter `source_id` is required when calling `trigger_docker_source_discover`."
2958
+ end
2835
2959
 
2836
2960
  path = "/1/sources/{sourceID}/discover".sub("{" + "sourceID" + "}", Transport.encode_uri(source_id.to_s))
2837
2961
  query_params = {}
@@ -2937,6 +3061,13 @@ module Algolia
2937
3061
  "Parameter `transformation_id` is required when calling `try_transformation_before_update`."
2938
3062
  )
2939
3063
  end
3064
+ # verify the required parameter 'transformation_id' is not empty
3065
+ if @api_client.config.client_side_validation && transformation_id.empty?
3066
+ raise(
3067
+ ArgumentError,
3068
+ "Parameter `transformation_id` is required when calling `try_transformation_before_update`."
3069
+ )
3070
+ end
2940
3071
  # verify the required parameter 'transformation_try' is set
2941
3072
  if @api_client.config.client_side_validation && transformation_try.nil?
2942
3073
  raise(
@@ -3000,6 +3131,10 @@ module Algolia
3000
3131
  if @api_client.config.client_side_validation && authentication_id.nil?
3001
3132
  raise ArgumentError, "Parameter `authentication_id` is required when calling `update_authentication`."
3002
3133
  end
3134
+ # verify the required parameter 'authentication_id' is not empty
3135
+ if @api_client.config.client_side_validation && authentication_id.empty?
3136
+ raise ArgumentError, "Parameter `authentication_id` is required when calling `update_authentication`."
3137
+ end
3003
3138
  # verify the required parameter 'authentication_update' is set
3004
3139
  if @api_client.config.client_side_validation && authentication_update.nil?
3005
3140
  raise ArgumentError, "Parameter `authentication_update` is required when calling `update_authentication`."
@@ -3060,6 +3195,10 @@ module Algolia
3060
3195
  if @api_client.config.client_side_validation && destination_id.nil?
3061
3196
  raise ArgumentError, "Parameter `destination_id` is required when calling `update_destination`."
3062
3197
  end
3198
+ # verify the required parameter 'destination_id' is not empty
3199
+ if @api_client.config.client_side_validation && destination_id.empty?
3200
+ raise ArgumentError, "Parameter `destination_id` is required when calling `update_destination`."
3201
+ end
3063
3202
  # verify the required parameter 'destination_update' is set
3064
3203
  if @api_client.config.client_side_validation && destination_update.nil?
3065
3204
  raise ArgumentError, "Parameter `destination_update` is required when calling `update_destination`."
@@ -3120,6 +3259,10 @@ module Algolia
3120
3259
  if @api_client.config.client_side_validation && source_id.nil?
3121
3260
  raise ArgumentError, "Parameter `source_id` is required when calling `update_source`."
3122
3261
  end
3262
+ # verify the required parameter 'source_id' is not empty
3263
+ if @api_client.config.client_side_validation && source_id.empty?
3264
+ raise ArgumentError, "Parameter `source_id` is required when calling `update_source`."
3265
+ end
3123
3266
  # verify the required parameter 'source_update' is set
3124
3267
  if @api_client.config.client_side_validation && source_update.nil?
3125
3268
  raise ArgumentError, "Parameter `source_update` is required when calling `update_source`."
@@ -3174,6 +3317,10 @@ module Algolia
3174
3317
  if @api_client.config.client_side_validation && task_id.nil?
3175
3318
  raise ArgumentError, "Parameter `task_id` is required when calling `update_task`."
3176
3319
  end
3320
+ # verify the required parameter 'task_id' is not empty
3321
+ if @api_client.config.client_side_validation && task_id.empty?
3322
+ raise ArgumentError, "Parameter `task_id` is required when calling `update_task`."
3323
+ end
3177
3324
  # verify the required parameter 'task_update' is set
3178
3325
  if @api_client.config.client_side_validation && task_update.nil?
3179
3326
  raise ArgumentError, "Parameter `task_update` is required when calling `update_task`."
@@ -3229,6 +3376,10 @@ module Algolia
3229
3376
  if @api_client.config.client_side_validation && task_id.nil?
3230
3377
  raise ArgumentError, "Parameter `task_id` is required when calling `update_task_v1`."
3231
3378
  end
3379
+ # verify the required parameter 'task_id' is not empty
3380
+ if @api_client.config.client_side_validation && task_id.empty?
3381
+ raise ArgumentError, "Parameter `task_id` is required when calling `update_task_v1`."
3382
+ end
3232
3383
  # verify the required parameter 'task_update' is set
3233
3384
  if @api_client.config.client_side_validation && task_update.nil?
3234
3385
  raise ArgumentError, "Parameter `task_update` is required when calling `update_task_v1`."
@@ -3283,6 +3434,10 @@ module Algolia
3283
3434
  if @api_client.config.client_side_validation && transformation_id.nil?
3284
3435
  raise ArgumentError, "Parameter `transformation_id` is required when calling `update_transformation`."
3285
3436
  end
3437
+ # verify the required parameter 'transformation_id' is not empty
3438
+ if @api_client.config.client_side_validation && transformation_id.empty?
3439
+ raise ArgumentError, "Parameter `transformation_id` is required when calling `update_transformation`."
3440
+ end
3286
3441
  # verify the required parameter 'transformation_create' is set
3287
3442
  if @api_client.config.client_side_validation && transformation_create.nil?
3288
3443
  raise ArgumentError, "Parameter `transformation_create` is required when calling `update_transformation`."
@@ -3388,6 +3543,10 @@ module Algolia
3388
3543
  if @api_client.config.client_side_validation && source_id.nil?
3389
3544
  raise ArgumentError, "Parameter `source_id` is required when calling `validate_source_before_update`."
3390
3545
  end
3546
+ # verify the required parameter 'source_id' is not empty
3547
+ if @api_client.config.client_side_validation && source_id.empty?
3548
+ raise ArgumentError, "Parameter `source_id` is required when calling `validate_source_before_update`."
3549
+ end
3391
3550
  # verify the required parameter 'source_update' is set
3392
3551
  if @api_client.config.client_side_validation && source_update.nil?
3393
3552
  raise ArgumentError, "Parameter `source_update` is required when calling `validate_source_before_update`."
@@ -80,6 +80,10 @@ module Algolia
80
80
  if @api_client.config.client_side_validation && path.nil?
81
81
  raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
82
82
  end
83
+ # verify the required parameter 'path' is not empty
84
+ if @api_client.config.client_side_validation && path.empty?
85
+ raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
86
+ end
83
87
 
84
88
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
85
89
  query_params = {}
@@ -123,6 +127,10 @@ module Algolia
123
127
  if @api_client.config.client_side_validation && path.nil?
124
128
  raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
125
129
  end
130
+ # verify the required parameter 'path' is not empty
131
+ if @api_client.config.client_side_validation && path.empty?
132
+ raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
133
+ end
126
134
 
127
135
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
128
136
  query_params = {}
@@ -167,6 +175,10 @@ module Algolia
167
175
  if @api_client.config.client_side_validation && path.nil?
168
176
  raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
169
177
  end
178
+ # verify the required parameter 'path' is not empty
179
+ if @api_client.config.client_side_validation && path.empty?
180
+ raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
181
+ end
170
182
 
171
183
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
172
184
  query_params = {}
@@ -212,6 +224,10 @@ module Algolia
212
224
  if @api_client.config.client_side_validation && path.nil?
213
225
  raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
214
226
  end
227
+ # verify the required parameter 'path' is not empty
228
+ if @api_client.config.client_side_validation && path.empty?
229
+ raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
230
+ end
215
231
 
216
232
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
217
233
  query_params = {}
@@ -257,6 +273,10 @@ module Algolia
257
273
  if @api_client.config.client_side_validation && user_token.nil?
258
274
  raise ArgumentError, "Parameter `user_token` is required when calling `delete_user_token`."
259
275
  end
276
+ # verify the required parameter 'user_token' is not empty
277
+ if @api_client.config.client_side_validation && user_token.empty?
278
+ raise ArgumentError, "Parameter `user_token` is required when calling `delete_user_token`."
279
+ end
260
280
 
261
281
  path = "/1/usertokens/{userToken}".sub("{" + "userToken" + "}", Transport.encode_uri(user_token.to_s))
262
282
  query_params = {}
@@ -65,6 +65,10 @@ module Algolia
65
65
  if @api_client.config.client_side_validation && path.nil?
66
66
  raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
67
67
  end
68
+ # verify the required parameter 'path' is not empty
69
+ if @api_client.config.client_side_validation && path.empty?
70
+ raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
71
+ end
68
72
 
69
73
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
70
74
  query_params = {}
@@ -108,6 +112,10 @@ module Algolia
108
112
  if @api_client.config.client_side_validation && path.nil?
109
113
  raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
110
114
  end
115
+ # verify the required parameter 'path' is not empty
116
+ if @api_client.config.client_side_validation && path.empty?
117
+ raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
118
+ end
111
119
 
112
120
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
113
121
  query_params = {}
@@ -152,6 +160,10 @@ module Algolia
152
160
  if @api_client.config.client_side_validation && path.nil?
153
161
  raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
154
162
  end
163
+ # verify the required parameter 'path' is not empty
164
+ if @api_client.config.client_side_validation && path.empty?
165
+ raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
166
+ end
155
167
 
156
168
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
157
169
  query_params = {}
@@ -197,6 +209,10 @@ module Algolia
197
209
  if @api_client.config.client_side_validation && path.nil?
198
210
  raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
199
211
  end
212
+ # verify the required parameter 'path' is not empty
213
+ if @api_client.config.client_side_validation && path.empty?
214
+ raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
215
+ end
200
216
 
201
217
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
202
218
  query_params = {}
@@ -240,6 +256,10 @@ module Algolia
240
256
  if @api_client.config.client_side_validation && clusters.nil?
241
257
  raise ArgumentError, "Parameter `clusters` is required when calling `get_cluster_incidents`."
242
258
  end
259
+ # verify the required parameter 'clusters' is not empty
260
+ if @api_client.config.client_side_validation && clusters.empty?
261
+ raise ArgumentError, "Parameter `clusters` is required when calling `get_cluster_incidents`."
262
+ end
243
263
 
244
264
  path = "/1/incidents/{clusters}".sub("{" + "clusters" + "}", Transport.encode_uri(clusters.to_s))
245
265
  query_params = {}
@@ -280,6 +300,10 @@ module Algolia
280
300
  if @api_client.config.client_side_validation && clusters.nil?
281
301
  raise ArgumentError, "Parameter `clusters` is required when calling `get_cluster_status`."
282
302
  end
303
+ # verify the required parameter 'clusters' is not empty
304
+ if @api_client.config.client_side_validation && clusters.empty?
305
+ raise ArgumentError, "Parameter `clusters` is required when calling `get_cluster_status`."
306
+ end
283
307
 
284
308
  path = "/1/status/{clusters}".sub("{" + "clusters" + "}", Transport.encode_uri(clusters.to_s))
285
309
  query_params = {}
@@ -353,6 +377,10 @@ module Algolia
353
377
  if @api_client.config.client_side_validation && clusters.nil?
354
378
  raise ArgumentError, "Parameter `clusters` is required when calling `get_indexing_time`."
355
379
  end
380
+ # verify the required parameter 'clusters' is not empty
381
+ if @api_client.config.client_side_validation && clusters.empty?
382
+ raise ArgumentError, "Parameter `clusters` is required when calling `get_indexing_time`."
383
+ end
356
384
 
357
385
  path = "/1/indexing/{clusters}".sub("{" + "clusters" + "}", Transport.encode_uri(clusters.to_s))
358
386
  query_params = {}
@@ -393,6 +421,10 @@ module Algolia
393
421
  if @api_client.config.client_side_validation && clusters.nil?
394
422
  raise ArgumentError, "Parameter `clusters` is required when calling `get_latency`."
395
423
  end
424
+ # verify the required parameter 'clusters' is not empty
425
+ if @api_client.config.client_side_validation && clusters.empty?
426
+ raise ArgumentError, "Parameter `clusters` is required when calling `get_latency`."
427
+ end
396
428
 
397
429
  path = "/1/latency/{clusters}".sub("{" + "clusters" + "}", Transport.encode_uri(clusters.to_s))
398
430
  query_params = {}
@@ -484,6 +516,10 @@ module Algolia
484
516
  if @api_client.config.client_side_validation && clusters.nil?
485
517
  raise ArgumentError, "Parameter `clusters` is required when calling `get_reachability`."
486
518
  end
519
+ # verify the required parameter 'clusters' is not empty
520
+ if @api_client.config.client_side_validation && clusters.empty?
521
+ raise ArgumentError, "Parameter `clusters` is required when calling `get_reachability`."
522
+ end
487
523
 
488
524
  path = "/1/reachability/{clusters}/probes".sub("{" + "clusters" + "}", Transport.encode_uri(clusters.to_s))
489
525
  query_params = {}
@@ -80,6 +80,10 @@ module Algolia
80
80
  if @api_client.config.client_side_validation && path.nil?
81
81
  raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
82
82
  end
83
+ # verify the required parameter 'path' is not empty
84
+ if @api_client.config.client_side_validation && path.empty?
85
+ raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
86
+ end
83
87
 
84
88
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
85
89
  query_params = {}
@@ -123,6 +127,10 @@ module Algolia
123
127
  if @api_client.config.client_side_validation && path.nil?
124
128
  raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
125
129
  end
130
+ # verify the required parameter 'path' is not empty
131
+ if @api_client.config.client_side_validation && path.empty?
132
+ raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
133
+ end
126
134
 
127
135
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
128
136
  query_params = {}
@@ -167,6 +175,10 @@ module Algolia
167
175
  if @api_client.config.client_side_validation && path.nil?
168
176
  raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
169
177
  end
178
+ # verify the required parameter 'path' is not empty
179
+ if @api_client.config.client_side_validation && path.empty?
180
+ raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
181
+ end
170
182
 
171
183
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
172
184
  query_params = {}
@@ -212,6 +224,10 @@ module Algolia
212
224
  if @api_client.config.client_side_validation && path.nil?
213
225
  raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
214
226
  end
227
+ # verify the required parameter 'path' is not empty
228
+ if @api_client.config.client_side_validation && path.empty?
229
+ raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
230
+ end
215
231
 
216
232
  path = "/{path}".sub("{" + "path" + "}", path.to_s)
217
233
  query_params = {}
@@ -257,6 +273,10 @@ module Algolia
257
273
  if @api_client.config.client_side_validation && user_token.nil?
258
274
  raise ArgumentError, "Parameter `user_token` is required when calling `delete_user_profile`."
259
275
  end
276
+ # verify the required parameter 'user_token' is not empty
277
+ if @api_client.config.client_side_validation && user_token.empty?
278
+ raise ArgumentError, "Parameter `user_token` is required when calling `delete_user_profile`."
279
+ end
260
280
 
261
281
  path = "/1/profiles/{userToken}".sub("{" + "userToken" + "}", Transport.encode_uri(user_token.to_s))
262
282
  query_params = {}
@@ -344,6 +364,10 @@ module Algolia
344
364
  if @api_client.config.client_side_validation && user_token.nil?
345
365
  raise ArgumentError, "Parameter `user_token` is required when calling `get_user_token_profile`."
346
366
  end
367
+ # verify the required parameter 'user_token' is not empty
368
+ if @api_client.config.client_side_validation && user_token.empty?
369
+ raise ArgumentError, "Parameter `user_token` is required when calling `get_user_token_profile`."
370
+ end
347
371
 
348
372
  path = "/1/profiles/personalization/{userToken}".sub(
349
373
  "{" + "userToken" + "}",