square_connect 2.9.0.220 → 2.20180712.0.224
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +46 -0
- data/README.md +1 -1
- data/docs/CustomerCreationSourceFilter.md +1 -1
- data/docs/CustomerSort.md +2 -2
- data/docs/CustomersApi.md +1 -1
- data/lib/square_connect/api/apple_pay_api.rb +2 -0
- data/lib/square_connect/api/catalog_api.rb +22 -0
- data/lib/square_connect/api/checkout_api.rb +2 -0
- data/lib/square_connect/api/customers_api.rb +18 -2
- data/lib/square_connect/api/locations_api.rb +2 -0
- data/lib/square_connect/api/orders_api.rb +4 -0
- data/lib/square_connect/api/reporting_api.rb +4 -0
- data/lib/square_connect/api/transactions_api.rb +14 -0
- data/lib/square_connect/api/v1_employees_api.rb +16 -0
- data/lib/square_connect/api/v1_items_api.rb +40 -0
- data/lib/square_connect/api/v1_locations_api.rb +2 -0
- data/lib/square_connect/api/v1_transactions_api.rb +11 -0
- data/lib/square_connect/api_client.rb +1 -1
- data/lib/square_connect/models/customer_creation_source_filter.rb +1 -1
- data/lib/square_connect/models/customer_sort.rb +2 -2
- data/lib/square_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8424e079248e6b8b5d713d4320a3dc6b3b62752e6404bd06aa0dfaef2d9547bb
|
4
|
+
data.tar.gz: 9cacd9f24ddc68055177b6e5377cf23a1b617c933f9d62cebf8675a12b55c6fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a203c29512d28d02346aa01f0f436d3a8a8061bbf166db2cc1b2bda58248ae6b8a0bd2825be7f0de394402b69cd9392f121780854ee8b4b99d27f357b79c47c
|
7
|
+
data.tar.gz: 2cb1f3ba3b33199eae0b569bb8cfbca9a974e0d0cb8bb4d5cf2786f5525f0149be745db9ccb2cf63023d8bb357eae590281428a9cfce782baa5dcf465de341c9
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,51 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## Version 2.20180712.0 (2018-07-12)
|
4
|
+
|
5
|
+
We introduce Square API versions. `Square-Version` is 2018-07-12 for this SDK.
|
6
|
+
|
7
|
+
### How versioning works
|
8
|
+
|
9
|
+
Square API versions (`Square-Version`) track changes in the evolution of Connect
|
10
|
+
v2 APIs. The `Square-Version` naming scheme is `YYYY-MM-DD`, which indicates
|
11
|
+
the date the version was released. Connect v1 APIs are not versioned. Square
|
12
|
+
continues to support Connect v1, but future releases will focus on improving
|
13
|
+
Connect v2 functionality.
|
14
|
+
|
15
|
+
By default, new Square applications are pinned to the version current at the
|
16
|
+
time the application was created in the Square Application Dashboard. Pinning an
|
17
|
+
application sets the default `Square-Version` for the application. The default
|
18
|
+
`Square-Version` of an application can be reviewed and updated at any time on
|
19
|
+
the settings pages for the application.
|
20
|
+
|
21
|
+
|
22
|
+
### Versioning and SDKs
|
23
|
+
|
24
|
+
When a new `Square-Version` is released, new Connect SDKs are publish on GitHub
|
25
|
+
and various package management systems. SDK updates follow the version
|
26
|
+
convention of the associated language and manager but include the related
|
27
|
+
`Square-Version` in the SDK version. For example, Connect SDKs tied to version
|
28
|
+
`2018-01-04` might look like `{SDK_VERSION}.20180104.{VERSION_INCREMENT}`.
|
29
|
+
|
30
|
+
While SDK versions can be mapped to a related Square-version, SDK versions
|
31
|
+
follow an independent, incremental versioning scheme to allow updates and
|
32
|
+
improvements to the SDKs outside of `Square-Version` updates.
|
33
|
+
|
34
|
+
|
35
|
+
### Migrating to new versions
|
36
|
+
|
37
|
+
In most cases, Square-version migration should be straightforward, with known
|
38
|
+
differences listed in the related Change Log.
|
39
|
+
|
40
|
+
To test migrations, developers can override the default `Square-Version` of an
|
41
|
+
application by explicitly setting the preferred `Square-Version` in the HTTP
|
42
|
+
header of the Connect v2 API request for REST calls. Requesting an API version
|
43
|
+
that does not exist returns an error. Successful API responses include the
|
44
|
+
`Square-Version` header to indicate the API version used to process request.
|
45
|
+
|
46
|
+
Connect SDK versions are locked to specific API versions and cannot be
|
47
|
+
overwritten. Instead, the SDK must be upgraded to work with new API versions.
|
48
|
+
|
3
49
|
## Version 2.9.0 (2018-06-28)
|
4
50
|
|
5
51
|
We have added search functionality to the Connect v2 Customer API.
|
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.
|
13
|
+
- Package version: 2.20180712.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)
|
@@ -7,7 +7,7 @@ Creation source filter. If one or more creation sources are set, customer profi
|
|
7
7
|
## Properties
|
8
8
|
Name | Type | Description | Notes
|
9
9
|
------------ | ------------- | ------------- | -------------
|
10
|
-
**values** | **Array<String>** | The list of creation sources used as filtering criteria. | [optional]
|
10
|
+
**values** | **Array<String>** | The list of creation sources used as filtering criteria. See [CustomerCreationSource](#type-customercreationsource) for possible values. | [optional]
|
11
11
|
**rule** | **String** | Indicates whether a customer profile matching the filter criteria should be included in the result or excluded from the result. Default: `INCLUDE`. See [CustomerInclusionExclusion](#type-customerinclusionexclusion) for possible values. | [optional]
|
12
12
|
|
13
13
|
|
data/docs/CustomerSort.md
CHANGED
@@ -7,7 +7,7 @@ Indicates the field to use for sorting customer profiles. For example, by total
|
|
7
7
|
## Properties
|
8
8
|
Name | Type | Description | Notes
|
9
9
|
------------ | ------------- | ------------- | -------------
|
10
|
-
**field** | **String** | The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc).
|
11
|
-
**order** | **String** | Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. Default value: `ASC`. | [optional]
|
10
|
+
**field** | **String** | The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc). See [CustomerSortField](#type-customersortfield) for possible values. Default value: `DEFAULT`. | [optional]
|
11
|
+
**order** | **String** | Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. See [SortOrder](#type-sortorder) for possible values. Default value: `ASC`. | [optional]
|
12
12
|
|
13
13
|
|
data/docs/CustomersApi.md
CHANGED
@@ -342,7 +342,7 @@ Name | Type | Description | Notes
|
|
342
342
|
|
343
343
|
SearchCustomers
|
344
344
|
|
345
|
-
Searches a
|
345
|
+
Searches the customer profiles associated with a Square account. Calling SearchCustomers without an explicit query parameter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`.
|
346
346
|
|
347
347
|
### Example
|
348
348
|
```ruby
|
@@ -50,6 +50,8 @@ module SquareConnect
|
|
50
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
51
|
# HTTP header 'Content-Type'
|
52
52
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
header_params['Square-Version'] = "2018-07-12"
|
53
55
|
|
54
56
|
# form parameters
|
55
57
|
form_params = {}
|
@@ -50,6 +50,8 @@ module SquareConnect
|
|
50
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
51
|
# HTTP header 'Content-Type'
|
52
52
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
header_params['Square-Version'] = "2018-07-12"
|
53
55
|
|
54
56
|
# form parameters
|
55
57
|
form_params = {}
|
@@ -103,6 +105,8 @@ module SquareConnect
|
|
103
105
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
104
106
|
# HTTP header 'Content-Type'
|
105
107
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
108
|
+
|
109
|
+
header_params['Square-Version'] = "2018-07-12"
|
106
110
|
|
107
111
|
# form parameters
|
108
112
|
form_params = {}
|
@@ -156,6 +160,8 @@ module SquareConnect
|
|
156
160
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
157
161
|
# HTTP header 'Content-Type'
|
158
162
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
163
|
+
|
164
|
+
header_params['Square-Version'] = "2018-07-12"
|
159
165
|
|
160
166
|
# form parameters
|
161
167
|
form_params = {}
|
@@ -205,6 +211,8 @@ module SquareConnect
|
|
205
211
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
206
212
|
# HTTP header 'Content-Type'
|
207
213
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
214
|
+
|
215
|
+
header_params['Square-Version'] = "2018-07-12"
|
208
216
|
|
209
217
|
# form parameters
|
210
218
|
form_params = {}
|
@@ -258,6 +266,8 @@ module SquareConnect
|
|
258
266
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
259
267
|
# HTTP header 'Content-Type'
|
260
268
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
269
|
+
|
270
|
+
header_params['Square-Version'] = "2018-07-12"
|
261
271
|
|
262
272
|
# form parameters
|
263
273
|
form_params = {}
|
@@ -313,6 +323,8 @@ module SquareConnect
|
|
313
323
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
314
324
|
# HTTP header 'Content-Type'
|
315
325
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
326
|
+
|
327
|
+
header_params['Square-Version'] = "2018-07-12"
|
316
328
|
|
317
329
|
# form parameters
|
318
330
|
form_params = {}
|
@@ -369,6 +381,8 @@ module SquareConnect
|
|
369
381
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
370
382
|
# HTTP header 'Content-Type'
|
371
383
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
384
|
+
|
385
|
+
header_params['Square-Version'] = "2018-07-12"
|
372
386
|
|
373
387
|
# form parameters
|
374
388
|
form_params = {}
|
@@ -422,6 +436,8 @@ module SquareConnect
|
|
422
436
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
423
437
|
# HTTP header 'Content-Type'
|
424
438
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
439
|
+
|
440
|
+
header_params['Square-Version'] = "2018-07-12"
|
425
441
|
|
426
442
|
# form parameters
|
427
443
|
form_params = {}
|
@@ -475,6 +491,8 @@ module SquareConnect
|
|
475
491
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
476
492
|
# HTTP header 'Content-Type'
|
477
493
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
494
|
+
|
495
|
+
header_params['Square-Version'] = "2018-07-12"
|
478
496
|
|
479
497
|
# form parameters
|
480
498
|
form_params = {}
|
@@ -528,6 +546,8 @@ module SquareConnect
|
|
528
546
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
529
547
|
# HTTP header 'Content-Type'
|
530
548
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
549
|
+
|
550
|
+
header_params['Square-Version'] = "2018-07-12"
|
531
551
|
|
532
552
|
# form parameters
|
533
553
|
form_params = {}
|
@@ -581,6 +601,8 @@ module SquareConnect
|
|
581
601
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
582
602
|
# HTTP header 'Content-Type'
|
583
603
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
604
|
+
|
605
|
+
header_params['Square-Version'] = "2018-07-12"
|
584
606
|
|
585
607
|
# form parameters
|
586
608
|
form_params = {}
|
@@ -54,6 +54,8 @@ module SquareConnect
|
|
54
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
57
|
+
|
58
|
+
header_params['Square-Version'] = "2018-07-12"
|
57
59
|
|
58
60
|
# form parameters
|
59
61
|
form_params = {}
|
@@ -50,6 +50,8 @@ module SquareConnect
|
|
50
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
51
|
# HTTP header 'Content-Type'
|
52
52
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
header_params['Square-Version'] = "2018-07-12"
|
53
55
|
|
54
56
|
# form parameters
|
55
57
|
form_params = {}
|
@@ -107,6 +109,8 @@ module SquareConnect
|
|
107
109
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
108
110
|
# HTTP header 'Content-Type'
|
109
111
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
112
|
+
|
113
|
+
header_params['Square-Version'] = "2018-07-12"
|
110
114
|
|
111
115
|
# form parameters
|
112
116
|
form_params = {}
|
@@ -160,6 +164,8 @@ module SquareConnect
|
|
160
164
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
161
165
|
# HTTP header 'Content-Type'
|
162
166
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
167
|
+
|
168
|
+
header_params['Square-Version'] = "2018-07-12"
|
163
169
|
|
164
170
|
# form parameters
|
165
171
|
form_params = {}
|
@@ -217,6 +223,8 @@ module SquareConnect
|
|
217
223
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
218
224
|
# HTTP header 'Content-Type'
|
219
225
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
226
|
+
|
227
|
+
header_params['Square-Version'] = "2018-07-12"
|
220
228
|
|
221
229
|
# form parameters
|
222
230
|
form_params = {}
|
@@ -281,6 +289,8 @@ module SquareConnect
|
|
281
289
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
282
290
|
# HTTP header 'Content-Type'
|
283
291
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
292
|
+
|
293
|
+
header_params['Square-Version'] = "2018-07-12"
|
284
294
|
|
285
295
|
# form parameters
|
286
296
|
form_params = {}
|
@@ -334,6 +344,8 @@ module SquareConnect
|
|
334
344
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
335
345
|
# HTTP header 'Content-Type'
|
336
346
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
347
|
+
|
348
|
+
header_params['Square-Version'] = "2018-07-12"
|
337
349
|
|
338
350
|
# form parameters
|
339
351
|
form_params = {}
|
@@ -355,7 +367,7 @@ module SquareConnect
|
|
355
367
|
end
|
356
368
|
|
357
369
|
# SearchCustomers
|
358
|
-
# Searches a
|
370
|
+
# Searches the customer profiles associated with a Square account. Calling SearchCustomers without an explicit query parameter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`.
|
359
371
|
# @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
|
360
372
|
# @param [Hash] opts the optional parameters
|
361
373
|
# @return [SearchCustomersResponse]
|
@@ -365,7 +377,7 @@ module SquareConnect
|
|
365
377
|
end
|
366
378
|
|
367
379
|
# SearchCustomers
|
368
|
-
# Searches a
|
380
|
+
# Searches the customer profiles associated with a Square account. Calling SearchCustomers without an explicit query parameter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`.
|
369
381
|
# @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
|
370
382
|
# @param [Hash] opts the optional parameters
|
371
383
|
# @return [Array<(SearchCustomersResponse, Fixnum, Hash)>] SearchCustomersResponse data, response status code and response headers
|
@@ -387,6 +399,8 @@ module SquareConnect
|
|
387
399
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
388
400
|
# HTTP header 'Content-Type'
|
389
401
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
402
|
+
|
403
|
+
header_params['Square-Version'] = "2018-07-12"
|
390
404
|
|
391
405
|
# form parameters
|
392
406
|
form_params = {}
|
@@ -444,6 +458,8 @@ module SquareConnect
|
|
444
458
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
445
459
|
# HTTP header 'Content-Type'
|
446
460
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
461
|
+
|
462
|
+
header_params['Square-Version'] = "2018-07-12"
|
447
463
|
|
448
464
|
# form parameters
|
449
465
|
form_params = {}
|
@@ -46,6 +46,8 @@ module SquareConnect
|
|
46
46
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
47
47
|
# HTTP header 'Content-Type'
|
48
48
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
49
|
+
|
50
|
+
header_params['Square-Version'] = "2018-07-12"
|
49
51
|
|
50
52
|
# form parameters
|
51
53
|
form_params = {}
|
@@ -54,6 +54,8 @@ module SquareConnect
|
|
54
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
57
|
+
|
58
|
+
header_params['Square-Version'] = "2018-07-12"
|
57
59
|
|
58
60
|
# form parameters
|
59
61
|
form_params = {}
|
@@ -111,6 +113,8 @@ module SquareConnect
|
|
111
113
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
112
114
|
# HTTP header 'Content-Type'
|
113
115
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
116
|
+
|
117
|
+
header_params['Square-Version'] = "2018-07-12"
|
114
118
|
|
115
119
|
# form parameters
|
116
120
|
form_params = {}
|
@@ -65,6 +65,8 @@ module SquareConnect
|
|
65
65
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
66
66
|
# HTTP header 'Content-Type'
|
67
67
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
68
|
+
|
69
|
+
header_params['Square-Version'] = "2018-07-12"
|
68
70
|
|
69
71
|
# form parameters
|
70
72
|
form_params = {}
|
@@ -133,6 +135,8 @@ module SquareConnect
|
|
133
135
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
134
136
|
# HTTP header 'Content-Type'
|
135
137
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
138
|
+
|
139
|
+
header_params['Square-Version'] = "2018-07-12"
|
136
140
|
|
137
141
|
# form parameters
|
138
142
|
form_params = {}
|
@@ -54,6 +54,8 @@ module SquareConnect
|
|
54
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
57
|
+
|
58
|
+
header_params['Square-Version'] = "2018-07-12"
|
57
59
|
|
58
60
|
# form parameters
|
59
61
|
form_params = {}
|
@@ -111,6 +113,8 @@ module SquareConnect
|
|
111
113
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
112
114
|
# HTTP header 'Content-Type'
|
113
115
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
116
|
+
|
117
|
+
header_params['Square-Version'] = "2018-07-12"
|
114
118
|
|
115
119
|
# form parameters
|
116
120
|
form_params = {}
|
@@ -172,6 +176,8 @@ module SquareConnect
|
|
172
176
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
173
177
|
# HTTP header 'Content-Type'
|
174
178
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
179
|
+
|
180
|
+
header_params['Square-Version'] = "2018-07-12"
|
175
181
|
|
176
182
|
# form parameters
|
177
183
|
form_params = {}
|
@@ -240,6 +246,8 @@ module SquareConnect
|
|
240
246
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
241
247
|
# HTTP header 'Content-Type'
|
242
248
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
249
|
+
|
250
|
+
header_params['Square-Version'] = "2018-07-12"
|
243
251
|
|
244
252
|
# form parameters
|
245
253
|
form_params = {}
|
@@ -308,6 +316,8 @@ module SquareConnect
|
|
308
316
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
309
317
|
# HTTP header 'Content-Type'
|
310
318
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
319
|
+
|
320
|
+
header_params['Square-Version'] = "2018-07-12"
|
311
321
|
|
312
322
|
# form parameters
|
313
323
|
form_params = {}
|
@@ -365,6 +375,8 @@ module SquareConnect
|
|
365
375
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
366
376
|
# HTTP header 'Content-Type'
|
367
377
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
378
|
+
|
379
|
+
header_params['Square-Version'] = "2018-07-12"
|
368
380
|
|
369
381
|
# form parameters
|
370
382
|
form_params = {}
|
@@ -422,6 +434,8 @@ module SquareConnect
|
|
422
434
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
423
435
|
# HTTP header 'Content-Type'
|
424
436
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
437
|
+
|
438
|
+
header_params['Square-Version'] = "2018-07-12"
|
425
439
|
|
426
440
|
# form parameters
|
427
441
|
form_params = {}
|
@@ -50,6 +50,7 @@ module SquareConnect
|
|
50
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
51
|
# HTTP header 'Content-Type'
|
52
52
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
53
54
|
|
54
55
|
# form parameters
|
55
56
|
form_params = {}
|
@@ -103,6 +104,7 @@ module SquareConnect
|
|
103
104
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
104
105
|
# HTTP header 'Content-Type'
|
105
106
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
107
|
+
|
106
108
|
|
107
109
|
# form parameters
|
108
110
|
form_params = {}
|
@@ -156,6 +158,7 @@ module SquareConnect
|
|
156
158
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
157
159
|
# HTTP header 'Content-Type'
|
158
160
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
161
|
+
|
159
162
|
|
160
163
|
# form parameters
|
161
164
|
form_params = {}
|
@@ -209,6 +212,7 @@ module SquareConnect
|
|
209
212
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
210
213
|
# HTTP header 'Content-Type'
|
211
214
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
215
|
+
|
212
216
|
|
213
217
|
# form parameters
|
214
218
|
form_params = {}
|
@@ -274,6 +278,7 @@ module SquareConnect
|
|
274
278
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
275
279
|
# HTTP header 'Content-Type'
|
276
280
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
281
|
+
|
277
282
|
|
278
283
|
# form parameters
|
279
284
|
form_params = {}
|
@@ -339,6 +344,7 @@ module SquareConnect
|
|
339
344
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
340
345
|
# HTTP header 'Content-Type'
|
341
346
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
347
|
+
|
342
348
|
|
343
349
|
# form parameters
|
344
350
|
form_params = {}
|
@@ -425,6 +431,7 @@ module SquareConnect
|
|
425
431
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
426
432
|
# HTTP header 'Content-Type'
|
427
433
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
434
|
+
|
428
435
|
|
429
436
|
# form parameters
|
430
437
|
form_params = {}
|
@@ -478,6 +485,7 @@ module SquareConnect
|
|
478
485
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
479
486
|
# HTTP header 'Content-Type'
|
480
487
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
488
|
+
|
481
489
|
|
482
490
|
# form parameters
|
483
491
|
form_params = {}
|
@@ -567,6 +575,7 @@ module SquareConnect
|
|
567
575
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
568
576
|
# HTTP header 'Content-Type'
|
569
577
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
578
|
+
|
570
579
|
|
571
580
|
# form parameters
|
572
581
|
form_params = {}
|
@@ -624,6 +633,7 @@ module SquareConnect
|
|
624
633
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
625
634
|
# HTTP header 'Content-Type'
|
626
635
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
636
|
+
|
627
637
|
|
628
638
|
# form parameters
|
629
639
|
form_params = {}
|
@@ -677,6 +687,7 @@ module SquareConnect
|
|
677
687
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
678
688
|
# HTTP header 'Content-Type'
|
679
689
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
690
|
+
|
680
691
|
|
681
692
|
# form parameters
|
682
693
|
form_params = {}
|
@@ -730,6 +741,7 @@ module SquareConnect
|
|
730
741
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
731
742
|
# HTTP header 'Content-Type'
|
732
743
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
744
|
+
|
733
745
|
|
734
746
|
# form parameters
|
735
747
|
form_params = {}
|
@@ -783,6 +795,7 @@ module SquareConnect
|
|
783
795
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
784
796
|
# HTTP header 'Content-Type'
|
785
797
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
798
|
+
|
786
799
|
|
787
800
|
# form parameters
|
788
801
|
form_params = {}
|
@@ -840,6 +853,7 @@ module SquareConnect
|
|
840
853
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
841
854
|
# HTTP header 'Content-Type'
|
842
855
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
856
|
+
|
843
857
|
|
844
858
|
# form parameters
|
845
859
|
form_params = {}
|
@@ -897,6 +911,7 @@ module SquareConnect
|
|
897
911
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
898
912
|
# HTTP header 'Content-Type'
|
899
913
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
914
|
+
|
900
915
|
|
901
916
|
# form parameters
|
902
917
|
form_params = {}
|
@@ -954,6 +969,7 @@ module SquareConnect
|
|
954
969
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
955
970
|
# HTTP header 'Content-Type'
|
956
971
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
972
|
+
|
957
973
|
|
958
974
|
# form parameters
|
959
975
|
form_params = {}
|
@@ -58,6 +58,7 @@ module SquareConnect
|
|
58
58
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
59
59
|
# HTTP header 'Content-Type'
|
60
60
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
61
|
+
|
61
62
|
|
62
63
|
# form parameters
|
63
64
|
form_params = {}
|
@@ -119,6 +120,7 @@ module SquareConnect
|
|
119
120
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
120
121
|
# HTTP header 'Content-Type'
|
121
122
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
123
|
+
|
122
124
|
|
123
125
|
# form parameters
|
124
126
|
form_params = {}
|
@@ -180,6 +182,7 @@ module SquareConnect
|
|
180
182
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
181
183
|
# HTTP header 'Content-Type'
|
182
184
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
185
|
+
|
183
186
|
|
184
187
|
# form parameters
|
185
188
|
form_params = {}
|
@@ -237,6 +240,7 @@ module SquareConnect
|
|
237
240
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
238
241
|
# HTTP header 'Content-Type'
|
239
242
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
243
|
+
|
240
244
|
|
241
245
|
# form parameters
|
242
246
|
form_params = {}
|
@@ -294,6 +298,7 @@ module SquareConnect
|
|
294
298
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
295
299
|
# HTTP header 'Content-Type'
|
296
300
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
301
|
+
|
297
302
|
|
298
303
|
# form parameters
|
299
304
|
form_params = {}
|
@@ -351,6 +356,7 @@ module SquareConnect
|
|
351
356
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
352
357
|
# HTTP header 'Content-Type'
|
353
358
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
359
|
+
|
354
360
|
|
355
361
|
# form parameters
|
356
362
|
form_params = {}
|
@@ -408,6 +414,7 @@ module SquareConnect
|
|
408
414
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
409
415
|
# HTTP header 'Content-Type'
|
410
416
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
417
|
+
|
411
418
|
|
412
419
|
# form parameters
|
413
420
|
form_params = {}
|
@@ -465,6 +472,7 @@ module SquareConnect
|
|
465
472
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
466
473
|
# HTTP header 'Content-Type'
|
467
474
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
475
|
+
|
468
476
|
|
469
477
|
# form parameters
|
470
478
|
form_params = {}
|
@@ -526,6 +534,7 @@ module SquareConnect
|
|
526
534
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
527
535
|
# HTTP header 'Content-Type'
|
528
536
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
537
|
+
|
529
538
|
|
530
539
|
# form parameters
|
531
540
|
form_params = {}
|
@@ -583,6 +592,7 @@ module SquareConnect
|
|
583
592
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
584
593
|
# HTTP header 'Content-Type'
|
585
594
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
595
|
+
|
586
596
|
|
587
597
|
# form parameters
|
588
598
|
form_params = {}
|
@@ -644,6 +654,7 @@ module SquareConnect
|
|
644
654
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
645
655
|
# HTTP header 'Content-Type'
|
646
656
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
657
|
+
|
647
658
|
|
648
659
|
# form parameters
|
649
660
|
form_params = {}
|
@@ -701,6 +712,7 @@ module SquareConnect
|
|
701
712
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
702
713
|
# HTTP header 'Content-Type'
|
703
714
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
715
|
+
|
704
716
|
|
705
717
|
# form parameters
|
706
718
|
form_params = {}
|
@@ -758,6 +770,7 @@ module SquareConnect
|
|
758
770
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
759
771
|
# HTTP header 'Content-Type'
|
760
772
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
773
|
+
|
761
774
|
|
762
775
|
# form parameters
|
763
776
|
form_params = {}
|
@@ -815,6 +828,7 @@ module SquareConnect
|
|
815
828
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
816
829
|
# HTTP header 'Content-Type'
|
817
830
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
831
|
+
|
818
832
|
|
819
833
|
# form parameters
|
820
834
|
form_params = {}
|
@@ -872,6 +886,7 @@ module SquareConnect
|
|
872
886
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
873
887
|
# HTTP header 'Content-Type'
|
874
888
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
889
|
+
|
875
890
|
|
876
891
|
# form parameters
|
877
892
|
form_params = {}
|
@@ -929,6 +944,7 @@ module SquareConnect
|
|
929
944
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
930
945
|
# HTTP header 'Content-Type'
|
931
946
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
947
|
+
|
932
948
|
|
933
949
|
# form parameters
|
934
950
|
form_params = {}
|
@@ -990,6 +1006,7 @@ module SquareConnect
|
|
990
1006
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
991
1007
|
# HTTP header 'Content-Type'
|
992
1008
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1009
|
+
|
993
1010
|
|
994
1011
|
# form parameters
|
995
1012
|
form_params = {}
|
@@ -1047,6 +1064,7 @@ module SquareConnect
|
|
1047
1064
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1048
1065
|
# HTTP header 'Content-Type'
|
1049
1066
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1067
|
+
|
1050
1068
|
|
1051
1069
|
# form parameters
|
1052
1070
|
form_params = {}
|
@@ -1110,6 +1128,7 @@ module SquareConnect
|
|
1110
1128
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1111
1129
|
# HTTP header 'Content-Type'
|
1112
1130
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1131
|
+
|
1113
1132
|
|
1114
1133
|
# form parameters
|
1115
1134
|
form_params = {}
|
@@ -1171,6 +1190,7 @@ module SquareConnect
|
|
1171
1190
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1172
1191
|
# HTTP header 'Content-Type'
|
1173
1192
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1193
|
+
|
1174
1194
|
|
1175
1195
|
# form parameters
|
1176
1196
|
form_params = {}
|
@@ -1224,6 +1244,7 @@ module SquareConnect
|
|
1224
1244
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1225
1245
|
# HTTP header 'Content-Type'
|
1226
1246
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1247
|
+
|
1227
1248
|
|
1228
1249
|
# form parameters
|
1229
1250
|
form_params = {}
|
@@ -1277,6 +1298,7 @@ module SquareConnect
|
|
1277
1298
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1278
1299
|
# HTTP header 'Content-Type'
|
1279
1300
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1301
|
+
|
1280
1302
|
|
1281
1303
|
# form parameters
|
1282
1304
|
form_params = {}
|
@@ -1330,6 +1352,7 @@ module SquareConnect
|
|
1330
1352
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1331
1353
|
# HTTP header 'Content-Type'
|
1332
1354
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1355
|
+
|
1333
1356
|
|
1334
1357
|
# form parameters
|
1335
1358
|
form_params = {}
|
@@ -1393,6 +1416,7 @@ module SquareConnect
|
|
1393
1416
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1394
1417
|
# HTTP header 'Content-Type'
|
1395
1418
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1419
|
+
|
1396
1420
|
|
1397
1421
|
# form parameters
|
1398
1422
|
form_params = {}
|
@@ -1449,6 +1473,7 @@ module SquareConnect
|
|
1449
1473
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1450
1474
|
# HTTP header 'Content-Type'
|
1451
1475
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1476
|
+
|
1452
1477
|
|
1453
1478
|
# form parameters
|
1454
1479
|
form_params = {}
|
@@ -1502,6 +1527,7 @@ module SquareConnect
|
|
1502
1527
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1503
1528
|
# HTTP header 'Content-Type'
|
1504
1529
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1530
|
+
|
1505
1531
|
|
1506
1532
|
# form parameters
|
1507
1533
|
form_params = {}
|
@@ -1555,6 +1581,7 @@ module SquareConnect
|
|
1555
1581
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1556
1582
|
# HTTP header 'Content-Type'
|
1557
1583
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1584
|
+
|
1558
1585
|
|
1559
1586
|
# form parameters
|
1560
1587
|
form_params = {}
|
@@ -1616,6 +1643,7 @@ module SquareConnect
|
|
1616
1643
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1617
1644
|
# HTTP header 'Content-Type'
|
1618
1645
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1646
|
+
|
1619
1647
|
|
1620
1648
|
# form parameters
|
1621
1649
|
form_params = {}
|
@@ -1677,6 +1705,7 @@ module SquareConnect
|
|
1677
1705
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1678
1706
|
# HTTP header 'Content-Type'
|
1679
1707
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1708
|
+
|
1680
1709
|
|
1681
1710
|
# form parameters
|
1682
1711
|
form_params = {}
|
@@ -1734,6 +1763,7 @@ module SquareConnect
|
|
1734
1763
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1735
1764
|
# HTTP header 'Content-Type'
|
1736
1765
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1766
|
+
|
1737
1767
|
|
1738
1768
|
# form parameters
|
1739
1769
|
form_params = {}
|
@@ -1791,6 +1821,7 @@ module SquareConnect
|
|
1791
1821
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1792
1822
|
# HTTP header 'Content-Type'
|
1793
1823
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1824
|
+
|
1794
1825
|
|
1795
1826
|
# form parameters
|
1796
1827
|
form_params = {}
|
@@ -1852,6 +1883,7 @@ module SquareConnect
|
|
1852
1883
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1853
1884
|
# HTTP header 'Content-Type'
|
1854
1885
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1886
|
+
|
1855
1887
|
|
1856
1888
|
# form parameters
|
1857
1889
|
form_params = {}
|
@@ -1913,6 +1945,7 @@ module SquareConnect
|
|
1913
1945
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1914
1946
|
# HTTP header 'Content-Type'
|
1915
1947
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1948
|
+
|
1916
1949
|
|
1917
1950
|
# form parameters
|
1918
1951
|
form_params = {}
|
@@ -1974,6 +2007,7 @@ module SquareConnect
|
|
1974
2007
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1975
2008
|
# HTTP header 'Content-Type'
|
1976
2009
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2010
|
+
|
1977
2011
|
|
1978
2012
|
# form parameters
|
1979
2013
|
form_params = {}
|
@@ -2035,6 +2069,7 @@ module SquareConnect
|
|
2035
2069
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2036
2070
|
# HTTP header 'Content-Type'
|
2037
2071
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2072
|
+
|
2038
2073
|
|
2039
2074
|
# form parameters
|
2040
2075
|
form_params = {}
|
@@ -2096,6 +2131,7 @@ module SquareConnect
|
|
2096
2131
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2097
2132
|
# HTTP header 'Content-Type'
|
2098
2133
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2134
|
+
|
2099
2135
|
|
2100
2136
|
# form parameters
|
2101
2137
|
form_params = {}
|
@@ -2161,6 +2197,7 @@ module SquareConnect
|
|
2161
2197
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2162
2198
|
# HTTP header 'Content-Type'
|
2163
2199
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2200
|
+
|
2164
2201
|
|
2165
2202
|
# form parameters
|
2166
2203
|
form_params = {}
|
@@ -2222,6 +2259,7 @@ module SquareConnect
|
|
2222
2259
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2223
2260
|
# HTTP header 'Content-Type'
|
2224
2261
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2262
|
+
|
2225
2263
|
|
2226
2264
|
# form parameters
|
2227
2265
|
form_params = {}
|
@@ -2283,6 +2321,7 @@ module SquareConnect
|
|
2283
2321
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2284
2322
|
# HTTP header 'Content-Type'
|
2285
2323
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2324
|
+
|
2286
2325
|
|
2287
2326
|
# form parameters
|
2288
2327
|
form_params = {}
|
@@ -2348,6 +2387,7 @@ module SquareConnect
|
|
2348
2387
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2349
2388
|
# HTTP header 'Content-Type'
|
2350
2389
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
2390
|
+
|
2351
2391
|
|
2352
2392
|
# form parameters
|
2353
2393
|
form_params = {}
|
@@ -46,6 +46,7 @@ module SquareConnect
|
|
46
46
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
47
47
|
# HTTP header 'Content-Type'
|
48
48
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
49
|
+
|
49
50
|
|
50
51
|
# form parameters
|
51
52
|
form_params = {}
|
@@ -95,6 +96,7 @@ module SquareConnect
|
|
95
96
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
96
97
|
# HTTP header 'Content-Type'
|
97
98
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
99
|
+
|
98
100
|
|
99
101
|
# form parameters
|
100
102
|
form_params = {}
|
@@ -54,6 +54,7 @@ module SquareConnect
|
|
54
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
57
|
+
|
57
58
|
|
58
59
|
# form parameters
|
59
60
|
form_params = {}
|
@@ -107,6 +108,7 @@ module SquareConnect
|
|
107
108
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
108
109
|
# HTTP header 'Content-Type'
|
109
110
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
111
|
+
|
110
112
|
|
111
113
|
# form parameters
|
112
114
|
form_params = {}
|
@@ -176,6 +178,7 @@ module SquareConnect
|
|
176
178
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
177
179
|
# HTTP header 'Content-Type'
|
178
180
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
181
|
+
|
179
182
|
|
180
183
|
# form parameters
|
181
184
|
form_params = {}
|
@@ -251,6 +254,7 @@ module SquareConnect
|
|
251
254
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
252
255
|
# HTTP header 'Content-Type'
|
253
256
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
257
|
+
|
254
258
|
|
255
259
|
# form parameters
|
256
260
|
form_params = {}
|
@@ -326,6 +330,7 @@ module SquareConnect
|
|
326
330
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
327
331
|
# HTTP header 'Content-Type'
|
328
332
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
333
|
+
|
329
334
|
|
330
335
|
# form parameters
|
331
336
|
form_params = {}
|
@@ -407,6 +412,7 @@ module SquareConnect
|
|
407
412
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
408
413
|
# HTTP header 'Content-Type'
|
409
414
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
415
|
+
|
410
416
|
|
411
417
|
# form parameters
|
412
418
|
form_params = {}
|
@@ -464,6 +470,7 @@ module SquareConnect
|
|
464
470
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
465
471
|
# HTTP header 'Content-Type'
|
466
472
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
473
|
+
|
467
474
|
|
468
475
|
# form parameters
|
469
476
|
form_params = {}
|
@@ -521,6 +528,7 @@ module SquareConnect
|
|
521
528
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
522
529
|
# HTTP header 'Content-Type'
|
523
530
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
531
|
+
|
524
532
|
|
525
533
|
# form parameters
|
526
534
|
form_params = {}
|
@@ -578,6 +586,7 @@ module SquareConnect
|
|
578
586
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
579
587
|
# HTTP header 'Content-Type'
|
580
588
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
589
|
+
|
581
590
|
|
582
591
|
# form parameters
|
583
592
|
form_params = {}
|
@@ -635,6 +644,7 @@ module SquareConnect
|
|
635
644
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
636
645
|
# HTTP header 'Content-Type'
|
637
646
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
647
|
+
|
638
648
|
|
639
649
|
# form parameters
|
640
650
|
form_params = {}
|
@@ -696,6 +706,7 @@ module SquareConnect
|
|
696
706
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
697
707
|
# HTTP header 'Content-Type'
|
698
708
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
709
|
+
|
699
710
|
|
700
711
|
# form parameters
|
701
712
|
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.
|
33
|
+
@user_agent = "Square-Connect-Ruby/2.20180712.0"
|
34
34
|
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => "application/json",
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
module SquareConnect
|
13
13
|
# Creation source filter. If one or more creation sources are set, customer profiles are included in, or excluded from, the result if they match at least one of the filter criteria.
|
14
14
|
class CustomerCreationSourceFilter
|
15
|
-
# The list of creation sources used as filtering criteria.
|
15
|
+
# The list of creation sources used as filtering criteria. See [CustomerCreationSource](#type-customercreationsource) for possible values.
|
16
16
|
attr_accessor :values
|
17
17
|
|
18
18
|
# Indicates whether a customer profile matching the filter criteria should be included in the result or excluded from the result. Default: `INCLUDE`. See [CustomerInclusionExclusion](#type-customerinclusionexclusion) for possible values.
|
@@ -12,10 +12,10 @@ require 'date'
|
|
12
12
|
module SquareConnect
|
13
13
|
# Indicates the field to use for sorting customer profiles. For example, by total money spent with the merchant or the date of their first purchase.
|
14
14
|
class CustomerSort
|
15
|
-
# The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc).
|
15
|
+
# The field to sort the results on. It could be the total money spent at the merchant, the date of the first visit (etc). See [CustomerSortField](#type-customersortfield) for possible values. Default value: `DEFAULT`.
|
16
16
|
attr_accessor :field
|
17
17
|
|
18
|
-
# Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. Default value: `ASC`.
|
18
|
+
# Indicates the order in which results should be displayed based on the value of the sort field. String comparisons use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. See [SortOrder](#type-sortorder) for possible values. Default value: `ASC`.
|
19
19
|
attr_accessor :order
|
20
20
|
|
21
21
|
class EnumAttributeValidator
|
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.
|
4
|
+
version: 2.20180712.0.224
|
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-
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|