-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: geel9 <[email protected]> Co-authored-by: mewmba <[email protected]>
- Loading branch information
1 parent
1866a46
commit 9c4d476
Showing
177 changed files
with
7,721 additions
and
1,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# TrinsicConnect.model.Attachments | ||
|
||
## Load the model package | ||
```dart | ||
import 'package:TrinsicConnect/api.dart'; | ||
``` | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**selfie** | **String** | Key to access the selfie image (if relevant) for this verification | [optional] | ||
**documentFront** | **String** | Key to access the document front image (if relevant) for this verification | [optional] | ||
**documentBack** | **String** | Key to access the document back image (if relevant) for this verification | [optional] | ||
**documentPortrait** | **String** | Key to access the document portrait image (if relevant and available) for this verification. Specifically, this is a cropped version of the document front image which includes only the portrait on the document. | [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) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# TrinsicConnect.api.AttachmentsApi | ||
|
||
## Load the API package | ||
```dart | ||
import 'package:TrinsicConnect/api.dart'; | ||
``` | ||
|
||
All URIs are relative to *https://connect.trinsic.id* | ||
|
||
Method | HTTP request | Description | ||
------------- | ------------- | ------------- | ||
[**getAttachment**](AttachmentsApi.md#getattachment) | **GET** /api/v1/attachments/fetch | Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the linked resource. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. | ||
|
||
|
||
# **getAttachment** | ||
> getAttachment(attachmentAccessKey) | ||
Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the linked resource. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. | ||
|
||
### Example | ||
```dart | ||
import 'package:TrinsicConnect/api.dart'; | ||
// TODO Configure HTTP Bearer authorization: Bearer | ||
// Case 1. Use String Token | ||
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN'); | ||
// Case 2. Use Function which generate token. | ||
// String yourTokenGeneratorFunction() { ... } | ||
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction); | ||
final api_instance = AttachmentsApi(); | ||
final attachmentAccessKey = attachmentAccessKey_example; // String | | ||
try { | ||
api_instance.getAttachment(attachmentAccessKey); | ||
} catch (e) { | ||
print('Exception when calling AttachmentsApi->getAttachment: $e\n'); | ||
} | ||
``` | ||
|
||
### Parameters | ||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
**attachmentAccessKey** | **String**| | [optional] | ||
|
||
### Return type | ||
|
||
void (empty response body) | ||
|
||
### Authorization | ||
|
||
[Bearer](../README.md#Bearer) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: application/json | ||
|
||
[[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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# TrinsicConnect.model.ExchangeResultsKeyResponse | ||
|
||
## Load the model package | ||
```dart | ||
import 'package:TrinsicConnect/api.dart'; | ||
``` | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**session** | [**Session**](Session.md) | | | ||
**identityData** | [**IdentityData**](IdentityData.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) | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
connect/dart/doc/GetSessionResponseV1.md → connect/dart/doc/GetSessionResponse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# TrinsicConnect.model.IdentityLookupResponse | ||
|
||
## Load the model package | ||
```dart | ||
import 'package:TrinsicConnect/api.dart'; | ||
``` | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**identityInNetwork** | **bool** | Whether the given phone number is known to have an identity in the network. | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.