get_around_owner 1.0.3 → 1.0.5

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +77 -78
  3. data/docs/CarsApi.md +22 -23
  4. data/docs/CheckinsApi.md +24 -25
  5. data/docs/CheckoutsApi.md +24 -25
  6. data/docs/InvoicesApi.md +36 -37
  7. data/docs/MessagesApi.md +32 -33
  8. data/docs/PayoutsApi.md +24 -25
  9. data/docs/RentalsApi.md +24 -25
  10. data/docs/UnavailabilitiesApi.md +36 -37
  11. data/docs/UsersApi.md +11 -12
  12. data/get_around_owner-1.0.3.gem +0 -0
  13. data/get_around_owner-1.0.4.gem +0 -0
  14. data/get_around_owner.gemspec +1 -1
  15. data/getaround-api.gemspec +3 -3
  16. data/lib/{getaround-api → get_around_owner}/configuration.rb +2 -2
  17. data/lib/{getaround-api → get_around_owner}/version.rb +1 -1
  18. data/lib/{getaround-api.rb → get_around_owner.rb} +48 -48
  19. data/spec/spec_helper.rb +2 -2
  20. metadata +51 -49
  21. /data/lib/{getaround-api → get_around_owner}/api/cars_api.rb +0 -0
  22. /data/lib/{getaround-api → get_around_owner}/api/checkins_api.rb +0 -0
  23. /data/lib/{getaround-api → get_around_owner}/api/checkouts_api.rb +0 -0
  24. /data/lib/{getaround-api → get_around_owner}/api/invoices_api.rb +0 -0
  25. /data/lib/{getaround-api → get_around_owner}/api/messages_api.rb +0 -0
  26. /data/lib/{getaround-api → get_around_owner}/api/payouts_api.rb +0 -0
  27. /data/lib/{getaround-api → get_around_owner}/api/rentals_api.rb +0 -0
  28. /data/lib/{getaround-api → get_around_owner}/api/unavailabilities_api.rb +0 -0
  29. /data/lib/{getaround-api → get_around_owner}/api/users_api.rb +0 -0
  30. /data/lib/{getaround-api → get_around_owner}/api_client.rb +0 -0
  31. /data/lib/{getaround-api → get_around_owner}/api_error.rb +0 -0
  32. /data/lib/{getaround-api → get_around_owner}/models/car.rb +0 -0
  33. /data/lib/{getaround-api → get_around_owner}/models/car_id.rb +0 -0
  34. /data/lib/{getaround-api → get_around_owner}/models/car_id_unavailabilities_json_body.rb +0 -0
  35. /data/lib/{getaround-api → get_around_owner}/models/cars_index.rb +0 -0
  36. /data/lib/{getaround-api → get_around_owner}/models/checkin.rb +0 -0
  37. /data/lib/{getaround-api → get_around_owner}/models/checkins_index.rb +0 -0
  38. /data/lib/{getaround-api → get_around_owner}/models/checkout.rb +0 -0
  39. /data/lib/{getaround-api → get_around_owner}/models/checkouts_index.rb +0 -0
  40. /data/lib/{getaround-api → get_around_owner}/models/ends_at.rb +0 -0
  41. /data/lib/{getaround-api → get_around_owner}/models/invoice.rb +0 -0
  42. /data/lib/{getaround-api → get_around_owner}/models/invoices_index.rb +0 -0
  43. /data/lib/{getaround-api → get_around_owner}/models/message.rb +0 -0
  44. /data/lib/{getaround-api → get_around_owner}/models/messages_sent.rb +0 -0
  45. /data/lib/{getaround-api → get_around_owner}/models/payout.rb +0 -0
  46. /data/lib/{getaround-api → get_around_owner}/models/payouts_index.rb +0 -0
  47. /data/lib/{getaround-api → get_around_owner}/models/rental.rb +0 -0
  48. /data/lib/{getaround-api → get_around_owner}/models/rental_id_messages_json_body.rb +0 -0
  49. /data/lib/{getaround-api → get_around_owner}/models/rental_invoices_index.rb +0 -0
  50. /data/lib/{getaround-api → get_around_owner}/models/rental_messages_index.rb +0 -0
  51. /data/lib/{getaround-api → get_around_owner}/models/rentals_booked.rb +0 -0
  52. /data/lib/{getaround-api → get_around_owner}/models/rentals_canceled.rb +0 -0
  53. /data/lib/{getaround-api → get_around_owner}/models/rentals_car_checked_in.rb +0 -0
  54. /data/lib/{getaround-api → get_around_owner}/models/rentals_car_checked_out.rb +0 -0
  55. /data/lib/{getaround-api → get_around_owner}/models/rentals_car_switched.rb +0 -0
  56. /data/lib/{getaround-api → get_around_owner}/models/rentals_index.rb +0 -0
  57. /data/lib/{getaround-api → get_around_owner}/models/rentals_times_changed.rb +0 -0
  58. /data/lib/{getaround-api → get_around_owner}/models/starts_at.rb +0 -0
  59. /data/lib/{getaround-api → get_around_owner}/models/unavailabilities_created.rb +0 -0
  60. /data/lib/{getaround-api → get_around_owner}/models/unavailabilities_deleted.rb +0 -0
  61. /data/lib/{getaround-api → get_around_owner}/models/unavailabilities_index.rb +0 -0
  62. /data/lib/{getaround-api → get_around_owner}/models/unavailability.rb +0 -0
  63. /data/lib/{getaround-api → get_around_owner}/models/user.rb +0 -0
  64. /data/lib/{getaround-api → get_around_owner}/models/users_updated.rb +0 -0
  65. /data/lib/{getaround-api → get_around_owner}/models/webhook.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c638413f4550121d634e65b4a07975dd143a3c534c2cdf69e3689d23b6f5d122
4
- data.tar.gz: 5c0a8d3a314b3d6fe675e940e00ac54dbf63325edd357ddb8bb90d32022d6015
3
+ metadata.gz: 6a83c364ee219420076d42bdea794b4d6c711a56414c6c3df7a65dba57363081
4
+ data.tar.gz: dd7446021c346645d03a34f96f8fbd5c01bc97fc6299f1d1e4b212fc170de7e2
5
5
  SHA512:
6
- metadata.gz: 729b0c4684a53b7cf1e0dad66bc2a4db45ffc2236f618f9607037f043229be650f18dfa181e931b5778367723dbaf427e24f179c044dd758adaa0425d9a0d69d
7
- data.tar.gz: 2871ed0d6f97618e7df4db14b312604e97342b523aad831e277ca286d2762d68f4dd658f1c19c3264c45b2217dcc76a0891bf6650375fe00ac87939ac3d7d925
6
+ metadata.gz: '089b9a94b1aa85340efe45f94c4362d735bee32e5b4f8d3b410337d5502e0125196c42db392f20b769c2273f1cb307a96895debd5cccdde5c6cb307ae7b61706'
7
+ data.tar.gz: e9f49fa42094499658dc0a4bbaaf55145be6101238b089cc73cbd1c9620e637b2aedb961ce90616041e40bbfa36afbbc513cbd743f59def55e669bc382333509
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # getaround-api
1
+ # get_around_owner
2
2
 
3
3
  GetAroundOwner - the Ruby gem for the Getaround Owner API
4
4
 
5
- # Quick Start The Owner API uses the JSON format, and must be accessed over a [secure connection](https://en.wikipedia.org/wiki/HTTPS). Let’s assume that the access token provided by your account manager is “TOKEN”. Here’s how to get the list of ids of all your invoices from the first week of August with a shell script: ```bash query=\"end_date=2018-08-08T00%3A00%3A00%2B00%3A00&start_date=2018-08-01T00%3A00%3A00%2B00%3A00\" curl -i \"https://api-eu.getaround.com/owner/v1/invoices?${query}\" \\ -H \"Authorization: Bearer TOKEN\" \\ -H \"Accept:application/json\" \\ -H \"Content-Type:application/json\" ``` And here’s how to get the invoice with the id 12345: ```bash curl -i \"https://api-eu.getaround.com/owner/v1/invoices/12345\" \\ -H \"Authorization: Bearer TOKEN\" \\ -H \"Accept: application/json\" \\ -H \"Content-Type: application/json\"\" ``` See the [endpoints section](#tag/Invoices) of this guide for details about the response format. Dates in request params should follow the ISO 8601 standard. # Authentication All requests must be authenticated with a [bearer token header](https://tools.ietf.org/html/rfc6750#section-2.1). You token will be sent to you by your account manager. Unauthenticated requests will return a 401 status. # Pagination The page number and the number of items per page can be set with the “page” and “per_page” params. For example, this request will return the second page of invoices, and 50 invoices per page: `https://api-eu.getaround.com/owner/v1/invoices?page=2&per_page=50` Both of these params are optional. The default page size is 30 items. The Getaround Owner API follows the [RFC 8288 convention](https://datatracker.ietf.org/doc/html/rfc8288) of using the `Link` header to provide the `next` page URL. Please don't build the pagination URLs yourself. The `next` page will be missing when you are requesting the last available page. Here's an example response header from requesting the second page of invoices `https://api-eu.getaround.com/owner/v1/invoices?page=2&per_page=50` ``` Link: <https://api-eu.getaround.com/owner/v1/invoices?page=3&per_page=50>; rel=\"next\" ``` # Throttling policy and Date range limitation We have throttling policy that prevents you to perform more than 100 requests per min from the same IP. Also, there is a limitation on the size of the range of dates given in params in some requests. All requests that need start_date and end_date, do not accept a range bigger than 30 days. # Webhooks Getaround can send webhook events that notify your application when certain events happen on your account. This is especially useful to follow the lifecycle of rentals, tracking for example bookings or cancellations. ### Setup To set up an endpoint, you need to define a route on your server for receiving events, and then <a href=\"mailto:owner-api@getaround.com\">ask Getaround</a> to add this URL to your account. To acknowledge receipt of a event, your endpoint must: - Return a `2xx` HTTP status code. - Be a secure `https` endpoint with a valid SSL certificate. ### Testing Once Getaround has set up the endpoint, and it is properly configured as described above, a test `ping` event can be sent by clicking the button below: <form action=\"/docs/api/owner/fire_ping_webhook\" method=\"post\"><input type=\"submit\" value=\"Send Ping Event\"></form> You should receive the following JSON payload: ```json { \"data\": { \"ping\": \"pong\" }, \"type\": \"ping\", \"occurred_at\": \"2019-04-18T08:30:05Z\" } ``` ### Retries Webhook deliveries will be attempted for up to three days with an exponential back off. After that point the delivery will be abandoned. ### Verifying Signatures Getaround will also provide you with a secret token, which is used to create a hash signature with each payload. This hash signature is passed along with each request in the headers as `X-Drivy-Signature`. Suppose you have a basic server listening to webhooks that looks like this: ```ruby require 'sinatra' require 'json' post '/payload' do push = JSON.parse(params[:payload]) \"I got some JSON: #{push.inspect}\" end ``` The goal is to compute a hash using your secret token, and ensure that the hash from Getaround matches. Getaround uses an HMAC hexdigest to compute the hash, so you could change your server to look a little like this: ```ruby post '/payload' do request.body.rewind payload_body = request.body.read verify_signature(payload_body) push = JSON.parse(params[:payload]) \"I got some JSON: #{push.inspect}\" end def verify_signature(payload_body) signature = 'sha1=' + OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha1'), ENV['SECRET_TOKEN'], payload_body) return halt 500, \"Signatures didn't match!\" unless Rack::Utils.secure_compare(signature, request.env['HTTP_X_DRIVY_SIGNATURE']) end ``` Obviously, your language and server implementations may differ from this code. There are a couple of important things to point out, however: No matter which implementation you use, the hash signature starts with `sha1=`, using the key of your secret token and your payload body. Using a plain `==` operator is not advised. A method like secure_compare performs a \"constant time\" string comparison, which renders it safe from certain timing attacks against regular equality operators. ### Best Practices - **Acknowledge events immediately**. If your webhook script performs complex logic, or makes network calls, it’s possible that the script would time out before Getaround sees its complete execution. Ideally, your webhook handler code (acknowledging receipt of an event by returning a `2xx` status code) is separate of any other logic you do for that event. - **Handle duplicate events**. Webhook endpoints might occasionally receive the same event more than once. We advise you to guard against duplicated event receipts by making your event processing idempotent. One way of doing this is logging the events you’ve processed, and then not processing already-logged events. - **Do not expect events in order**. Getaround does not guarantee delivery of events in the order in which they are generated. Your endpoint should therefore handle this accordingly. We do provide an `occurred_at` timestamp for each event, though, to help reconcile ordering.
5
+ # Quick Start The Owner API uses the JSON format, and must be accessed over a [secure connection](https://en.wikipedia.org/wiki/HTTPS). Let’s assume that the access token provided by your account manager is “TOKEN”. Here’s how to get the list of ids of all your invoices from the first week of August with a shell script: `bash query=\"end_date=2018-08-08T00%3A00%3A00%2B00%3A00&start_date=2018-08-01T00%3A00%3A00%2B00%3A00\" curl -i \"https://api-eu.getaround.com/owner/v1/invoices?${query}\" \\ -H \"Authorization: Bearer TOKEN\" \\ -H \"Accept:application/json\" \\ -H \"Content-Type:application/json\" ` And here’s how to get the invoice with the id 12345: `bash curl -i \"https://api-eu.getaround.com/owner/v1/invoices/12345\" \\ -H \"Authorization: Bearer TOKEN\" \\ -H \"Accept: application/json\" \\ -H \"Content-Type: application/json\"\" ` See the [endpoints section](#tag/Invoices) of this guide for details about the response format. Dates in request params should follow the ISO 8601 standard. # Authentication All requests must be authenticated with a [bearer token header](https://tools.ietf.org/html/rfc6750#section-2.1). You token will be sent to you by your account manager. Unauthenticated requests will return a 401 status. # Pagination The page number and the number of items per page can be set with the “page” and “per_page” params. For example, this request will return the second page of invoices, and 50 invoices per page: `https://api-eu.getaround.com/owner/v1/invoices?page=2&per_page=50` Both of these params are optional. The default page size is 30 items. The Getaround Owner API follows the [RFC 8288 convention](https://datatracker.ietf.org/doc/html/rfc8288) of using the `Link` header to provide the `next` page URL. Please don't build the pagination URLs yourself. The `next` page will be missing when you are requesting the last available page. Here's an example response header from requesting the second page of invoices `https://api-eu.getaround.com/owner/v1/invoices?page=2&per_page=50` `Link: <https://api-eu.getaround.com/owner/v1/invoices?page=3&per_page=50>; rel=\"next\"` # Throttling policy and Date range limitation We have throttling policy that prevents you to perform more than 100 requests per min from the same IP. Also, there is a limitation on the size of the range of dates given in params in some requests. All requests that need start_date and end_date, do not accept a range bigger than 30 days. # Webhooks Getaround can send webhook events that notify your application when certain events happen on your account. This is especially useful to follow the lifecycle of rentals, tracking for example bookings or cancellations. ### Setup To set up an endpoint, you need to define a route on your server for receiving events, and then <a href=\"mailto:owner-api@getaround.com\">ask Getaround</a> to add this URL to your account. To acknowledge receipt of a event, your endpoint must: - Return a `2xx` HTTP status code. - Be a secure `https` endpoint with a valid SSL certificate. ### Testing Once Getaround has set up the endpoint, and it is properly configured as described above, a test `ping` event can be sent by clicking the button below: <form action=\"/docs/api/owner/fire_ping_webhook\" method=\"post\"><input type=\"submit\" value=\"Send Ping Event\"></form> You should receive the following JSON payload: `json { \"data\": { \"ping\": \"pong\" }, \"type\": \"ping\", \"occurred_at\": \"2019-04-18T08:30:05Z\" } ` ### Retries Webhook deliveries will be attempted for up to three days with an exponential back off. After that point the delivery will be abandoned. ### Verifying Signatures Getaround will also provide you with a secret token, which is used to create a hash signature with each payload. This hash signature is passed along with each request in the headers as `X-Drivy-Signature`. Suppose you have a basic server listening to webhooks that looks like this: `ruby require 'sinatra' require 'json' post '/payload' do push = JSON.parse(params[:payload]) \"I got some JSON: #{push.inspect}\" end ` The goal is to compute a hash using your secret token, and ensure that the hash from Getaround matches. Getaround uses an HMAC hexdigest to compute the hash, so you could change your server to look a little like this: `ruby post '/payload' do request.body.rewind payload_body = request.body.read verify_signature(payload_body) push = JSON.parse(params[:payload]) \"I got some JSON: #{push.inspect}\" end def verify_signature(payload_body) signature = 'sha1=' + OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha1'), ENV['SECRET_TOKEN'], payload_body) return halt 500, \"Signatures didn't match!\" unless Rack::Utils.secure_compare(signature, request.env['HTTP_X_DRIVY_SIGNATURE']) end ` Obviously, your language and server implementations may differ from this code. There are a couple of important things to point out, however: No matter which implementation you use, the hash signature starts with `sha1=`, using the key of your secret token and your payload body. Using a plain `==` operator is not advised. A method like secure_compare performs a \"constant time\" string comparison, which renders it safe from certain timing attacks against regular equality operators. ### Best Practices - **Acknowledge events immediately**. If your webhook script performs complex logic, or makes network calls, it’s possible that the script would time out before Getaround sees its complete execution. Ideally, your webhook handler code (acknowledging receipt of an event by returning a `2xx` status code) is separate of any other logic you do for that event. - **Handle duplicate events**. Webhook endpoints might occasionally receive the same event more than once. We advise you to guard against duplicated event receipts by making your event processing idempotent. One way of doing this is logging the events you’ve processed, and then not processing already-logged events. - **Do not expect events in order**. Getaround does not guarantee delivery of events in the order in which they are generated. Your endpoint should therefore handle this accordingly. We do provide an `occurred_at` timestamp for each event, though, to help reconcile ordering.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.0.2
10
+ - Package version: 1.0.5
11
11
  - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -17,27 +17,28 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
17
17
  To build the Ruby code into a gem:
18
18
 
19
19
  ```shell
20
- gem build getaround-api.gemspec
20
+ gem build get_around_owner.gemspec
21
21
  ```
22
22
 
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./getaround-api-1.0.2.gem
26
+ gem install ./get_around_owner-1.0.5.gem
27
27
  ```
28
- (for development, run `gem install --dev ./getaround-api-1.0.2.gem` to install the development dependencies)
28
+
29
+ (for development, run `gem install --dev ./get_around_owner-1.0.5.gem` to install the development dependencies)
29
30
 
30
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
32
 
32
33
  Finally add this to the Gemfile:
33
34
 
34
- gem 'getaround-api', '~> 1.0.2'
35
+ gem 'get_around_owner', '~> 1.0.5'
35
36
 
36
37
  ### Install from Git
37
38
 
38
39
  If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
39
40
 
40
- gem 'getaround-api', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
41
+ gem 'get_around_owner', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
41
42
 
42
43
  ### Include the Ruby code directly
43
44
 
@@ -50,9 +51,10 @@ ruby -Ilib script.rb
50
51
  ## Getting Started
51
52
 
52
53
  Please follow the [installation](#installation) procedure and then run the following code:
54
+
53
55
  ```ruby
54
56
  # Load the gem
55
- require 'getaround-api'
57
+ require 'get_around_owner'
56
58
  # Setup authorization
57
59
  GetAroundOwner.configure do |config|
58
60
  end
@@ -73,7 +75,7 @@ GetAroundOwner.configure do |config|
73
75
  end
74
76
 
75
77
  api_instance = GetAroundOwner::CarsApi.new
76
- opts = {
78
+ opts = {
77
79
  page: GetAroundOwner::null.new, # | Page number
78
80
  per_page: GetAroundOwner::null.new # | Page size
79
81
  }
@@ -107,7 +109,7 @@ end
107
109
  api_instance = GetAroundOwner::CheckinsApi.new
108
110
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
109
111
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
110
- opts = {
112
+ opts = {
111
113
  page: GetAroundOwner::null.new, # | Page number
112
114
  per_page: GetAroundOwner::null.new # | Page size
113
115
  }
@@ -141,7 +143,7 @@ end
141
143
  api_instance = GetAroundOwner::CheckoutsApi.new
142
144
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
143
145
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
144
- opts = {
146
+ opts = {
145
147
  page: GetAroundOwner::null.new, # | Page number
146
148
  per_page: GetAroundOwner::null.new # | Page size
147
149
  }
@@ -173,7 +175,7 @@ GetAroundOwner.configure do |config|
173
175
  end
174
176
 
175
177
  api_instance = GetAroundOwner::InvoicesApi.new
176
- opts = {
178
+ opts = {
177
179
  start_date: GetAroundOwner::null.new, # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
178
180
  end_date: GetAroundOwner::null.new, # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
179
181
  page: GetAroundOwner::null.new, # | Page number
@@ -193,7 +195,7 @@ end
193
195
 
194
196
  api_instance = GetAroundOwner::InvoicesApi.new
195
197
  rental_id = GetAroundOwner::null.new # | ID of rental
196
- opts = {
198
+ opts = {
197
199
  page: GetAroundOwner::null.new, # | Page number
198
200
  per_page: GetAroundOwner::null.new # | Page size
199
201
  }
@@ -211,7 +213,7 @@ end
211
213
 
212
214
  api_instance = GetAroundOwner::MessagesApi.new
213
215
  rental_id = GetAroundOwner::null.new # | ID of rental
214
- opts = {
216
+ opts = {
215
217
  body: GetAroundOwner::RentalIdMessagesJsonBody.new # RentalIdMessagesJsonBody | Message to create
216
218
  }
217
219
 
@@ -275,7 +277,7 @@ end
275
277
  api_instance = GetAroundOwner::PayoutsApi.new
276
278
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
277
279
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
278
- opts = {
280
+ opts = {
279
281
  page: GetAroundOwner::null.new, # | Page number
280
282
  per_page: GetAroundOwner::null.new # | Page size
281
283
  }
@@ -309,7 +311,7 @@ end
309
311
  api_instance = GetAroundOwner::RentalsApi.new
310
312
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
311
313
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
312
- opts = {
314
+ opts = {
313
315
  page: GetAroundOwner::null.new, # | Page number
314
316
  per_page: GetAroundOwner::null.new # | Page size
315
317
  }
@@ -327,7 +329,7 @@ end
327
329
 
328
330
  api_instance = GetAroundOwner::UnavailabilitiesApi.new
329
331
  car_id = GetAroundOwner::null.new # | ID of car
330
- opts = {
332
+ opts = {
331
333
  body: GetAroundOwner::CarIdUnavailabilitiesJsonBody.new # CarIdUnavailabilitiesJsonBody | Unavailability to create
332
334
  }
333
335
 
@@ -359,7 +361,7 @@ api_instance = GetAroundOwner::UnavailabilitiesApi.new
359
361
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
360
362
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
361
363
  car_id = GetAroundOwner::null.new # | ID of the car
362
- opts = {
364
+ opts = {
363
365
  page: GetAroundOwner::null.new, # | Page number
364
366
  per_page: GetAroundOwner::null.new # | Page size
365
367
  }
@@ -392,69 +394,66 @@ end
392
394
 
393
395
  All URIs are relative to *https://api-eu.getaround.com/owner/v1*
394
396
 
395
- Class | Method | HTTP request | Description
396
- ------------ | ------------- | ------------- | -------------
397
- *GetAroundOwner::CarsApi* | [**get_car_by_id**](docs/CarsApi.md#get_car_by_id) | **GET** /cars/{id}.json | Find a car by ID
398
- *GetAroundOwner::CarsApi* | [**get_cars**](docs/CarsApi.md#get_cars) | **GET** /cars.json | Find all cars
399
- *GetAroundOwner::CheckinsApi* | [**get_checkin_by_rental_id**](docs/CheckinsApi.md#get_checkin_by_rental_id) | **GET** /rentals/{rental_id}/checkin.json | Find a checkin by rental ID
400
- *GetAroundOwner::CheckinsApi* | [**get_checkins**](docs/CheckinsApi.md#get_checkins) | **GET** /checkins.json | List of checkins that occurred between two dates
401
- *GetAroundOwner::CheckoutsApi* | [**get_checkout_by_rental_id**](docs/CheckoutsApi.md#get_checkout_by_rental_id) | **GET** /rentals/{rental_id}/checkout.json | Find a checkout by rental ID
402
- *GetAroundOwner::CheckoutsApi* | [**get_checkouts**](docs/CheckoutsApi.md#get_checkouts) | **GET** /checkouts.json | List of checkouts that occurred between two dates
403
- *GetAroundOwner::InvoicesApi* | [**get_invoice_by_id**](docs/InvoicesApi.md#get_invoice_by_id) | **GET** /invoices/{id}.json | Find an invoice by ID
404
- *GetAroundOwner::InvoicesApi* | [**get_invoices**](docs/InvoicesApi.md#get_invoices) | **GET** /invoices.json | Find invoices emitted between dates
405
- *GetAroundOwner::InvoicesApi* | [**get_invoices_for_rental**](docs/InvoicesApi.md#get_invoices_for_rental) | **GET** /rentals/{rental_id}/invoices.json | Find invoices associated to a rental
406
- *GetAroundOwner::MessagesApi* | [**create_messages**](docs/MessagesApi.md#create_messages) | **POST** /rentals/{rental_id}/messages.json | Create Message associated to a rental
407
- *GetAroundOwner::MessagesApi* | [**get_message_by_id**](docs/MessagesApi.md#get_message_by_id) | **GET** /rentals/{rental_id}/messages/{id}.json | Find a message by ID associated to a rental
408
- *GetAroundOwner::MessagesApi* | [**get_messages_for_rental**](docs/MessagesApi.md#get_messages_for_rental) | **GET** /rentals/{rental_id}/messages.json | Find messages associated to a rental
409
- *GetAroundOwner::PayoutsApi* | [**get_payout_by_id**](docs/PayoutsApi.md#get_payout_by_id) | **GET** /payouts/{id}.json | Find a payout by ID
410
- *GetAroundOwner::PayoutsApi* | [**get_payouts**](docs/PayoutsApi.md#get_payouts) | **GET** /payouts.json | Find payouts paid between dates
411
- *GetAroundOwner::RentalsApi* | [**get_rental_by_id**](docs/RentalsApi.md#get_rental_by_id) | **GET** /rentals/{id}.json | Find a rental by ID
412
- *GetAroundOwner::RentalsApi* | [**get_rentals**](docs/RentalsApi.md#get_rentals) | **GET** /rentals.json | Find rentals booked between dates
413
- *GetAroundOwner::UnavailabilitiesApi* | [**create_unavailabilities**](docs/UnavailabilitiesApi.md#create_unavailabilities) | **POST** /cars/{car_id}/unavailabilities.json | Create Unavailability related to a car between dates
414
- *GetAroundOwner::UnavailabilitiesApi* | [**destroy_unavailability**](docs/UnavailabilitiesApi.md#destroy_unavailability) | **DELETE** /cars/{car_id}/unavailabilities.json | Destroy Unavailability related to a car between dates
415
- *GetAroundOwner::UnavailabilitiesApi* | [**get_unavailabilities_for_car**](docs/UnavailabilitiesApi.md#get_unavailabilities_for_car) | **GET** /cars/{car_id}/unavailabilities.json | Find Unavailabilities related to a car between dates
416
- *GetAroundOwner::UsersApi* | [**get_user_by_id**](docs/UsersApi.md#get_user_by_id) | **GET** /users/{id}.json | Find a user by ID (Users are customers who rent one of your cars)
397
+ | Class | Method | HTTP request | Description |
398
+ | ------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------- | ----------------------------------------------------------------- |
399
+ | _GetAroundOwner::CarsApi_ | [**get_car_by_id**](docs/CarsApi.md#get_car_by_id) | **GET** /cars/{id}.json | Find a car by ID |
400
+ | _GetAroundOwner::CarsApi_ | [**get_cars**](docs/CarsApi.md#get_cars) | **GET** /cars.json | Find all cars |
401
+ | _GetAroundOwner::CheckinsApi_ | [**get_checkin_by_rental_id**](docs/CheckinsApi.md#get_checkin_by_rental_id) | **GET** /rentals/{rental_id}/checkin.json | Find a checkin by rental ID |
402
+ | _GetAroundOwner::CheckinsApi_ | [**get_checkins**](docs/CheckinsApi.md#get_checkins) | **GET** /checkins.json | List of checkins that occurred between two dates |
403
+ | _GetAroundOwner::CheckoutsApi_ | [**get_checkout_by_rental_id**](docs/CheckoutsApi.md#get_checkout_by_rental_id) | **GET** /rentals/{rental_id}/checkout.json | Find a checkout by rental ID |
404
+ | _GetAroundOwner::CheckoutsApi_ | [**get_checkouts**](docs/CheckoutsApi.md#get_checkouts) | **GET** /checkouts.json | List of checkouts that occurred between two dates |
405
+ | _GetAroundOwner::InvoicesApi_ | [**get_invoice_by_id**](docs/InvoicesApi.md#get_invoice_by_id) | **GET** /invoices/{id}.json | Find an invoice by ID |
406
+ | _GetAroundOwner::InvoicesApi_ | [**get_invoices**](docs/InvoicesApi.md#get_invoices) | **GET** /invoices.json | Find invoices emitted between dates |
407
+ | _GetAroundOwner::InvoicesApi_ | [**get_invoices_for_rental**](docs/InvoicesApi.md#get_invoices_for_rental) | **GET** /rentals/{rental_id}/invoices.json | Find invoices associated to a rental |
408
+ | _GetAroundOwner::MessagesApi_ | [**create_messages**](docs/MessagesApi.md#create_messages) | **POST** /rentals/{rental_id}/messages.json | Create Message associated to a rental |
409
+ | _GetAroundOwner::MessagesApi_ | [**get_message_by_id**](docs/MessagesApi.md#get_message_by_id) | **GET** /rentals/{rental_id}/messages/{id}.json | Find a message by ID associated to a rental |
410
+ | _GetAroundOwner::MessagesApi_ | [**get_messages_for_rental**](docs/MessagesApi.md#get_messages_for_rental) | **GET** /rentals/{rental_id}/messages.json | Find messages associated to a rental |
411
+ | _GetAroundOwner::PayoutsApi_ | [**get_payout_by_id**](docs/PayoutsApi.md#get_payout_by_id) | **GET** /payouts/{id}.json | Find a payout by ID |
412
+ | _GetAroundOwner::PayoutsApi_ | [**get_payouts**](docs/PayoutsApi.md#get_payouts) | **GET** /payouts.json | Find payouts paid between dates |
413
+ | _GetAroundOwner::RentalsApi_ | [**get_rental_by_id**](docs/RentalsApi.md#get_rental_by_id) | **GET** /rentals/{id}.json | Find a rental by ID |
414
+ | _GetAroundOwner::RentalsApi_ | [**get_rentals**](docs/RentalsApi.md#get_rentals) | **GET** /rentals.json | Find rentals booked between dates |
415
+ | _GetAroundOwner::UnavailabilitiesApi_ | [**create_unavailabilities**](docs/UnavailabilitiesApi.md#create_unavailabilities) | **POST** /cars/{car_id}/unavailabilities.json | Create Unavailability related to a car between dates |
416
+ | _GetAroundOwner::UnavailabilitiesApi_ | [**destroy_unavailability**](docs/UnavailabilitiesApi.md#destroy_unavailability) | **DELETE** /cars/{car_id}/unavailabilities.json | Destroy Unavailability related to a car between dates |
417
+ | _GetAroundOwner::UnavailabilitiesApi_ | [**get_unavailabilities_for_car**](docs/UnavailabilitiesApi.md#get_unavailabilities_for_car) | **GET** /cars/{car_id}/unavailabilities.json | Find Unavailabilities related to a car between dates |
418
+ | _GetAroundOwner::UsersApi_ | [**get_user_by_id**](docs/UsersApi.md#get_user_by_id) | **GET** /users/{id}.json | Find a user by ID (Users are customers who rent one of your cars) |
417
419
 
418
420
  ## Documentation for Models
419
421
 
420
- - [GetAroundOwner::Car](docs/Car.md)
421
- - [GetAroundOwner::CarId](docs/CarId.md)
422
- - [GetAroundOwner::CarIdUnavailabilitiesJsonBody](docs/CarIdUnavailabilitiesJsonBody.md)
423
- - [GetAroundOwner::CarsIndex](docs/CarsIndex.md)
424
- - [GetAroundOwner::Checkin](docs/Checkin.md)
425
- - [GetAroundOwner::CheckinsIndex](docs/CheckinsIndex.md)
426
- - [GetAroundOwner::Checkout](docs/Checkout.md)
427
- - [GetAroundOwner::CheckoutsIndex](docs/CheckoutsIndex.md)
428
- - [GetAroundOwner::EndsAt](docs/EndsAt.md)
429
- - [GetAroundOwner::Invoice](docs/Invoice.md)
430
- - [GetAroundOwner::InvoicesIndex](docs/InvoicesIndex.md)
431
- - [GetAroundOwner::Message](docs/Message.md)
432
- - [GetAroundOwner::MessagesSent](docs/MessagesSent.md)
433
- - [GetAroundOwner::Payout](docs/Payout.md)
434
- - [GetAroundOwner::PayoutsIndex](docs/PayoutsIndex.md)
435
- - [GetAroundOwner::Rental](docs/Rental.md)
436
- - [GetAroundOwner::RentalIdMessagesJsonBody](docs/RentalIdMessagesJsonBody.md)
437
- - [GetAroundOwner::RentalInvoicesIndex](docs/RentalInvoicesIndex.md)
438
- - [GetAroundOwner::RentalMessagesIndex](docs/RentalMessagesIndex.md)
439
- - [GetAroundOwner::RentalsBooked](docs/RentalsBooked.md)
440
- - [GetAroundOwner::RentalsCanceled](docs/RentalsCanceled.md)
441
- - [GetAroundOwner::RentalsCarCheckedIn](docs/RentalsCarCheckedIn.md)
442
- - [GetAroundOwner::RentalsCarCheckedOut](docs/RentalsCarCheckedOut.md)
443
- - [GetAroundOwner::RentalsCarSwitched](docs/RentalsCarSwitched.md)
444
- - [GetAroundOwner::RentalsIndex](docs/RentalsIndex.md)
445
- - [GetAroundOwner::RentalsTimesChanged](docs/RentalsTimesChanged.md)
446
- - [GetAroundOwner::StartsAt](docs/StartsAt.md)
447
- - [GetAroundOwner::UnavailabilitiesCreated](docs/UnavailabilitiesCreated.md)
448
- - [GetAroundOwner::UnavailabilitiesDeleted](docs/UnavailabilitiesDeleted.md)
449
- - [GetAroundOwner::UnavailabilitiesIndex](docs/UnavailabilitiesIndex.md)
450
- - [GetAroundOwner::Unavailability](docs/Unavailability.md)
451
- - [GetAroundOwner::User](docs/User.md)
452
- - [GetAroundOwner::UsersUpdated](docs/UsersUpdated.md)
453
- - [GetAroundOwner::Webhook](docs/Webhook.md)
422
+ - [GetAroundOwner::Car](docs/Car.md)
423
+ - [GetAroundOwner::CarId](docs/CarId.md)
424
+ - [GetAroundOwner::CarIdUnavailabilitiesJsonBody](docs/CarIdUnavailabilitiesJsonBody.md)
425
+ - [GetAroundOwner::CarsIndex](docs/CarsIndex.md)
426
+ - [GetAroundOwner::Checkin](docs/Checkin.md)
427
+ - [GetAroundOwner::CheckinsIndex](docs/CheckinsIndex.md)
428
+ - [GetAroundOwner::Checkout](docs/Checkout.md)
429
+ - [GetAroundOwner::CheckoutsIndex](docs/CheckoutsIndex.md)
430
+ - [GetAroundOwner::EndsAt](docs/EndsAt.md)
431
+ - [GetAroundOwner::Invoice](docs/Invoice.md)
432
+ - [GetAroundOwner::InvoicesIndex](docs/InvoicesIndex.md)
433
+ - [GetAroundOwner::Message](docs/Message.md)
434
+ - [GetAroundOwner::MessagesSent](docs/MessagesSent.md)
435
+ - [GetAroundOwner::Payout](docs/Payout.md)
436
+ - [GetAroundOwner::PayoutsIndex](docs/PayoutsIndex.md)
437
+ - [GetAroundOwner::Rental](docs/Rental.md)
438
+ - [GetAroundOwner::RentalIdMessagesJsonBody](docs/RentalIdMessagesJsonBody.md)
439
+ - [GetAroundOwner::RentalInvoicesIndex](docs/RentalInvoicesIndex.md)
440
+ - [GetAroundOwner::RentalMessagesIndex](docs/RentalMessagesIndex.md)
441
+ - [GetAroundOwner::RentalsBooked](docs/RentalsBooked.md)
442
+ - [GetAroundOwner::RentalsCanceled](docs/RentalsCanceled.md)
443
+ - [GetAroundOwner::RentalsCarCheckedIn](docs/RentalsCarCheckedIn.md)
444
+ - [GetAroundOwner::RentalsCarCheckedOut](docs/RentalsCarCheckedOut.md)
445
+ - [GetAroundOwner::RentalsCarSwitched](docs/RentalsCarSwitched.md)
446
+ - [GetAroundOwner::RentalsIndex](docs/RentalsIndex.md)
447
+ - [GetAroundOwner::RentalsTimesChanged](docs/RentalsTimesChanged.md)
448
+ - [GetAroundOwner::StartsAt](docs/StartsAt.md)
449
+ - [GetAroundOwner::UnavailabilitiesCreated](docs/UnavailabilitiesCreated.md)
450
+ - [GetAroundOwner::UnavailabilitiesDeleted](docs/UnavailabilitiesDeleted.md)
451
+ - [GetAroundOwner::UnavailabilitiesIndex](docs/UnavailabilitiesIndex.md)
452
+ - [GetAroundOwner::Unavailability](docs/Unavailability.md)
453
+ - [GetAroundOwner::User](docs/User.md)
454
+ - [GetAroundOwner::UsersUpdated](docs/UsersUpdated.md)
455
+ - [GetAroundOwner::Webhook](docs/Webhook.md)
454
456
 
455
457
  ## Documentation for Authorization
456
458
 
457
-
458
459
  ### bearerAuth
459
-
460
-
data/docs/CarsApi.md CHANGED
@@ -2,12 +2,13 @@
2
2
 
3
3
  All URIs are relative to *https://api-eu.getaround.com/owner/v1*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_car_by_id**](CarsApi.md#get_car_by_id) | **GET** /cars/{id}.json | Find a car by ID
8
- [**get_cars**](CarsApi.md#get_cars) | **GET** /cars.json | Find all cars
5
+ | Method | HTTP request | Description |
6
+ | --------------------------------------------- | ----------------------- | ---------------- |
7
+ | [**get_car_by_id**](CarsApi.md#get_car_by_id) | **GET** /cars/{id}.json | Find a car by ID |
8
+ | [**get_cars**](CarsApi.md#get_cars) | **GET** /cars.json | Find all cars |
9
9
 
10
10
  # **get_car_by_id**
11
+
11
12
  > Car get_car_by_id(id)
12
13
 
13
14
  Find a car by ID
@@ -15,9 +16,10 @@ Find a car by ID
15
16
  Find a car by ID
16
17
 
17
18
  ### Example
19
+
18
20
  ```ruby
19
21
  # load the gem
20
- require 'getaround-api'
22
+ require 'get_around_owner'
21
23
  # setup authorization
22
24
  GetAroundOwner.configure do |config|
23
25
  end
@@ -37,9 +39,9 @@ end
37
39
 
38
40
  ### Parameters
39
41
 
40
- Name | Type | Description | Notes
41
- ------------- | ------------- | ------------- | -------------
42
- **id** | [****](.md)| ID of car to return |
42
+ | Name | Type | Description | Notes |
43
+ | ------ | --------------- | ------------------- | ----- |
44
+ | **id** | [\*\*\*\*](.md) | ID of car to return |
43
45
 
44
46
  ### Return type
45
47
 
@@ -51,12 +53,11 @@ Name | Type | Description | Notes
51
53
 
52
54
  ### HTTP request headers
53
55
 
54
- - **Content-Type**: Not defined
55
- - **Accept**: application/json
56
-
57
-
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
58
 
59
59
  # **get_cars**
60
+
60
61
  > CarsIndex get_cars(opts)
61
62
 
62
63
  Find all cars
@@ -64,15 +65,16 @@ Find all cars
64
65
  Find all cars
65
66
 
66
67
  ### Example
68
+
67
69
  ```ruby
68
70
  # load the gem
69
- require 'getaround-api'
71
+ require 'get_around_owner'
70
72
  # setup authorization
71
73
  GetAroundOwner.configure do |config|
72
74
  end
73
75
 
74
76
  api_instance = GetAroundOwner::CarsApi.new
75
- opts = {
77
+ opts = {
76
78
  page: GetAroundOwner::null.new, # | Page number
77
79
  per_page: GetAroundOwner::null.new # | Page size
78
80
  }
@@ -88,10 +90,10 @@ end
88
90
 
89
91
  ### Parameters
90
92
 
91
- Name | Type | Description | Notes
92
- ------------- | ------------- | ------------- | -------------
93
- **page** | [****](.md)| Page number | [optional]
94
- **per_page** | [****](.md)| Page size | [optional] [default to 30]
93
+ | Name | Type | Description | Notes |
94
+ | ------------ | --------------- | ----------- | -------------------------- |
95
+ | **page** | [\*\*\*\*](.md) | Page number | [optional] |
96
+ | **per_page** | [\*\*\*\*](.md) | Page size | [optional] [default to 30] |
95
97
 
96
98
  ### Return type
97
99
 
@@ -103,8 +105,5 @@ Name | Type | Description | Notes
103
105
 
104
106
  ### HTTP request headers
105
107
 
106
- - **Content-Type**: Not defined
107
- - **Accept**: application/json
108
-
109
-
110
-
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
data/docs/CheckinsApi.md CHANGED
@@ -2,12 +2,13 @@
2
2
 
3
3
  All URIs are relative to *https://api-eu.getaround.com/owner/v1*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_checkin_by_rental_id**](CheckinsApi.md#get_checkin_by_rental_id) | **GET** /rentals/{rental_id}/checkin.json | Find a checkin by rental ID
8
- [**get_checkins**](CheckinsApi.md#get_checkins) | **GET** /checkins.json | List of checkins that occurred between two dates
5
+ | Method | HTTP request | Description |
6
+ | ----------------------------------------------------------------------- | ----------------------------------------- | ------------------------------------------------ |
7
+ | [**get_checkin_by_rental_id**](CheckinsApi.md#get_checkin_by_rental_id) | **GET** /rentals/{rental_id}/checkin.json | Find a checkin by rental ID |
8
+ | [**get_checkins**](CheckinsApi.md#get_checkins) | **GET** /checkins.json | List of checkins that occurred between two dates |
9
9
 
10
10
  # **get_checkin_by_rental_id**
11
+
11
12
  > Checkin get_checkin_by_rental_id(rental_id)
12
13
 
13
14
  Find a checkin by rental ID
@@ -15,9 +16,10 @@ Find a checkin by rental ID
15
16
  Find a checkin by rental ID
16
17
 
17
18
  ### Example
19
+
18
20
  ```ruby
19
21
  # load the gem
20
- require 'getaround-api'
22
+ require 'get_around_owner'
21
23
  # setup authorization
22
24
  GetAroundOwner.configure do |config|
23
25
  end
@@ -37,9 +39,9 @@ end
37
39
 
38
40
  ### Parameters
39
41
 
40
- Name | Type | Description | Notes
41
- ------------- | ------------- | ------------- | -------------
42
- **rental_id** | [****](.md)| ID of the rental related to the checkin to return |
42
+ | Name | Type | Description | Notes |
43
+ | ------------- | --------------- | ------------------------------------------------- | ----- |
44
+ | **rental_id** | [\*\*\*\*](.md) | ID of the rental related to the checkin to return |
43
45
 
44
46
  ### Return type
45
47
 
@@ -51,12 +53,11 @@ Name | Type | Description | Notes
51
53
 
52
54
  ### HTTP request headers
53
55
 
54
- - **Content-Type**: Not defined
55
- - **Accept**: application/json
56
-
57
-
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
58
 
59
59
  # **get_checkins**
60
+
60
61
  > CheckinsIndex get_checkins(start_date, end_date, opts)
61
62
 
62
63
  List of checkins that occurred between two dates
@@ -64,9 +65,10 @@ List of checkins that occurred between two dates
64
65
  List of checkins that occurred between two dates
65
66
 
66
67
  ### Example
68
+
67
69
  ```ruby
68
70
  # load the gem
69
- require 'getaround-api'
71
+ require 'get_around_owner'
70
72
  # setup authorization
71
73
  GetAroundOwner.configure do |config|
72
74
  end
@@ -74,7 +76,7 @@ end
74
76
  api_instance = GetAroundOwner::CheckinsApi.new
75
77
  start_date = GetAroundOwner::null.new # | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
76
78
  end_date = GetAroundOwner::null.new # | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html)
77
- opts = {
79
+ opts = {
78
80
  page: GetAroundOwner::null.new, # | Page number
79
81
  per_page: GetAroundOwner::null.new # | Page size
80
82
  }
@@ -90,12 +92,12 @@ end
90
92
 
91
93
  ### Parameters
92
94
 
93
- Name | Type | Description | Notes
94
- ------------- | ------------- | ------------- | -------------
95
- **start_date** | [****](.md)| Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) |
96
- **end_date** | [****](.md)| End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) |
97
- **page** | [****](.md)| Page number | [optional]
98
- **per_page** | [****](.md)| Page size | [optional] [default to 30]
95
+ | Name | Type | Description | Notes |
96
+ | -------------- | --------------- | ----------------------------------------------------------------------------------------------- | -------------------------- |
97
+ | **start_date** | [\*\*\*\*](.md) | Start date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) |
98
+ | **end_date** | [\*\*\*\*](.md) | End date and time in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) |
99
+ | **page** | [\*\*\*\*](.md) | Page number | [optional] |
100
+ | **per_page** | [\*\*\*\*](.md) | Page size | [optional] [default to 30] |
99
101
 
100
102
  ### Return type
101
103
 
@@ -107,8 +109,5 @@ Name | Type | Description | Notes
107
109
 
108
110
  ### HTTP request headers
109
111
 
110
- - **Content-Type**: Not defined
111
- - **Accept**: application/json
112
-
113
-
114
-
112
+ - **Content-Type**: Not defined
113
+ - **Accept**: application/json