square.rb 5.3.0.20200528 → 6.0.0.20200625

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,15 +6,6 @@ module Square
6
6
  end
7
7
 
8
8
  # Get the general information for a business.
9
- # ---
10
- # - __Deprecation date__: 2019-11-20
11
- # - [__Retirement
12
- # date__](https://developer.squareup.com/docs/build-basics/api-lifecycle#dep
13
- # recated): 2020-11-18
14
- # - [Migration
15
- # guide](https://developer.squareup.com/docs/migrate-from-v1/guides/v1-locat
16
- # ions)
17
- # ---
18
9
  # @return [V1Merchant Hash] response from the API call
19
10
  def retrieve_business
20
11
  warn 'Endpoint retrieve_business in V1LocationsApi is deprecated'
@@ -44,15 +35,6 @@ module Square
44
35
 
45
36
  # Provides details for all business locations associated with a Square
46
37
  # account, including the Square-assigned object ID for the location.
47
- # ---
48
- # - __Deprecation date__: 2019-11-20
49
- # - [__Retirement
50
- # date__](https://developer.squareup.com/docs/build-basics/api-lifecycle#dep
51
- # recated): 2020-11-18
52
- # - [Migration
53
- # guide](https://developer.squareup.com/docs/migrate-from-v1/guides/v1-locat
54
- # ions)
55
- # ---
56
38
  # @return [List of V1Merchant Hash] response from the API call
57
39
  def list_locations
58
40
  warn 'Endpoint list_locations in V1LocationsApi is deprecated'
@@ -8,15 +8,6 @@ module Square
8
8
  # Provides non-confidential details for all of a location's associated bank
9
9
  # accounts. This endpoint does not provide full bank account numbers, and
10
10
  # there is no way to obtain a full bank account number with the Connect API.
11
- # ---
12
- # - __Deprecation date__: 2020-02-26
13
- # - [__Retirement
14
- # date__](https://developer.squareup.com/docs/docs/build-basics/api-lifecycl
15
- # e#deprecated): 2021-02-26
16
- # - [Migration
17
- # guide](https://developer.squareup.com/docs/docs/migrate-from-v1/guides/v1-
18
- # bankaccounts)
19
- # ---
20
11
  # @param [String] location_id Required parameter: The ID of the location to
21
12
  # list bank accounts for.
22
13
  # @return [List of V1BankAccount Hash] response from the API call
@@ -53,15 +44,6 @@ module Square
53
44
  # Provides non-confidential details for a merchant's associated bank
54
45
  # account. This endpoint does not provide full bank account numbers, and
55
46
  # there is no way to obtain a full bank account number with the Connect API.
56
- # ---
57
- # - __Deprecation date__: 2020-02-26
58
- # - [__Retirement
59
- # date__](https://developer.squareup.com/docs/docs/build-basics/api-lifecycl
60
- # e#deprecated): 2021-02-26
61
- # - [Migration
62
- # guide](https://developer.squareup.com/docs/docs/migrate-from-v1/guides/v1-
63
- # bankaccounts)
64
- # ---
65
47
  # @param [String] location_id Required parameter: The ID of the bank
66
48
  # account's associated location.
67
49
  # @param [String] bank_account_id Required parameter: The bank account's
@@ -272,7 +254,7 @@ module Square
272
254
  end_time: nil,
273
255
  limit: nil,
274
256
  batch_token: nil,
275
- include_partial: nil)
257
+ include_partial: false)
276
258
  # Prepare query url.
277
259
  _query_builder = config.get_base_uri
278
260
  _query_builder << '/v1/{location_id}/payments'
@@ -4,11 +4,11 @@ module Square
4
4
  attr_reader :config
5
5
 
6
6
  def sdk_version
7
- '5.3.0.20200528'
7
+ '6.0.0.20200625'
8
8
  end
9
9
 
10
10
  def square_version
11
- '2020-05-28'
11
+ '2020-06-25'
12
12
  end
13
13
 
14
14
  # Access to mobile_authorization controller.
@@ -173,6 +173,12 @@ module Square
173
173
  @refunds ||= RefundsApi.new config
174
174
  end
175
175
 
176
+ # Access to team controller.
177
+ # @return [TeamApi] Returns the controller instance.
178
+ def team
179
+ @team ||= TeamApi.new config
180
+ end
181
+
176
182
  # Access to terminal controller.
177
183
  # @return [TerminalApi] Returns the controller instance.
178
184
  def terminal
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: square.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0.20200528
4
+ version: 6.0.0.20200625
5
5
  platform: ruby
6
6
  authors:
7
7
  - Square Developer Platform
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -141,6 +141,7 @@ files:
141
141
  - lib/square/api/payments_api.rb
142
142
  - lib/square/api/refunds_api.rb
143
143
  - lib/square/api/reporting_api.rb
144
+ - lib/square/api/team_api.rb
144
145
  - lib/square/api/terminal_api.rb
145
146
  - lib/square/api/transactions_api.rb
146
147
  - lib/square/api/v1_employees_api.rb