Skip to content

Commit 64b1180

Browse files
author
Wolfgang Schuster
authored
Merge pull request #75 from square/release/14.1.1.20210915
Generated PR for Release: 14.1.1.20210915
2 parents e49c54e + 1512a69 commit 64b1180

16 files changed

Lines changed: 44 additions & 22 deletions

.github/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# configuration settings for labeler
23

34
version: v1

.github/workflows/python-package.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,22 @@ jobs:
3434
- name: Test with nose
3535
run: |
3636
nosetests
37+
38+
labeler:
39+
needs: build
40+
if: ${{ github.event_name == 'pull_request' }}
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: automerge-labeler
44+
uses: fuxingloh/multi-labeler@v1
45+
46+
automerge:
47+
needs: labeler
48+
if: ${{ github.event_name == 'pull_request' }}
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: automerge
52+
uses: "pascalgn/automerge-action@v0.14.2"
53+
env:
54+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
55+
MERGE_LABELS: "automerge,automerge-branch,automerge-author"

CHANGELOG.md

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

3+
## Version 14.1.1.20210915 (2021-09-15)
4+
## SDK updates
5+
* Upgraded josnpickle dependency
6+
37
## Version 14.1.0.20210915 (2021-09-15)
48
## API updates
59

doc/api/devices.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ body['device_code']['id'] = 'id0'
8787
body['device_code']['name'] = 'Counter 1'
8888
body['device_code']['code'] = 'code8'
8989
body['device_code']['device_id'] = 'device_id6'
90-
body['device_code']['product_type'] = 'TERMINAL_API'
9190
body['device_code']['location_id'] = 'B5E4484SHHNYH'
9291

9392
result = devices_api.create_device_code(body)

doc/api/invoices.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ body['query']['filter'] = {}
193193
body['query']['filter']['location_ids'] = ['ES0RJRZYEC39A']
194194
body['query']['filter']['customer_ids'] = ['JDKYHBWT1D4F8MFH63DBMEN8Y4']
195195
body['query']['sort'] = {}
196-
body['query']['sort']['field'] = 'INVOICE_SORT_DATE'
197196
body['query']['sort']['order'] = 'DESC'
198197
body['limit'] = 164
199198
body['cursor'] = 'cursor0'

doc/models/device-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| `name` | `string` | Optional | An optional user-defined name for the device code.<br>**Constraints**: *Maximum Length*: `128` |
1414
| `code` | `string` | Optional | The unique code that can be used to login. |
1515
| `device_id` | `string` | Optional | The unique id of the device that used this code. Populated when the device is paired up. |
16-
| `product_type` | `string` | Required | **Default**: `'TERMINAL_API'`<br>*Default: `'TERMINAL_API'`* |
16+
| `product_type` | `string` | Required, Constant | **Default**: `'TERMINAL_API'`<br>*Default: `'TERMINAL_API'`* |
1717
| `location_id` | `string` | Optional | The location assigned to this code.<br>**Constraints**: *Maximum Length*: `50` |
1818
| `status` | [`str (Device Code Status)`](/doc/models/device-code-status.md) | Optional | DeviceCode.Status enum. |
1919
| `pair_by` | `string` | Optional | When this DeviceCode will expire and no longer login. Timestamp in RFC 3339 format. |

doc/models/gift-card-activity-block.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Describes a gift card activity of the BLOCK type.
1111

1212
| Name | Type | Tags | Description |
1313
| --- | --- | --- | --- |
14-
| `reason` | `string` | Required | **Default**: `'CHARGEBACK_BLOCK'`<br>*Default: `'CHARGEBACK_BLOCK'`* |
14+
| `reason` | `string` | Required, Constant | **Default**: `'CHARGEBACK_BLOCK'`<br>*Default: `'CHARGEBACK_BLOCK'`* |
1515

1616
## Example (as JSON)
1717

doc/models/gift-card-activity-unblock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Present only when `GiftCardActivityType` is UNBLOCK.
1111

1212
| Name | Type | Tags | Description |
1313
| --- | --- | --- | --- |
14-
| `reason` | `string` | Required | **Default**: `'CHARGEBACK_UNBLOCK'`<br>*Default: `'CHARGEBACK_UNBLOCK'`* |
14+
| `reason` | `string` | Required, Constant | **Default**: `'CHARGEBACK_UNBLOCK'`<br>*Default: `'CHARGEBACK_UNBLOCK'`* |
1515

1616
## Example (as JSON)
1717

doc/models/invoice-sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Identifies the sort field and sort order.
1111

1212
| Name | Type | Tags | Description |
1313
| --- | --- | --- | --- |
14-
| `field` | `string` | Required | The field to use for sorting.<br>**Default**: `'INVOICE_SORT_DATE'`<br>*Default: `'INVOICE_SORT_DATE'`* |
14+
| `field` | `string` | Required, Constant | The field to use for sorting.<br>**Default**: `'INVOICE_SORT_DATE'`<br>*Default: `'INVOICE_SORT_DATE'`* |
1515
| `order` | [`str (Sort Order)`](/doc/models/sort-order.md) | Optional | The order (e.g., chronological or alphabetical) in which results from a request are returned. |
1616

1717
## Example (as JSON)

doc/models/list-loyalty-programs-response.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ A response that contains all loyalty programs.
3737
}
3838
}
3939
],
40-
"created_at": "\"2020-04-20T16:55:11Z\"",
40+
"created_at": "2020-04-20T16:55:11Z",
4141
"id": "d619f755-2d17-41f3-990d-c04ecedd64dd",
4242
"location_ids": [
4343
"P034NEENMD09F"
4444
],
4545
"reward_tiers": [
4646
{
47-
"created_at": "\"2020-04-20T16:55:11Z\"",
47+
"created_at": "2020-04-20T16:55:11Z",
4848
"definition": {
4949
"discount_type": "FIXED_PERCENTAGE",
5050
"percentage_discount": "10",
@@ -64,7 +64,7 @@ A response that contains all loyalty programs.
6464
"one": "Point",
6565
"other": "Points"
6666
},
67-
"updated_at": "\"2020-05-01T02:00:02Z\""
67+
"updated_at": "2020-05-01T02:00:02Z"
6868
}
6969
]
7070
}

0 commit comments

Comments
 (0)