Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add updates to reactors, tenants, 3ds, tokens #260

Merged
merged 1 commit into from
Oct 17, 2024
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
15 changes: 15 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ docs/CreateSessionResponse.md
docs/CreateTenantConnectionRequest.md
docs/CreateTenantConnectionResponse.md
docs/CreateTenantInvitationRequest.md
docs/CreateThreeDSSessionRequest.md
docs/CreateThreeDSSessionResponse.md
docs/CreateTokenRequest.md
docs/CursorPagination.md
docs/DetokenizeApi.md
docs/GetApplications.md
docs/GetLogs.md
docs/GetPermissions.md
Expand All @@ -51,6 +54,7 @@ docs/Proxy.md
docs/ProxyPaginatedList.md
docs/ProxyTransform.md
docs/ReactRequest.md
docs/ReactRequestAsync.md
docs/ReactResponse.md
docs/Reactor.md
docs/ReactorFormula.md
Expand Down Expand Up @@ -97,6 +101,7 @@ docs/ThreeDSVersion.md
docs/Token.md
docs/TokenCursorPaginatedList.md
docs/TokenEnrichments.md
docs/TokenExtras.md
docs/TokenMetrics.md
docs/TokenPaginatedList.md
docs/TokenReport.md
Expand All @@ -112,10 +117,16 @@ docs/UpdateTenantRequest.md
docs/UpdateTokenRequest.md
docs/User.md
docs/ValidationProblemDetails.md
src/BasisTheory.net.Test/Api/DetokenizeApiTests.cs
src/BasisTheory.net.Test/BasisTheory.net.Test.csproj
src/BasisTheory.net.Test/Model/CreateThreeDSSessionRequestTests.cs
src/BasisTheory.net.Test/Model/CreateThreeDSSessionResponseTests.cs
src/BasisTheory.net.Test/Model/ReactRequestAsyncTests.cs
src/BasisTheory.net.Test/Model/TokenExtrasTests.cs
src/BasisTheory.net/Api/ApplicationKeysApi.cs
src/BasisTheory.net/Api/ApplicationTemplatesApi.cs
src/BasisTheory.net/Api/ApplicationsApi.cs
src/BasisTheory.net/Api/DetokenizeApi.cs
src/BasisTheory.net/Api/LogsApi.cs
src/BasisTheory.net/Api/PermissionsApi.cs
src/BasisTheory.net/Api/ProxiesApi.cs
Expand Down Expand Up @@ -166,6 +177,8 @@ src/BasisTheory.net/Model/CreateSessionResponse.cs
src/BasisTheory.net/Model/CreateTenantConnectionRequest.cs
src/BasisTheory.net/Model/CreateTenantConnectionResponse.cs
src/BasisTheory.net/Model/CreateTenantInvitationRequest.cs
src/BasisTheory.net/Model/CreateThreeDSSessionRequest.cs
src/BasisTheory.net/Model/CreateThreeDSSessionResponse.cs
src/BasisTheory.net/Model/CreateTokenRequest.cs
src/BasisTheory.net/Model/CursorPagination.cs
src/BasisTheory.net/Model/GetApplications.cs
Expand All @@ -191,6 +204,7 @@ src/BasisTheory.net/Model/Proxy.cs
src/BasisTheory.net/Model/ProxyPaginatedList.cs
src/BasisTheory.net/Model/ProxyTransform.cs
src/BasisTheory.net/Model/ReactRequest.cs
src/BasisTheory.net/Model/ReactRequestAsync.cs
src/BasisTheory.net/Model/ReactResponse.cs
src/BasisTheory.net/Model/Reactor.cs
src/BasisTheory.net/Model/ReactorFormula.cs
Expand Down Expand Up @@ -231,6 +245,7 @@ src/BasisTheory.net/Model/ThreeDSVersion.cs
src/BasisTheory.net/Model/Token.cs
src/BasisTheory.net/Model/TokenCursorPaginatedList.cs
src/BasisTheory.net/Model/TokenEnrichments.cs
src/BasisTheory.net/Model/TokenExtras.cs
src/BasisTheory.net/Model/TokenMetrics.cs
src/BasisTheory.net/Model/TokenPaginatedList.cs
src/BasisTheory.net/Model/TokenReport.cs
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Class | Method | HTTP request | Description
*ApplicationsApi* | [**GetByKey**](docs/ApplicationsApi.md#getbykey) | **GET** /applications/key |
*ApplicationsApi* | [**RegenerateKey**](docs/ApplicationsApi.md#regeneratekey) | **POST** /applications/{id}/regenerate |
*ApplicationsApi* | [**Update**](docs/ApplicationsApi.md#update) | **PUT** /applications/{id} |
*DetokenizeApi* | [**Detokenize**](docs/DetokenizeApi.md#detokenize) | **POST** /detokenize |
*LogsApi* | [**Get**](docs/LogsApi.md#get) | **GET** /logs |
*LogsApi* | [**GetEntityTypes**](docs/LogsApi.md#getentitytypes) | **GET** /logs/entity-types |
*PermissionsApi* | [**Get**](docs/PermissionsApi.md#get) | **GET** /permissions |
Expand All @@ -140,6 +141,8 @@ Class | Method | HTTP request | Description
*ReactorsApi* | [**GetById**](docs/ReactorsApi.md#getbyid) | **GET** /reactors/{id} |
*ReactorsApi* | [**Patch**](docs/ReactorsApi.md#patch) | **PATCH** /reactors/{id} |
*ReactorsApi* | [**React**](docs/ReactorsApi.md#react) | **POST** /reactors/{id}/react |
*ReactorsApi* | [**ReactAsync**](docs/ReactorsApi.md#reactasync) | **POST** /reactors/{id}/react-async |
*ReactorsApi* | [**ResultGetById**](docs/ReactorsApi.md#resultgetbyid) | **GET** /reactors/{id}/results/{requestId} |
*ReactorsApi* | [**Update**](docs/ReactorsApi.md#update) | **PUT** /reactors/{id} |
*RolesApi* | [**Get**](docs/RolesApi.md#get) | **GET** /roles |
*SessionsApi* | [**Authorize**](docs/SessionsApi.md#authorize) | **POST** /sessions/authorize |
Expand All @@ -154,10 +157,12 @@ Class | Method | HTTP request | Description
*TenantsApi* | [**GetInvitations**](docs/TenantsApi.md#getinvitations) | **GET** /tenants/self/invitations |
*TenantsApi* | [**GetMembers**](docs/TenantsApi.md#getmembers) | **GET** /tenants/self/members |
*TenantsApi* | [**GetTenantUsageReport**](docs/TenantsApi.md#gettenantusagereport) | **GET** /tenants/self/reports/usage |
*TenantsApi* | [**OwnerGet**](docs/TenantsApi.md#ownerget) | **GET** /tenants/self/owner |
*TenantsApi* | [**ResendInvitation**](docs/TenantsApi.md#resendinvitation) | **POST** /tenants/self/invitations/{invitationId}/resend |
*TenantsApi* | [**Update**](docs/TenantsApi.md#update) | **PUT** /tenants/self |
*TenantsApi* | [**UpdateMember**](docs/TenantsApi.md#updatemember) | **PUT** /tenants/self/members/{memberId} |
*ThreeDSApi* | [**ThreeDSAuthenticateSession**](docs/ThreeDSApi.md#threedsauthenticatesession) | **POST** /3ds/sessions/{sessionId}/authenticate |
*ThreeDSApi* | [**ThreeDSCreateSession**](docs/ThreeDSApi.md#threedscreatesession) | **POST** /3ds/sessions |
*ThreeDSApi* | [**ThreeDSGetChallengeResult**](docs/ThreeDSApi.md#threedsgetchallengeresult) | **GET** /3ds/sessions/{sessionId}/challenge-result |
*ThreeDSApi* | [**ThreeDSGetSessionById**](docs/ThreeDSApi.md#threedsgetsessionbyid) | **GET** /3ds/sessions/{id} |
*TokenizeApi* | [**Tokenize**](docs/TokenizeApi.md#tokenize) | **POST** /tokenize |
Expand Down Expand Up @@ -195,6 +200,8 @@ Class | Method | HTTP request | Description
- [Model.CreateTenantConnectionRequest](docs/CreateTenantConnectionRequest.md)
- [Model.CreateTenantConnectionResponse](docs/CreateTenantConnectionResponse.md)
- [Model.CreateTenantInvitationRequest](docs/CreateTenantInvitationRequest.md)
- [Model.CreateThreeDSSessionRequest](docs/CreateThreeDSSessionRequest.md)
- [Model.CreateThreeDSSessionResponse](docs/CreateThreeDSSessionResponse.md)
- [Model.CreateTokenRequest](docs/CreateTokenRequest.md)
- [Model.CursorPagination](docs/CursorPagination.md)
- [Model.GetApplications](docs/GetApplications.md)
Expand All @@ -220,6 +227,7 @@ Class | Method | HTTP request | Description
- [Model.ProxyPaginatedList](docs/ProxyPaginatedList.md)
- [Model.ProxyTransform](docs/ProxyTransform.md)
- [Model.ReactRequest](docs/ReactRequest.md)
- [Model.ReactRequestAsync](docs/ReactRequestAsync.md)
- [Model.ReactResponse](docs/ReactResponse.md)
- [Model.Reactor](docs/Reactor.md)
- [Model.ReactorFormula](docs/ReactorFormula.md)
Expand Down Expand Up @@ -260,6 +268,7 @@ Class | Method | HTTP request | Description
- [Model.Token](docs/Token.md)
- [Model.TokenCursorPaginatedList](docs/TokenCursorPaginatedList.md)
- [Model.TokenEnrichments](docs/TokenEnrichments.md)
- [Model.TokenExtras](docs/TokenExtras.md)
- [Model.TokenMetrics](docs/TokenMetrics.md)
- [Model.TokenPaginatedList](docs/TokenPaginatedList.md)
- [Model.TokenReport](docs/TokenReport.md)
Expand Down
13 changes: 13 additions & 0 deletions docs/CreateThreeDSSessionRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# BasisTheory.net.Model.CreateThreeDSSessionRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Pan** | **string** | |
**Type** | **string** | | [optional]
**Device** | **string** | | [optional]
**DeviceInfo** | [**ThreeDSDeviceInfo**](ThreeDSDeviceInfo.md) | | [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)

16 changes: 16 additions & 0 deletions docs/CreateThreeDSSessionResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# BasisTheory.net.Model.CreateThreeDSSessionResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **Guid** | | [optional]
**Type** | **string** | | [optional]
**CardBrand** | **string** | | [optional]
**MethodUrl** | **string** | | [optional]
**MethodNotificationUrl** | **string** | | [optional]
**DirectoryServerId** | **string** | | [optional]
**RecommendedVersion** | **string** | | [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)

77 changes: 77 additions & 0 deletions docs/DetokenizeApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# BasisTheory.net.Api.DetokenizeApi

All URIs are relative to *https://api.basistheory.com*

| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**Detokenize**](DetokenizeApi.md#detokenize) | **POST** /detokenize | |

<a name="detokenize"></a>
# **Detokenize**
> void Detokenize (Object body = null)



### Example
```csharp
using BasisTheory.net.Api;
using BasisTheory.net.Client;
using BasisTheory.net.Model;

Configuration config = new Configuration();
config.BasePath = "https://api.basistheory.com";
config.AddApiKey("BT-API-KEY", "YOUR_API_KEY");

var apiInstance = new DetokenizeApi(config);
var body = null;

apiInstance.Detokenize(body);
```

#### Using the DetokenizeWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.

```csharp
try
{
apiInstance.DetokenizeWithHttpInfo(body);
}
catch (ApiException e)
{
Debug.Print("Exception when calling DetokenizeApi.DetokenizeWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
```

### Parameters

| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **body** | **Object** | | [optional] |

### Return type

void (empty response body)

### Authorization

[ApiKey](../README.md#ApiKey)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
| **409** | Conflict | - |

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

4 changes: 4 additions & 0 deletions docs/ProxyTransform.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | **string** | | [optional]
**Code** | **string** | | [optional]
**Matcher** | **string** | | [optional]
**Expression** | **string** | | [optional]
**Replacement** | **string** | | [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)

10 changes: 10 additions & 0 deletions docs/ReactRequestAsync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# BasisTheory.net.Model.ReactRequestAsync

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Args** | **Object** | | [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)

Loading
Loading