Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: Release

on:
pull_request:
types: [closed]
push:
branches:
- main

jobs:
release:
if: "github.event.pull_request.merged == true"
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -19,3 +17,4 @@ jobs:
with:
commit: main
tag: 0.0.2

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [ProfitAndLossRecords](docs/models/ProfitAndLossRecords.md)
- [ProfitAndLossSection](docs/models/ProfitAndLossSection.md)
- [RequestCountAllocation](docs/models/RequestCountAllocation.md)
- [RequestRate](docs/models/RequestRate.md)
- [ResolveWebhookEventRequest](docs/models/ResolveWebhookEventRequest.md)
- [ResolveWebhookEventsRequest](docs/models/ResolveWebhookEventsRequest.md)
- [ResolveWebhookResponse](docs/models/ResolveWebhookResponse.md)
Expand Down Expand Up @@ -1252,6 +1253,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) |
- [Url](docs/models/Url.md)
- [User](docs/models/User.md)
- [VaultEventType](docs/models/VaultEventType.md)
- [VirtualWebhooks](docs/models/VirtualWebhooks.md)
- [WalletDetails](docs/models/WalletDetails.md)
- [Webhook](docs/models/Webhook.md)
- [WebhookEventLog](docs/models/WebhookEventLog.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/models/Connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**supported_resources** | [**[LinkedConnectorResource]**](LinkedConnectorResource.md) | List of resources that are supported on the connector. | [optional]
**configurable_resources** | **[str]** | List of resources that have settings that can be configured. | [optional]
**supported_events** | [**[ConnectorEvent]**](ConnectorEvent.md) | List of events that are supported on the connector across all Unified APIs. | [optional]
**webhook_support** | [**[WebhookSupport]**](WebhookSupport.md) | How webhooks are supported for the connector. Sometimes the connector natively supports webhooks, other times Apideck virtualizes them based on polling. | [optional]
**webhook_support** | [**WebhookSupport**](WebhookSupport.md) | | [optional]
**docs** | [**[ConnectorDoc]**](ConnectorDoc.md) | | [optional]
**tls_support** | [**ConnectorTlsSupport**](ConnectorTlsSupport.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
15 changes: 15 additions & 0 deletions docs/models/RequestRate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# RequestRate

The rate at which requests for resources will be made to downstream.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**rate** | **int** | The number of requests per window unit. |
**size** | **int** | Size of request window. |
**unit** | **str** | The window unit for the rate. |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)


14 changes: 14 additions & 0 deletions docs/models/VirtualWebhooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# VirtualWebhooks

Virtual webhook config for the connector.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**request_rate** | [**RequestRate**](RequestRate.md) | |
**resources** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | The resources that will be requested from downstream. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)


4 changes: 3 additions & 1 deletion docs/models/WebhookSupport.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# WebhookSupport

How webhooks are supported for the connector. Sometimes the connector natively supports webhooks, other times Apideck virtualizes them based on polling.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**mode** | **str** | Mode of the webhook support. | [optional]
**subscription_level** | **str** | Received events are scoped to consumer or across integration. | [optional]
**subscription_level** | **str** | Received events are scoped to connection or across integration. | [optional]
**managed_via** | **str** | How the subscription is managed in the downstream. | [optional]
**virtual_webhooks** | [**VirtualWebhooks**](VirtualWebhooks.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
Expand Down
6 changes: 6 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ apideck/model/profit_and_loss_record.py
apideck/model/profit_and_loss_records.py
apideck/model/profit_and_loss_section.py
apideck/model/request_count_allocation.py
apideck/model/request_rate.py
apideck/model/resolve_webhook_event_request.py
apideck/model/resolve_webhook_events_request.py
apideck/model/resolve_webhook_response.py
Expand Down Expand Up @@ -519,6 +520,7 @@ apideck/model/upload_session.py
apideck/model/url.py
apideck/model/user.py
apideck/model/vault_event_type.py
apideck/model/virtual_webhooks.py
apideck/model/wallet_details.py
apideck/model/webhook.py
apideck/model/webhook_event_log.py
Expand Down Expand Up @@ -947,6 +949,7 @@ docs/ProfitAndLossRecord.md
docs/ProfitAndLossRecords.md
docs/ProfitAndLossSection.md
docs/RequestCountAllocation.md
docs/RequestRate.md
docs/ResolveWebhookEventRequest.md
docs/ResolveWebhookEventsRequest.md
docs/ResolveWebhookResponse.md
Expand Down Expand Up @@ -1033,6 +1036,7 @@ docs/Url.md
docs/User.md
docs/VaultApi.md
docs/VaultEventType.md
docs/VirtualWebhooks.md
docs/WalletDetails.md
docs/Webhook.md
docs/WebhookApi.md
Expand Down Expand Up @@ -1465,6 +1469,7 @@ test/test_profit_and_loss_record.py
test/test_profit_and_loss_records.py
test/test_profit_and_loss_section.py
test/test_request_count_allocation.py
test/test_request_rate.py
test/test_resolve_webhook_event_request.py
test/test_resolve_webhook_events_request.py
test/test_resolve_webhook_response.py
Expand Down Expand Up @@ -1551,6 +1556,7 @@ test/test_url.py
test/test_user.py
test/test_vault_api.py
test/test_vault_event_type.py
test/test_virtual_webhooks.py
test/test_wallet_details.py
test/test_webhook.py
test/test_webhook_api.py
Expand Down
6 changes: 3 additions & 3 deletions src/apideck/model/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def openapi_types():
'supported_resources': ([LinkedConnectorResource],), # noqa: E501
'configurable_resources': ([str],), # noqa: E501
'supported_events': ([ConnectorEvent],), # noqa: E501
'webhook_support': ([WebhookSupport],), # noqa: E501
'webhook_support': (WebhookSupport,), # noqa: E501
'docs': ([ConnectorDoc],), # noqa: E501
'tls_support': (ConnectorTlsSupport,), # noqa: E501
}
Expand Down Expand Up @@ -252,7 +252,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
supported_resources ([LinkedConnectorResource]): List of resources that are supported on the connector.. [optional] # noqa: E501
configurable_resources ([str]): List of resources that have settings that can be configured.. [optional] # noqa: E501
supported_events ([ConnectorEvent]): List of events that are supported on the connector across all Unified APIs.. [optional] # noqa: E501
webhook_support ([WebhookSupport]): How webhooks are supported for the connector. Sometimes the connector natively supports webhooks, other times Apideck virtualizes them based on polling.. [optional] # noqa: E501
webhook_support (WebhookSupport): [optional] # noqa: E501
docs ([ConnectorDoc]): [optional] # noqa: E501
tls_support (ConnectorTlsSupport): [optional] # noqa: E501
"""
Expand Down Expand Up @@ -359,7 +359,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
supported_resources ([LinkedConnectorResource]): List of resources that are supported on the connector.. [optional] # noqa: E501
configurable_resources ([str]): List of resources that have settings that can be configured.. [optional] # noqa: E501
supported_events ([ConnectorEvent]): List of events that are supported on the connector across all Unified APIs.. [optional] # noqa: E501
webhook_support ([WebhookSupport]): How webhooks are supported for the connector. Sometimes the connector natively supports webhooks, other times Apideck virtualizes them based on polling.. [optional] # noqa: E501
webhook_support (WebhookSupport): [optional] # noqa: E501
docs ([ConnectorDoc]): [optional] # noqa: E501
tls_support (ConnectorTlsSupport): [optional] # noqa: E501
"""
Expand Down
Loading