square_connect 2.20181205.0.263 → 2.20181212.0.267

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: eef1bf92f68c1ebe2619f129c5dc763bbdd607626179622482bc5337aeba29ca
4
- data.tar.gz: d6e2839d297c59c87621a46002a15ff2197b3e4c98dedea1fc8c6c9761ba884a
3
+ metadata.gz: 98a5543b9333917661531679ff8c0612e93c8e98ece230ec0f03cbc9d13006eb
4
+ data.tar.gz: 14146918959bf5804f9c9ad01e8de8f7d79ecf67cafbbd26bca9ccef005d1ad3
5
5
  SHA512:
6
- metadata.gz: 6fce448fa9a634076b105c582709cb64ed7c187e5e764036926ee76fd7d8528a99b6c2eaf180b0a827817e34c0f419468db321cd71f617e43d0d566b87a16a2b
7
- data.tar.gz: f52398df6f1d6ac48f413dc086add9bda896a9d0b00d31cd41c7c8c58667b0049884e53a80262d46831d09200c63fe2f33e01572937fb6e4148f356971a2f5a0
6
+ metadata.gz: 82e5b8578e50aba62d7af11511a235cd91bc90255a433dd1f8c3cc7e02aaf0407391edfa587f6f4ddb6113e1fffb42ca7f9d986d0861e3abd7bb65f1da29787a
7
+ data.tar.gz: 9c735f99e23e3d6a458752e5b84abc96c6213a04aa8d86f310881bead6f90beb6354be5e31e1008ff185e89cbf486fba19dd09173d436ca1385e18e2adfc0465
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
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
+
3
9
  ## Version 2.20181205.0 (2018-12-05)
4
10
 
5
11
  ## New feature: Idempotent customer profile creation in Connect v2
data/README.md CHANGED
@@ -10,7 +10,7 @@ for the specification and template files we used to generate this.
10
10
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
11
11
 
12
12
  - API version: 2.0
13
- - Package version: 2.20181205.0
13
+ - Package version: 2.20181212.0
14
14
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
15
15
 
16
16
  For more information, please visit [https://squareup.com/developers](https://squareup.com/developers)
data/docs/CustomersApi.md CHANGED
@@ -19,7 +19,7 @@ Method | HTTP request | Description
19
19
 
20
20
  CreateCustomer
21
21
 
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`
23
23
 
24
24
  ### Example
25
25
  ```ruby
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -106,7 +106,7 @@ module SquareConnect
106
106
  # HTTP header 'Content-Type'
107
107
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108
108
 
109
- header_params['Square-Version'] = "2018-12-05"
109
+ header_params['Square-Version'] = "2018-12-12"
110
110
 
111
111
  # form parameters
112
112
  form_params = {}
@@ -161,7 +161,7 @@ module SquareConnect
161
161
  # HTTP header 'Content-Type'
162
162
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163
163
 
164
- header_params['Square-Version'] = "2018-12-05"
164
+ header_params['Square-Version'] = "2018-12-12"
165
165
 
166
166
  # form parameters
167
167
  form_params = {}
@@ -212,7 +212,7 @@ module SquareConnect
212
212
  # HTTP header 'Content-Type'
213
213
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
214
214
 
215
- header_params['Square-Version'] = "2018-12-05"
215
+ header_params['Square-Version'] = "2018-12-12"
216
216
 
217
217
  # form parameters
218
218
  form_params = {}
@@ -267,7 +267,7 @@ module SquareConnect
267
267
  # HTTP header 'Content-Type'
268
268
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
269
269
 
270
- header_params['Square-Version'] = "2018-12-05"
270
+ header_params['Square-Version'] = "2018-12-12"
271
271
 
272
272
  # form parameters
273
273
  form_params = {}
@@ -324,7 +324,7 @@ module SquareConnect
324
324
  # HTTP header 'Content-Type'
325
325
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
326
326
 
327
- header_params['Square-Version'] = "2018-12-05"
327
+ header_params['Square-Version'] = "2018-12-12"
328
328
 
329
329
  # form parameters
330
330
  form_params = {}
@@ -382,7 +382,7 @@ module SquareConnect
382
382
  # HTTP header 'Content-Type'
383
383
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
384
384
 
385
- header_params['Square-Version'] = "2018-12-05"
385
+ header_params['Square-Version'] = "2018-12-12"
386
386
 
387
387
  # form parameters
388
388
  form_params = {}
@@ -437,7 +437,7 @@ module SquareConnect
437
437
  # HTTP header 'Content-Type'
438
438
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
439
439
 
440
- header_params['Square-Version'] = "2018-12-05"
440
+ header_params['Square-Version'] = "2018-12-12"
441
441
 
442
442
  # form parameters
443
443
  form_params = {}
@@ -492,7 +492,7 @@ module SquareConnect
492
492
  # HTTP header 'Content-Type'
493
493
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
494
494
 
495
- header_params['Square-Version'] = "2018-12-05"
495
+ header_params['Square-Version'] = "2018-12-12"
496
496
 
497
497
  # form parameters
498
498
  form_params = {}
@@ -547,7 +547,7 @@ module SquareConnect
547
547
  # HTTP header 'Content-Type'
548
548
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
549
549
 
550
- header_params['Square-Version'] = "2018-12-05"
550
+ header_params['Square-Version'] = "2018-12-12"
551
551
 
552
552
  # form parameters
553
553
  form_params = {}
@@ -602,7 +602,7 @@ module SquareConnect
602
602
  # HTTP header 'Content-Type'
603
603
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
604
604
 
605
- header_params['Square-Version'] = "2018-12-05"
605
+ header_params['Square-Version'] = "2018-12-12"
606
606
 
607
607
  # form parameters
608
608
  form_params = {}
@@ -55,7 +55,7 @@ module SquareConnect
55
55
  # HTTP header 'Content-Type'
56
56
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
57
 
58
- header_params['Square-Version'] = "2018-12-05"
58
+ header_params['Square-Version'] = "2018-12-12"
59
59
 
60
60
  # form parameters
61
61
  form_params = {}
@@ -18,7 +18,7 @@ module SquareConnect
18
18
  end
19
19
 
20
20
  # 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`
22
22
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
23
23
  # @param [Hash] opts the optional parameters
24
24
  # @return [CreateCustomerResponse]
@@ -28,7 +28,7 @@ module SquareConnect
28
28
  end
29
29
 
30
30
  # 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`
32
32
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(CreateCustomerResponse, Fixnum, Hash)>] CreateCustomerResponse data, response status code and response headers
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -110,7 +110,7 @@ module SquareConnect
110
110
  # HTTP header 'Content-Type'
111
111
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
112
112
 
113
- header_params['Square-Version'] = "2018-12-05"
113
+ header_params['Square-Version'] = "2018-12-12"
114
114
 
115
115
  # form parameters
116
116
  form_params = {}
@@ -165,7 +165,7 @@ module SquareConnect
165
165
  # HTTP header 'Content-Type'
166
166
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
167
167
 
168
- header_params['Square-Version'] = "2018-12-05"
168
+ header_params['Square-Version'] = "2018-12-12"
169
169
 
170
170
  # form parameters
171
171
  form_params = {}
@@ -224,7 +224,7 @@ module SquareConnect
224
224
  # HTTP header 'Content-Type'
225
225
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
226
226
 
227
- header_params['Square-Version'] = "2018-12-05"
227
+ header_params['Square-Version'] = "2018-12-12"
228
228
 
229
229
  # form parameters
230
230
  form_params = {}
@@ -290,7 +290,7 @@ module SquareConnect
290
290
  # HTTP header 'Content-Type'
291
291
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
292
292
 
293
- header_params['Square-Version'] = "2018-12-05"
293
+ header_params['Square-Version'] = "2018-12-12"
294
294
 
295
295
  # form parameters
296
296
  form_params = {}
@@ -345,7 +345,7 @@ module SquareConnect
345
345
  # HTTP header 'Content-Type'
346
346
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
347
347
 
348
- header_params['Square-Version'] = "2018-12-05"
348
+ header_params['Square-Version'] = "2018-12-12"
349
349
 
350
350
  # form parameters
351
351
  form_params = {}
@@ -400,7 +400,7 @@ module SquareConnect
400
400
  # HTTP header 'Content-Type'
401
401
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
402
402
 
403
- header_params['Square-Version'] = "2018-12-05"
403
+ header_params['Square-Version'] = "2018-12-12"
404
404
 
405
405
  # form parameters
406
406
  form_params = {}
@@ -459,7 +459,7 @@ module SquareConnect
459
459
  # HTTP header 'Content-Type'
460
460
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
461
461
 
462
- header_params['Square-Version'] = "2018-12-05"
462
+ header_params['Square-Version'] = "2018-12-12"
463
463
 
464
464
  # form parameters
465
465
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -106,7 +106,7 @@ module SquareConnect
106
106
  # HTTP header 'Content-Type'
107
107
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108
108
 
109
- header_params['Square-Version'] = "2018-12-05"
109
+ header_params['Square-Version'] = "2018-12-12"
110
110
 
111
111
  # form parameters
112
112
  form_params = {}
@@ -161,7 +161,7 @@ module SquareConnect
161
161
  # HTTP header 'Content-Type'
162
162
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163
163
 
164
- header_params['Square-Version'] = "2018-12-05"
164
+ header_params['Square-Version'] = "2018-12-12"
165
165
 
166
166
  # form parameters
167
167
  form_params = {}
@@ -216,7 +216,7 @@ module SquareConnect
216
216
  # HTTP header 'Content-Type'
217
217
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
218
218
 
219
- header_params['Square-Version'] = "2018-12-05"
219
+ header_params['Square-Version'] = "2018-12-12"
220
220
 
221
221
  # form parameters
222
222
  form_params = {}
@@ -277,7 +277,7 @@ module SquareConnect
277
277
  # HTTP header 'Content-Type'
278
278
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
279
279
 
280
- header_params['Square-Version'] = "2018-12-05"
280
+ header_params['Square-Version'] = "2018-12-12"
281
281
 
282
282
  # form parameters
283
283
  form_params = {}
@@ -338,7 +338,7 @@ module SquareConnect
338
338
  # HTTP header 'Content-Type'
339
339
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
340
340
 
341
- header_params['Square-Version'] = "2018-12-05"
341
+ header_params['Square-Version'] = "2018-12-12"
342
342
 
343
343
  # form parameters
344
344
  form_params = {}
@@ -393,7 +393,7 @@ module SquareConnect
393
393
  # HTTP header 'Content-Type'
394
394
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
395
395
 
396
- header_params['Square-Version'] = "2018-12-05"
396
+ header_params['Square-Version'] = "2018-12-12"
397
397
 
398
398
  # form parameters
399
399
  form_params = {}
@@ -47,7 +47,7 @@ module SquareConnect
47
47
  # HTTP header 'Content-Type'
48
48
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
49
49
 
50
- header_params['Square-Version'] = "2018-12-05"
50
+ header_params['Square-Version'] = "2018-12-12"
51
51
 
52
52
  # form parameters
53
53
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2018-12-05"
54
+ header_params['Square-Version'] = "2018-12-12"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -110,7 +110,7 @@ module SquareConnect
110
110
  # HTTP header 'Content-Type'
111
111
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
112
112
 
113
- header_params['Square-Version'] = "2018-12-05"
113
+ header_params['Square-Version'] = "2018-12-12"
114
114
 
115
115
  # form parameters
116
116
  form_params = {}
@@ -165,7 +165,7 @@ module SquareConnect
165
165
  # HTTP header 'Content-Type'
166
166
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
167
167
 
168
- header_params['Square-Version'] = "2018-12-05"
168
+ header_params['Square-Version'] = "2018-12-12"
169
169
 
170
170
  # form parameters
171
171
  form_params = {}
@@ -55,7 +55,7 @@ module SquareConnect
55
55
  # HTTP header 'Content-Type'
56
56
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
57
 
58
- header_params['Square-Version'] = "2018-12-05"
58
+ header_params['Square-Version'] = "2018-12-12"
59
59
 
60
60
  # form parameters
61
61
  form_params = {}
@@ -114,7 +114,7 @@ module SquareConnect
114
114
  # HTTP header 'Content-Type'
115
115
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
116
116
 
117
- header_params['Square-Version'] = "2018-12-05"
117
+ header_params['Square-Version'] = "2018-12-12"
118
118
 
119
119
  # form parameters
120
120
  form_params = {}
@@ -66,7 +66,7 @@ module SquareConnect
66
66
  # HTTP header 'Content-Type'
67
67
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
68
68
 
69
- header_params['Square-Version'] = "2018-12-05"
69
+ header_params['Square-Version'] = "2018-12-12"
70
70
 
71
71
  # form parameters
72
72
  form_params = {}
@@ -136,7 +136,7 @@ module SquareConnect
136
136
  # HTTP header 'Content-Type'
137
137
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
138
138
 
139
- header_params['Square-Version'] = "2018-12-05"
139
+ header_params['Square-Version'] = "2018-12-12"
140
140
 
141
141
  # form parameters
142
142
  form_params = {}
@@ -55,7 +55,7 @@ module SquareConnect
55
55
  # HTTP header 'Content-Type'
56
56
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
57
 
58
- header_params['Square-Version'] = "2018-12-05"
58
+ header_params['Square-Version'] = "2018-12-12"
59
59
 
60
60
  # form parameters
61
61
  form_params = {}
@@ -114,7 +114,7 @@ module SquareConnect
114
114
  # HTTP header 'Content-Type'
115
115
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
116
116
 
117
- header_params['Square-Version'] = "2018-12-05"
117
+ header_params['Square-Version'] = "2018-12-12"
118
118
 
119
119
  # form parameters
120
120
  form_params = {}
@@ -177,7 +177,7 @@ module SquareConnect
177
177
  # HTTP header 'Content-Type'
178
178
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
179
179
 
180
- header_params['Square-Version'] = "2018-12-05"
180
+ header_params['Square-Version'] = "2018-12-12"
181
181
 
182
182
  # form parameters
183
183
  form_params = {}
@@ -247,7 +247,7 @@ module SquareConnect
247
247
  # HTTP header 'Content-Type'
248
248
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
249
249
 
250
- header_params['Square-Version'] = "2018-12-05"
250
+ header_params['Square-Version'] = "2018-12-12"
251
251
 
252
252
  # form parameters
253
253
  form_params = {}
@@ -317,7 +317,7 @@ module SquareConnect
317
317
  # HTTP header 'Content-Type'
318
318
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
319
319
 
320
- header_params['Square-Version'] = "2018-12-05"
320
+ header_params['Square-Version'] = "2018-12-12"
321
321
 
322
322
  # form parameters
323
323
  form_params = {}
@@ -376,7 +376,7 @@ module SquareConnect
376
376
  # HTTP header 'Content-Type'
377
377
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
378
378
 
379
- header_params['Square-Version'] = "2018-12-05"
379
+ header_params['Square-Version'] = "2018-12-12"
380
380
 
381
381
  # form parameters
382
382
  form_params = {}
@@ -435,7 +435,7 @@ module SquareConnect
435
435
  # HTTP header 'Content-Type'
436
436
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
437
437
 
438
- header_params['Square-Version'] = "2018-12-05"
438
+ header_params['Square-Version'] = "2018-12-12"
439
439
 
440
440
  # form parameters
441
441
  form_params = {}
@@ -30,7 +30,7 @@ module SquareConnect
30
30
  @config = config
31
31
 
32
32
  # Construct user agent string. Returns slightly different string for JRuby
33
- @user_agent = "Square-Connect-Ruby/2.20181205.0"
33
+ @user_agent = "Square-Connect-Ruby/2.20181212.0"
34
34
 
35
35
  @default_headers = {
36
36
  'Content-Type' => "application/json",
@@ -8,5 +8,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
8
8
  =end
9
9
 
10
10
  module SquareConnect
11
- VERSION = "2.20181205.0"
11
+ VERSION = "2.20181212.0"
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: square_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20181205.0.263
4
+ version: 2.20181212.0.267
5
5
  platform: ruby
6
6
  authors:
7
7
  - Square, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-05 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus