tripletex_ruby_client 1.0.8 → 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: 5cc5ed9deb0b1961f486d3dcdda1dfc0947d05a279bbcbe4b50cb41d70e45e6b
4
- data.tar.gz: c8aadc530518cded2246f000c85dd78eaee27fd0375b6f935ec06901d5c7e25b
3
+ metadata.gz: 545d034d27186bc6a296e120f77a310ce1a8e37f893473ef871b4c40d61ded68
4
+ data.tar.gz: '0782476782715035daafbe19baf552d3db3d26c46f5711825c16fd0eaf0c5ea9'
5
5
  SHA512:
6
- metadata.gz: 8d37586cee50ae446fbcf6669578d16274cbf9c8321bf0d1402560fab14dc1bcb89d41f66f7d290c50ef443574e9a553bbea50281ecab62637170251388ab3f8
7
- data.tar.gz: 41001b1d23ab2334ed0b59b3d29b2dd1b095a6b1c4cf3eebe01cc21aeed6ce23da8db1a4d838052e9875f7c18f0fc8d60c58223f2a4a815c60156734522aa8e5
6
+ metadata.gz: c8b4b1a10d6bdf07621b3398a2d657c142712ca8d75a51fdd1fd00d5fcc36929e056ae2f13f995d45cc4f30afd895f8a51992050d212b00db45d82157e0f449f
7
+ data.tar.gz: c95f9c995dab2b1b62f6ec0acee7741c35a4deb0217601443268c7f057cddb982a14bc47f1743c21793a351a0077b629e0d282394a5ced45da421fba10995599
@@ -177,6 +177,7 @@ module TripletexRubyClient
177
177
  # @param invoice_id Invoice ID from which PDF is downloaded.
178
178
  # @param [Hash] opts the optional parameters
179
179
  # @option opts [BOOLEAN] :download Equals (default to true)
180
+ # @option opts [String] :return_type 'String' type set as default
180
181
  # @return [String]
181
182
  def download_pdf(invoice_id, opts = {})
182
183
  data, _status_code, _headers = download_pdf_with_http_info(invoice_id, opts)
@@ -188,6 +189,7 @@ module TripletexRubyClient
188
189
  # @param invoice_id Invoice ID from which PDF is downloaded.
189
190
  # @param [Hash] opts the optional parameters
190
191
  # @option opts [BOOLEAN] :download Equals
192
+ # @option opts [String] :return_type 'String' type set as default
191
193
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
192
194
  def download_pdf_with_http_info(invoice_id, opts = {})
193
195
  if @api_client.config.debugging
@@ -212,6 +214,9 @@ module TripletexRubyClient
212
214
  # form parameters
213
215
  form_params = {}
214
216
 
217
+ # return_type
218
+ return_type = opts[:'return_type'] || 'String'
219
+
215
220
  # http body (model)
216
221
  post_body = nil
217
222
  auth_names = ['tokenAuthScheme']
@@ -221,7 +226,7 @@ module TripletexRubyClient
221
226
  :form_params => form_params,
222
227
  :body => post_body,
223
228
  :auth_names => auth_names,
224
- :return_type => 'String')
229
+ :return_type => return_type)
225
230
  if @api_client.config.debugging
226
231
  @api_client.config.logger.debug "API called: InvoiceApi#download_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
227
232
  end
@@ -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.8'
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.8
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-03-03 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:
@@ -2754,7 +2755,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2754
2755
  - !ruby/object:Gem::Version
2755
2756
  version: '0'
2756
2757
  requirements: []
2757
- rubygems_version: 3.3.7
2758
+ rubygems_version: 3.4.1
2758
2759
  signing_key:
2759
2760
  specification_version: 4
2760
2761
  summary: Tripletex API Ruby Client Gem