DealMakerAPI 0.107.0 → 0.107.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -6
  3. data/docs/CampaignApi.md +9 -9
  4. data/docs/DealApi.md +69 -0
  5. data/docs/ShwApi.md +141 -0
  6. data/docs/TtwCampaignsApi.md +141 -0
  7. data/docs/V1EntitiesPage.md +34 -0
  8. data/docs/V1EntitiesTtwReservationCreate.md +2 -4
  9. data/docs/V1EntitiesTtwReservationGetResponse.md +20 -0
  10. data/lib/DealMakerAPI/api/campaign_api.rb +15 -15
  11. data/lib/DealMakerAPI/api/company_api.rb +20 -20
  12. data/lib/DealMakerAPI/api/country_api.rb +1 -1
  13. data/lib/DealMakerAPI/api/custom_emails_api.rb +1 -1
  14. data/lib/DealMakerAPI/api/deal_api.rb +77 -8
  15. data/lib/DealMakerAPI/api/default_api.rb +15 -15
  16. data/lib/DealMakerAPI/api/incentive_plan_api.rb +3 -3
  17. data/lib/DealMakerAPI/api/investor_api.rb +13 -13
  18. data/lib/DealMakerAPI/api/investor_profile_api.rb +13 -13
  19. data/lib/DealMakerAPI/api/reservation_api.rb +2 -2
  20. data/lib/DealMakerAPI/api/shareholder_api.rb +2 -2
  21. data/lib/DealMakerAPI/api/shw_api.rb +148 -0
  22. data/lib/DealMakerAPI/api/ttw_campaigns_api.rb +148 -0
  23. data/lib/DealMakerAPI/api/upload_api.rb +1 -1
  24. data/lib/DealMakerAPI/api/user_api.rb +9 -9
  25. data/lib/DealMakerAPI/api/users_api.rb +2 -2
  26. data/lib/DealMakerAPI/models/v1_entities_page.rb +296 -0
  27. data/lib/DealMakerAPI/models/v1_entities_ttw_reservation_create.rb +7 -17
  28. data/lib/DealMakerAPI/models/{v1_entities_ttw_reservation_user_id.rb → v1_entities_ttw_reservation_get_response.rb} +22 -12
  29. data/lib/DealMakerAPI/version.rb +1 -1
  30. data/lib/DealMakerAPI.rb +4 -1
  31. data/spec/api/campaign_api_spec.rb +2 -2
  32. data/spec/api/deal_api_spec.rb +13 -0
  33. data/spec/api/shw_api_spec.rb +59 -0
  34. data/spec/api/ttw_campaigns_api_spec.rb +59 -0
  35. data/spec/models/v1_entities_page_spec.rb +84 -0
  36. data/spec/models/v1_entities_ttw_reservation_create_spec.rb +1 -7
  37. data/spec/models/{v1_entities_ttw_reservation_user_id_spec.rb → v1_entities_ttw_reservation_get_response_spec.rb} +13 -7
  38. metadata +154 -142
  39. data/docs/V1EntitiesTtwReservationUserId.md +0 -18
@@ -57,7 +57,7 @@ module DealMakerAPI
57
57
  # header parameters
58
58
  header_params = opts[:header_params] || {}
59
59
  # HTTP header 'Accept' (if needed)
60
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
61
  # HTTP header 'Content-Type'
62
62
  content_type = @api_client.select_header_content_type(['application/json'])
63
63
  if !content_type.nil?
@@ -137,7 +137,7 @@ module DealMakerAPI
137
137
  # header parameters
138
138
  header_params = opts[:header_params] || {}
139
139
  # HTTP header 'Accept' (if needed)
140
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
140
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
141
141
  # HTTP header 'Content-Type'
142
142
  content_type = @api_client.select_header_content_type(['application/json'])
143
143
  if !content_type.nil?
@@ -205,7 +205,7 @@ module DealMakerAPI
205
205
  # header parameters
206
206
  header_params = opts[:header_params] || {}
207
207
  # HTTP header 'Accept' (if needed)
208
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
208
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
209
209
  # HTTP header 'Content-Type'
210
210
  content_type = @api_client.select_header_content_type(['application/json'])
211
211
  if !content_type.nil?
@@ -279,7 +279,7 @@ module DealMakerAPI
279
279
  # header parameters
280
280
  header_params = opts[:header_params] || {}
281
281
  # HTTP header 'Accept' (if needed)
282
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
282
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
283
283
  # HTTP header 'Content-Type'
284
284
  content_type = @api_client.select_header_content_type(['application/json'])
285
285
  if !content_type.nil?
@@ -353,7 +353,7 @@ module DealMakerAPI
353
353
  # header parameters
354
354
  header_params = opts[:header_params] || {}
355
355
  # HTTP header 'Accept' (if needed)
356
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
356
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
357
357
  # HTTP header 'Content-Type'
358
358
  content_type = @api_client.select_header_content_type(['application/json'])
359
359
  if !content_type.nil?
@@ -433,7 +433,7 @@ module DealMakerAPI
433
433
  # header parameters
434
434
  header_params = opts[:header_params] || {}
435
435
  # HTTP header 'Accept' (if needed)
436
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
436
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
437
437
  # HTTP header 'Content-Type'
438
438
  content_type = @api_client.select_header_content_type(['application/json'])
439
439
  if !content_type.nil?
@@ -583,7 +583,7 @@ module DealMakerAPI
583
583
  # header parameters
584
584
  header_params = opts[:header_params] || {}
585
585
  # HTTP header 'Accept' (if needed)
586
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
586
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
587
587
 
588
588
  # form parameters
589
589
  form_params = opts[:form_params] || {}
@@ -652,7 +652,7 @@ module DealMakerAPI
652
652
  # header parameters
653
653
  header_params = opts[:header_params] || {}
654
654
  # HTTP header 'Accept' (if needed)
655
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
655
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
656
656
 
657
657
  # form parameters
658
658
  form_params = opts[:form_params] || {}
@@ -724,7 +724,7 @@ module DealMakerAPI
724
724
  # header parameters
725
725
  header_params = opts[:header_params] || {}
726
726
  # HTTP header 'Accept' (if needed)
727
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
727
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
728
728
 
729
729
  # form parameters
730
730
  form_params = opts[:form_params] || {}
@@ -790,7 +790,7 @@ module DealMakerAPI
790
790
  # header parameters
791
791
  header_params = opts[:header_params] || {}
792
792
  # HTTP header 'Accept' (if needed)
793
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
793
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
794
794
 
795
795
  # form parameters
796
796
  form_params = opts[:form_params] || {}
@@ -853,7 +853,7 @@ module DealMakerAPI
853
853
  # header parameters
854
854
  header_params = opts[:header_params] || {}
855
855
  # HTTP header 'Accept' (if needed)
856
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
856
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
857
857
 
858
858
  # form parameters
859
859
  form_params = opts[:form_params] || {}
@@ -922,7 +922,7 @@ module DealMakerAPI
922
922
  # header parameters
923
923
  header_params = opts[:header_params] || {}
924
924
  # HTTP header 'Accept' (if needed)
925
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
925
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
926
926
 
927
927
  # form parameters
928
928
  form_params = opts[:form_params] || {}
@@ -985,7 +985,7 @@ module DealMakerAPI
985
985
  # header parameters
986
986
  header_params = opts[:header_params] || {}
987
987
  # HTTP header 'Accept' (if needed)
988
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
988
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
989
989
 
990
990
  # form parameters
991
991
  form_params = opts[:form_params] || {}
@@ -1048,7 +1048,7 @@ module DealMakerAPI
1048
1048
  # header parameters
1049
1049
  header_params = opts[:header_params] || {}
1050
1050
  # HTTP header 'Accept' (if needed)
1051
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1051
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1052
1052
 
1053
1053
  # form parameters
1054
1054
  form_params = opts[:form_params] || {}
@@ -1117,7 +1117,7 @@ module DealMakerAPI
1117
1117
  # header parameters
1118
1118
  header_params = opts[:header_params] || {}
1119
1119
  # HTTP header 'Accept' (if needed)
1120
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1120
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1121
1121
 
1122
1122
  # form parameters
1123
1123
  form_params = opts[:form_params] || {}
@@ -1189,7 +1189,7 @@ module DealMakerAPI
1189
1189
  # header parameters
1190
1190
  header_params = opts[:header_params] || {}
1191
1191
  # HTTP header 'Accept' (if needed)
1192
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1192
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1193
1193
 
1194
1194
  # form parameters
1195
1195
  form_params = opts[:form_params] || {}
@@ -1258,7 +1258,7 @@ module DealMakerAPI
1258
1258
  # header parameters
1259
1259
  header_params = opts[:header_params] || {}
1260
1260
  # HTTP header 'Accept' (if needed)
1261
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1261
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1262
1262
 
1263
1263
  # form parameters
1264
1264
  form_params = opts[:form_params] || {}
@@ -1321,7 +1321,7 @@ module DealMakerAPI
1321
1321
  # header parameters
1322
1322
  header_params = opts[:header_params] || {}
1323
1323
  # HTTP header 'Accept' (if needed)
1324
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1324
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1325
1325
 
1326
1326
  # form parameters
1327
1327
  form_params = opts[:form_params] || {}
@@ -1384,7 +1384,7 @@ module DealMakerAPI
1384
1384
  # header parameters
1385
1385
  header_params = opts[:header_params] || {}
1386
1386
  # HTTP header 'Accept' (if needed)
1387
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1387
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1388
1388
 
1389
1389
  # form parameters
1390
1390
  form_params = opts[:form_params] || {}
@@ -1450,7 +1450,7 @@ module DealMakerAPI
1450
1450
  # header parameters
1451
1451
  header_params = opts[:header_params] || {}
1452
1452
  # HTTP header 'Accept' (if needed)
1453
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1453
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1454
1454
 
1455
1455
  # form parameters
1456
1456
  form_params = opts[:form_params] || {}
@@ -45,7 +45,7 @@ module DealMakerAPI
45
45
  # header parameters
46
46
  header_params = opts[:header_params] || {}
47
47
  # HTTP header 'Accept' (if needed)
48
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
48
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
49
49
 
50
50
  # form parameters
51
51
  form_params = opts[:form_params] || {}
@@ -51,7 +51,7 @@ module DealMakerAPI
51
51
  # header parameters
52
52
  header_params = opts[:header_params] || {}
53
53
  # HTTP header 'Accept' (if needed)
54
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
55
55
  # HTTP header 'Content-Type'
56
56
  content_type = @api_client.select_header_content_type(['application/json'])
57
57
  if !content_type.nil?
@@ -63,7 +63,7 @@ module DealMakerAPI
63
63
  # header parameters
64
64
  header_params = opts[:header_params] || {}
65
65
  # HTTP header 'Accept' (if needed)
66
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
66
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
67
67
 
68
68
  # form parameters
69
69
  form_params = opts[:form_params] || {}
@@ -138,7 +138,7 @@ module DealMakerAPI
138
138
  # header parameters
139
139
  header_params = opts[:header_params] || {}
140
140
  # HTTP header 'Accept' (if needed)
141
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
141
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
142
142
 
143
143
  # form parameters
144
144
  form_params = opts[:form_params] || {}
@@ -201,7 +201,7 @@ module DealMakerAPI
201
201
  # header parameters
202
202
  header_params = opts[:header_params] || {}
203
203
  # HTTP header 'Accept' (if needed)
204
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
204
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
205
  # HTTP header 'Content-Type'
206
206
  content_type = @api_client.select_header_content_type(['application/json'])
207
207
  if !content_type.nil?
@@ -269,7 +269,7 @@ module DealMakerAPI
269
269
  # header parameters
270
270
  header_params = opts[:header_params] || {}
271
271
  # HTTP header 'Accept' (if needed)
272
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
272
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
273
273
 
274
274
  # form parameters
275
275
  form_params = opts[:form_params] || {}
@@ -335,7 +335,7 @@ module DealMakerAPI
335
335
  # header parameters
336
336
  header_params = opts[:header_params] || {}
337
337
  # HTTP header 'Accept' (if needed)
338
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
338
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
339
339
 
340
340
  # form parameters
341
341
  form_params = opts[:form_params] || {}
@@ -366,6 +366,75 @@ module DealMakerAPI
366
366
  return data, status_code, headers
367
367
  end
368
368
 
369
+ # Get the Page for a given Platform Email
370
+ # Get the Page for a given Platform Email
371
+ # @param id [Integer] The deal id.
372
+ # @param platform_email_id [Integer] The platform email id.
373
+ # @param [Hash] opts the optional parameters
374
+ # @return [V1EntitiesPage]
375
+ def get_platform_email_page(id, platform_email_id, opts = {})
376
+ data, _status_code, _headers = get_platform_email_page_with_http_info(id, platform_email_id, opts)
377
+ data
378
+ end
379
+
380
+ # Get the Page for a given Platform Email
381
+ # Get the Page for a given Platform Email
382
+ # @param id [Integer] The deal id.
383
+ # @param platform_email_id [Integer] The platform email id.
384
+ # @param [Hash] opts the optional parameters
385
+ # @return [Array<(V1EntitiesPage, Integer, Hash)>] V1EntitiesPage data, response status code and response headers
386
+ def get_platform_email_page_with_http_info(id, platform_email_id, opts = {})
387
+ if @api_client.config.debugging
388
+ @api_client.config.logger.debug 'Calling API: DealApi.get_platform_email_page ...'
389
+ end
390
+ # verify the required parameter 'id' is set
391
+ if @api_client.config.client_side_validation && id.nil?
392
+ fail ArgumentError, "Missing the required parameter 'id' when calling DealApi.get_platform_email_page"
393
+ end
394
+ # verify the required parameter 'platform_email_id' is set
395
+ if @api_client.config.client_side_validation && platform_email_id.nil?
396
+ fail ArgumentError, "Missing the required parameter 'platform_email_id' when calling DealApi.get_platform_email_page"
397
+ end
398
+ # resource path
399
+ local_var_path = '/deals/{id}/platform_emails/{platform_email_id}/page'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'platform_email_id' + '}', CGI.escape(platform_email_id.to_s))
400
+
401
+ # query parameters
402
+ query_params = opts[:query_params] || {}
403
+
404
+ # header parameters
405
+ header_params = opts[:header_params] || {}
406
+ # HTTP header 'Accept' (if needed)
407
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
408
+
409
+ # form parameters
410
+ form_params = opts[:form_params] || {}
411
+
412
+ # http body (model)
413
+ post_body = opts[:debug_body]
414
+
415
+ # return_type
416
+ return_type = opts[:debug_return_type] || 'V1EntitiesPage'
417
+
418
+ # auth_names
419
+ auth_names = opts[:debug_auth_names] || []
420
+
421
+ new_options = opts.merge(
422
+ :operation => :"DealApi.get_platform_email_page",
423
+ :header_params => header_params,
424
+ :query_params => query_params,
425
+ :form_params => form_params,
426
+ :body => post_body,
427
+ :auth_names => auth_names,
428
+ :return_type => return_type
429
+ )
430
+
431
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
432
+ if @api_client.config.debugging
433
+ @api_client.config.logger.debug "API called: DealApi#get_platform_email_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
434
+ end
435
+ return data, status_code, headers
436
+ end
437
+
369
438
  # List available deals
370
439
  # List available deals
371
440
  # @param [Hash] opts the optional parameters
@@ -401,7 +470,7 @@ module DealMakerAPI
401
470
  # header parameters
402
471
  header_params = opts[:header_params] || {}
403
472
  # HTTP header 'Accept' (if needed)
404
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
473
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
405
474
 
406
475
  # form parameters
407
476
  form_params = opts[:form_params] || {}
@@ -464,7 +533,7 @@ module DealMakerAPI
464
533
  # header parameters
465
534
  header_params = opts[:header_params] || {}
466
535
  # HTTP header 'Accept' (if needed)
467
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
536
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
468
537
 
469
538
  # form parameters
470
539
  form_params = opts[:form_params] || {}
@@ -539,7 +608,7 @@ module DealMakerAPI
539
608
  # header parameters
540
609
  header_params = opts[:header_params] || {}
541
610
  # HTTP header 'Accept' (if needed)
542
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
611
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
543
612
  # HTTP header 'Content-Type'
544
613
  content_type = @api_client.select_header_content_type(['application/json'])
545
614
  if !content_type.nil?
@@ -51,7 +51,7 @@ module DealMakerAPI
51
51
  # header parameters
52
52
  header_params = opts[:header_params] || {}
53
53
  # HTTP header 'Accept' (if needed)
54
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
55
55
 
56
56
  # form parameters
57
57
  form_params = opts[:form_params] || {}
@@ -114,7 +114,7 @@ module DealMakerAPI
114
114
  # header parameters
115
115
  header_params = opts[:header_params] || {}
116
116
  # HTTP header 'Accept' (if needed)
117
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
117
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
118
118
 
119
119
  # form parameters
120
120
  form_params = opts[:form_params] || {}
@@ -183,7 +183,7 @@ module DealMakerAPI
183
183
  # header parameters
184
184
  header_params = opts[:header_params] || {}
185
185
  # HTTP header 'Accept' (if needed)
186
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
186
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
187
187
 
188
188
  # form parameters
189
189
  form_params = opts[:form_params] || {}
@@ -246,7 +246,7 @@ module DealMakerAPI
246
246
  # header parameters
247
247
  header_params = opts[:header_params] || {}
248
248
  # HTTP header 'Accept' (if needed)
249
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
249
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
250
250
 
251
251
  # form parameters
252
252
  form_params = opts[:form_params] || {}
@@ -309,7 +309,7 @@ module DealMakerAPI
309
309
  # header parameters
310
310
  header_params = opts[:header_params] || {}
311
311
  # HTTP header 'Accept' (if needed)
312
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
312
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
313
313
 
314
314
  # form parameters
315
315
  form_params = opts[:form_params] || {}
@@ -372,7 +372,7 @@ module DealMakerAPI
372
372
  # header parameters
373
373
  header_params = opts[:header_params] || {}
374
374
  # HTTP header 'Accept' (if needed)
375
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
375
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
376
376
 
377
377
  # form parameters
378
378
  form_params = opts[:form_params] || {}
@@ -435,7 +435,7 @@ module DealMakerAPI
435
435
  # header parameters
436
436
  header_params = opts[:header_params] || {}
437
437
  # HTTP header 'Accept' (if needed)
438
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
438
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
439
439
 
440
440
  # form parameters
441
441
  form_params = opts[:form_params] || {}
@@ -617,7 +617,7 @@ module DealMakerAPI
617
617
  # header parameters
618
618
  header_params = opts[:header_params] || {}
619
619
  # HTTP header 'Accept' (if needed)
620
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
620
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
621
621
 
622
622
  # form parameters
623
623
  form_params = opts[:form_params] || {}
@@ -680,7 +680,7 @@ module DealMakerAPI
680
680
  # header parameters
681
681
  header_params = opts[:header_params] || {}
682
682
  # HTTP header 'Accept' (if needed)
683
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
683
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
684
684
 
685
685
  # form parameters
686
686
  form_params = opts[:form_params] || {}
@@ -737,7 +737,7 @@ module DealMakerAPI
737
737
  # header parameters
738
738
  header_params = opts[:header_params] || {}
739
739
  # HTTP header 'Accept' (if needed)
740
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
740
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
741
741
 
742
742
  # form parameters
743
743
  form_params = opts[:form_params] || {}
@@ -794,7 +794,7 @@ module DealMakerAPI
794
794
  # header parameters
795
795
  header_params = opts[:header_params] || {}
796
796
  # HTTP header 'Accept' (if needed)
797
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
797
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
798
798
 
799
799
  # form parameters
800
800
  form_params = opts[:form_params] || {}
@@ -929,7 +929,7 @@ module DealMakerAPI
929
929
  # header parameters
930
930
  header_params = opts[:header_params] || {}
931
931
  # HTTP header 'Accept' (if needed)
932
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
932
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
933
933
 
934
934
  # form parameters
935
935
  form_params = opts[:form_params] || {}
@@ -1053,7 +1053,7 @@ module DealMakerAPI
1053
1053
  # header parameters
1054
1054
  header_params = opts[:header_params] || {}
1055
1055
  # HTTP header 'Accept' (if needed)
1056
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1056
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1057
1057
 
1058
1058
  # form parameters
1059
1059
  form_params = opts[:form_params] || {}
@@ -1177,7 +1177,7 @@ module DealMakerAPI
1177
1177
  # header parameters
1178
1178
  header_params = opts[:header_params] || {}
1179
1179
  # HTTP header 'Accept' (if needed)
1180
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1180
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1181
1181
  # HTTP header 'Content-Type'
1182
1182
  content_type = @api_client.select_header_content_type(['application/json'])
1183
1183
  if !content_type.nil?
@@ -1247,7 +1247,7 @@ module DealMakerAPI
1247
1247
  # header parameters
1248
1248
  header_params = opts[:header_params] || {}
1249
1249
  # HTTP header 'Accept' (if needed)
1250
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1250
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1251
1251
  # HTTP header 'Content-Type'
1252
1252
  content_type = @api_client.select_header_content_type(['application/json'])
1253
1253
  if !content_type.nil?
@@ -60,7 +60,7 @@ module DealMakerAPI
60
60
  # header parameters
61
61
  header_params = opts[:header_params] || {}
62
62
  # HTTP header 'Accept' (if needed)
63
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
63
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
64
64
 
65
65
  # form parameters
66
66
  form_params = opts[:form_params] || {}
@@ -131,7 +131,7 @@ module DealMakerAPI
131
131
  # header parameters
132
132
  header_params = opts[:header_params] || {}
133
133
  # HTTP header 'Accept' (if needed)
134
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
134
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
135
135
  # HTTP header 'Content-Type'
136
136
  content_type = @api_client.select_header_content_type(['application/json'])
137
137
  if !content_type.nil?
@@ -205,7 +205,7 @@ module DealMakerAPI
205
205
  # header parameters
206
206
  header_params = opts[:header_params] || {}
207
207
  # HTTP header 'Accept' (if needed)
208
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
208
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
209
209
  # HTTP header 'Content-Type'
210
210
  content_type = @api_client.select_header_content_type(['application/json'])
211
211
  if !content_type.nil?
@@ -63,7 +63,7 @@ module DealMakerAPI
63
63
  # header parameters
64
64
  header_params = opts[:header_params] || {}
65
65
  # HTTP header 'Accept' (if needed)
66
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
66
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
67
67
  # HTTP header 'Content-Type'
68
68
  content_type = @api_client.select_header_content_type(['application/json'])
69
69
  if !content_type.nil?
@@ -143,7 +143,7 @@ module DealMakerAPI
143
143
  # header parameters
144
144
  header_params = opts[:header_params] || {}
145
145
  # HTTP header 'Accept' (if needed)
146
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
146
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
147
147
  # HTTP header 'Content-Type'
148
148
  content_type = @api_client.select_header_content_type(['application/json'])
149
149
  if !content_type.nil?
@@ -217,7 +217,7 @@ module DealMakerAPI
217
217
  # header parameters
218
218
  header_params = opts[:header_params] || {}
219
219
  # HTTP header 'Accept' (if needed)
220
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
220
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
221
221
  # HTTP header 'Content-Type'
222
222
  content_type = @api_client.select_header_content_type(['application/json'])
223
223
  if !content_type.nil?
@@ -291,7 +291,7 @@ module DealMakerAPI
291
291
  # header parameters
292
292
  header_params = opts[:header_params] || {}
293
293
  # HTTP header 'Accept' (if needed)
294
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
294
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
295
295
  # HTTP header 'Content-Type'
296
296
  content_type = @api_client.select_header_content_type(['application/json'])
297
297
  if !content_type.nil?
@@ -511,7 +511,7 @@ module DealMakerAPI
511
511
  # header parameters
512
512
  header_params = opts[:header_params] || {}
513
513
  # HTTP header 'Accept' (if needed)
514
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
514
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
515
515
  # HTTP header 'Content-Type'
516
516
  content_type = @api_client.select_header_content_type(['application/json'])
517
517
  if !content_type.nil?
@@ -585,7 +585,7 @@ module DealMakerAPI
585
585
  # header parameters
586
586
  header_params = opts[:header_params] || {}
587
587
  # HTTP header 'Accept' (if needed)
588
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
588
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
589
589
 
590
590
  # form parameters
591
591
  form_params = opts[:form_params] || {}
@@ -660,7 +660,7 @@ module DealMakerAPI
660
660
  # header parameters
661
661
  header_params = opts[:header_params] || {}
662
662
  # HTTP header 'Accept' (if needed)
663
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
663
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
664
664
 
665
665
  # form parameters
666
666
  form_params = opts[:form_params] || {}
@@ -729,7 +729,7 @@ module DealMakerAPI
729
729
  # header parameters
730
730
  header_params = opts[:header_params] || {}
731
731
  # HTTP header 'Accept' (if needed)
732
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
732
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
733
733
 
734
734
  # form parameters
735
735
  form_params = opts[:form_params] || {}
@@ -798,7 +798,7 @@ module DealMakerAPI
798
798
  # header parameters
799
799
  header_params = opts[:header_params] || {}
800
800
  # HTTP header 'Accept' (if needed)
801
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
801
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
802
802
 
803
803
  # form parameters
804
804
  form_params = opts[:form_params] || {}
@@ -867,7 +867,7 @@ module DealMakerAPI
867
867
  # header parameters
868
868
  header_params = opts[:header_params] || {}
869
869
  # HTTP header 'Accept' (if needed)
870
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
870
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
871
871
 
872
872
  # form parameters
873
873
  form_params = opts[:form_params] || {}
@@ -945,7 +945,7 @@ module DealMakerAPI
945
945
  # header parameters
946
946
  header_params = opts[:header_params] || {}
947
947
  # HTTP header 'Accept' (if needed)
948
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
948
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
949
949
 
950
950
  # form parameters
951
951
  form_params = opts[:form_params] || {}
@@ -1020,7 +1020,7 @@ module DealMakerAPI
1020
1020
  # header parameters
1021
1021
  header_params = opts[:header_params] || {}
1022
1022
  # HTTP header 'Accept' (if needed)
1023
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1023
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1024
1024
  # HTTP header 'Content-Type'
1025
1025
  content_type = @api_client.select_header_content_type(['application/json'])
1026
1026
  if !content_type.nil?
@@ -1262,7 +1262,7 @@ module DealMakerAPI
1262
1262
  # header parameters
1263
1263
  header_params = opts[:header_params] || {}
1264
1264
  # HTTP header 'Accept' (if needed)
1265
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1265
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1266
1266
  # HTTP header 'Content-Type'
1267
1267
  content_type = @api_client.select_header_content_type(['application/json'])
1268
1268
  if !content_type.nil?