=begin #DocuSign REST API #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. OpenAPI spec version: v2 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' # Unit tests for SwaggerClient::BulkEnvelopesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'BulkEnvelopesApi' do before do # run before each test @instance = SwaggerClient::BulkEnvelopesApi.new end after do # run after each test end describe 'test an instance of BulkEnvelopesApi' do it 'should create an instact of BulkEnvelopesApi' do expect(@instance).to be_instance_of(SwaggerClient::BulkEnvelopesApi) end end # unit tests for delete_recipients # Deletes the bulk recipient file from an envelope. # Deletes the bulk recipient file from an envelope. This cannot be used if the envelope has been sent. After using this, the `bulkRecipientsUri` property is not returned in subsequent GET calls for the envelope, but the recipient will remain as a bulk recipient. # @param account_id The external account number (int) or account ID Guid. # @param envelope_id The envelopeId Guid of the envelope being accessed. # @param recipient_id The ID of the recipient being accessed. # @param [Hash] opts the optional parameters # @return [BulkRecipientsUpdateResponse] describe 'delete_recipients test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get # Gets the status of a specified bulk send operation. # Retrieves the status information of a single bulk recipient batch. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. # @param account_id The external account number (int) or account ID Guid. # @param batch_id # @param [Hash] opts the optional parameters # @option opts [String] :count Specifies the number of entries to return. # @option opts [String] :include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status. # @option opts [String] :start_position Specifies the location in the list of envelopes from which to start. # @return [BulkEnvelopeStatus] describe 'get test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_recipients # Gets the bulk recipient file from an envelope. # Retrieves the bulk recipient file information from an envelope that has a bulk recipient. # @param account_id The external account number (int) or account ID Guid. # @param envelope_id The envelopeId Guid of the envelope being accessed. # @param recipient_id The ID of the recipient being accessed. # @param [Hash] opts the optional parameters # @option opts [String] :include_tabs # @option opts [String] :start_position # @return [BulkRecipientsResponse] describe 'get_recipients test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list # Gets status information about bulk recipient batches. # Retrieves status information about all the bulk recipient batches. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. The response includes general information about each bulk recipient batch. The response returns information about the envelopes sent with bulk recipient batches, including the `batchId` property, which can be used to retrieve a more detailed status of individual bulk recipient batches. # @param account_id The external account number (int) or account ID Guid. # @param [Hash] opts the optional parameters # @option opts [String] :count The number of results to return. This can be 1 to 20. # @option opts [String] :include # @option opts [String] :start_position The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0. # @return [BulkEnvelopesResponse] describe 'list test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update_recipients # Adds or replaces envelope bulk recipients. # Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file. # @param account_id The external account number (int) or account ID Guid. # @param envelope_id The envelopeId Guid of the envelope being accessed. # @param recipient_id The ID of the recipient being accessed. # @param [Hash] opts the optional parameters # @option opts [BulkRecipientsRequest] :bulk_recipients_request # @return [BulkRecipientsSummaryResponse] describe 'update_recipients test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end