Skip to content

Commit 6dbf8ea

Browse files
author
Matt Nguyen
committed
OpenAPI generated code at 2021-12-08T23:37:25Z
1 parent 99a024b commit 6dbf8ea

17 files changed

+731
-174
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ plaid/model/payment_initiation_payment_list_request.py
314314
plaid/model/payment_initiation_payment_list_response.py
315315
plaid/model/payment_initiation_payment_reverse_request.py
316316
plaid/model/payment_initiation_payment_reverse_response.py
317+
plaid/model/payment_initiation_payment_status.py
317318
plaid/model/payment_initiation_payment_token_create_request.py
318319
plaid/model/payment_initiation_payment_token_create_response.py
319320
plaid/model/payment_initiation_recipient.py
@@ -467,9 +468,11 @@ plaid/model/transfer_event_type.py
467468
plaid/model/transfer_failure.py
468469
plaid/model/transfer_get_request.py
469470
plaid/model/transfer_get_response.py
471+
plaid/model/transfer_intent_create.py
470472
plaid/model/transfer_intent_create_mode.py
471473
plaid/model/transfer_intent_create_request.py
472474
plaid/model/transfer_intent_create_response.py
475+
plaid/model/transfer_intent_get.py
473476
plaid/model/transfer_intent_get_failure_reason.py
474477
plaid/model/transfer_intent_get_request.py
475478
plaid/model/transfer_intent_get_response.py

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
See full changelog for the OpenAPI Schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md).
22

3+
## 8.8.0
4+
- Updating to OAS 2020-09-14_1.58.1
5+
36
## 8.7.0
47
- Updating to OAS 2020-09-14_1.54.1
58

plaid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010

11-
__version__ = "8.7.0"
11+
__version__ = "8.8.0"
1212

1313
# import ApiClient
1414
from plaid.api_client import ApiClient

plaid/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7474
self.default_headers[header_name] = header_value
7575
self.cookie = cookie
7676
# Set default User-Agent.
77-
self.user_agent = 'Plaid Python v8.7.0'
77+
self.user_agent = 'Plaid Python v8.8.0'
7878

7979
def __enter__(self):
8080
return self

plaid/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ def to_debug_report(self):
427427
return "Python SDK Debug Report:\n"\
428428
"OS: {env}\n"\
429429
"Python Version: {pyversion}\n"\
430-
"Version of the API: 2020-09-14_1.54.0\n"\
431-
"SDK Package Version: 8.7.0".\
430+
"Version of the API: 2020-09-14_1.58.1\n"\
431+
"SDK Package Version: 8.8.0".\
432432
format(env=sys.platform, pyversion=sys.version)
433433

434434
def get_host_settings(self):

plaid/model/income_verification_precheck_military_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class IncomeVerificationPrecheckMilitaryInfo(ModelNormal):
5757
'COAST_GUARD': "COAST GUARD",
5858
'MARINES': "MARINES",
5959
'NAVY': "NAVY",
60+
'UNKNOWN': "UNKNOWN",
6061
},
6162
}
6263

plaid/model/payment_initiation_payment.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ def lazy_import():
2828
from plaid.model.external_payment_refund_details import ExternalPaymentRefundDetails
2929
from plaid.model.external_payment_schedule_get import ExternalPaymentScheduleGet
3030
from plaid.model.payment_amount import PaymentAmount
31+
from plaid.model.payment_initiation_payment_status import PaymentInitiationPaymentStatus
3132
from plaid.model.payment_initiation_refund import PaymentInitiationRefund
3233
from plaid.model.sender_bacs_nullable import SenderBACSNullable
3334
globals()['ExternalPaymentRefundDetails'] = ExternalPaymentRefundDetails
3435
globals()['ExternalPaymentScheduleGet'] = ExternalPaymentScheduleGet
3536
globals()['PaymentAmount'] = PaymentAmount
37+
globals()['PaymentInitiationPaymentStatus'] = PaymentInitiationPaymentStatus
3638
globals()['PaymentInitiationRefund'] = PaymentInitiationRefund
3739
globals()['SenderBACSNullable'] = SenderBACSNullable
3840

@@ -62,16 +64,6 @@ class PaymentInitiationPayment(ModelNormal):
6264
"""
6365

6466
allowed_values = {
65-
('status',): {
66-
'INPUT_NEEDED': "PAYMENT_STATUS_INPUT_NEEDED",
67-
'PROCESSING': "PAYMENT_STATUS_PROCESSING",
68-
'INITIATED': "PAYMENT_STATUS_INITIATED",
69-
'COMPLETED': "PAYMENT_STATUS_COMPLETED",
70-
'INSUFFICIENT_FUNDS': "PAYMENT_STATUS_INSUFFICIENT_FUNDS",
71-
'FAILED': "PAYMENT_STATUS_FAILED",
72-
'BLOCKED': "PAYMENT_STATUS_BLOCKED",
73-
'UNKNOWN': "PAYMENT_STATUS_UNKNOWN",
74-
},
7567
}
7668

7769
validations = {
@@ -102,7 +94,7 @@ def openapi_types():
10294
return {
10395
'payment_id': (str,), # noqa: E501
10496
'amount': (PaymentAmount,), # noqa: E501
105-
'status': (str,), # noqa: E501
97+
'status': (PaymentInitiationPaymentStatus,), # noqa: E501
10698
'recipient_id': (str,), # noqa: E501
10799
'reference': (str,), # noqa: E501
108100
'last_status_update': (datetime,), # noqa: E501
@@ -154,7 +146,7 @@ def __init__(self, payment_id, amount, status, recipient_id, reference, last_sta
154146
Args:
155147
payment_id (str): The ID of the payment. Like all Plaid identifiers, the `payment_id` is case sensitive.
156148
amount (PaymentAmount):
157-
status (str): The status of the payment. `PAYMENT_STATUS_INPUT_NEEDED`: This is the initial state of all payments. It indicates that the payment is waiting on user input to continue processing. A payment may re-enter this state later on if further input is needed. `PAYMENT_STATUS_PROCESSING`: The payment is currently being processed. The payment will automatically exit this state when processing is complete. `PAYMENT_STATUS_INITIATED`: The payment has been successfully initiated and is considered complete. `PAYMENT_STATUS_COMPLETED`: Indicates that the standing order has been successfully established. This state is only used for standing orders. `PAYMENT_STATUS_INSUFFICIENT_FUNDS`: The payment has failed due to insufficient funds. `PAYMENT_STATUS_FAILED`: The payment has failed to be initiated. This error is retryable once the root cause is resolved. `PAYMENT_STATUS_BLOCKED`: The payment has been blocked. This is a retryable error. `PAYMENT_STATUS_UNKNOWN`: The payment status is unknown.
149+
status (PaymentInitiationPaymentStatus):
158150
recipient_id (str): The ID of the recipient
159151
reference (str): A reference for the payment.
160152
last_status_update (datetime): The date and time of the last time the `status` was updated, in IS0 8601 format

plaid/model/payment_initiation_payment_get_response.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ def lazy_import():
2929
from plaid.model.external_payment_schedule_get import ExternalPaymentScheduleGet
3030
from plaid.model.payment_amount import PaymentAmount
3131
from plaid.model.payment_initiation_payment import PaymentInitiationPayment
32+
from plaid.model.payment_initiation_payment_status import PaymentInitiationPaymentStatus
3233
from plaid.model.payment_initiation_recipient_get_response_all_of import PaymentInitiationRecipientGetResponseAllOf
3334
from plaid.model.payment_initiation_refund import PaymentInitiationRefund
3435
from plaid.model.sender_bacs_nullable import SenderBACSNullable
3536
globals()['ExternalPaymentRefundDetails'] = ExternalPaymentRefundDetails
3637
globals()['ExternalPaymentScheduleGet'] = ExternalPaymentScheduleGet
3738
globals()['PaymentAmount'] = PaymentAmount
3839
globals()['PaymentInitiationPayment'] = PaymentInitiationPayment
40+
globals()['PaymentInitiationPaymentStatus'] = PaymentInitiationPaymentStatus
3941
globals()['PaymentInitiationRecipientGetResponseAllOf'] = PaymentInitiationRecipientGetResponseAllOf
4042
globals()['PaymentInitiationRefund'] = PaymentInitiationRefund
4143
globals()['SenderBACSNullable'] = SenderBACSNullable
@@ -66,16 +68,6 @@ class PaymentInitiationPaymentGetResponse(ModelComposed):
6668
"""
6769

6870
allowed_values = {
69-
('status',): {
70-
'INPUT_NEEDED': "PAYMENT_STATUS_INPUT_NEEDED",
71-
'PROCESSING': "PAYMENT_STATUS_PROCESSING",
72-
'INITIATED': "PAYMENT_STATUS_INITIATED",
73-
'COMPLETED': "PAYMENT_STATUS_COMPLETED",
74-
'INSUFFICIENT_FUNDS': "PAYMENT_STATUS_INSUFFICIENT_FUNDS",
75-
'FAILED': "PAYMENT_STATUS_FAILED",
76-
'BLOCKED': "PAYMENT_STATUS_BLOCKED",
77-
'UNKNOWN': "PAYMENT_STATUS_UNKNOWN",
78-
},
7971
}
8072

8173
validations = {
@@ -106,7 +98,7 @@ def openapi_types():
10698
return {
10799
'payment_id': (str,), # noqa: E501
108100
'amount': (PaymentAmount,), # noqa: E501
109-
'status': (str,), # noqa: E501
101+
'status': (PaymentInitiationPaymentStatus,), # noqa: E501
110102
'recipient_id': (str,), # noqa: E501
111103
'reference': (str,), # noqa: E501
112104
'last_status_update': (datetime,), # noqa: E501
@@ -161,7 +153,7 @@ def __init__(self, payment_id, amount, status, recipient_id, reference, last_sta
161153
Args:
162154
payment_id (str): The ID of the payment. Like all Plaid identifiers, the `payment_id` is case sensitive.
163155
amount (PaymentAmount):
164-
status (str): The status of the payment. `PAYMENT_STATUS_INPUT_NEEDED`: This is the initial state of all payments. It indicates that the payment is waiting on user input to continue processing. A payment may re-enter this state later on if further input is needed. `PAYMENT_STATUS_PROCESSING`: The payment is currently being processed. The payment will automatically exit this state when processing is complete. `PAYMENT_STATUS_INITIATED`: The payment has been successfully initiated and is considered complete. `PAYMENT_STATUS_COMPLETED`: Indicates that the standing order has been successfully established. This state is only used for standing orders. `PAYMENT_STATUS_INSUFFICIENT_FUNDS`: The payment has failed due to insufficient funds. `PAYMENT_STATUS_FAILED`: The payment has failed to be initiated. This error is retryable once the root cause is resolved. `PAYMENT_STATUS_BLOCKED`: The payment has been blocked. This is a retryable error. `PAYMENT_STATUS_UNKNOWN`: The payment status is unknown.
156+
status (PaymentInitiationPaymentStatus):
165157
recipient_id (str): The ID of the recipient
166158
reference (str): A reference for the payment.
167159
last_status_update (datetime): The date and time of the last time the `status` was updated, in IS0 8601 format

0 commit comments

Comments
 (0)