docusign_esign 3.9.0 → 3.10.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/docusign_esign-2.10.0.rc1.gem +0 -0
  4. data/lib/docusign_esign.rb +1 -25
  5. data/lib/docusign_esign/api/accounts_api.rb +0 -101
  6. data/lib/docusign_esign/api/bulk_envelopes_api.rb +93 -0
  7. data/lib/docusign_esign/api/connect_api.rb +0 -196
  8. data/lib/docusign_esign/api/envelopes_api.rb +32 -1301
  9. data/lib/docusign_esign/api/trust_service_providers_api.rb +0 -232
  10. data/lib/docusign_esign/api/users_api.rb +0 -52
  11. data/lib/docusign_esign/models/account_settings_information.rb +58 -1
  12. data/lib/docusign_esign/models/account_ui_settings.rb +1 -11
  13. data/lib/docusign_esign/models/bulk_send_batch_status.rb +11 -1
  14. data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +11 -1
  15. data/lib/docusign_esign/models/envelope.rb +11 -1
  16. data/lib/docusign_esign/models/envelope_definition.rb +20 -1
  17. data/lib/docusign_esign/models/envelope_document.rb +11 -1
  18. data/lib/docusign_esign/models/envelope_summary.rb +21 -1
  19. data/lib/docusign_esign/models/envelope_template.rb +11 -1
  20. data/lib/docusign_esign/models/external_file.rb +21 -1
  21. data/lib/docusign_esign/models/form_data_item.rb +11 -1
  22. data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +24 -4
  23. data/lib/docusign_esign/models/report_in_product_get.rb +24 -4
  24. data/lib/docusign_esign/models/report_in_product_run_request.rb +24 -4
  25. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +71 -1
  26. data/lib/docusign_esign/version.rb +1 -1
  27. data/tests/Gemfile.lock +1 -5
  28. metadata +5 -7
  29. data/docusign_esign-2.9.0.gem +0 -0
  30. data/docusign_esign-2.9.0.rc1.gem +0 -0
  31. data/docusign_esign-3.9.0.rc1.gem +0 -0
@@ -1505,111 +1505,6 @@ module DocuSign_eSign
1505
1505
  return data, status_code, headers
1506
1506
  end
1507
1507
 
1508
- # Create page information for Display Appliance
1509
- #
1510
- # @param account_id The external account number (int) or account ID Guid.
1511
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
1512
- # @return [nil]
1513
- def create_page_info(account_id, envelope_id)
1514
- create_page_info_with_http_info(account_id, envelope_id)
1515
- return nil
1516
- end
1517
-
1518
- # Create page information for Display Appliance
1519
- #
1520
- # @param account_id The external account number (int) or account ID Guid.
1521
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
1522
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1523
- def create_page_info_with_http_info(account_id, envelope_id)
1524
- if @api_client.config.debugging
1525
- @api_client.config.logger.debug "Calling API: EnvelopesApi.create_page_info ..."
1526
- end
1527
- # verify the required parameter 'account_id' is set
1528
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.create_page_info" if account_id.nil?
1529
- # verify the required parameter 'envelope_id' is set
1530
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.create_page_info" if envelope_id.nil?
1531
- # resource path
1532
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
1533
-
1534
- # query parameters
1535
- query_params = {}
1536
-
1537
- # header parameters
1538
- header_params = {}
1539
- # HTTP header 'Accept' (if needed)
1540
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1541
-
1542
- # form parameters
1543
- form_params = {}
1544
-
1545
- # http body (model)
1546
- post_body = nil
1547
- auth_names = []
1548
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1549
- :header_params => header_params,
1550
- :query_params => query_params,
1551
- :form_params => form_params,
1552
- :body => post_body,
1553
- :auth_names => auth_names)
1554
- if @api_client.config.debugging
1555
- @api_client.config.logger.debug "API called: EnvelopesApi#create_page_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1556
- end
1557
- return data, status_code, headers
1558
- end
1559
-
1560
- # Add pdf blobs for Display Appliance
1561
- #
1562
- # @param account_id The external account number (int) or account ID Guid.
1563
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
1564
- # @return [DisplayAppliancePdf]
1565
- def create_pdf_blob(account_id, envelope_id)
1566
- data, _status_code, _headers = create_pdf_blob_with_http_info(account_id, envelope_id)
1567
- return data
1568
- end
1569
-
1570
- # Add pdf blobs for Display Appliance
1571
- #
1572
- # @param account_id The external account number (int) or account ID Guid.
1573
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
1574
- # @return [Array<(DisplayAppliancePdf, Fixnum, Hash)>] DisplayAppliancePdf data, response status code and response headers
1575
- def create_pdf_blob_with_http_info(account_id, envelope_id)
1576
- if @api_client.config.debugging
1577
- @api_client.config.logger.debug "Calling API: EnvelopesApi.create_pdf_blob ..."
1578
- end
1579
- # verify the required parameter 'account_id' is set
1580
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.create_pdf_blob" if account_id.nil?
1581
- # verify the required parameter 'envelope_id' is set
1582
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.create_pdf_blob" if envelope_id.nil?
1583
- # resource path
1584
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
1585
-
1586
- # query parameters
1587
- query_params = {}
1588
-
1589
- # header parameters
1590
- header_params = {}
1591
- # HTTP header 'Accept' (if needed)
1592
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1593
-
1594
- # form parameters
1595
- form_params = {}
1596
-
1597
- # http body (model)
1598
- post_body = nil
1599
- auth_names = []
1600
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1601
- :header_params => header_params,
1602
- :query_params => query_params,
1603
- :form_params => form_params,
1604
- :body => post_body,
1605
- :auth_names => auth_names,
1606
- :return_type => 'DisplayAppliancePdf')
1607
- if @api_client.config.debugging
1608
- @api_client.config.logger.debug "API called: EnvelopesApi#create_pdf_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1609
- end
1610
- return data, status_code, headers
1611
- end
1612
-
1613
1508
  # Adds one or more recipients to an envelope.
1614
1509
  # Adds one or more recipients to an envelope. For an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional `resend_envelope` query string is set to **true**.
1615
1510
  # @param account_id The external account number (int) or account ID Guid.
@@ -2275,166 +2170,6 @@ module DocuSign_eSign
2275
2170
  return data, status_code, headers
2276
2171
  end
2277
2172
 
2278
- # Delete custom fields information for Display Appliance
2279
- #
2280
- # @param account_id The external account number (int) or account ID Guid.
2281
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2282
- # @return [nil]
2283
- def delete_custom_fields_0(account_id, envelope_id)
2284
- delete_custom_fields_0_with_http_info(account_id, envelope_id)
2285
- return nil
2286
- end
2287
-
2288
- # Delete custom fields information for Display Appliance
2289
- #
2290
- # @param account_id The external account number (int) or account ID Guid.
2291
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2292
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2293
- def delete_custom_fields_0_with_http_info(account_id, envelope_id)
2294
- if @api_client.config.debugging
2295
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_custom_fields_0 ..."
2296
- end
2297
- # verify the required parameter 'account_id' is set
2298
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_custom_fields_0" if account_id.nil?
2299
- # verify the required parameter 'envelope_id' is set
2300
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_custom_fields_0" if envelope_id.nil?
2301
- # resource path
2302
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/custom_fields/delete".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2303
-
2304
- # query parameters
2305
- query_params = {}
2306
-
2307
- # header parameters
2308
- header_params = {}
2309
- # HTTP header 'Accept' (if needed)
2310
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2311
-
2312
- # form parameters
2313
- form_params = {}
2314
-
2315
- # http body (model)
2316
- post_body = nil
2317
- auth_names = []
2318
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2319
- :header_params => header_params,
2320
- :query_params => query_params,
2321
- :form_params => form_params,
2322
- :body => post_body,
2323
- :auth_names => auth_names)
2324
- if @api_client.config.debugging
2325
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_custom_fields_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2326
- end
2327
- return data, status_code, headers
2328
- end
2329
-
2330
- # Delete custom fields information for Display Appliance
2331
- #
2332
- # @param account_id The external account number (int) or account ID Guid.
2333
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2334
- # @return [nil]
2335
- def delete_custom_fields_v2(account_id, envelope_id)
2336
- delete_custom_fields_v2_with_http_info(account_id, envelope_id)
2337
- return nil
2338
- end
2339
-
2340
- # Delete custom fields information for Display Appliance
2341
- #
2342
- # @param account_id The external account number (int) or account ID Guid.
2343
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2344
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2345
- def delete_custom_fields_v2_with_http_info(account_id, envelope_id)
2346
- if @api_client.config.debugging
2347
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_custom_fields_v2 ..."
2348
- end
2349
- # verify the required parameter 'account_id' is set
2350
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_custom_fields_v2" if account_id.nil?
2351
- # verify the required parameter 'envelope_id' is set
2352
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_custom_fields_v2" if envelope_id.nil?
2353
- # resource path
2354
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2355
-
2356
- # query parameters
2357
- query_params = {}
2358
-
2359
- # header parameters
2360
- header_params = {}
2361
- # HTTP header 'Accept' (if needed)
2362
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2363
-
2364
- # form parameters
2365
- form_params = {}
2366
-
2367
- # http body (model)
2368
- post_body = nil
2369
- auth_names = []
2370
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2371
- :header_params => header_params,
2372
- :query_params => query_params,
2373
- :form_params => form_params,
2374
- :body => post_body,
2375
- :auth_names => auth_names)
2376
- if @api_client.config.debugging
2377
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_custom_fields_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2378
- end
2379
- return data, status_code, headers
2380
- end
2381
-
2382
- # Delete document information for Display Appliance
2383
- #
2384
- # @param account_id The external account number (int) or account ID Guid.
2385
- # @param document_id The ID of the document being accessed.
2386
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2387
- # @return [nil]
2388
- def delete_document(account_id, document_id, envelope_id)
2389
- delete_document_with_http_info(account_id, document_id, envelope_id)
2390
- return nil
2391
- end
2392
-
2393
- # Delete document information for Display Appliance
2394
- #
2395
- # @param account_id The external account number (int) or account ID Guid.
2396
- # @param document_id The ID of the document being accessed.
2397
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2398
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2399
- def delete_document_with_http_info(account_id, document_id, envelope_id)
2400
- if @api_client.config.debugging
2401
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_document ..."
2402
- end
2403
- # verify the required parameter 'account_id' is set
2404
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_document" if account_id.nil?
2405
- # verify the required parameter 'document_id' is set
2406
- fail ArgumentError, "Missing the required parameter 'document_id' when calling EnvelopesApi.delete_document" if document_id.nil?
2407
- # verify the required parameter 'envelope_id' is set
2408
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_document" if envelope_id.nil?
2409
- # resource path
2410
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2411
-
2412
- # query parameters
2413
- query_params = {}
2414
-
2415
- # header parameters
2416
- header_params = {}
2417
- # HTTP header 'Accept' (if needed)
2418
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2419
-
2420
- # form parameters
2421
- form_params = {}
2422
-
2423
- # http body (model)
2424
- post_body = nil
2425
- auth_names = []
2426
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2427
- :header_params => header_params,
2428
- :query_params => query_params,
2429
- :form_params => form_params,
2430
- :body => post_body,
2431
- :auth_names => auth_names)
2432
- if @api_client.config.debugging
2433
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2434
- end
2435
- return data, status_code, headers
2436
- end
2437
-
2438
2173
  # Deletes custom document fields from an existing envelope document.
2439
2174
  # Deletes custom document fields from an existing envelope document.
2440
2175
  # @param account_id The external account number (int) or account ID Guid.
@@ -2932,58 +2667,6 @@ module DocuSign_eSign
2932
2667
  return data, status_code, headers
2933
2668
  end
2934
2669
 
2935
- # Delete page information for Display Appliance
2936
- #
2937
- # @param account_id The external account number (int) or account ID Guid.
2938
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2939
- # @return [nil]
2940
- def delete_page_info(account_id, envelope_id)
2941
- delete_page_info_with_http_info(account_id, envelope_id)
2942
- return nil
2943
- end
2944
-
2945
- # Delete page information for Display Appliance
2946
- #
2947
- # @param account_id The external account number (int) or account ID Guid.
2948
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2949
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2950
- def delete_page_info_with_http_info(account_id, envelope_id)
2951
- if @api_client.config.debugging
2952
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_page_info ..."
2953
- end
2954
- # verify the required parameter 'account_id' is set
2955
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_page_info" if account_id.nil?
2956
- # verify the required parameter 'envelope_id' is set
2957
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_page_info" if envelope_id.nil?
2958
- # resource path
2959
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info/delete".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2960
-
2961
- # query parameters
2962
- query_params = {}
2963
-
2964
- # header parameters
2965
- header_params = {}
2966
- # HTTP header 'Accept' (if needed)
2967
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2968
-
2969
- # form parameters
2970
- form_params = {}
2971
-
2972
- # http body (model)
2973
- post_body = nil
2974
- auth_names = []
2975
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2976
- :header_params => header_params,
2977
- :query_params => query_params,
2978
- :form_params => form_params,
2979
- :body => post_body,
2980
- :auth_names => auth_names)
2981
- if @api_client.config.debugging
2982
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_page_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2983
- end
2984
- return data, status_code, headers
2985
- end
2986
-
2987
2670
  # Delete page information for Display Appliance
2988
2671
  #
2989
2672
  # @param account_id The external account number (int) or account ID Guid.
@@ -3093,58 +2776,6 @@ module DocuSign_eSign
3093
2776
  return data, status_code, headers
3094
2777
  end
3095
2778
 
3096
- # Delete RecipientDeniedDocumentCopy for Display Appliance
3097
- #
3098
- # @param account_id The external account number (int) or account ID Guid.
3099
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3100
- # @return [nil]
3101
- def delete_recipient_denied_document_copy(account_id, envelope_id)
3102
- delete_recipient_denied_document_copy_with_http_info(account_id, envelope_id)
3103
- return nil
3104
- end
3105
-
3106
- # Delete RecipientDeniedDocumentCopy for Display Appliance
3107
- #
3108
- # @param account_id The external account number (int) or account ID Guid.
3109
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3110
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3111
- def delete_recipient_denied_document_copy_with_http_info(account_id, envelope_id)
3112
- if @api_client.config.debugging
3113
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_recipient_denied_document_copy ..."
3114
- end
3115
- # verify the required parameter 'account_id' is set
3116
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_recipient_denied_document_copy" if account_id.nil?
3117
- # verify the required parameter 'envelope_id' is set
3118
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_recipient_denied_document_copy" if envelope_id.nil?
3119
- # resource path
3120
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/recipient_denied_copy".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3121
-
3122
- # query parameters
3123
- query_params = {}
3124
-
3125
- # header parameters
3126
- header_params = {}
3127
- # HTTP header 'Accept' (if needed)
3128
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3129
-
3130
- # form parameters
3131
- form_params = {}
3132
-
3133
- # http body (model)
3134
- post_body = nil
3135
- auth_names = []
3136
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
3137
- :header_params => header_params,
3138
- :query_params => query_params,
3139
- :form_params => form_params,
3140
- :body => post_body,
3141
- :auth_names => auth_names)
3142
- if @api_client.config.debugging
3143
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_recipient_denied_document_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3144
- end
3145
- return data, status_code, headers
3146
- end
3147
-
3148
2779
  # Deletes recipients from an envelope.
3149
2780
  # Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted.
3150
2781
  # @param account_id The external account number (int) or account ID Guid.
@@ -3200,58 +2831,6 @@ module DocuSign_eSign
3200
2831
  return data, status_code, headers
3201
2832
  end
3202
2833
 
3203
- # Delete signer attachment information for Display Appliance
3204
- #
3205
- # @param account_id The external account number (int) or account ID Guid.
3206
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3207
- # @return [nil]
3208
- def delete_signer_attachment(account_id, envelope_id)
3209
- delete_signer_attachment_with_http_info(account_id, envelope_id)
3210
- return nil
3211
- end
3212
-
3213
- # Delete signer attachment information for Display Appliance
3214
- #
3215
- # @param account_id The external account number (int) or account ID Guid.
3216
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3217
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3218
- def delete_signer_attachment_with_http_info(account_id, envelope_id)
3219
- if @api_client.config.debugging
3220
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_signer_attachment ..."
3221
- end
3222
- # verify the required parameter 'account_id' is set
3223
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_signer_attachment" if account_id.nil?
3224
- # verify the required parameter 'envelope_id' is set
3225
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_signer_attachment" if envelope_id.nil?
3226
- # resource path
3227
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3228
-
3229
- # query parameters
3230
- query_params = {}
3231
-
3232
- # header parameters
3233
- header_params = {}
3234
- # HTTP header 'Accept' (if needed)
3235
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3236
-
3237
- # form parameters
3238
- form_params = {}
3239
-
3240
- # http body (model)
3241
- post_body = nil
3242
- auth_names = []
3243
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
3244
- :header_params => header_params,
3245
- :query_params => query_params,
3246
- :form_params => form_params,
3247
- :body => post_body,
3248
- :auth_names => auth_names)
3249
- if @api_client.config.debugging
3250
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_signer_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3251
- end
3252
- return data, status_code, headers
3253
- end
3254
-
3255
2834
  # Deletes the tabs associated with a recipient.
3256
2835
  # Deletes one or more tabs associated with a recipient in a draft envelope.
3257
2836
  # @param account_id The external account number (int) or account ID Guid.
@@ -3423,59 +3002,6 @@ module DocuSign_eSign
3423
3002
  return data, status_code, headers
3424
3003
  end
3425
3004
 
3426
- # Returns envelope account information for Display Appliance
3427
- #
3428
- # @param account_id The external account number (int) or account ID Guid.
3429
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3430
- # @return [DisplayApplianceAccount]
3431
- def get_account(account_id, envelope_id)
3432
- data, _status_code, _headers = get_account_with_http_info(account_id, envelope_id)
3433
- return data
3434
- end
3435
-
3436
- # Returns envelope account information for Display Appliance
3437
- #
3438
- # @param account_id The external account number (int) or account ID Guid.
3439
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3440
- # @return [Array<(DisplayApplianceAccount, Fixnum, Hash)>] DisplayApplianceAccount data, response status code and response headers
3441
- def get_account_with_http_info(account_id, envelope_id)
3442
- if @api_client.config.debugging
3443
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_account ..."
3444
- end
3445
- # verify the required parameter 'account_id' is set
3446
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_account" if account_id.nil?
3447
- # verify the required parameter 'envelope_id' is set
3448
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_account" if envelope_id.nil?
3449
- # resource path
3450
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/account_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3451
-
3452
- # query parameters
3453
- query_params = {}
3454
-
3455
- # header parameters
3456
- header_params = {}
3457
- # HTTP header 'Accept' (if needed)
3458
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3459
-
3460
- # form parameters
3461
- form_params = {}
3462
-
3463
- # http body (model)
3464
- post_body = nil
3465
- auth_names = []
3466
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3467
- :header_params => header_params,
3468
- :query_params => query_params,
3469
- :form_params => form_params,
3470
- :body => post_body,
3471
- :auth_names => auth_names,
3472
- :return_type => 'DisplayApplianceAccount')
3473
- if @api_client.config.debugging
3474
- @api_client.config.logger.debug "API called: EnvelopesApi#get_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3475
- end
3476
- return data, status_code, headers
3477
- end
3478
-
3479
3005
  # Returns Display Appliance envelope information
3480
3006
  #
3481
3007
  # @param account_id The external account number (int) or account ID Guid.
@@ -3539,59 +3065,6 @@ module DocuSign_eSign
3539
3065
  return data, status_code, headers
3540
3066
  end
3541
3067
 
3542
- # Returns envelope and recipient information for Display Appliance
3543
- #
3544
- # @param account_id The external account number (int) or account ID Guid.
3545
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3546
- # @return [DisplayApplianceInfo]
3547
- def get_appliance_info(account_id, envelope_id)
3548
- data, _status_code, _headers = get_appliance_info_with_http_info(account_id, envelope_id)
3549
- return data
3550
- end
3551
-
3552
- # Returns envelope and recipient information for Display Appliance
3553
- #
3554
- # @param account_id The external account number (int) or account ID Guid.
3555
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3556
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
3557
- def get_appliance_info_with_http_info(account_id, envelope_id)
3558
- if @api_client.config.debugging
3559
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_appliance_info ..."
3560
- end
3561
- # verify the required parameter 'account_id' is set
3562
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_appliance_info" if account_id.nil?
3563
- # verify the required parameter 'envelope_id' is set
3564
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_appliance_info" if envelope_id.nil?
3565
- # resource path
3566
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3567
-
3568
- # query parameters
3569
- query_params = {}
3570
-
3571
- # header parameters
3572
- header_params = {}
3573
- # HTTP header 'Accept' (if needed)
3574
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3575
-
3576
- # form parameters
3577
- form_params = {}
3578
-
3579
- # http body (model)
3580
- post_body = nil
3581
- auth_names = []
3582
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3583
- :header_params => header_params,
3584
- :query_params => query_params,
3585
- :form_params => form_params,
3586
- :body => post_body,
3587
- :auth_names => auth_names,
3588
- :return_type => 'DisplayApplianceInfo')
3589
- if @api_client.config.debugging
3590
- @api_client.config.logger.debug "API called: EnvelopesApi#get_appliance_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3591
- end
3592
- return data, status_code, headers
3593
- end
3594
-
3595
3068
  # Retrieves an attachment from the envelope.
3596
3069
  #
3597
3070
  # @param account_id The external account number (int) or account ID Guid.
@@ -3937,59 +3410,6 @@ module DocuSign_eSign
3937
3410
  return data, status_code, headers
3938
3411
  end
3939
3412
 
3940
- # Return custom fields information for Display Appliance
3941
- #
3942
- # @param account_id The external account number (int) or account ID Guid.
3943
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3944
- # @return [DisplayApplianceInfo]
3945
- def get_custom_fields(account_id, envelope_id)
3946
- data, _status_code, _headers = get_custom_fields_with_http_info(account_id, envelope_id)
3947
- return data
3948
- end
3949
-
3950
- # Return custom fields information for Display Appliance
3951
- #
3952
- # @param account_id The external account number (int) or account ID Guid.
3953
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3954
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
3955
- def get_custom_fields_with_http_info(account_id, envelope_id)
3956
- if @api_client.config.debugging
3957
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_custom_fields ..."
3958
- end
3959
- # verify the required parameter 'account_id' is set
3960
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_custom_fields" if account_id.nil?
3961
- # verify the required parameter 'envelope_id' is set
3962
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_custom_fields" if envelope_id.nil?
3963
- # resource path
3964
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3965
-
3966
- # query parameters
3967
- query_params = {}
3968
-
3969
- # header parameters
3970
- header_params = {}
3971
- # HTTP header 'Accept' (if needed)
3972
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3973
-
3974
- # form parameters
3975
- form_params = {}
3976
-
3977
- # http body (model)
3978
- post_body = nil
3979
- auth_names = []
3980
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3981
- :header_params => header_params,
3982
- :query_params => query_params,
3983
- :form_params => form_params,
3984
- :body => post_body,
3985
- :auth_names => auth_names,
3986
- :return_type => 'DisplayApplianceInfo')
3987
- if @api_client.config.debugging
3988
- @api_client.config.logger.debug "API called: EnvelopesApi#get_custom_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3989
- end
3990
- return data, status_code, headers
3991
- end
3992
-
3993
3413
  # Gets date signed information for Display Appliance
3994
3414
  #
3995
3415
  # @param account_id The external account number (int) or account ID Guid.
@@ -4178,59 +3598,6 @@ module DocuSign_eSign
4178
3598
  return data, status_code, headers
4179
3599
  end
4180
3600
 
4181
- # Return document pages for Display Appliance
4182
- #
4183
- # @param account_id The external account number (int) or account ID Guid.
4184
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4185
- # @return [DisplayApplianceInfo]
4186
- def get_document_pages(account_id, envelope_id)
4187
- data, _status_code, _headers = get_document_pages_with_http_info(account_id, envelope_id)
4188
- return data
4189
- end
4190
-
4191
- # Return document pages for Display Appliance
4192
- #
4193
- # @param account_id The external account number (int) or account ID Guid.
4194
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4195
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
4196
- def get_document_pages_with_http_info(account_id, envelope_id)
4197
- if @api_client.config.debugging
4198
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_document_pages ..."
4199
- end
4200
- # verify the required parameter 'account_id' is set
4201
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_document_pages" if account_id.nil?
4202
- # verify the required parameter 'envelope_id' is set
4203
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_document_pages" if envelope_id.nil?
4204
- # resource path
4205
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document_page_list".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
4206
-
4207
- # query parameters
4208
- query_params = {}
4209
-
4210
- # header parameters
4211
- header_params = {}
4212
- # HTTP header 'Accept' (if needed)
4213
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4214
-
4215
- # form parameters
4216
- form_params = {}
4217
-
4218
- # http body (model)
4219
- post_body = nil
4220
- auth_names = []
4221
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4222
- :header_params => header_params,
4223
- :query_params => query_params,
4224
- :form_params => form_params,
4225
- :body => post_body,
4226
- :auth_names => auth_names,
4227
- :return_type => 'DisplayApplianceInfo')
4228
- if @api_client.config.debugging
4229
- @api_client.config.logger.debug "API called: EnvelopesApi#get_document_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4230
- end
4231
- return data, status_code, headers
4232
- end
4233
-
4234
3601
  # Returns tabs on the document.
4235
3602
  #
4236
3603
  # @param account_id The external account number (int) or account ID Guid.
@@ -4292,57 +3659,8 @@ module DocuSign_eSign
4292
3659
  return data, status_code, headers
4293
3660
  end
4294
3661
 
4295
- # Return document pages for Display Appliance
4296
- #
4297
- # @param account_id The external account number (int) or account ID Guid.
4298
- # @return [DisplayApplianceInfo]
4299
- def get_dynamic_system_settings(account_id)
4300
- data, _status_code, _headers = get_dynamic_system_settings_with_http_info(account_id)
4301
- return data
4302
- end
4303
-
4304
- # Return document pages for Display Appliance
4305
- #
4306
- # @param account_id The external account number (int) or account ID Guid.
4307
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
4308
- def get_dynamic_system_settings_with_http_info(account_id)
4309
- if @api_client.config.debugging
4310
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_dynamic_system_settings ..."
4311
- end
4312
- # verify the required parameter 'account_id' is set
4313
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_dynamic_system_settings" if account_id.nil?
4314
- # resource path
4315
- local_var_path = "/v2.1/accounts/{accountId}/display_appliance_info/dynamicsystemsettings".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
4316
-
4317
- # query parameters
4318
- query_params = {}
4319
-
4320
- # header parameters
4321
- header_params = {}
4322
- # HTTP header 'Accept' (if needed)
4323
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4324
-
4325
- # form parameters
4326
- form_params = {}
4327
-
4328
- # http body (model)
4329
- post_body = nil
4330
- auth_names = []
4331
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4332
- :header_params => header_params,
4333
- :query_params => query_params,
4334
- :form_params => form_params,
4335
- :body => post_body,
4336
- :auth_names => auth_names,
4337
- :return_type => 'DisplayApplianceInfo')
4338
- if @api_client.config.debugging
4339
- @api_client.config.logger.debug "API called: EnvelopesApi#get_dynamic_system_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4340
- end
4341
- return data, status_code, headers
4342
- end
4343
-
4344
- # Gets the email setting overrides for an envelope.
4345
- # Retrieves the email override settings for the specified envelope.
3662
+ # Gets the email setting overrides for an envelope.
3663
+ # Retrieves the email override settings for the specified envelope.
4346
3664
  # @param account_id The external account number (int) or account ID Guid.
4347
3665
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
4348
3666
  # @return [EmailSettings]
@@ -4720,116 +4038,6 @@ module DocuSign_eSign
4720
4038
  return data, status_code, headers
4721
4039
  end
4722
4040
 
4723
- # Returns images for Display Appliance
4724
- #
4725
- # @param account_id The external account number (int) or account ID Guid.
4726
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4727
- # @return [DisplayApplianceInfo]
4728
- def get_image(account_id, envelope_id)
4729
- data, _status_code, _headers = get_image_with_http_info(account_id, envelope_id)
4730
- return data
4731
- end
4732
-
4733
- # Returns images for Display Appliance
4734
- #
4735
- # @param account_id The external account number (int) or account ID Guid.
4736
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4737
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
4738
- def get_image_with_http_info(account_id, envelope_id)
4739
- if @api_client.config.debugging
4740
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_image ..."
4741
- end
4742
- # verify the required parameter 'account_id' is set
4743
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_image" if account_id.nil?
4744
- # verify the required parameter 'envelope_id' is set
4745
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_image" if envelope_id.nil?
4746
- # resource path
4747
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/image".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
4748
-
4749
- # query parameters
4750
- query_params = {}
4751
-
4752
- # header parameters
4753
- header_params = {}
4754
- # HTTP header 'Accept' (if needed)
4755
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4756
-
4757
- # form parameters
4758
- form_params = {}
4759
-
4760
- # http body (model)
4761
- post_body = nil
4762
- auth_names = []
4763
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4764
- :header_params => header_params,
4765
- :query_params => query_params,
4766
- :form_params => form_params,
4767
- :body => post_body,
4768
- :auth_names => auth_names,
4769
- :return_type => 'DisplayApplianceInfo')
4770
- if @api_client.config.debugging
4771
- @api_client.config.logger.debug "API called: EnvelopesApi#get_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4772
- end
4773
- return data, status_code, headers
4774
- end
4775
-
4776
- # Returns locale policy information for Display Appliance
4777
- #
4778
- # @param account_id The external account number (int) or account ID Guid.
4779
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4780
- # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
4781
- # @return [DisplayApplianceInfo]
4782
- def get_locale_policy(account_id, envelope_id, user_id)
4783
- data, _status_code, _headers = get_locale_policy_with_http_info(account_id, envelope_id, user_id)
4784
- return data
4785
- end
4786
-
4787
- # Returns locale policy information for Display Appliance
4788
- #
4789
- # @param account_id The external account number (int) or account ID Guid.
4790
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
4791
- # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
4792
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
4793
- def get_locale_policy_with_http_info(account_id, envelope_id, user_id)
4794
- if @api_client.config.debugging
4795
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_locale_policy ..."
4796
- end
4797
- # verify the required parameter 'account_id' is set
4798
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_locale_policy" if account_id.nil?
4799
- # verify the required parameter 'envelope_id' is set
4800
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_locale_policy" if envelope_id.nil?
4801
- # verify the required parameter 'user_id' is set
4802
- fail ArgumentError, "Missing the required parameter 'user_id' when calling EnvelopesApi.get_locale_policy" if user_id.nil?
4803
- # resource path
4804
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/localepolicy/{userId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
4805
-
4806
- # query parameters
4807
- query_params = {}
4808
-
4809
- # header parameters
4810
- header_params = {}
4811
- # HTTP header 'Accept' (if needed)
4812
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4813
-
4814
- # form parameters
4815
- form_params = {}
4816
-
4817
- # http body (model)
4818
- post_body = nil
4819
- auth_names = []
4820
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4821
- :header_params => header_params,
4822
- :query_params => query_params,
4823
- :form_params => form_params,
4824
- :body => post_body,
4825
- :auth_names => auth_names,
4826
- :return_type => 'DisplayApplianceInfo')
4827
- if @api_client.config.debugging
4828
- @api_client.config.logger.debug "API called: EnvelopesApi#get_locale_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4829
- end
4830
- return data, status_code, headers
4831
- end
4832
-
4833
4041
  # Gets envelope lock information.
4834
4042
  # Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header.
4835
4043
  # @param account_id The external account number (int) or account ID Guid.
@@ -5063,116 +4271,6 @@ module DocuSign_eSign
5063
4271
  return data, status_code, headers
5064
4272
  end
5065
4273
 
5066
- # Return pdf for Display Appliance
5067
- #
5068
- # @param account_id The external account number (int) or account ID Guid.
5069
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5070
- # @param pdf_id
5071
- # @return [DisplayAppliancePdf]
5072
- def get_pdf(account_id, envelope_id, pdf_id)
5073
- data, _status_code, _headers = get_pdf_with_http_info(account_id, envelope_id, pdf_id)
5074
- return data
5075
- end
5076
-
5077
- # Return pdf for Display Appliance
5078
- #
5079
- # @param account_id The external account number (int) or account ID Guid.
5080
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5081
- # @param pdf_id
5082
- # @return [Array<(DisplayAppliancePdf, Fixnum, Hash)>] DisplayAppliancePdf data, response status code and response headers
5083
- def get_pdf_with_http_info(account_id, envelope_id, pdf_id)
5084
- if @api_client.config.debugging
5085
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_pdf ..."
5086
- end
5087
- # verify the required parameter 'account_id' is set
5088
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_pdf" if account_id.nil?
5089
- # verify the required parameter 'envelope_id' is set
5090
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_pdf" if envelope_id.nil?
5091
- # verify the required parameter 'pdf_id' is set
5092
- fail ArgumentError, "Missing the required parameter 'pdf_id' when calling EnvelopesApi.get_pdf" if pdf_id.nil?
5093
- # resource path
5094
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf/{pdfId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'pdfId' + '}', pdf_id.to_s)
5095
-
5096
- # query parameters
5097
- query_params = {}
5098
-
5099
- # header parameters
5100
- header_params = {}
5101
- # HTTP header 'Accept' (if needed)
5102
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5103
-
5104
- # form parameters
5105
- form_params = {}
5106
-
5107
- # http body (model)
5108
- post_body = nil
5109
- auth_names = []
5110
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5111
- :header_params => header_params,
5112
- :query_params => query_params,
5113
- :form_params => form_params,
5114
- :body => post_body,
5115
- :auth_names => auth_names,
5116
- :return_type => 'DisplayAppliancePdf')
5117
- if @api_client.config.debugging
5118
- @api_client.config.logger.debug "API called: EnvelopesApi#get_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5119
- end
5120
- return data, status_code, headers
5121
- end
5122
-
5123
- # Return pdf blobs for Display Appliance
5124
- #
5125
- # @param account_id The external account number (int) or account ID Guid.
5126
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5127
- # @return [DisplayAppliancePdf]
5128
- def get_pdf_blob(account_id, envelope_id)
5129
- data, _status_code, _headers = get_pdf_blob_with_http_info(account_id, envelope_id)
5130
- return data
5131
- end
5132
-
5133
- # Return pdf blobs for Display Appliance
5134
- #
5135
- # @param account_id The external account number (int) or account ID Guid.
5136
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5137
- # @return [Array<(DisplayAppliancePdf, Fixnum, Hash)>] DisplayAppliancePdf data, response status code and response headers
5138
- def get_pdf_blob_with_http_info(account_id, envelope_id)
5139
- if @api_client.config.debugging
5140
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_pdf_blob ..."
5141
- end
5142
- # verify the required parameter 'account_id' is set
5143
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_pdf_blob" if account_id.nil?
5144
- # verify the required parameter 'envelope_id' is set
5145
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_pdf_blob" if envelope_id.nil?
5146
- # resource path
5147
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
5148
-
5149
- # query parameters
5150
- query_params = {}
5151
-
5152
- # header parameters
5153
- header_params = {}
5154
- # HTTP header 'Accept' (if needed)
5155
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5156
-
5157
- # form parameters
5158
- form_params = {}
5159
-
5160
- # http body (model)
5161
- post_body = nil
5162
- auth_names = []
5163
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5164
- :header_params => header_params,
5165
- :query_params => query_params,
5166
- :form_params => form_params,
5167
- :body => post_body,
5168
- :auth_names => auth_names,
5169
- :return_type => 'DisplayAppliancePdf')
5170
- if @api_client.config.debugging
5171
- @api_client.config.logger.debug "API called: EnvelopesApi#get_pdf_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5172
- end
5173
- return data, status_code, headers
5174
- end
5175
-
5176
4274
  # Returns document visibility for the recipients
5177
4275
  #
5178
4276
  # @param account_id The external account number (int) or account ID Guid.
@@ -5386,113 +4484,7 @@ module DocuSign_eSign
5386
4484
  # header parameters
5387
4485
  header_params = {}
5388
4486
  # HTTP header 'Accept' (if needed)
5389
- header_params['Accept'] = @api_client.select_header_accept(['image/gif'])
5390
-
5391
- # form parameters
5392
- form_params = {}
5393
-
5394
- # http body (model)
5395
- post_body = nil
5396
- auth_names = []
5397
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5398
- :header_params => header_params,
5399
- :query_params => query_params,
5400
- :form_params => form_params,
5401
- :body => post_body,
5402
- :auth_names => auth_names,
5403
- :return_type => 'File')
5404
- if @api_client.config.debugging
5405
- @api_client.config.logger.debug "API called: EnvelopesApi#get_recipient_signature_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5406
- end
5407
- return data, status_code, headers
5408
- end
5409
-
5410
- # Return signer attachment information for Display Appliance
5411
- #
5412
- # @param account_id The external account number (int) or account ID Guid.
5413
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5414
- # @return [DisplayApplianceSignerAttachment]
5415
- def get_signer_attachment(account_id, envelope_id)
5416
- data, _status_code, _headers = get_signer_attachment_with_http_info(account_id, envelope_id)
5417
- return data
5418
- end
5419
-
5420
- # Return signer attachment information for Display Appliance
5421
- #
5422
- # @param account_id The external account number (int) or account ID Guid.
5423
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5424
- # @return [Array<(DisplayApplianceSignerAttachment, Fixnum, Hash)>] DisplayApplianceSignerAttachment data, response status code and response headers
5425
- def get_signer_attachment_with_http_info(account_id, envelope_id)
5426
- if @api_client.config.debugging
5427
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_signer_attachment ..."
5428
- end
5429
- # verify the required parameter 'account_id' is set
5430
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_signer_attachment" if account_id.nil?
5431
- # verify the required parameter 'envelope_id' is set
5432
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_signer_attachment" if envelope_id.nil?
5433
- # resource path
5434
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
5435
-
5436
- # query parameters
5437
- query_params = {}
5438
-
5439
- # header parameters
5440
- header_params = {}
5441
- # HTTP header 'Accept' (if needed)
5442
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5443
-
5444
- # form parameters
5445
- form_params = {}
5446
-
5447
- # http body (model)
5448
- post_body = nil
5449
- auth_names = []
5450
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5451
- :header_params => header_params,
5452
- :query_params => query_params,
5453
- :form_params => form_params,
5454
- :body => post_body,
5455
- :auth_names => auth_names,
5456
- :return_type => 'DisplayApplianceSignerAttachment')
5457
- if @api_client.config.debugging
5458
- @api_client.config.logger.debug "API called: EnvelopesApi#get_signer_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5459
- end
5460
- return data, status_code, headers
5461
- end
5462
-
5463
- # Get encrypted tabs for envelope.
5464
- #
5465
- # @param account_id The external account number (int) or account ID Guid.
5466
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5467
- # @return [nil]
5468
- def get_tabs_blob(account_id, envelope_id)
5469
- get_tabs_blob_with_http_info(account_id, envelope_id)
5470
- return nil
5471
- end
5472
-
5473
- # Get encrypted tabs for envelope.
5474
- #
5475
- # @param account_id The external account number (int) or account ID Guid.
5476
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
5477
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
5478
- def get_tabs_blob_with_http_info(account_id, envelope_id)
5479
- if @api_client.config.debugging
5480
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_tabs_blob ..."
5481
- end
5482
- # verify the required parameter 'account_id' is set
5483
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_tabs_blob" if account_id.nil?
5484
- # verify the required parameter 'envelope_id' is set
5485
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_tabs_blob" if envelope_id.nil?
5486
- # resource path
5487
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
5488
-
5489
- # query parameters
5490
- query_params = {}
5491
-
5492
- # header parameters
5493
- header_params = {}
5494
- # HTTP header 'Accept' (if needed)
5495
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4487
+ header_params['Accept'] = @api_client.select_header_accept(['image/gif'])
5496
4488
 
5497
4489
  # form parameters
5498
4490
  form_params = {}
@@ -5505,34 +4497,39 @@ module DocuSign_eSign
5505
4497
  :query_params => query_params,
5506
4498
  :form_params => form_params,
5507
4499
  :body => post_body,
5508
- :auth_names => auth_names)
4500
+ :auth_names => auth_names,
4501
+ :return_type => 'File')
5509
4502
  if @api_client.config.debugging
5510
- @api_client.config.logger.debug "API called: EnvelopesApi#get_tabs_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4503
+ @api_client.config.logger.debug "API called: EnvelopesApi#get_recipient_signature_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5511
4504
  end
5512
4505
  return data, status_code, headers
5513
4506
  end
5514
4507
 
5515
- # Returns if template was encrypted by Display Appliance
4508
+ # Get encrypted tabs for envelope.
5516
4509
  #
5517
4510
  # @param account_id The external account number (int) or account ID Guid.
5518
- # @return [DisplayApplianceInfo]
5519
- def get_template_info(account_id)
5520
- data, _status_code, _headers = get_template_info_with_http_info(account_id)
5521
- return data
4511
+ # @param envelope_id The envelopeId Guid of the envelope being accessed.
4512
+ # @return [nil]
4513
+ def get_tabs_blob(account_id, envelope_id)
4514
+ get_tabs_blob_with_http_info(account_id, envelope_id)
4515
+ return nil
5522
4516
  end
5523
4517
 
5524
- # Returns if template was encrypted by Display Appliance
4518
+ # Get encrypted tabs for envelope.
5525
4519
  #
5526
4520
  # @param account_id The external account number (int) or account ID Guid.
5527
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
5528
- def get_template_info_with_http_info(account_id)
4521
+ # @param envelope_id The envelopeId Guid of the envelope being accessed.
4522
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4523
+ def get_tabs_blob_with_http_info(account_id, envelope_id)
5529
4524
  if @api_client.config.debugging
5530
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_template_info ..."
4525
+ @api_client.config.logger.debug "Calling API: EnvelopesApi.get_tabs_blob ..."
5531
4526
  end
5532
4527
  # verify the required parameter 'account_id' is set
5533
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_template_info" if account_id.nil?
4528
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_tabs_blob" if account_id.nil?
4529
+ # verify the required parameter 'envelope_id' is set
4530
+ fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_tabs_blob" if envelope_id.nil?
5534
4531
  # resource path
5535
- local_var_path = "/v2.1/accounts/{accountId}/display_appliance_info/templateInfo".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
4532
+ local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
5536
4533
 
5537
4534
  # query parameters
5538
4535
  query_params = {}
@@ -5548,15 +4545,14 @@ module DocuSign_eSign
5548
4545
  # http body (model)
5549
4546
  post_body = nil
5550
4547
  auth_names = []
5551
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4548
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5552
4549
  :header_params => header_params,
5553
4550
  :query_params => query_params,
5554
4551
  :form_params => form_params,
5555
4552
  :body => post_body,
5556
- :auth_names => auth_names,
5557
- :return_type => 'DisplayApplianceInfo')
4553
+ :auth_names => auth_names)
5558
4554
  if @api_client.config.debugging
5559
- @api_client.config.logger.debug "API called: EnvelopesApi#get_template_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4555
+ @api_client.config.logger.debug "API called: EnvelopesApi#get_tabs_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5560
4556
  end
5561
4557
  return data, status_code, headers
5562
4558
  end
@@ -6682,70 +5678,14 @@ module DocuSign_eSign
6682
5678
  return data, status_code, headers
6683
5679
  end
6684
5680
 
6685
- # Update document information for Display Appliance
6686
- #
6687
- # @param account_id The external account number (int) or account ID Guid.
6688
- # @param document_id The ID of the document being accessed.
6689
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
6690
- # @return [nil]
6691
- def update_document(account_id, document_id, envelope_id)
6692
- update_document_with_http_info(account_id, document_id, envelope_id)
6693
- return nil
6694
- end
6695
-
6696
- # Update document information for Display Appliance
6697
- #
6698
- # @param account_id The external account number (int) or account ID Guid.
6699
- # @param document_id The ID of the document being accessed.
6700
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
6701
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6702
- def update_document_with_http_info(account_id, document_id, envelope_id)
6703
- if @api_client.config.debugging
6704
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_document ..."
6705
- end
6706
- # verify the required parameter 'account_id' is set
6707
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_document" if account_id.nil?
6708
- # verify the required parameter 'document_id' is set
6709
- fail ArgumentError, "Missing the required parameter 'document_id' when calling EnvelopesApi.update_document" if document_id.nil?
6710
- # verify the required parameter 'envelope_id' is set
6711
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_document" if envelope_id.nil?
6712
- # resource path
6713
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
6714
-
6715
- # query parameters
6716
- query_params = {}
6717
-
6718
- # header parameters
6719
- header_params = {}
6720
- # HTTP header 'Accept' (if needed)
6721
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6722
-
6723
- # form parameters
6724
- form_params = {}
6725
-
6726
- # http body (model)
6727
- post_body = nil
6728
- auth_names = []
6729
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
6730
- :header_params => header_params,
6731
- :query_params => query_params,
6732
- :form_params => form_params,
6733
- :body => post_body,
6734
- :auth_names => auth_names)
6735
- if @api_client.config.debugging
6736
- @api_client.config.logger.debug "API called: EnvelopesApi#update_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6737
- end
6738
- return data, status_code, headers
6739
- end
6740
-
6741
5681
  # Adds a document to an existing draft envelope.
6742
5682
  # Adds a document to an existing draft envelope.
6743
5683
  # @param account_id The external account number (int) or account ID Guid.
6744
5684
  # @param document_id The ID of the document being accessed.
6745
5685
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
6746
5686
  # @return [EnvelopeDocument]
6747
- def update_document_0(account_id, document_id, envelope_id)
6748
- data, _status_code, _headers = update_document_0_with_http_info(account_id, document_id, envelope_id)
5687
+ def update_document(account_id, document_id, envelope_id)
5688
+ data, _status_code, _headers = update_document_with_http_info(account_id, document_id, envelope_id)
6749
5689
  return data
6750
5690
  end
6751
5691
 
@@ -6755,16 +5695,16 @@ module DocuSign_eSign
6755
5695
  # @param document_id The ID of the document being accessed.
6756
5696
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
6757
5697
  # @return [Array<(EnvelopeDocument, Fixnum, Hash)>] EnvelopeDocument data, response status code and response headers
6758
- def update_document_0_with_http_info(account_id, document_id, envelope_id)
5698
+ def update_document_with_http_info(account_id, document_id, envelope_id)
6759
5699
  if @api_client.config.debugging
6760
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_document_0 ..."
5700
+ @api_client.config.logger.debug "Calling API: EnvelopesApi.update_document ..."
6761
5701
  end
6762
5702
  # verify the required parameter 'account_id' is set
6763
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_document_0" if account_id.nil?
5703
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_document" if account_id.nil?
6764
5704
  # verify the required parameter 'document_id' is set
6765
- fail ArgumentError, "Missing the required parameter 'document_id' when calling EnvelopesApi.update_document_0" if document_id.nil?
5705
+ fail ArgumentError, "Missing the required parameter 'document_id' when calling EnvelopesApi.update_document" if document_id.nil?
6766
5706
  # verify the required parameter 'envelope_id' is set
6767
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_document_0" if envelope_id.nil?
5707
+ fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_document" if envelope_id.nil?
6768
5708
  # resource path
6769
5709
  local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
6770
5710
 
@@ -6790,7 +5730,7 @@ module DocuSign_eSign
6790
5730
  :auth_names => auth_names,
6791
5731
  :return_type => 'EnvelopeDocument')
6792
5732
  if @api_client.config.debugging
6793
- @api_client.config.logger.debug "API called: EnvelopesApi#update_document_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5733
+ @api_client.config.logger.debug "API called: EnvelopesApi#update_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6794
5734
  end
6795
5735
  return data, status_code, headers
6796
5736
  end
@@ -7294,215 +6234,6 @@ module DocuSign_eSign
7294
6234
  return data, status_code, headers
7295
6235
  end
7296
6236
 
7297
- # Update page information for Display Appliance
7298
- #
7299
- # @param account_id The external account number (int) or account ID Guid.
7300
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7301
- # @return [nil]
7302
- def update_page_info(account_id, envelope_id)
7303
- update_page_info_with_http_info(account_id, envelope_id)
7304
- return nil
7305
- end
7306
-
7307
- # Update page information for Display Appliance
7308
- #
7309
- # @param account_id The external account number (int) or account ID Guid.
7310
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7311
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
7312
- def update_page_info_with_http_info(account_id, envelope_id)
7313
- if @api_client.config.debugging
7314
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_page_info ..."
7315
- end
7316
- # verify the required parameter 'account_id' is set
7317
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_page_info" if account_id.nil?
7318
- # verify the required parameter 'envelope_id' is set
7319
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_page_info" if envelope_id.nil?
7320
- # resource path
7321
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
7322
-
7323
- # query parameters
7324
- query_params = {}
7325
-
7326
- # header parameters
7327
- header_params = {}
7328
- # HTTP header 'Accept' (if needed)
7329
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7330
-
7331
- # form parameters
7332
- form_params = {}
7333
-
7334
- # http body (model)
7335
- post_body = nil
7336
- auth_names = []
7337
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7338
- :header_params => header_params,
7339
- :query_params => query_params,
7340
- :form_params => form_params,
7341
- :body => post_body,
7342
- :auth_names => auth_names)
7343
- if @api_client.config.debugging
7344
- @api_client.config.logger.debug "API called: EnvelopesApi#update_page_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7345
- end
7346
- return data, status_code, headers
7347
- end
7348
-
7349
- # Set latest pdf for Display Appliance
7350
- #
7351
- # @param account_id The external account number (int) or account ID Guid.
7352
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7353
- # @return [DisplayAppliancePdf]
7354
- def update_pdf(account_id, envelope_id)
7355
- data, _status_code, _headers = update_pdf_with_http_info(account_id, envelope_id)
7356
- return data
7357
- end
7358
-
7359
- # Set latest pdf for Display Appliance
7360
- #
7361
- # @param account_id The external account number (int) or account ID Guid.
7362
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7363
- # @return [Array<(DisplayAppliancePdf, Fixnum, Hash)>] DisplayAppliancePdf data, response status code and response headers
7364
- def update_pdf_with_http_info(account_id, envelope_id)
7365
- if @api_client.config.debugging
7366
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_pdf ..."
7367
- end
7368
- # verify the required parameter 'account_id' is set
7369
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_pdf" if account_id.nil?
7370
- # verify the required parameter 'envelope_id' is set
7371
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_pdf" if envelope_id.nil?
7372
- # resource path
7373
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
7374
-
7375
- # query parameters
7376
- query_params = {}
7377
-
7378
- # header parameters
7379
- header_params = {}
7380
- # HTTP header 'Accept' (if needed)
7381
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7382
-
7383
- # form parameters
7384
- form_params = {}
7385
-
7386
- # http body (model)
7387
- post_body = nil
7388
- auth_names = []
7389
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7390
- :header_params => header_params,
7391
- :query_params => query_params,
7392
- :form_params => form_params,
7393
- :body => post_body,
7394
- :auth_names => auth_names,
7395
- :return_type => 'DisplayAppliancePdf')
7396
- if @api_client.config.debugging
7397
- @api_client.config.logger.debug "API called: EnvelopesApi#update_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7398
- end
7399
- return data, status_code, headers
7400
- end
7401
-
7402
- # Update pdf blobs for Display Appliance
7403
- #
7404
- # @param account_id The external account number (int) or account ID Guid.
7405
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7406
- # @return [nil]
7407
- def update_pdf_blob(account_id, envelope_id)
7408
- update_pdf_blob_with_http_info(account_id, envelope_id)
7409
- return nil
7410
- end
7411
-
7412
- # Update pdf blobs for Display Appliance
7413
- #
7414
- # @param account_id The external account number (int) or account ID Guid.
7415
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7416
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
7417
- def update_pdf_blob_with_http_info(account_id, envelope_id)
7418
- if @api_client.config.debugging
7419
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_pdf_blob ..."
7420
- end
7421
- # verify the required parameter 'account_id' is set
7422
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_pdf_blob" if account_id.nil?
7423
- # verify the required parameter 'envelope_id' is set
7424
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_pdf_blob" if envelope_id.nil?
7425
- # resource path
7426
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
7427
-
7428
- # query parameters
7429
- query_params = {}
7430
-
7431
- # header parameters
7432
- header_params = {}
7433
- # HTTP header 'Accept' (if needed)
7434
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7435
-
7436
- # form parameters
7437
- form_params = {}
7438
-
7439
- # http body (model)
7440
- post_body = nil
7441
- auth_names = []
7442
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7443
- :header_params => header_params,
7444
- :query_params => query_params,
7445
- :form_params => form_params,
7446
- :body => post_body,
7447
- :auth_names => auth_names)
7448
- if @api_client.config.debugging
7449
- @api_client.config.logger.debug "API called: EnvelopesApi#update_pdf_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7450
- end
7451
- return data, status_code, headers
7452
- end
7453
-
7454
- # Update RecipientDeniedDocumentCopy for Display Appliance
7455
- #
7456
- # @param account_id The external account number (int) or account ID Guid.
7457
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7458
- # @return [nil]
7459
- def update_recipient_denied_document_copy(account_id, envelope_id)
7460
- update_recipient_denied_document_copy_with_http_info(account_id, envelope_id)
7461
- return nil
7462
- end
7463
-
7464
- # Update RecipientDeniedDocumentCopy for Display Appliance
7465
- #
7466
- # @param account_id The external account number (int) or account ID Guid.
7467
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
7468
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
7469
- def update_recipient_denied_document_copy_with_http_info(account_id, envelope_id)
7470
- if @api_client.config.debugging
7471
- @api_client.config.logger.debug "Calling API: EnvelopesApi.update_recipient_denied_document_copy ..."
7472
- end
7473
- # verify the required parameter 'account_id' is set
7474
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_recipient_denied_document_copy" if account_id.nil?
7475
- # verify the required parameter 'envelope_id' is set
7476
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_recipient_denied_document_copy" if envelope_id.nil?
7477
- # resource path
7478
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/recipient_denied_copy".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
7479
-
7480
- # query parameters
7481
- query_params = {}
7482
-
7483
- # header parameters
7484
- header_params = {}
7485
- # HTTP header 'Accept' (if needed)
7486
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7487
-
7488
- # form parameters
7489
- form_params = {}
7490
-
7491
- # http body (model)
7492
- post_body = nil
7493
- auth_names = []
7494
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7495
- :header_params => header_params,
7496
- :query_params => query_params,
7497
- :form_params => form_params,
7498
- :body => post_body,
7499
- :auth_names => auth_names)
7500
- if @api_client.config.debugging
7501
- @api_client.config.logger.debug "API called: EnvelopesApi#update_recipient_denied_document_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7502
- end
7503
- return data, status_code, headers
7504
- end
7505
-
7506
6237
  # Updates document visibility for the recipients
7507
6238
  #
7508
6239
  # @param account_id The external account number (int) or account ID Guid.