python-amcards 1.2.27__tar.gz → 1.2.29__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-amcards
3
- Version: 1.2.27
3
+ Version: 1.2.29
4
4
  Summary: A wrapper for the AMcards API.
5
5
  Home-page: https://github.com/simonesestili/python-amcards
6
6
  Author: Simone Sestili
@@ -15,6 +15,7 @@ CARD_OPTIONAL_SHIPPING_ADDRESS_FIELDS = {
15
15
  'country',
16
16
  'organization',
17
17
  'third_party_contact_id',
18
+ 'address_line_2',
18
19
  }
19
20
 
20
21
  CAMPAIGN_OPTIONAL_SHIPPING_ADDRESS_FIELDS = {
@@ -24,6 +25,7 @@ CAMPAIGN_OPTIONAL_SHIPPING_ADDRESS_FIELDS = {
24
25
  'birth_date',
25
26
  'anniversary_date',
26
27
  'third_party_contact_id',
28
+ 'address_line_2',
27
29
  }
28
30
 
29
31
  OPTIONAL_RETURN_ADDRESS_FIELDS = {
@@ -487,7 +487,7 @@ class Card:
487
487
  date_fulfilled=helpers.to_datetime(json['fulfilled']),
488
488
  is_international=json['is_international'],
489
489
  template_name=json['template_name'],
490
- thumbnail=json['thumbnail_url'],
490
+ thumbnail=json['thumbnail'],
491
491
  campaign_id=json['campaign_pk'],
492
492
  shipping_address=helpers.parse_shipping_address(json),
493
493
  return_address=helpers.parse_return_address(json),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-amcards
3
- Version: 1.2.27
3
+ Version: 1.2.29
4
4
  Summary: A wrapper for the AMcards API.
5
5
  Home-page: https://github.com/simonesestili/python-amcards
6
6
  Author: Simone Sestili
@@ -7,7 +7,7 @@ def README():
7
7
 
8
8
  setup(
9
9
  name='python-amcards',
10
- version='1.2.27',
10
+ version='1.2.29',
11
11
  description='A wrapper for the AMcards API.',
12
12
  long_description=README(),
13
13
  long_description_content_type='text/x-rst',
File without changes