tripletex_ruby_client 1.0.9 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69461b82944e7a7b82b907c6f0f320ab92be5930350ec33ac1d08bb2521b5510
4
- data.tar.gz: 46e14eeccc4cde85e8eee92dc2b4a39cceaad7ff645e86ad6a993db2b6eaa3d6
3
+ metadata.gz: 545d034d27186bc6a296e120f77a310ce1a8e37f893473ef871b4c40d61ded68
4
+ data.tar.gz: '0782476782715035daafbe19baf552d3db3d26c46f5711825c16fd0eaf0c5ea9'
5
5
  SHA512:
6
- metadata.gz: f0397892da50ecaf19d4cb0b5cd7356d704f8618276e5e9aba9dee12e1ac8d5492d66ab6804d0aa9a448ad5662aa2ab5df73b2f3fb30e223ba9b7b379b58c61e
7
- data.tar.gz: 9a2a5400a80263b2d3d92081b1e7efa94bb251c28c741b74a1ac86c8ff68c8bb03dceef8fa202fbbd8bf52779b738f46804777fe4ff20135d1b9a5255540a101
6
+ metadata.gz: c8b4b1a10d6bdf07621b3398a2d657c142712ca8d75a51fdd1fd00d5fcc36929e056ae2f13f995d45cc4f30afd895f8a51992050d212b00db45d82157e0f449f
7
+ data.tar.gz: c95f9c995dab2b1b62f6ec0acee7741c35a4deb0217601443268c7f057cddb982a14bc47f1743c21793a351a0077b629e0d282394a5ced45da421fba10995599
@@ -134,6 +134,7 @@ module TripletexRubyClient
134
134
  #
135
135
  # @param voucher_id Voucher ID from which PDF is downloaded.
136
136
  # @param [Hash] opts the optional parameters
137
+ # @option opts [String] :return_type 'String' type set as default
137
138
  # @return [String]
138
139
  def download_pdf(voucher_id, opts = {})
139
140
  data, _status_code, _headers = download_pdf_with_http_info(voucher_id, opts)
@@ -144,6 +145,7 @@ module TripletexRubyClient
144
145
  #
145
146
  # @param voucher_id Voucher ID from which PDF is downloaded.
146
147
  # @param [Hash] opts the optional parameters
148
+ # @option opts [String] :return_type 'String' type set as default
147
149
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
148
150
  def download_pdf_with_http_info(voucher_id, opts = {})
149
151
  if @api_client.config.debugging
@@ -167,6 +169,9 @@ module TripletexRubyClient
167
169
  # form parameters
168
170
  form_params = {}
169
171
 
172
+ # return_type
173
+ return_type = opts[:'return_type'] || 'String'
174
+
170
175
  # http body (model)
171
176
  post_body = nil
172
177
  auth_names = ['tokenAuthScheme']
@@ -176,7 +181,7 @@ module TripletexRubyClient
176
181
  :form_params => form_params,
177
182
  :body => post_body,
178
183
  :auth_names => auth_names,
179
- :return_type => 'String')
184
+ :return_type => return_type)
180
185
  if @api_client.config.debugging
181
186
  @api_client.config.logger.debug "API called: LedgervoucherApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
182
187
  end
@@ -76,6 +76,7 @@ module TripletexRubyClient
76
76
  #
77
77
  # @param reminder_id Reminder ID from which PDF is downloaded.
78
78
  # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :return_type 'String' type set as default
79
80
  # @return [String]
80
81
  def download_pdf(reminder_id, opts = {})
81
82
  data, _status_code, _headers = download_pdf_with_http_info(reminder_id, opts)
@@ -86,6 +87,7 @@ module TripletexRubyClient
86
87
  #
87
88
  # @param reminder_id Reminder ID from which PDF is downloaded.
88
89
  # @param [Hash] opts the optional parameters
90
+ # @option opts [String] :return_type 'String' type set as default
89
91
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
90
92
  def download_pdf_with_http_info(reminder_id, opts = {})
91
93
  if @api_client.config.debugging
@@ -109,6 +111,9 @@ module TripletexRubyClient
109
111
  # form parameters
110
112
  form_params = {}
111
113
 
114
+ # return_type
115
+ return_type = opts[:'return_type'] || 'String'
116
+
112
117
  # http body (model)
113
118
  post_body = nil
114
119
  auth_names = ['tokenAuthScheme']
@@ -118,7 +123,7 @@ module TripletexRubyClient
118
123
  :form_params => form_params,
119
124
  :body => post_body,
120
125
  :auth_names => auth_names,
121
- :return_type => 'String')
126
+ :return_type => return_type)
122
127
  if @api_client.config.debugging
123
128
  @api_client.config.logger.debug "API called: ReminderApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
124
129
  end
@@ -24,6 +24,7 @@ module TripletexRubyClient
24
24
  # @param employee_id Element ID
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Integer] :year Must be between 1900-2100. Defaults to previous year.
27
+ # @option opts [String] :return_type 'String' type set as default
27
28
  # @return [String]
28
29
  def download_pdf(employee_id, opts = {})
29
30
  data, _status_code, _headers = download_pdf_with_http_info(employee_id, opts)
@@ -35,6 +36,7 @@ module TripletexRubyClient
35
36
  # @param employee_id Element ID
36
37
  # @param [Hash] opts the optional parameters
37
38
  # @option opts [Integer] :year Must be between 1900-2100. Defaults to previous year.
39
+ # @option opts [String] :return_type 'String' type set as default
38
40
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
39
41
  def download_pdf_with_http_info(employee_id, opts = {})
40
42
  if @api_client.config.debugging
@@ -60,6 +62,9 @@ module TripletexRubyClient
60
62
  # form parameters
61
63
  form_params = {}
62
64
 
65
+ # return_type
66
+ return_type = opts[:'return_type'] || 'String'
67
+
63
68
  # http body (model)
64
69
  post_body = nil
65
70
  auth_names = ['tokenAuthScheme']
@@ -69,7 +74,7 @@ module TripletexRubyClient
69
74
  :form_params => form_params,
70
75
  :body => post_body,
71
76
  :auth_names => auth_names,
72
- :return_type => 'String')
77
+ :return_type => return_type)
73
78
  if @api_client.config.debugging
74
79
  @api_client.config.logger.debug "API called: SalarycompilationApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
80
  end
@@ -23,6 +23,7 @@ module TripletexRubyClient
23
23
  #
24
24
  # @param id Element ID
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :return_type 'String' type set as default
26
27
  # @return [String]
27
28
  def download_pdf(id, opts = {})
28
29
  data, _status_code, _headers = download_pdf_with_http_info(id, opts)
@@ -33,6 +34,7 @@ module TripletexRubyClient
33
34
  #
34
35
  # @param id Element ID
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [String] :return_type 'String' type set as default
36
38
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
37
39
  def download_pdf_with_http_info(id, opts = {})
38
40
  if @api_client.config.debugging
@@ -56,6 +58,9 @@ module TripletexRubyClient
56
58
  # form parameters
57
59
  form_params = {}
58
60
 
61
+ # return_type
62
+ return_type = opts[:'return_type'] || 'String'
63
+
59
64
  # http body (model)
60
65
  post_body = nil
61
66
  auth_names = ['tokenAuthScheme']
@@ -65,7 +70,7 @@ module TripletexRubyClient
65
70
  :form_params => form_params,
66
71
  :body => post_body,
67
72
  :auth_names => auth_names,
68
- :return_type => 'String')
73
+ :return_type => return_type)
69
74
  if @api_client.config.debugging
70
75
  @api_client.config.logger.debug "API called: SalarypayslipApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
76
  end
@@ -389,6 +389,7 @@ module TripletexRubyClient
389
389
  #
390
390
  # @param invoice_id Invoice ID from which document is downloaded.
391
391
  # @param [Hash] opts the optional parameters
392
+ # @option opts [String] :return_type 'String' type set as default
392
393
  # @return [String]
393
394
  def download_pdf(invoice_id, opts = {})
394
395
  data, _status_code, _headers = download_pdf_with_http_info(invoice_id, opts)
@@ -399,6 +400,7 @@ module TripletexRubyClient
399
400
  #
400
401
  # @param invoice_id Invoice ID from which document is downloaded.
401
402
  # @param [Hash] opts the optional parameters
403
+ # @option opts [String] :return_type 'String' type set as default
402
404
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
403
405
  def download_pdf_with_http_info(invoice_id, opts = {})
404
406
  if @api_client.config.debugging
@@ -422,6 +424,9 @@ module TripletexRubyClient
422
424
  # form parameters
423
425
  form_params = {}
424
426
 
427
+ # return_type
428
+ return_type = opts[:'return_type'] || 'String'
429
+
425
430
  # http body (model)
426
431
  post_body = nil
427
432
  auth_names = ['tokenAuthScheme']
@@ -431,7 +436,7 @@ module TripletexRubyClient
431
436
  :form_params => form_params,
432
437
  :body => post_body,
433
438
  :auth_names => auth_names,
434
- :return_type => 'String')
439
+ :return_type => return_type)
435
440
  if @api_client.config.debugging
436
441
  @api_client.config.logger.debug "API called: SupplierInvoiceApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
442
  end
@@ -1,3 +1,3 @@
1
1
  module TripletexRubyClient
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.11'
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tripletex_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - oma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2734,6 +2734,7 @@ files:
2734
2734
  - spec/models/ztl_onboarding_spec.rb
2735
2735
  - spec/spec_helper.rb
2736
2736
  - tripletex-swagger-config.json
2737
+ - tripletex_ruby_client-1.0.9.gem
2737
2738
  - tripletex_ruby_client.gemspec
2738
2739
  homepage: https://github.com/rubynor/tripletex_ruby_client
2739
2740
  licenses: