8000 [Librarian] Regenerated @ 61e059e9694883693c4919778c1e37947fdb3168 · thecodeflash/twilio-python@2cbf145 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2cbf145

Browse files
author
Doug Black
committed
[Librarian] Regenerated @ 61e059e9694883693c4919778c1e37947fdb3168
1 parent 2f0f62d commit 2cbf145

File tree

140 files changed

+1045
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+1045
-93
lines changed

CHANGES.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2017-07-27] Version 6.5.0
7+
---------------------------
8+
**Api**
9+
- Remove unused `encryption_type` property on Recordings *(breaking change)*
10+
- Update `status` enum for Messages to include 'accepted'
11+
12+
**Messaging**
13+
- Fix incorrectly typed capabilities property for PhoneNumbers.
14+
15+
**Notify**
16+
- Add `ToBinding` optional parameter on Notifications resource creation. Accepted values are json strings.
17+
18+
**Preview**
19+
- Add `sms_application_sid` to HostedNumberOrders.
20+
21+
**Taskrouter**
22+
- Fully support conference functionality in reservati 10000 ons.
23+
24+
625
[2017-07-12] Version 6.4.3
726
---------------------------
827
**Api**

ISSUE_TEMPLATE.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
*Note: These issues are for bugs and feature requests for the helper libraries. If you need help or support, please email help@twilio.com and one of our experts will assist you!*
1+
*Note: These issues are for bugs and feature requests for the helper libraries.
2+
If you need help or support, please email help@twilio.com and one of our experts
3+
will assist you!*
24

35

46
**Version:**
5-
**API Subdomain (api/taskrouter/ip_messaging):**
67

78
### Code Snippet
89
```python
910
# paste code here
1011
```
1112

12-
### Exception / Log
13+
### Exception/Log
1314
```
14-
<place exception / log here>
15+
<place exception/log here>
1516
```
1617

1718
### Steps to Reproduce
@@ -21,4 +22,5 @@
2122

2223

2324
### Feature Request
24-
_If this is a feature request, make sure you search Issues for an existing request before creating a new one!_
25+
_If this is a feature request, make sure you search Issues for an existing
26+
request before creating a new one!_

VERSIONS.md

Lines changed: 21 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,36 @@
11
# Versioning Strategy
22

3-
`twilio-python` uses a modified version of [Semantic Versioning][semver] for all
4-
changes to the helper library. It is strongly encouraged that you pin at least
5-
the major version and potentially the minor version to avoid pulling in breaking
6-
changes.
3+
`twilio-python` uses a modified version of [Semantic Versioning][semver] for
4+
all changes to the helper library. It is strongly encouraged that you pin at
5+
least the major version and potentially the minor version to avoid pulling in
6+
breaking changes.
77

88
Semantic Versions take the form of `MAJOR`.`MINOR`.`PATCH`
99

10-
When bugs are fixed in the library in a backwards compatible way, the `PATCH`
11-
level will be incremented by one. When new features are added to the library
10+
When bugs are fixed in the library in a backwards compatible way, the `PATCH`
11+
level will be incremented by one. When new features are added to the library
1212
in a backwards compatible way, the `PATCH` level will be incremented by one.
1313
`PATCH` changes should _not_ break your code and are generally safe for upgrade.
1414

15-
When a new large feature set comes online or a small breaking change is
16-
introduced, the `MINOR` version will be incremented by one and the `PATCH`
15+
When a new large feature set comes online or a small breaking change is
16+
introduced, the `MINOR` version will be incremented by one and the `PATCH`
1717
version reset to zero. `MINOR` changes _may_ require some amount of manual code
18-
change for upgrade. These backwards-incompatible changes will generally be limited
19-
to a small number of function signature changes.
18+
change for upgrade. These backwards-incompatible changes will generally be
19+
limited to a small number of function signature changes.
2020

21-
The `MAJOR` version is used to indicate the family of technology represented by
22-
the helper library. It increased from `5.x.x` to `6.x.x` when Twilio moved to
23-
auto generation of helper libraries. Breaking changes that requires extensive
24-
reworking of code (like the `5.x.x` to `6.x.x` upgrade) will case the `MAJOR`
25-
version to be incremented by one, the `MINOR` and `PATCH` versions will be reset
26-
to zero. Twilio understands that this can be very disruptive, we will only
27-
introduce this type of breaking change when absolutely necessary. New `MAJOR`
28-
versions will be communicated in advance with `Release Candidates` and a
29-
schedule.
21+
The `MAJOR` version is used to indicate the family of technology represented by
22+
the helper library. Breaking changes that requires extensive reworking of code
23+
will case the `MAJOR` version to be incremented by one, and the `MINOR` and
24+
`PATCH` versions will be reset to zero. Twilio understands that this can be very
25+
disruptive, so we will only introduce this type of breaking change when
26+
absolutely necessary. New `MAJOR` versions will be communicated in advance with
27+
`Release Candidates` and a schedule.
3028

3129
## Supported Versions
3230

33-
`twilio-python` follows an evergreen model of support. New features and
34-
functionality will only be added to the current version. The current version -
35-
1 will continue to be supported with bugfixes and security updates, but no new
31+
`twilio-python` follows an evergreen model of support. New features and
32+
functionality will only be added to the current version. The current version -
33+
1 will continue to be supported with bug fixes and security updates, but no new
3634
features.
3735

38-
## Edge Features (alpha Branch)
39-
40-
Twilio frequently rolls out new features in public and private beta periods.
41-
Twilio strives to ship early and often and bake customer feedback back into our
42-
products. To support that mission, the `twilio-python` helper library has an
43-
`Edge` version based off the `alpha` branch. This version is identified with an
44-
`a` metadata tag on the version number.
45-
46-
The way the `Edge` artifact is created is by playing the `Edge` features on top
47-
of our stable artifact. The `Edge` artifact will always have the same version
48-
number as the stable artifact it was created from, but with an `a` suffix.
49-
50-
For example, `6.0.0a1` is the `6.0.0` branch with `Edge` features included.
51-
If there is a change to one of the `Edge` features we may regenerate the `Edge`
52-
artifact and release a new `6.0.0a2`, new `Edge` artifacts simply increment
53-
the number after the `a` suffix. All `Edge` features are considered
54-
unstable and a backwards incompatible change in an `Edge` feature will not cause
55-
any version change so you should take care when upgrading from one `a`
56-
version to another.
57-
58-
Once an `Edge` feature has matured it will be considered `Mainline` and included
59-
in the stable artifact, with a `MAJOR` or `MINOR` version bump.
60-
61-
To use an `Edge` artifact in your PYTHON project you will have to make sure that
62-
you pin the artifact with `a` stability in your `setup.py` or `requirements.txt`.
63-
64-
[semver]: http://semver.org/
36+
[semver]: http://semver.org/

tests/integration/api/v2010/account/call/test_recording.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def test_fetch_response(self):
4141
"price": null,
4242
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4343
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
44-
"encryption_type": "public-key",
4544
"encryption_details": {
4645
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4746
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
@@ -119,7 +118,6 @@ def test_read_full_response(self):
119118
"price": null,
120119
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
121120
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
122-
"encryption_type": "public-key",
123121
"encryption_details": {
124122
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
125123
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",

tests/integration/api/v2010/account/test_recording.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def test_fetch_response(self):
4444
"channels": 1,
4545
"source": "Trunking",
4646
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
47-
"encryption_type": "public-key",
4847
"encryption_details": {
741A
4948
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5049
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
@@ -122,7 +121,6 @@ def test_read_full_response(self):
122121
"channels": 1,
123122
"source": "Trunking",
124123
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
125-
"encryption_type": "public-key",
126124
"encryption_details": {
127125
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
128126
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",

tests/integration/taskrouter/v1/workspace/task/test_reservation.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_read_full_response(self):
3939
"page": 0,
4040
"page_size": 50,
4141
"previous_page_url": null,
42-
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations"
42+
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations?PageSize=50&Page=0"
4343
},
4444
"reservations": [
4545
{
@@ -51,7 +51,7 @@ def test_read_full_response(self):
5151
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5252
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
5353
},
54-
"reservation_status": "reserved",
54+
"reservation_status": "accepted",
5555
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5656
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5757
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -82,7 +82,7 @@ def test_read_empty_response(self):
8282
"page": 0,
8383
"page_size": 50,
8484
"previous_page_url": null,
85-
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations"
85+
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations?PageSize=50&Page=0"
8686
},
8787
"reservations": []
8888
}
@@ -121,7 +121,7 @@ def test_fetch_response(self):
121121
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
122122
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
123123
},
124-
"reservation_status": "reserved",
124+
"reservation_status": "accepted",
125125
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
126126
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
127127
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -164,7 +164,7 @@ def test_update_response(self):
164164
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
165165
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
166166
},
167-
"reservation_status": "reserved",
167+
"reservation_status": "accepted",
168168
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
169169
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
170170
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Tasks/WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",

tests/integration/taskrouter/v1/workspace/worker/test_reservation.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_read_full_response(self):
3939
"page": 0,
4040
"page_size": 50,
4141
"previous_page_url": null,
42-
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations"
42+
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations?PageSize=50&Page=0"
4343
},
4444
"reservations": [
4545
{
@@ -51,7 +51,7 @@ def test_read_full_response(self):
5151
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5252
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
5353
},
54-
"reservation_status": "reserved",
54+
"reservation_status": "accepted",
5555
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5656
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5757
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -82,7 +82,7 @@ def test_read_empty_response(self):
8282
"page": 0,
8383
"page_size": 50,
8484
"previous_page_url": null,
85-
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations"
85+
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations?PageSize=50&Page=0"
8686
},
8787
"reservations": []
8888
}
@@ -121,7 +121,7 @@ def test_fetch_response(self):
121121
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
122122
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
123123
},
124-
"reservation_status": "reserved",
124+
"reservation_status": "accepted",
125125
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
126126
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
127127
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -164,7 +164,7 @@ def test_update_response(self):
164164
"worker": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
165165
"workspace": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
166166
},
167-
"reservation_status": "reserved",
167+
"reservation_status": "accepted",
168168
"sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
169169
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
170170
"url": "https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers/WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Reservations/WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",

0 commit comments

Comments
 (0)
0