feratel-check-api-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +159 -0
- data/Rakefile +10 -0
- data/docs/AgeGroup.md +22 -0
- data/docs/AgeGroupTranslation.md +20 -0
- data/docs/CheckPoint.md +38 -0
- data/docs/CheckPointGroup.md +20 -0
- data/docs/CheckPointItem.md +26 -0
- data/docs/CheckResourcesApi.md +545 -0
- data/docs/CheckResult.md +26 -0
- data/docs/CheckState.md +20 -0
- data/docs/CheckStateEnum.md +15 -0
- data/docs/CheckStateTranslation.md +20 -0
- data/docs/CheckpointError.md +22 -0
- data/docs/Customer.md +24 -0
- data/docs/History.md +18 -0
- data/docs/HistoryItem.md +24 -0
- data/docs/HistoryItemState.md +26 -0
- data/docs/Identification.md +36 -0
- data/docs/IdentificationStatus.md +15 -0
- data/docs/IdentificationType.md +26 -0
- data/docs/IdentificationUsage.md +26 -0
- data/docs/IdentificationUsageType.md +15 -0
- data/docs/Identifier.md +20 -0
- data/docs/IdentifierType.md +15 -0
- data/docs/ServiceProvider.md +24 -0
- data/docs/ServiceType.md +28 -0
- data/docs/ServiceTypeAssignment.md +22 -0
- data/docs/ServiceTypeTranslation.md +20 -0
- data/docs/ServiceUsage.md +36 -0
- data/docs/ServiceUsageType.md +15 -0
- data/docs/SystemResourcesApi.md +147 -0
- data/docs/TransactError.md +22 -0
- data/docs/TransactResult.md +34 -0
- data/docs/TransactState.md +20 -0
- data/docs/TransactStateEnum.md +15 -0
- data/docs/TransactStateTranslation.md +20 -0
- data/docs/ValidTransactionInfo.md +20 -0
- data/docs/Week.md +30 -0
- data/feratel-check-api-client.gemspec +39 -0
- data/git_push.sh +57 -0
- data/lib/feratel-check-api-client/api/check_resources_api.rb +586 -0
- data/lib/feratel-check-api-client/api/system_resources_api.rb +148 -0
- data/lib/feratel-check-api-client/api_client.rb +394 -0
- data/lib/feratel-check-api-client/api_error.rb +58 -0
- data/lib/feratel-check-api-client/configuration.rb +308 -0
- data/lib/feratel-check-api-client/models/age_group.rb +255 -0
- data/lib/feratel-check-api-client/models/age_group_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/check_point.rb +327 -0
- data/lib/feratel-check-api-client/models/check_point_group.rb +244 -0
- data/lib/feratel-check-api-client/models/check_point_item.rb +271 -0
- data/lib/feratel-check-api-client/models/check_result.rb +250 -0
- data/lib/feratel-check-api-client/models/check_state.rb +247 -0
- data/lib/feratel-check-api-client/models/check_state_enum.rb +82 -0
- data/lib/feratel-check-api-client/models/check_state_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/checkpoint_error.rb +256 -0
- data/lib/feratel-check-api-client/models/customer.rb +262 -0
- data/lib/feratel-check-api-client/models/history.rb +216 -0
- data/lib/feratel-check-api-client/models/history_item.rb +262 -0
- data/lib/feratel-check-api-client/models/history_item_state.rb +250 -0
- data/lib/feratel-check-api-client/models/identification.rb +338 -0
- data/lib/feratel-check-api-client/models/identification_status.rb +43 -0
- data/lib/feratel-check-api-client/models/identification_type.rb +271 -0
- data/lib/feratel-check-api-client/models/identification_usage.rb +314 -0
- data/lib/feratel-check-api-client/models/identification_usage_type.rb +42 -0
- data/lib/feratel-check-api-client/models/identifier.rb +245 -0
- data/lib/feratel-check-api-client/models/identifier_type.rb +44 -0
- data/lib/feratel-check-api-client/models/service_provider.rb +262 -0
- data/lib/feratel-check-api-client/models/service_type.rb +282 -0
- data/lib/feratel-check-api-client/models/service_type_assignment.rb +253 -0
- data/lib/feratel-check-api-client/models/service_type_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/service_usage.rb +380 -0
- data/lib/feratel-check-api-client/models/service_usage_type.rb +50 -0
- data/lib/feratel-check-api-client/models/transact_error.rb +256 -0
- data/lib/feratel-check-api-client/models/transact_result.rb +349 -0
- data/lib/feratel-check-api-client/models/transact_state.rb +247 -0
- data/lib/feratel-check-api-client/models/transact_state_enum.rb +54 -0
- data/lib/feratel-check-api-client/models/transact_state_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/valid_transaction_info.rb +223 -0
- data/lib/feratel-check-api-client/models/week.rb +268 -0
- data/lib/feratel-check-api-client/version.rb +15 -0
- data/lib/feratel-check-api-client.rb +75 -0
- data/spec/api/check_resources_api_spec.rb +137 -0
- data/spec/api/system_resources_api_spec.rb +59 -0
- data/spec/models/age_group_spec.rb +48 -0
- data/spec/models/age_group_translation_spec.rb +42 -0
- data/spec/models/check_point_group_spec.rb +42 -0
- data/spec/models/check_point_item_spec.rb +60 -0
- data/spec/models/check_point_spec.rb +96 -0
- data/spec/models/check_result_spec.rb +60 -0
- data/spec/models/check_state_enum_spec.rb +30 -0
- data/spec/models/check_state_spec.rb +42 -0
- data/spec/models/check_state_translation_spec.rb +42 -0
- data/spec/models/checkpoint_error_spec.rb +48 -0
- data/spec/models/customer_spec.rb +54 -0
- data/spec/models/history_item_spec.rb +54 -0
- data/spec/models/history_item_state_spec.rb +60 -0
- data/spec/models/history_spec.rb +36 -0
- data/spec/models/identification_spec.rb +90 -0
- data/spec/models/identification_status_spec.rb +30 -0
- data/spec/models/identification_type_spec.rb +60 -0
- data/spec/models/identification_usage_spec.rb +60 -0
- data/spec/models/identification_usage_type_spec.rb +30 -0
- data/spec/models/identifier_spec.rb +42 -0
- data/spec/models/identifier_type_spec.rb +30 -0
- data/spec/models/service_provider_spec.rb +54 -0
- data/spec/models/service_type_assignment_spec.rb +48 -0
- data/spec/models/service_type_spec.rb +66 -0
- data/spec/models/service_type_translation_spec.rb +42 -0
- data/spec/models/service_usage_spec.rb +90 -0
- data/spec/models/service_usage_type_spec.rb +30 -0
- data/spec/models/transact_error_spec.rb +48 -0
- data/spec/models/transact_result_spec.rb +84 -0
- data/spec/models/transact_state_enum_spec.rb +30 -0
- data/spec/models/transact_state_spec.rb +42 -0
- data/spec/models/transact_state_translation_spec.rb +42 -0
- data/spec/models/valid_transaction_info_spec.rb +42 -0
- data/spec/models/week_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- metadata +255 -0
data/docs/HistoryItem.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# FeratelCheckApiClient::HistoryItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **identification** | [**Identification**](Identification.md) | | [optional] |
|
8
|
+
| **service_type** | [**ServiceType**](ServiceType.md) | | [optional] |
|
9
|
+
| **state** | [**HistoryItemState**](HistoryItemState.md) | | [optional] |
|
10
|
+
| **transaction_date** | **String** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'feratel-check-api-client'
|
16
|
+
|
17
|
+
instance = FeratelCheckApiClient::HistoryItem.new(
|
18
|
+
identification: null,
|
19
|
+
service_type: null,
|
20
|
+
state: null,
|
21
|
+
transaction_date: 2022-03-10T12:15:50
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FeratelCheckApiClient::HistoryItemState
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **double_use** | **Boolean** | | [optional] |
|
8
|
+
| **entry** | **Boolean** | | [optional] |
|
9
|
+
| **exit** | **Boolean** | | [optional] |
|
10
|
+
| **misuse** | **Boolean** | | [optional] |
|
11
|
+
| **offline** | **Boolean** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'feratel-check-api-client'
|
17
|
+
|
18
|
+
instance = FeratelCheckApiClient::HistoryItemState.new(
|
19
|
+
double_use: null,
|
20
|
+
entry: null,
|
21
|
+
exit: null,
|
22
|
+
misuse: null,
|
23
|
+
offline: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# FeratelCheckApiClient::Identification
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **customer** | [**Customer**](Customer.md) | | [optional] |
|
9
|
+
| **external_id** | **String** | | [optional] |
|
10
|
+
| **external_id2** | **String** | | [optional] |
|
11
|
+
| **from_date** | **Date** | | [optional] |
|
12
|
+
| **id_code** | **String** | | [optional] |
|
13
|
+
| **id_number** | **Integer** | | [optional] |
|
14
|
+
| **status** | [**IdentificationStatus**](IdentificationStatus.md) | | [optional] |
|
15
|
+
| **to_date** | **Date** | | [optional] |
|
16
|
+
| **type** | [**IdentificationType**](IdentificationType.md) | | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'feratel-check-api-client'
|
22
|
+
|
23
|
+
instance = FeratelCheckApiClient::Identification.new(
|
24
|
+
id: null,
|
25
|
+
customer: null,
|
26
|
+
external_id: null,
|
27
|
+
external_id2: null,
|
28
|
+
from_date: Thu Mar 10 01:00:00 CET 2022,
|
29
|
+
id_code: null,
|
30
|
+
id_number: null,
|
31
|
+
status: null,
|
32
|
+
to_date: Thu Mar 10 01:00:00 CET 2022,
|
33
|
+
type: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::IdentificationStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::IdentificationStatus.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FeratelCheckApiClient::IdentificationType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **age_group** | [**AgeGroup**](AgeGroup.md) | | [optional] |
|
9
|
+
| **code** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
| **type_id** | **Integer** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'feratel-check-api-client'
|
17
|
+
|
18
|
+
instance = FeratelCheckApiClient::IdentificationType.new(
|
19
|
+
id: null,
|
20
|
+
age_group: null,
|
21
|
+
code: null,
|
22
|
+
name: null,
|
23
|
+
type_id: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FeratelCheckApiClient::IdentificationUsage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count_n** | **Integer** | | [optional] |
|
8
|
+
| **count_m** | **Integer** | | [optional] |
|
9
|
+
| **from_date** | **String** | | [optional] |
|
10
|
+
| **to_date** | **String** | | [optional] |
|
11
|
+
| **type** | [**IdentificationUsageType**](IdentificationUsageType.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'feratel-check-api-client'
|
17
|
+
|
18
|
+
instance = FeratelCheckApiClient::IdentificationUsage.new(
|
19
|
+
count_n: null,
|
20
|
+
count_m: null,
|
21
|
+
from_date: 2022-03-10T12:15:50,
|
22
|
+
to_date: 2022-03-10T12:15:50,
|
23
|
+
type: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::IdentificationUsageType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::IdentificationUsageType.new()
|
14
|
+
```
|
15
|
+
|
data/docs/Identifier.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::Identifier
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **identifier** | **String** | | [optional] |
|
8
|
+
| **type** | [**IdentifierType**](IdentifierType.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::Identifier.new(
|
16
|
+
identifier: null,
|
17
|
+
type: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::IdentifierType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::IdentifierType.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceProvider
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **active** | **Boolean** | | [optional] |
|
9
|
+
| **code** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'feratel-check-api-client'
|
16
|
+
|
17
|
+
instance = FeratelCheckApiClient::ServiceProvider.new(
|
18
|
+
id: null,
|
19
|
+
active: null,
|
20
|
+
code: null,
|
21
|
+
name: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
data/docs/ServiceType.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **allow_list** | **Boolean** | | [optional] |
|
9
|
+
| **code** | **String** | | [optional] |
|
10
|
+
| **provider** | [**ServiceProvider**](ServiceProvider.md) | | [optional] |
|
11
|
+
| **translations** | [**Array<ServiceTypeTranslation>**](ServiceTypeTranslation.md) | | [optional] |
|
12
|
+
| **usage** | [**ServiceUsage**](ServiceUsage.md) | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'feratel-check-api-client'
|
18
|
+
|
19
|
+
instance = FeratelCheckApiClient::ServiceType.new(
|
20
|
+
id: null,
|
21
|
+
allow_list: null,
|
22
|
+
code: null,
|
23
|
+
provider: null,
|
24
|
+
translations: null,
|
25
|
+
usage: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceTypeAssignment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **order** | **Integer** | | [optional] |
|
9
|
+
| **type** | [**ServiceType**](ServiceType.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'feratel-check-api-client'
|
15
|
+
|
16
|
+
instance = FeratelCheckApiClient::ServiceTypeAssignment.new(
|
17
|
+
id: null,
|
18
|
+
order: null,
|
19
|
+
type: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceTypeTranslation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **language** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::ServiceTypeTranslation.new(
|
16
|
+
language: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceUsage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **auto_exit** | **String** | | [optional] |
|
8
|
+
| **auto_exit_interval** | **Integer** | | [optional] |
|
9
|
+
| **count_n** | **Integer** | | [optional] |
|
10
|
+
| **count_m** | **Integer** | | [optional] |
|
11
|
+
| **double_use_timeout** | **Integer** | | [optional] |
|
12
|
+
| **from_date** | **String** | | [optional] |
|
13
|
+
| **not_usable_on_first_or_last_day** | **Boolean** | | [optional] |
|
14
|
+
| **to_date** | **String** | | [optional] |
|
15
|
+
| **type** | [**ServiceUsageType**](ServiceUsageType.md) | | [optional] |
|
16
|
+
| **week** | [**Week**](Week.md) | | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'feratel-check-api-client'
|
22
|
+
|
23
|
+
instance = FeratelCheckApiClient::ServiceUsage.new(
|
24
|
+
auto_exit: 2022-03-10T12:15:50,
|
25
|
+
auto_exit_interval: null,
|
26
|
+
count_n: null,
|
27
|
+
count_m: null,
|
28
|
+
double_use_timeout: null,
|
29
|
+
from_date: 2022-03-10T12:15:50,
|
30
|
+
not_usable_on_first_or_last_day: null,
|
31
|
+
to_date: 2022-03-10T12:15:50,
|
32
|
+
type: null,
|
33
|
+
week: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::ServiceUsageType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::ServiceUsageType.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# FeratelCheckApiClient::SystemResourcesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**v1_tenant_id_secure_system_checkpoint_errors_get**](SystemResourcesApi.md#v1_tenant_id_secure_system_checkpoint_errors_get) | **GET** /v1/{tenantId}/secure/system/checkpointErrors | provides all errors related to the CheckAPI |
|
8
|
+
| [**v1_tenant_id_secure_system_transact_errors_get**](SystemResourcesApi.md#v1_tenant_id_secure_system_transact_errors_get) | **GET** /v1/{tenantId}/secure/system/transactErrors | provides all transactErrors related to the CheckAPI |
|
9
|
+
|
10
|
+
|
11
|
+
## v1_tenant_id_secure_system_checkpoint_errors_get
|
12
|
+
|
13
|
+
> <Array<CheckpointError>> v1_tenant_id_secure_system_checkpoint_errors_get(tenant_id)
|
14
|
+
|
15
|
+
provides all errors related to the CheckAPI
|
16
|
+
|
17
|
+
Get all possible checkErrors.(checkstate,valid or not and all translations).
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'feratel-check-api-client'
|
24
|
+
# setup authorization
|
25
|
+
FeratelCheckApiClient.configure do |config|
|
26
|
+
# Configure OAuth2 access token for authorization: oauth
|
27
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = FeratelCheckApiClient::SystemResourcesApi.new
|
31
|
+
tenant_id = 'tenant_id_example' # String |
|
32
|
+
|
33
|
+
begin
|
34
|
+
# provides all errors related to the CheckAPI
|
35
|
+
result = api_instance.v1_tenant_id_secure_system_checkpoint_errors_get(tenant_id)
|
36
|
+
p result
|
37
|
+
rescue FeratelCheckApiClient::ApiError => e
|
38
|
+
puts "Error when calling SystemResourcesApi->v1_tenant_id_secure_system_checkpoint_errors_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
#### Using the v1_tenant_id_secure_system_checkpoint_errors_get_with_http_info variant
|
43
|
+
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
45
|
+
|
46
|
+
> <Array(<Array<CheckpointError>>, Integer, Hash)> v1_tenant_id_secure_system_checkpoint_errors_get_with_http_info(tenant_id)
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
begin
|
50
|
+
# provides all errors related to the CheckAPI
|
51
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_system_checkpoint_errors_get_with_http_info(tenant_id)
|
52
|
+
p status_code # => 2xx
|
53
|
+
p headers # => { ... }
|
54
|
+
p data # => <Array<CheckpointError>>
|
55
|
+
rescue FeratelCheckApiClient::ApiError => e
|
56
|
+
puts "Error when calling SystemResourcesApi->v1_tenant_id_secure_system_checkpoint_errors_get_with_http_info: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
| Name | Type | Description | Notes |
|
63
|
+
| ---- | ---- | ----------- | ----- |
|
64
|
+
| **tenant_id** | **String** | | |
|
65
|
+
|
66
|
+
### Return type
|
67
|
+
|
68
|
+
[**Array<CheckpointError>**](CheckpointError.md)
|
69
|
+
|
70
|
+
### Authorization
|
71
|
+
|
72
|
+
[oauth](../README.md#oauth)
|
73
|
+
|
74
|
+
### HTTP request headers
|
75
|
+
|
76
|
+
- **Content-Type**: Not defined
|
77
|
+
- **Accept**: application/json
|
78
|
+
|
79
|
+
|
80
|
+
## v1_tenant_id_secure_system_transact_errors_get
|
81
|
+
|
82
|
+
> <Array<TransactError>> v1_tenant_id_secure_system_transact_errors_get(tenant_id)
|
83
|
+
|
84
|
+
provides all transactErrors related to the CheckAPI
|
85
|
+
|
86
|
+
Get all possible transactErrors.(transactState,translations and valid).
|
87
|
+
|
88
|
+
### Examples
|
89
|
+
|
90
|
+
```ruby
|
91
|
+
require 'time'
|
92
|
+
require 'feratel-check-api-client'
|
93
|
+
# setup authorization
|
94
|
+
FeratelCheckApiClient.configure do |config|
|
95
|
+
# Configure OAuth2 access token for authorization: oauth
|
96
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
97
|
+
end
|
98
|
+
|
99
|
+
api_instance = FeratelCheckApiClient::SystemResourcesApi.new
|
100
|
+
tenant_id = 'tenant_id_example' # String |
|
101
|
+
|
102
|
+
begin
|
103
|
+
# provides all transactErrors related to the CheckAPI
|
104
|
+
result = api_instance.v1_tenant_id_secure_system_transact_errors_get(tenant_id)
|
105
|
+
p result
|
106
|
+
rescue FeratelCheckApiClient::ApiError => e
|
107
|
+
puts "Error when calling SystemResourcesApi->v1_tenant_id_secure_system_transact_errors_get: #{e}"
|
108
|
+
end
|
109
|
+
```
|
110
|
+
|
111
|
+
#### Using the v1_tenant_id_secure_system_transact_errors_get_with_http_info variant
|
112
|
+
|
113
|
+
This returns an Array which contains the response data, status code and headers.
|
114
|
+
|
115
|
+
> <Array(<Array<TransactError>>, Integer, Hash)> v1_tenant_id_secure_system_transact_errors_get_with_http_info(tenant_id)
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
begin
|
119
|
+
# provides all transactErrors related to the CheckAPI
|
120
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_system_transact_errors_get_with_http_info(tenant_id)
|
121
|
+
p status_code # => 2xx
|
122
|
+
p headers # => { ... }
|
123
|
+
p data # => <Array<TransactError>>
|
124
|
+
rescue FeratelCheckApiClient::ApiError => e
|
125
|
+
puts "Error when calling SystemResourcesApi->v1_tenant_id_secure_system_transact_errors_get_with_http_info: #{e}"
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
### Parameters
|
130
|
+
|
131
|
+
| Name | Type | Description | Notes |
|
132
|
+
| ---- | ---- | ----------- | ----- |
|
133
|
+
| **tenant_id** | **String** | | |
|
134
|
+
|
135
|
+
### Return type
|
136
|
+
|
137
|
+
[**Array<TransactError>**](TransactError.md)
|
138
|
+
|
139
|
+
### Authorization
|
140
|
+
|
141
|
+
[oauth](../README.md#oauth)
|
142
|
+
|
143
|
+
### HTTP request headers
|
144
|
+
|
145
|
+
- **Content-Type**: Not defined
|
146
|
+
- **Accept**: application/json
|
147
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FeratelCheckApiClient::TransactError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transact_state** | [**TransactStateEnum**](TransactStateEnum.md) | | [optional] |
|
8
|
+
| **translations** | [**Array<TransactStateTranslation>**](TransactStateTranslation.md) | | [optional] |
|
9
|
+
| **valid** | **Boolean** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'feratel-check-api-client'
|
15
|
+
|
16
|
+
instance = FeratelCheckApiClient::TransactError.new(
|
17
|
+
transact_state: null,
|
18
|
+
translations: null,
|
19
|
+
valid: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# FeratelCheckApiClient::TransactResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **check_point** | [**CheckPoint**](CheckPoint.md) | | [optional] |
|
8
|
+
| **check_state** | [**CheckState**](CheckState.md) | | [optional] |
|
9
|
+
| **identification** | [**Identification**](Identification.md) | | [optional] |
|
10
|
+
| **transact_date** | **String** | | [optional] |
|
11
|
+
| **transact_date_last** | **String** | | [optional] |
|
12
|
+
| **transact_id** | **String** | | [optional] |
|
13
|
+
| **transact_state** | [**TransactState**](TransactState.md) | | [optional] |
|
14
|
+
| **valid_transaction_info** | [**ValidTransactionInfo**](ValidTransactionInfo.md) | | [optional] |
|
15
|
+
| **valid** | **Boolean** | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'feratel-check-api-client'
|
21
|
+
|
22
|
+
instance = FeratelCheckApiClient::TransactResult.new(
|
23
|
+
check_point: null,
|
24
|
+
check_state: null,
|
25
|
+
identification: null,
|
26
|
+
transact_date: 2022-03-10T12:15:50,
|
27
|
+
transact_date_last: 2022-03-10T12:15:50,
|
28
|
+
transact_id: null,
|
29
|
+
transact_state: null,
|
30
|
+
valid_transaction_info: null,
|
31
|
+
valid: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::TransactState
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **state** | [**TransactStateEnum**](TransactStateEnum.md) | | [optional] |
|
8
|
+
| **translations** | [**Array<TransactStateTranslation>**](TransactStateTranslation.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::TransactState.new(
|
16
|
+
state: null,
|
17
|
+
translations: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::TransactStateEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::TransactStateEnum.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::TransactStateTranslation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **language** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::TransactStateTranslation.new(
|
16
|
+
language: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::ValidTransactionInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | [optional] |
|
8
|
+
| **limit** | **Integer** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::ValidTransactionInfo.new(
|
16
|
+
count: null,
|
17
|
+
limit: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/Week.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# FeratelCheckApiClient::Week
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **monday** | **Boolean** | | [optional] |
|
8
|
+
| **tuesday** | **Boolean** | | [optional] |
|
9
|
+
| **wednesday** | **Boolean** | | [optional] |
|
10
|
+
| **thursday** | **Boolean** | | [optional] |
|
11
|
+
| **friday** | **Boolean** | | [optional] |
|
12
|
+
| **saturday** | **Boolean** | | [optional] |
|
13
|
+
| **sunday** | **Boolean** | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'feratel-check-api-client'
|
19
|
+
|
20
|
+
instance = FeratelCheckApiClient::Week.new(
|
21
|
+
monday: null,
|
22
|
+
tuesday: null,
|
23
|
+
wednesday: null,
|
24
|
+
thursday: null,
|
25
|
+
friday: null,
|
26
|
+
saturday: null,
|
27
|
+
sunday: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|