mailslurp_client 12.1.23 → 12.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +3 -0
 - data/lib/mailslurp_client.rb +5 -0
 - data/lib/mailslurp_client/api/export_controller_api.rb +199 -0
 - data/lib/mailslurp_client/api/webhook_controller_api.rb +200 -0
 - data/lib/mailslurp_client/models/create_webhook_options.rb +2 -2
 - data/lib/mailslurp_client/models/export_link.rb +212 -0
 - data/lib/mailslurp_client/models/export_options.rb +291 -0
 - data/lib/mailslurp_client/models/page_webhook_projection.rb +1 -1
 - data/lib/mailslurp_client/models/page_webhook_result.rb +299 -0
 - data/lib/mailslurp_client/models/webhook_dto.rb +14 -4
 - data/lib/mailslurp_client/models/webhook_result_entity.rb +410 -0
 - data/lib/mailslurp_client/version.rb +1 -1
 - metadata +7 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 283f8dec3e07d1960fdd61c107710610a6cdc78f2b11014d287e39d8e272a5f0
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 75a9a47151a8e94c37291467007ebbee99df129fc2ff0c00e311fb9a58f51229
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b38d78563f534945d5bad5ab59589464fb2942074ceed834543dff19d32471dd8c40ebbe4fb8e6c9a3a4a6425bb7a6c51c15d0f2587e7248339506f501e352a5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4c91cb836a0760920baa12d23d98a328cb24dc50610f778c8755dffa677bd61d83814a1078a21c2bd8f556cb46fa11672f6fe8e9d9a254f864e9387d6489f5bf
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -126,6 +126,9 @@ it 'can an inbox with tags' do 
     | 
|
| 
       126 
126 
     | 
    
         
             
            end
         
     | 
| 
       127 
127 
     | 
    
         
             
            ```
         
     | 
| 
       128 
128 
     | 
    
         | 
| 
      
 129 
     | 
    
         
            +
            #### Inbox types
         
     | 
| 
      
 130 
     | 
    
         
            +
            Inboxes can be either `SMTP` or `HTTP` type. Set the inbox type using the `inboxType` property. SMTP inboxes are handled by a custom mailserver and support a wide range of clients while HTTP inboxes use Amazon SES and don't support some older clients like Outlook. SMTP inboxes are recommended for public facing email addresses while HTTP inboxes are best for application testing. Please see the guide on [types of inboxes](https://www.mailslurp.com/guides/smtp-vs-http-email-inboxes/) for more information.
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
       129 
132 
     | 
    
         
             
            ### List inboxes
         
     | 
| 
       130 
133 
     | 
    
         | 
| 
       131 
134 
     | 
    
         
             
            Inboxes you create can be listed in a paginated way using the [InboxController](https://www.mailslurp.com/docs/ruby/docs/InboxControllerApi/)).
         
     | 
    
        data/lib/mailslurp_client.rb
    CHANGED
    
    | 
         @@ -54,6 +54,8 @@ require 'mailslurp_client/models/email_verification_result' 
     | 
|
| 
       54 
54 
     | 
    
         
             
            require 'mailslurp_client/models/expiration_defaults'
         
     | 
| 
       55 
55 
     | 
    
         
             
            require 'mailslurp_client/models/expired_inbox_dto'
         
     | 
| 
       56 
56 
     | 
    
         
             
            require 'mailslurp_client/models/expired_inbox_record_projection'
         
     | 
| 
      
 57 
     | 
    
         
            +
            require 'mailslurp_client/models/export_link'
         
     | 
| 
      
 58 
     | 
    
         
            +
            require 'mailslurp_client/models/export_options'
         
     | 
| 
       57 
59 
     | 
    
         
             
            require 'mailslurp_client/models/forward_email_options'
         
     | 
| 
       58 
60 
     | 
    
         
             
            require 'mailslurp_client/models/group_contacts_dto'
         
     | 
| 
       59 
61 
     | 
    
         
             
            require 'mailslurp_client/models/group_dto'
         
     | 
| 
         @@ -83,6 +85,7 @@ require 'mailslurp_client/models/page_sent_email_projection' 
     | 
|
| 
       83 
85 
     | 
    
         
             
            require 'mailslurp_client/models/page_template_projection'
         
     | 
| 
       84 
86 
     | 
    
         
             
            require 'mailslurp_client/models/page_thread_projection'
         
     | 
| 
       85 
87 
     | 
    
         
             
            require 'mailslurp_client/models/page_webhook_projection'
         
     | 
| 
      
 88 
     | 
    
         
            +
            require 'mailslurp_client/models/page_webhook_result'
         
     | 
| 
       86 
89 
     | 
    
         
             
            require 'mailslurp_client/models/pageable'
         
     | 
| 
       87 
90 
     | 
    
         
             
            require 'mailslurp_client/models/raw_email_json'
         
     | 
| 
       88 
91 
     | 
    
         
             
            require 'mailslurp_client/models/reply_to_alias_email_options'
         
     | 
| 
         @@ -112,6 +115,7 @@ require 'mailslurp_client/models/webhook_new_attachment_payload' 
     | 
|
| 
       112 
115 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_new_contact_payload'
         
     | 
| 
       113 
116 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_new_email_payload'
         
     | 
| 
       114 
117 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_projection'
         
     | 
| 
      
 118 
     | 
    
         
            +
            require 'mailslurp_client/models/webhook_result_entity'
         
     | 
| 
       115 
119 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_test_request'
         
     | 
| 
       116 
120 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_test_response'
         
     | 
| 
       117 
121 
     | 
    
         
             
            require 'mailslurp_client/models/webhook_test_result'
         
     | 
| 
         @@ -125,6 +129,7 @@ require 'mailslurp_client/api/contact_controller_api' 
     | 
|
| 
       125 
129 
     | 
    
         
             
            require 'mailslurp_client/api/domain_controller_api'
         
     | 
| 
       126 
130 
     | 
    
         
             
            require 'mailslurp_client/api/email_controller_api'
         
     | 
| 
       127 
131 
     | 
    
         
             
            require 'mailslurp_client/api/expired_controller_api'
         
     | 
| 
      
 132 
     | 
    
         
            +
            require 'mailslurp_client/api/export_controller_api'
         
     | 
| 
       128 
133 
     | 
    
         
             
            require 'mailslurp_client/api/form_controller_api'
         
     | 
| 
       129 
134 
     | 
    
         
             
            require 'mailslurp_client/api/group_controller_api'
         
     | 
| 
       130 
135 
     | 
    
         
             
            require 'mailslurp_client/api/inbox_controller_api'
         
     | 
| 
         @@ -0,0 +1,199 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            =begin
         
     | 
| 
      
 2 
     | 
    
         
            +
            #MailSlurp API
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more.  ## Resources  - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository 
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            The version of the OpenAPI document: 6.5.2
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            Generated by: https://openapi-generator.tech
         
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 4.3.1
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            =end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            require 'cgi'
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            module MailSlurpClient
         
     | 
| 
      
 16 
     | 
    
         
            +
              class ExportControllerApi
         
     | 
| 
      
 17 
     | 
    
         
            +
                attr_accessor :api_client
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                def initialize(api_client = ApiClient.default)
         
     | 
| 
      
 20 
     | 
    
         
            +
                  @api_client = api_client
         
     | 
| 
      
 21 
     | 
    
         
            +
                end
         
     | 
| 
      
 22 
     | 
    
         
            +
                # Export inboxes link callable via browser
         
     | 
| 
      
 23 
     | 
    
         
            +
                # @param api_key [String] apiKey
         
     | 
| 
      
 24 
     | 
    
         
            +
                # @param export_type [String] exportType
         
     | 
| 
      
 25 
     | 
    
         
            +
                # @param output_format [String] outputFormat
         
     | 
| 
      
 26 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 27 
     | 
    
         
            +
                # @option opts [DateTime] :created_earliest_time createdEarliestTime
         
     | 
| 
      
 28 
     | 
    
         
            +
                # @option opts [DateTime] :created_oldest_time createdOldestTime
         
     | 
| 
      
 29 
     | 
    
         
            +
                # @option opts [Boolean] :exclude_previously_exported excludePreviouslyExported
         
     | 
| 
      
 30 
     | 
    
         
            +
                # @option opts [String] :filter filter
         
     | 
| 
      
 31 
     | 
    
         
            +
                # @option opts [String] :list_separator_token listSeparatorToken
         
     | 
| 
      
 32 
     | 
    
         
            +
                # @return [String]
         
     | 
| 
      
 33 
     | 
    
         
            +
                def export_entities(api_key, export_type, output_format, opts = {})
         
     | 
| 
      
 34 
     | 
    
         
            +
                  data, _status_code, _headers = export_entities_with_http_info(api_key, export_type, output_format, opts)
         
     | 
| 
      
 35 
     | 
    
         
            +
                  data
         
     | 
| 
      
 36 
     | 
    
         
            +
                end
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                # Export inboxes link callable via browser
         
     | 
| 
      
 39 
     | 
    
         
            +
                # @param api_key [String] apiKey
         
     | 
| 
      
 40 
     | 
    
         
            +
                # @param export_type [String] exportType
         
     | 
| 
      
 41 
     | 
    
         
            +
                # @param output_format [String] outputFormat
         
     | 
| 
      
 42 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 43 
     | 
    
         
            +
                # @option opts [DateTime] :created_earliest_time createdEarliestTime
         
     | 
| 
      
 44 
     | 
    
         
            +
                # @option opts [DateTime] :created_oldest_time createdOldestTime
         
     | 
| 
      
 45 
     | 
    
         
            +
                # @option opts [Boolean] :exclude_previously_exported excludePreviouslyExported
         
     | 
| 
      
 46 
     | 
    
         
            +
                # @option opts [String] :filter filter
         
     | 
| 
      
 47 
     | 
    
         
            +
                # @option opts [String] :list_separator_token listSeparatorToken
         
     | 
| 
      
 48 
     | 
    
         
            +
                # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
         
     | 
| 
      
 49 
     | 
    
         
            +
                def export_entities_with_http_info(api_key, export_type, output_format, opts = {})
         
     | 
| 
      
 50 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 51 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ExportControllerApi.export_entities ...'
         
     | 
| 
      
 52 
     | 
    
         
            +
                  end
         
     | 
| 
      
 53 
     | 
    
         
            +
                  # verify the required parameter 'api_key' is set
         
     | 
| 
      
 54 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && api_key.nil?
         
     | 
| 
      
 55 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'api_key' when calling ExportControllerApi.export_entities"
         
     | 
| 
      
 56 
     | 
    
         
            +
                  end
         
     | 
| 
      
 57 
     | 
    
         
            +
                  # verify the required parameter 'export_type' is set
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_type.nil?
         
     | 
| 
      
 59 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_type' when calling ExportControllerApi.export_entities"
         
     | 
| 
      
 60 
     | 
    
         
            +
                  end
         
     | 
| 
      
 61 
     | 
    
         
            +
                  # verify enum value
         
     | 
| 
      
 62 
     | 
    
         
            +
                  allowable_values = ["INBOXES", "CONTACTS", "ATTACHMENTS", "EMAILS"]
         
     | 
| 
      
 63 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !allowable_values.include?(export_type)
         
     | 
| 
      
 64 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for \"export_type\", must be one of #{allowable_values}"
         
     | 
| 
      
 65 
     | 
    
         
            +
                  end
         
     | 
| 
      
 66 
     | 
    
         
            +
                  # verify the required parameter 'output_format' is set
         
     | 
| 
      
 67 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && output_format.nil?
         
     | 
| 
      
 68 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'output_format' when calling ExportControllerApi.export_entities"
         
     | 
| 
      
 69 
     | 
    
         
            +
                  end
         
     | 
| 
      
 70 
     | 
    
         
            +
                  # verify enum value
         
     | 
| 
      
 71 
     | 
    
         
            +
                  allowable_values = ["CSV_DEFAULT", "CSV_EXCEL"]
         
     | 
| 
      
 72 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !allowable_values.include?(output_format)
         
     | 
| 
      
 73 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for \"output_format\", must be one of #{allowable_values}"
         
     | 
| 
      
 74 
     | 
    
         
            +
                  end
         
     | 
| 
      
 75 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 76 
     | 
    
         
            +
                  local_var_path = '/export'
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 79 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 80 
     | 
    
         
            +
                  query_params[:'apiKey'] = api_key
         
     | 
| 
      
 81 
     | 
    
         
            +
                  query_params[:'exportType'] = export_type
         
     | 
| 
      
 82 
     | 
    
         
            +
                  query_params[:'outputFormat'] = output_format
         
     | 
| 
      
 83 
     | 
    
         
            +
                  query_params[:'createdEarliestTime'] = opts[:'created_earliest_time'] if !opts[:'created_earliest_time'].nil?
         
     | 
| 
      
 84 
     | 
    
         
            +
                  query_params[:'createdOldestTime'] = opts[:'created_oldest_time'] if !opts[:'created_oldest_time'].nil?
         
     | 
| 
      
 85 
     | 
    
         
            +
                  query_params[:'excludePreviouslyExported'] = opts[:'exclude_previously_exported'] if !opts[:'exclude_previously_exported'].nil?
         
     | 
| 
      
 86 
     | 
    
         
            +
                  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
         
     | 
| 
      
 87 
     | 
    
         
            +
                  query_params[:'listSeparatorToken'] = opts[:'list_separator_token'] if !opts[:'list_separator_token'].nil?
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 90 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 91 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 92 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 95 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 98 
     | 
    
         
            +
                  post_body = opts[:body] 
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 101 
     | 
    
         
            +
                  return_type = opts[:return_type] || 'String' 
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 104 
     | 
    
         
            +
                  auth_names = opts[:auth_names] || ['API_KEY']
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 107 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 108 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 109 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 110 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 111 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 112 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 113 
     | 
    
         
            +
                  )
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 116 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 117 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ExportControllerApi#export_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 118 
     | 
    
         
            +
                  end
         
     | 
| 
      
 119 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 120 
     | 
    
         
            +
                end
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
                # Get export link
         
     | 
| 
      
 123 
     | 
    
         
            +
                # @param export_type [String] exportType
         
     | 
| 
      
 124 
     | 
    
         
            +
                # @param export_options [ExportOptions] exportOptions
         
     | 
| 
      
 125 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 126 
     | 
    
         
            +
                # @option opts [String] :api_key apiKey
         
     | 
| 
      
 127 
     | 
    
         
            +
                # @return [ExportLink]
         
     | 
| 
      
 128 
     | 
    
         
            +
                def get_export_link(export_type, export_options, opts = {})
         
     | 
| 
      
 129 
     | 
    
         
            +
                  data, _status_code, _headers = get_export_link_with_http_info(export_type, export_options, opts)
         
     | 
| 
      
 130 
     | 
    
         
            +
                  data
         
     | 
| 
      
 131 
     | 
    
         
            +
                end
         
     | 
| 
      
 132 
     | 
    
         
            +
             
     | 
| 
      
 133 
     | 
    
         
            +
                # Get export link
         
     | 
| 
      
 134 
     | 
    
         
            +
                # @param export_type [String] exportType
         
     | 
| 
      
 135 
     | 
    
         
            +
                # @param export_options [ExportOptions] exportOptions
         
     | 
| 
      
 136 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 137 
     | 
    
         
            +
                # @option opts [String] :api_key apiKey
         
     | 
| 
      
 138 
     | 
    
         
            +
                # @return [Array<(ExportLink, Integer, Hash)>] ExportLink data, response status code and response headers
         
     | 
| 
      
 139 
     | 
    
         
            +
                def get_export_link_with_http_info(export_type, export_options, opts = {})
         
     | 
| 
      
 140 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 141 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ExportControllerApi.get_export_link ...'
         
     | 
| 
      
 142 
     | 
    
         
            +
                  end
         
     | 
| 
      
 143 
     | 
    
         
            +
                  # verify the required parameter 'export_type' is set
         
     | 
| 
      
 144 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_type.nil?
         
     | 
| 
      
 145 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_type' when calling ExportControllerApi.get_export_link"
         
     | 
| 
      
 146 
     | 
    
         
            +
                  end
         
     | 
| 
      
 147 
     | 
    
         
            +
                  # verify enum value
         
     | 
| 
      
 148 
     | 
    
         
            +
                  allowable_values = ["INBOXES", "CONTACTS", "ATTACHMENTS", "EMAILS"]
         
     | 
| 
      
 149 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && !allowable_values.include?(export_type)
         
     | 
| 
      
 150 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for \"export_type\", must be one of #{allowable_values}"
         
     | 
| 
      
 151 
     | 
    
         
            +
                  end
         
     | 
| 
      
 152 
     | 
    
         
            +
                  # verify the required parameter 'export_options' is set
         
     | 
| 
      
 153 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_options.nil?
         
     | 
| 
      
 154 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_options' when calling ExportControllerApi.get_export_link"
         
     | 
| 
      
 155 
     | 
    
         
            +
                  end
         
     | 
| 
      
 156 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 157 
     | 
    
         
            +
                  local_var_path = '/export'
         
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 160 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 161 
     | 
    
         
            +
                  query_params[:'exportType'] = export_type
         
     | 
| 
      
 162 
     | 
    
         
            +
                  query_params[:'apiKey'] = opts[:'api_key'] if !opts[:'api_key'].nil?
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 165 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 166 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 167 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 168 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 169 
     | 
    
         
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 170 
     | 
    
         
            +
             
     | 
| 
      
 171 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 172 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 175 
     | 
    
         
            +
                  post_body = opts[:body] || @api_client.object_to_http_body(export_options) 
         
     | 
| 
      
 176 
     | 
    
         
            +
             
     | 
| 
      
 177 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 178 
     | 
    
         
            +
                  return_type = opts[:return_type] || 'ExportLink' 
         
     | 
| 
      
 179 
     | 
    
         
            +
             
     | 
| 
      
 180 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 181 
     | 
    
         
            +
                  auth_names = opts[:auth_names] || ['API_KEY']
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 184 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 185 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 186 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 187 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 188 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 189 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 190 
     | 
    
         
            +
                  )
         
     | 
| 
      
 191 
     | 
    
         
            +
             
     | 
| 
      
 192 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 193 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 194 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ExportControllerApi#get_export_link\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 195 
     | 
    
         
            +
                  end
         
     | 
| 
      
 196 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 197 
     | 
    
         
            +
                end
         
     | 
| 
      
 198 
     | 
    
         
            +
              end
         
     | 
| 
      
 199 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -153,6 +153,73 @@ module MailSlurpClient 
     | 
|
| 
       153 
153 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       154 
154 
     | 
    
         
             
                end
         
     | 
| 
       155 
155 
     | 
    
         | 
| 
      
 156 
     | 
    
         
            +
                # Get results for all webhooks
         
     | 
| 
      
 157 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 158 
     | 
    
         
            +
                # @option opts [Integer] :page Optional page index in list pagination (default to 0)
         
     | 
| 
      
 159 
     | 
    
         
            +
                # @option opts [Integer] :size Optional page size in list pagination (default to 20)
         
     | 
| 
      
 160 
     | 
    
         
            +
                # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
         
     | 
| 
      
 161 
     | 
    
         
            +
                # @return [PageWebhookResult]
         
     | 
| 
      
 162 
     | 
    
         
            +
                def get_all_webhook_results(opts = {})
         
     | 
| 
      
 163 
     | 
    
         
            +
                  data, _status_code, _headers = get_all_webhook_results_with_http_info(opts)
         
     | 
| 
      
 164 
     | 
    
         
            +
                  data
         
     | 
| 
      
 165 
     | 
    
         
            +
                end
         
     | 
| 
      
 166 
     | 
    
         
            +
             
     | 
| 
      
 167 
     | 
    
         
            +
                # Get results for all webhooks
         
     | 
| 
      
 168 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 169 
     | 
    
         
            +
                # @option opts [Integer] :page Optional page index in list pagination
         
     | 
| 
      
 170 
     | 
    
         
            +
                # @option opts [Integer] :size Optional page size in list pagination
         
     | 
| 
      
 171 
     | 
    
         
            +
                # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
         
     | 
| 
      
 172 
     | 
    
         
            +
                # @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
         
     | 
| 
      
 173 
     | 
    
         
            +
                def get_all_webhook_results_with_http_info(opts = {})
         
     | 
| 
      
 174 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 175 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: WebhookControllerApi.get_all_webhook_results ...'
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
      
 177 
     | 
    
         
            +
                  allowable_values = ["ASC", "DESC"]
         
     | 
| 
      
 178 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
         
     | 
| 
      
 179 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
         
     | 
| 
      
 180 
     | 
    
         
            +
                  end
         
     | 
| 
      
 181 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 182 
     | 
    
         
            +
                  local_var_path = '/webhooks/results'
         
     | 
| 
      
 183 
     | 
    
         
            +
             
     | 
| 
      
 184 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 185 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 186 
     | 
    
         
            +
                  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
         
     | 
| 
      
 187 
     | 
    
         
            +
                  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
         
     | 
| 
      
 188 
     | 
    
         
            +
                  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
         
     | 
| 
      
 189 
     | 
    
         
            +
             
     | 
| 
      
 190 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 191 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 192 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 193 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
      
 195 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 196 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 197 
     | 
    
         
            +
             
     | 
| 
      
 198 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 199 
     | 
    
         
            +
                  post_body = opts[:body] 
         
     | 
| 
      
 200 
     | 
    
         
            +
             
     | 
| 
      
 201 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 202 
     | 
    
         
            +
                  return_type = opts[:return_type] || 'PageWebhookResult' 
         
     | 
| 
      
 203 
     | 
    
         
            +
             
     | 
| 
      
 204 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 205 
     | 
    
         
            +
                  auth_names = opts[:auth_names] || ['API_KEY']
         
     | 
| 
      
 206 
     | 
    
         
            +
             
     | 
| 
      
 207 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 208 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 209 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 210 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 211 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 212 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 213 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 214 
     | 
    
         
            +
                  )
         
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
      
 216 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 217 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 218 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: WebhookControllerApi#get_all_webhook_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 219 
     | 
    
         
            +
                  end
         
     | 
| 
      
 220 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 221 
     | 
    
         
            +
                end
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
       156 
223 
     | 
    
         
             
                # List Webhooks Paginated
         
     | 
| 
       157 
224 
     | 
    
         
             
                # List webhooks in paginated form. Allows for page index, page size, and sort direction.
         
     | 
| 
       158 
225 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -505,6 +572,139 @@ module MailSlurpClient 
     | 
|
| 
       505 
572 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       506 
573 
     | 
    
         
             
                end
         
     | 
| 
       507 
574 
     | 
    
         | 
| 
      
 575 
     | 
    
         
            +
                # Get a webhook result for a webhook
         
     | 
| 
      
 576 
     | 
    
         
            +
                # @param webhook_result_id [String] Webhook Result ID
         
     | 
| 
      
 577 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 578 
     | 
    
         
            +
                # @return [WebhookResultEntity]
         
     | 
| 
      
 579 
     | 
    
         
            +
                def get_webhook_result(webhook_result_id, opts = {})
         
     | 
| 
      
 580 
     | 
    
         
            +
                  data, _status_code, _headers = get_webhook_result_with_http_info(webhook_result_id, opts)
         
     | 
| 
      
 581 
     | 
    
         
            +
                  data
         
     | 
| 
      
 582 
     | 
    
         
            +
                end
         
     | 
| 
      
 583 
     | 
    
         
            +
             
     | 
| 
      
 584 
     | 
    
         
            +
                # Get a webhook result for a webhook
         
     | 
| 
      
 585 
     | 
    
         
            +
                # @param webhook_result_id [String] Webhook Result ID
         
     | 
| 
      
 586 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 587 
     | 
    
         
            +
                # @return [Array<(WebhookResultEntity, Integer, Hash)>] WebhookResultEntity data, response status code and response headers
         
     | 
| 
      
 588 
     | 
    
         
            +
                def get_webhook_result_with_http_info(webhook_result_id, opts = {})
         
     | 
| 
      
 589 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 590 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: WebhookControllerApi.get_webhook_result ...'
         
     | 
| 
      
 591 
     | 
    
         
            +
                  end
         
     | 
| 
      
 592 
     | 
    
         
            +
                  # verify the required parameter 'webhook_result_id' is set
         
     | 
| 
      
 593 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && webhook_result_id.nil?
         
     | 
| 
      
 594 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'webhook_result_id' when calling WebhookControllerApi.get_webhook_result"
         
     | 
| 
      
 595 
     | 
    
         
            +
                  end
         
     | 
| 
      
 596 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 597 
     | 
    
         
            +
                  local_var_path = '/webhooks/results/{webhookResultId}'.sub('{' + 'webhookResultId' + '}', CGI.escape(webhook_result_id.to_s))
         
     | 
| 
      
 598 
     | 
    
         
            +
             
     | 
| 
      
 599 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 600 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 601 
     | 
    
         
            +
             
     | 
| 
      
 602 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 603 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 604 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 605 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 606 
     | 
    
         
            +
             
     | 
| 
      
 607 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 608 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 609 
     | 
    
         
            +
             
     | 
| 
      
 610 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 611 
     | 
    
         
            +
                  post_body = opts[:body] 
         
     | 
| 
      
 612 
     | 
    
         
            +
             
     | 
| 
      
 613 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 614 
     | 
    
         
            +
                  return_type = opts[:return_type] || 'WebhookResultEntity' 
         
     | 
| 
      
 615 
     | 
    
         
            +
             
     | 
| 
      
 616 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 617 
     | 
    
         
            +
                  auth_names = opts[:auth_names] || ['API_KEY']
         
     | 
| 
      
 618 
     | 
    
         
            +
             
     | 
| 
      
 619 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 620 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 621 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 622 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 623 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 624 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 625 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 626 
     | 
    
         
            +
                  )
         
     | 
| 
      
 627 
     | 
    
         
            +
             
     | 
| 
      
 628 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 629 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 630 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: WebhookControllerApi#get_webhook_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 631 
     | 
    
         
            +
                  end
         
     | 
| 
      
 632 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 633 
     | 
    
         
            +
                end
         
     | 
| 
      
 634 
     | 
    
         
            +
             
     | 
| 
      
 635 
     | 
    
         
            +
                # Get a webhook results for a webhook
         
     | 
| 
      
 636 
     | 
    
         
            +
                # @param webhook_id [String] ID of webhook to get results for
         
     | 
| 
      
 637 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 638 
     | 
    
         
            +
                # @option opts [Integer] :page Optional page index in list pagination (default to 0)
         
     | 
| 
      
 639 
     | 
    
         
            +
                # @option opts [Integer] :size Optional page size in list pagination (default to 20)
         
     | 
| 
      
 640 
     | 
    
         
            +
                # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
         
     | 
| 
      
 641 
     | 
    
         
            +
                # @return [PageWebhookResult]
         
     | 
| 
      
 642 
     | 
    
         
            +
                def get_webhook_results(webhook_id, opts = {})
         
     | 
| 
      
 643 
     | 
    
         
            +
                  data, _status_code, _headers = get_webhook_results_with_http_info(webhook_id, opts)
         
     | 
| 
      
 644 
     | 
    
         
            +
                  data
         
     | 
| 
      
 645 
     | 
    
         
            +
                end
         
     | 
| 
      
 646 
     | 
    
         
            +
             
     | 
| 
      
 647 
     | 
    
         
            +
                # Get a webhook results for a webhook
         
     | 
| 
      
 648 
     | 
    
         
            +
                # @param webhook_id [String] ID of webhook to get results for
         
     | 
| 
      
 649 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 650 
     | 
    
         
            +
                # @option opts [Integer] :page Optional page index in list pagination
         
     | 
| 
      
 651 
     | 
    
         
            +
                # @option opts [Integer] :size Optional page size in list pagination
         
     | 
| 
      
 652 
     | 
    
         
            +
                # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
         
     | 
| 
      
 653 
     | 
    
         
            +
                # @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
         
     | 
| 
      
 654 
     | 
    
         
            +
                def get_webhook_results_with_http_info(webhook_id, opts = {})
         
     | 
| 
      
 655 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 656 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: WebhookControllerApi.get_webhook_results ...'
         
     | 
| 
      
 657 
     | 
    
         
            +
                  end
         
     | 
| 
      
 658 
     | 
    
         
            +
                  # verify the required parameter 'webhook_id' is set
         
     | 
| 
      
 659 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && webhook_id.nil?
         
     | 
| 
      
 660 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookControllerApi.get_webhook_results"
         
     | 
| 
      
 661 
     | 
    
         
            +
                  end
         
     | 
| 
      
 662 
     | 
    
         
            +
                  allowable_values = ["ASC", "DESC"]
         
     | 
| 
      
 663 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
         
     | 
| 
      
 664 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
         
     | 
| 
      
 665 
     | 
    
         
            +
                  end
         
     | 
| 
      
 666 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 667 
     | 
    
         
            +
                  local_var_path = '/webhooks/{webhookId}/results'.sub('{' + 'webhookId' + '}', CGI.escape(webhook_id.to_s))
         
     | 
| 
      
 668 
     | 
    
         
            +
             
     | 
| 
      
 669 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 670 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 671 
     | 
    
         
            +
                  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
         
     | 
| 
      
 672 
     | 
    
         
            +
                  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
         
     | 
| 
      
 673 
     | 
    
         
            +
                  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
         
     | 
| 
      
 674 
     | 
    
         
            +
             
     | 
| 
      
 675 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 676 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 677 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 678 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 679 
     | 
    
         
            +
             
     | 
| 
      
 680 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 681 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 682 
     | 
    
         
            +
             
     | 
| 
      
 683 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 684 
     | 
    
         
            +
                  post_body = opts[:body] 
         
     | 
| 
      
 685 
     | 
    
         
            +
             
     | 
| 
      
 686 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 687 
     | 
    
         
            +
                  return_type = opts[:return_type] || 'PageWebhookResult' 
         
     | 
| 
      
 688 
     | 
    
         
            +
             
     | 
| 
      
 689 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 690 
     | 
    
         
            +
                  auth_names = opts[:auth_names] || ['API_KEY']
         
     | 
| 
      
 691 
     | 
    
         
            +
             
     | 
| 
      
 692 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 693 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 694 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 695 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 696 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 697 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 698 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 699 
     | 
    
         
            +
                  )
         
     | 
| 
      
 700 
     | 
    
         
            +
             
     | 
| 
      
 701 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 702 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 703 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: WebhookControllerApi#get_webhook_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 704 
     | 
    
         
            +
                  end
         
     | 
| 
      
 705 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 706 
     | 
    
         
            +
                end
         
     | 
| 
      
 707 
     | 
    
         
            +
             
     | 
| 
       508 
708 
     | 
    
         
             
                # Get all webhooks for an Inbox
         
     | 
| 
       509 
709 
     | 
    
         
             
                # @param inbox_id [String] inboxId
         
     | 
| 
       510 
710 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     |