Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 8e3e1a0

Browse files
authored
Release 2.20181212.0 (#72)
1 parent e772da4 commit 8e3e1a0

16 files changed

+56
-50
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## Version 2.20181212.0 (2018-12-12)
4+
5+
## Improvement: ListCustomers return set expanded
6+
7+
Requests to the ListCustomers endpoint now returns all available customer profiles. Previously, ListCustomers only returned customer profiles explicitly created through the Customers API or Square Point of Sale.
8+
39
## Version 2.20181205.0 (2018-12-05)
410

511
## New feature: Idempotent customer profile creation in Connect v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for the specification and template files we used to generate this.
1010
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1111

1212
- API version: 2.0
13-
- Package version: 2.20181205.0
13+
- Package version: 2.20181212.0
1414
- Build package: io.swagger.codegen.languages.RubyClientCodegen
1515

1616
For more information, please visit [https://squareup.com/developers](https://squareup.com/developers)

docs/CustomersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Method | HTTP request | Description
1919
2020
CreateCustomer
2121

22-
Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
22+
Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
2323

2424
### Example
2525
```ruby

lib/square_connect/api/apple_pay_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def register_domain_with_http_info(body, opts = {})
5151
# HTTP header 'Content-Type'
5252
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5353

54-
header_params['Square-Version'] = "2018-12-05"
54+
header_params['Square-Version'] = "2018-12-12"
5555

5656
# form parameters
5757
form_params = {}

lib/square_connect/api/catalog_api.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def batch_delete_catalog_objects_with_http_info(body, opts = {})
5151
# HTTP header 'Content-Type'
5252
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5353

54-
header_params['Square-Version'] = "2018-12-05"
54+
header_params['Square-Version'] = "2018-12-12"
5555

5656
# form parameters
5757
form_params = {}
@@ -106,7 +106,7 @@ def batch_retrieve_catalog_objects_with_http_info(body, opts = {})
106106
# HTTP header 'Content-Type'
107107
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108108

109-
header_params['Square-Version'] = "2018-12-05"
109+
header_params['Square-Version'] = "2018-12-12"
110110

111111
# form parameters
112112
form_params = {}
@@ -161,7 +161,7 @@ def batch_upsert_catalog_objects_with_http_info(body, opts = {})
161161
# HTTP header 'Content-Type'
162162
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163163

164-
header_params['Square-Version'] = "2018-12-05"
164+
header_params['Square-Version'] = "2018-12-12"
165165

166166
# form parameters
167167
form_params = {}
@@ -212,7 +212,7 @@ def catalog_info_with_http_info(opts = {})
212212
# HTTP header 'Content-Type'
213213
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
214214

215-
header_params['Square-Version'] = "2018-12-05"
215+
header_params['Square-Version'] = "2018-12-12"
216216

217217
# form parameters
218218
form_params = {}
@@ -267,7 +267,7 @@ def delete_catalog_object_with_http_info(object_id, opts = {})
267267
# HTTP header 'Content-Type'
268268
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
269269

270-
header_params['Square-Version'] = "2018-12-05"
270+
header_params['Square-Version'] = "2018-12-12"
271271

272272
# form parameters
273273
form_params = {}
@@ -324,7 +324,7 @@ def list_catalog_with_http_info(opts = {})
324324
# HTTP header 'Content-Type'
325325
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
326326

327-
header_params['Square-Version'] = "2018-12-05"
327+
header_params['Square-Version'] = "2018-12-12"
328328

329329
# form parameters
330330
form_params = {}
@@ -382,7 +382,7 @@ def retrieve_catalog_object_with_http_info(object_id, opts = {})
382382
# HTTP header 'Content-Type'
383383
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
384384

385-
header_params['Square-Version'] = "2018-12-05"
385+
header_params['Square-Version'] = "2018-12-12"
386386

387387
# form parameters
388388
form_params = {}
@@ -437,7 +437,7 @@ def search_catalog_objects_with_http_info(body, opts = {})
437437
# HTTP header 'Content-Type'
438438
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
439439

440-
header_params['Square-Version'] = "2018-12-05"
440+
header_params['Square-Version'] = "2018-12-12"
441441

442442
# form parameters
443443
form_params = {}
@@ -492,7 +492,7 @@ def update_item_modifier_lists_with_http_info(body, opts = {})
492492
# HTTP header 'Content-Type'
493493
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
494494

495-
header_params['Square-Version'] = "2018-12-05"
495+
header_params['Square-Version'] = "2018-12-12"
496496

497497
# form parameters
498498
form_params = {}
@@ -547,7 +547,7 @@ def update_item_taxes_with_http_info(body, opts = {})
547547
# HTTP header 'Content-Type'
548548
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
549549

550-
header_params['Square-Version'] = "2018-12-05"
550+
header_params['Square-Version'] = "2018-12-12"
551551

552552
# form parameters
553553
form_params = {}
@@ -602,7 +602,7 @@ def upsert_catalog_object_with_http_info(body, opts = {})
602602
# HTTP header 'Content-Type'
603603
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
604604

605-
header_params['Square-Version'] = "2018-12-05"
605+
header_params['Square-Version'] = "2018-12-12"
606606

607607
# form parameters
608608
form_params = {}

lib/square_connect/api/checkout_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create_checkout_with_http_info(location_id, body, opts = {})
5555
# HTTP header 'Content-Type'
5656
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5757

58-
header_params['Square-Version'] = "2018-12-05"
58+
header_params['Square-Version'] = "2018-12-12"
5959

6060
# form parameters
6161
form_params = {}

lib/square_connect/api/customers_api.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def initialize(api_client = ApiClient.default)
1818
end
1919

2020
# CreateCustomer
21-
# Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
21+
# Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
2222
# @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
2323
# @param [Hash] opts the optional parameters
2424
# @return [CreateCustomerResponse]
@@ -28,7 +28,7 @@ def create_customer(body, opts = {})
2828
end
2929

3030
# CreateCustomer
31-
# Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
31+
# Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
3232
# @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
3333
# @param [Hash] opts the optional parameters
3434
# @return [Array<(CreateCustomerResponse, Fixnum, Hash)>] CreateCustomerResponse data, response status code and response headers
@@ -51,7 +51,7 @@ def create_customer_with_http_info(body, opts = {})
5151
# HTTP header 'Content-Type'
5252
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5353

54-
header_params['Square-Version'] = "2018-12-05"
54+
header_params['Square-Version'] = "2018-12-12"
5555

5656
# form parameters
5757
form_params = {}
@@ -110,7 +110,7 @@ def create_customer_card_with_http_info(customer_id, body, opts = {})
110110
# HTTP header 'Content-Type'
111111
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
112112

113-
header_params['Square-Version'] = "2018-12-05"
113+
header_params['Square-Version'] = "2018-12-12"
114114

115115
# form parameters
116116
form_params = {}
@@ -165,7 +165,7 @@ def delete_customer_with_http_info(customer_id, opts = {})
165165
# HTTP header 'Content-Type'
166166
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
167167

168-
header_params['Square-Version'] = "2018-12-05"
168+
header_params['Square-Version'] = "2018-12-12"
169169

170170
# form parameters
171171
form_params = {}
@@ -224,7 +224,7 @@ def delete_customer_card_with_http_info(customer_id, card_id, opts = {})
224224
# HTTP header 'Content-Type'
225225
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
226226

227-
header_params['Square-Version'] = "2018-12-05"
227+
header_params['Square-Version'] = "2018-12-12"
228228

229229
# form parameters
230230
form_params = {}
@@ -290,7 +290,7 @@ def list_customers_with_http_info(opts = {})
290290
# HTTP header 'Content-Type'
291291
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
292292

293-
header_params['Square-Version'] = "2018-12-05"
293+
header_params['Square-Version'] = "2018-12-12"
294294

295295
# form parameters
296296
form_params = {}
@@ -345,7 +345,7 @@ def retrieve_customer_with_http_info(customer_id, opts = {})
345345
# HTTP header 'Content-Type'
346346
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
347347

348-
header_params['Square-Version'] = "2018-12-05"
348+
header_params['Square-Version'] = "2018-12-12"
349349

350350
# form parameters
351351
form_params = {}
@@ -400,7 +400,7 @@ def search_customers_with_http_info(body, opts = {})
400400
# HTTP header 'Content-Type'
401401
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
402402

403-
header_params['Square-Version'] = "2018-12-05"
403+
header_params['Square-Version'] = "2018-12-12"
404404

405405
# form parameters
406406
form_params = {}
@@ -459,7 +459,7 @@ def update_customer_with_http_info(customer_id, body, opts = {})
459459
# HTTP header 'Content-Type'
460460
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
461461

462-
header_params['Square-Version'] = "2018-12-05"
462+
header_params['Square-Version'] = "2018-12-12"
463463

464464
# form parameters
465465
form_params = {}

lib/square_connect/api/inventory_api.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def batch_change_inventory_with_http_info(body, opts = {})
5151
# HTTP header 'Content-Type'
5252
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5353

54-
header_params['Square-Version'] = "2018-12-05"
54+
header_params['Square-Version'] = "2018-12-12"
5555

5656
# form parameters
5757
form_params = {}
@@ -106,7 +106,7 @@ def batch_retrieve_inventory_changes_with_http_info(body, opts = {})
106106
# HTTP header 'Content-Type'
107107
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108108

109-
header_params['Square-Version'] = "2018-12-05"
109+
header_params['Square-Version'] = "2018-12-12"
110110

111111
# form parameters
112112
form_params = {}
@@ -161,7 +161,7 @@ def batch_retrieve_inventory_counts_with_http_info(body, opts = {})
161161
# HTTP header 'Content-Type'
162162
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163163

164-
header_params['Square-Version'] = "2018-12-05"
164+
header_params['Square-Version'] = "2018-12-12"
165165

166166
# form parameters
167167
form_params = {}
@@ -216,7 +216,7 @@ def retrieve_inventory_adjustment_with_http_info(adjustment_id, opts = {})
216216
# HTTP header 'Content-Type'
217217
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
218218

219-
header_params['Square-Version'] = "2018-12-05"
219+
header_params['Square-Version'] = "2018-12-12"
220220

221221
# form parameters
222222
form_params = {}
@@ -277,7 +277,7 @@ def retrieve_inventory_changes_with_http_info(catalog_object_id, opts = {})
277277
# HTTP header 'Content-Type'
278278
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
279279

280-
header_params['Square-Version'] = "2018-12-05"
280+
header_params['Square-Version'] = "2018-12-12"
281281

282282
# form parameters
283283
form_params = {}
@@ -338,7 +338,7 @@ def retrieve_inventory_count_with_http_info(catalog_object_id, opts = {})
338338
# HTTP header 'Content-Type'
339339
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
340340

341-
header_params['Square-Version'] = "2018-12-05"
341+
header_params['Square-Version'] = "2018-12-12"
342342

343343
# form parameters
344344
form_params = {}
@@ -393,7 +393,7 @@ def retrieve_inventory_physical_count_with_http_info(physical_count_id, opts = {
393393
# HTTP header 'Content-Type'
394394
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
395395

396-
header_params['Square-Version'] = "2018-12-05"
396+
header_params['Square-Version'] = "2018-12-12"
397397

398398
# form parameters
399399
form_params = {}

lib/square_connect/api/locations_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def list_locations_with_http_info(opts = {})
4747
# HTTP header 'Content-Type'
4848
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4949

50-
header_params['Square-Version'] = "2018-12-05"
50+
header_params['Square-Version'] = "2018-12-12"
5151

5252
# form parameters
5353
form_params = {}

lib/square_connect/api/mobile_authorization_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_mobile_authorization_code_with_http_info(body, opts = {})
5151
# HTTP header 'Content-Type'
5252
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5353

54-
header_params['Square-Version'] = "2018-12-05"
54+
header_params['Square-Version'] = "2018-12-12"
5555

5656
# form parameters
5757
form_params = {}

0 commit comments

Comments
 (0)