budgea_client 5.2.0 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/budgea_openapi.json +8 -41
- data/docs/BanksApi.md +3 -13
- data/docs/ConnectionsApi.md +3 -13
- data/docs/ProvidersApi.md +3 -13
- data/lib/budgea_client/api/banks_api.rb +4 -20
- data/lib/budgea_client/api/connections_api.rb +4 -20
- data/lib/budgea_client/api/providers_api.rb +4 -20
- data/lib/budgea_client/version.rb +1 -1
- data/spec/api/administration_api_spec.rb +85 -15
- data/spec/api/authentication_api_spec.rb +4 -3
- data/spec/api/banks_api_spec.rb +298 -54
- data/spec/api/connections_api_spec.rb +219 -26
- data/spec/api/documents_api_spec.rb +14 -14
- data/spec/api/ocr_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/pfm_api_spec.rb +17 -6
- data/spec/api/providers_api_spec.rb +297 -40
- data/spec/api/recipients_api_spec.rb +1 -1
- data/spec/api/terms_api_spec.rb +20 -4
- data/spec/api/transfer_api_spec.rb +1 -1
- data/spec/api/transfers_api_spec.rb +13 -13
- data/spec/api/users_management_api_spec.rb +3 -3
- data/spec/api/wealth_api_spec.rb +27 -19
- data/spec/api_client_spec.rb +18 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_spec.rb +1 -1
- data/spec/models/account_log_spec.rb +7 -1
- data/spec/models/account_spec.rb +25 -1
- data/spec/models/account_type_spec.rb +1 -1
- data/spec/models/alert_spec.rb +1 -1
- data/spec/models/auth_provider_spec.rb +1 -1
- data/spec/models/category_spec.rb +1 -1
- data/spec/models/certificate_spec.rb +1 -1
- data/spec/models/client_spec.rb +2 -2
- data/spec/models/config_log_spec.rb +1 -1
- data/spec/models/connection_log_spec.rb +7 -1
- data/spec/models/connection_source_spec.rb +1 -1
- data/spec/models/connection_spec.rb +41 -1
- data/spec/models/connector_category_spec.rb +1 -1
- data/spec/models/connector_logo_spec.rb +1 -1
- data/spec/models/connector_source_spec.rb +1 -1
- data/spec/models/connector_spec.rb +7 -7
- data/spec/models/currency_spec.rb +1 -1
- data/spec/models/device_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/document_type_spec.rb +1 -1
- data/spec/models/field_spec.rb +7 -1
- data/spec/models/field_value_spec.rb +1 -1
- data/spec/models/file_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/hash_table_spec.rb +1 -1
- data/spec/models/inline_response_200_10_spec.rb +1 -1
- data/spec/models/inline_response_200_11_spec.rb +3 -3
- data/spec/models/inline_response_200_12_spec.rb +2 -2
- data/spec/models/inline_response_200_13_spec.rb +2 -2
- data/spec/models/inline_response_200_14_spec.rb +3 -3
- data/spec/models/inline_response_200_15_spec.rb +2 -2
- data/spec/models/inline_response_200_16_spec.rb +2 -2
- data/spec/models/inline_response_200_17_spec.rb +3 -3
- data/spec/models/inline_response_200_18_spec.rb +2 -2
- data/spec/models/inline_response_200_19_spec.rb +8 -2
- data/spec/models/inline_response_200_1_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +3 -3
- data/spec/models/inline_response_200_21_spec.rb +3 -3
- data/spec/models/inline_response_200_22_spec.rb +2 -2
- data/spec/models/inline_response_200_23_spec.rb +2 -2
- data/spec/models/inline_response_200_24_spec.rb +3 -3
- data/spec/models/inline_response_200_25_spec.rb +3 -3
- data/spec/models/inline_response_200_26_spec.rb +2 -2
- data/spec/models/inline_response_200_27_spec.rb +2 -2
- data/spec/models/inline_response_200_28_spec.rb +2 -2
- data/spec/models/inline_response_200_29_spec.rb +3 -3
- data/spec/models/inline_response_200_2_spec.rb +1 -1
- data/spec/models/inline_response_200_30_spec.rb +3 -3
- data/spec/models/inline_response_200_31_spec.rb +2 -2
- data/spec/models/inline_response_200_32_spec.rb +3 -3
- data/spec/models/inline_response_200_33_spec.rb +3 -3
- data/spec/models/inline_response_200_34_spec.rb +2 -2
- data/spec/models/inline_response_200_35_spec.rb +3 -3
- data/spec/models/inline_response_200_36_spec.rb +3 -3
- data/spec/models/inline_response_200_37_spec.rb +2 -2
- data/spec/models/inline_response_200_38_spec.rb +3 -3
- data/spec/models/inline_response_200_39_spec.rb +2 -2
- data/spec/models/inline_response_200_3_spec.rb +1 -1
- data/spec/models/inline_response_200_40_spec.rb +3 -3
- data/spec/models/inline_response_200_41_spec.rb +1 -1
- data/spec/models/inline_response_200_42_spec.rb +1 -1
- data/spec/models/inline_response_200_4_spec.rb +1 -1
- data/spec/models/inline_response_200_5_spec.rb +1 -1
- data/spec/models/inline_response_200_6_spec.rb +1 -1
- data/spec/models/inline_response_200_7_spec.rb +1 -1
- data/spec/models/inline_response_200_8_spec.rb +1 -1
- data/spec/models/inline_response_200_9_spec.rb +1 -1
- data/spec/models/inline_response_200_spec.rb +1 -1
- data/spec/models/investment_spec.rb +1 -1
- data/spec/models/investment_value_spec.rb +1 -1
- data/spec/models/keyword_spec.rb +1 -1
- data/spec/models/locked_user_spec.rb +1 -1
- data/spec/models/oidc_whitelist_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/pocket_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_type_spec.rb +1 -1
- data/spec/models/recipient_log_spec.rb +1 -1
- data/spec/models/recipient_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/subscription_log_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +7 -1
- data/spec/models/terms_of_service_spec.rb +1 -1
- data/spec/models/transaction_information_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +7 -1
- data/spec/models/transactions_cluster_spec.rb +1 -1
- data/spec/models/transfer_log_spec.rb +1 -1
- data/spec/models/transfer_spec.rb +25 -1
- data/spec/models/user_alert_spec.rb +1 -1
- data/spec/models/user_spec.rb +2 -2
- data/spec/models/webhook_data_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -9
- data/docs/HUBApi.md +0 -62
- data/docs/Invite.md +0 -13
- data/pkg/budgea_client-5.0.3.gem +0 -0
- data/spec/api/hub_api_spec.rb +0 -47
- data/spec/models/invite_spec.rb +0 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4efd77f2494957342c705088d9a8a57a33ed726e76d9cbafb40dce8d6d66dc7e
|
4
|
+
data.tar.gz: ce3568d9babbe9d9a00b71c042f339ee593ef26d52b509918521c2deb0ea8db8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e69206a4e1721c1ad81748ba1c861bccca950e3353131af7bceaec8bb9dc31903f533338e0bbfa4f547c94d40580b76769e15e7b245872d457964fd7beb347e
|
7
|
+
data.tar.gz: cd567619ca4b93846640276a9afcb8355d79bf7a73c956610c90cf68fc226de868e19973862f1e491cb6bf973ea9d627e7ff397801c03a8d9b3263ebea77d3f0
|
data/Gemfile.lock
CHANGED
data/budgea_openapi.json
CHANGED
@@ -8624,51 +8624,18 @@
|
|
8624
8624
|
"description": ""
|
8625
8625
|
},
|
8626
8626
|
{
|
8627
|
-
"
|
8628
|
-
"
|
8629
|
-
"
|
8630
|
-
|
8631
|
-
|
8632
|
-
|
8633
|
-
|
8634
|
-
"name": "expire",
|
8635
|
-
"format": "date-time",
|
8636
|
-
"required": false,
|
8637
|
-
"in": "formData",
|
8638
|
-
"type": "string",
|
8639
|
-
"description": "Set expiration of the connection to this date"
|
8640
|
-
},
|
8641
|
-
{
|
8642
|
-
"required": false,
|
8643
|
-
"in": "formData",
|
8644
|
-
"type": "string",
|
8645
|
-
"name": "login",
|
8646
|
-
"description": "Set login to this new login"
|
8647
|
-
},
|
8648
|
-
{
|
8649
|
-
"required": false,
|
8650
|
-
"in": "formData",
|
8651
|
-
"type": "string",
|
8652
|
-
"name": "password",
|
8653
|
-
"description": "Set password to this new password"
|
8654
|
-
},
|
8655
|
-
{
|
8656
|
-
"required": false,
|
8657
|
-
"in": "formData",
|
8658
|
-
"type": "boolean",
|
8659
|
-
"name": "decoupled",
|
8660
|
-
"description": "Try to update a connection with the decoupled error"
|
8661
|
-
},
|
8662
|
-
{
|
8663
|
-
"required": false,
|
8664
|
-
"type": "string",
|
8665
|
-
"name": "expand",
|
8666
|
-
"in": "query"
|
8627
|
+
"in": "body",
|
8628
|
+
"name": "connection",
|
8629
|
+
"schema": {
|
8630
|
+
"additionalProperties": {
|
8631
|
+
"type": "string"
|
8632
|
+
}
|
8633
|
+
}
|
8667
8634
|
}
|
8668
8635
|
],
|
8669
8636
|
"summary": "Update a connection.",
|
8670
8637
|
"consumes": [
|
8671
|
-
"application/
|
8638
|
+
"application/json"
|
8672
8639
|
]
|
8673
8640
|
},
|
8674
8641
|
"put": {
|
data/docs/BanksApi.md
CHANGED
@@ -6664,12 +6664,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
6664
6664
|
id_connection = 56 # Integer |
|
6665
6665
|
|
6666
6666
|
opts = {
|
6667
|
-
|
6668
|
-
expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
|
6669
|
-
login: 'login_example', # String | Set login to this new login
|
6670
|
-
password: 'password_example', # String | Set password to this new password
|
6671
|
-
decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
|
6672
|
-
expand: 'expand_example' # String |
|
6667
|
+
connection: nil # Object |
|
6673
6668
|
}
|
6674
6669
|
|
6675
6670
|
begin
|
@@ -6687,12 +6682,7 @@ Name | Type | Description | Notes
|
|
6687
6682
|
------------- | ------------- | ------------- | -------------
|
6688
6683
|
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
6689
6684
|
**id_connection** | **Integer**| |
|
6690
|
-
**
|
6691
|
-
**expire** | **DateTime**| Set expiration of the connection to this date | [optional]
|
6692
|
-
**login** | **String**| Set login to this new login | [optional]
|
6693
|
-
**password** | **String**| Set password to this new password | [optional]
|
6694
|
-
**decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
|
6695
|
-
**expand** | **String**| | [optional]
|
6685
|
+
**connection** | **Object**| | [optional]
|
6696
6686
|
|
6697
6687
|
### Return type
|
6698
6688
|
|
@@ -6704,7 +6694,7 @@ Name | Type | Description | Notes
|
|
6704
6694
|
|
6705
6695
|
### HTTP request headers
|
6706
6696
|
|
6707
|
-
- **Content-Type**: application/
|
6697
|
+
- **Content-Type**: application/json
|
6708
6698
|
- **Accept**: application/json
|
6709
6699
|
|
6710
6700
|
|
data/docs/ConnectionsApi.md
CHANGED
@@ -1500,12 +1500,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
1500
1500
|
id_connection = 56 # Integer |
|
1501
1501
|
|
1502
1502
|
opts = {
|
1503
|
-
|
1504
|
-
expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
|
1505
|
-
login: 'login_example', # String | Set login to this new login
|
1506
|
-
password: 'password_example', # String | Set password to this new password
|
1507
|
-
decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
|
1508
|
-
expand: 'expand_example' # String |
|
1503
|
+
connection: nil # Object |
|
1509
1504
|
}
|
1510
1505
|
|
1511
1506
|
begin
|
@@ -1523,12 +1518,7 @@ Name | Type | Description | Notes
|
|
1523
1518
|
------------- | ------------- | ------------- | -------------
|
1524
1519
|
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
1525
1520
|
**id_connection** | **Integer**| |
|
1526
|
-
**
|
1527
|
-
**expire** | **DateTime**| Set expiration of the connection to this date | [optional]
|
1528
|
-
**login** | **String**| Set login to this new login | [optional]
|
1529
|
-
**password** | **String**| Set password to this new password | [optional]
|
1530
|
-
**decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
|
1531
|
-
**expand** | **String**| | [optional]
|
1521
|
+
**connection** | **Object**| | [optional]
|
1532
1522
|
|
1533
1523
|
### Return type
|
1534
1524
|
|
@@ -1540,7 +1530,7 @@ Name | Type | Description | Notes
|
|
1540
1530
|
|
1541
1531
|
### HTTP request headers
|
1542
1532
|
|
1543
|
-
- **Content-Type**: application/
|
1533
|
+
- **Content-Type**: application/json
|
1544
1534
|
- **Accept**: application/json
|
1545
1535
|
|
1546
1536
|
|
data/docs/ProvidersApi.md
CHANGED
@@ -4722,12 +4722,7 @@ id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all'
|
|
4722
4722
|
id_connection = 56 # Integer |
|
4723
4723
|
|
4724
4724
|
opts = {
|
4725
|
-
|
4726
|
-
expire: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Set expiration of the connection to this date
|
4727
|
-
login: 'login_example', # String | Set login to this new login
|
4728
|
-
password: 'password_example', # String | Set password to this new password
|
4729
|
-
decoupled: true, # BOOLEAN | Try to update a connection with the decoupled error
|
4730
|
-
expand: 'expand_example' # String |
|
4725
|
+
connection: nil # Object |
|
4731
4726
|
}
|
4732
4727
|
|
4733
4728
|
begin
|
@@ -4745,12 +4740,7 @@ Name | Type | Description | Notes
|
|
4745
4740
|
------------- | ------------- | ------------- | -------------
|
4746
4741
|
**id_user** | **String**| Hint: you can use 'me' or 'all' |
|
4747
4742
|
**id_connection** | **Integer**| |
|
4748
|
-
**
|
4749
|
-
**expire** | **DateTime**| Set expiration of the connection to this date | [optional]
|
4750
|
-
**login** | **String**| Set login to this new login | [optional]
|
4751
|
-
**password** | **String**| Set password to this new password | [optional]
|
4752
|
-
**decoupled** | **BOOLEAN**| Try to update a connection with the decoupled error | [optional]
|
4753
|
-
**expand** | **String**| | [optional]
|
4743
|
+
**connection** | **Object**| | [optional]
|
4754
4744
|
|
4755
4745
|
### Return type
|
4756
4746
|
|
@@ -4762,7 +4752,7 @@ Name | Type | Description | Notes
|
|
4762
4752
|
|
4763
4753
|
### HTTP request headers
|
4764
4754
|
|
4765
|
-
- **Content-Type**: application/
|
4755
|
+
- **Content-Type**: application/json
|
4766
4756
|
- **Accept**: application/json
|
4767
4757
|
|
4768
4758
|
|
@@ -6883,12 +6883,7 @@ module BudgeaClient
|
|
6883
6883
|
# @param id_user Hint: you can use 'me' or 'all'
|
6884
6884
|
# @param id_connection
|
6885
6885
|
# @param [Hash] opts the optional parameters
|
6886
|
-
# @option opts [
|
6887
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
6888
|
-
# @option opts [String] :login Set login to this new login
|
6889
|
-
# @option opts [String] :password Set password to this new password
|
6890
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
6891
|
-
# @option opts [String] :expand
|
6886
|
+
# @option opts [Object] :connection
|
6892
6887
|
# @return [Connection]
|
6893
6888
|
def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
|
6894
6889
|
data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
|
@@ -6900,12 +6895,7 @@ module BudgeaClient
|
|
6900
6895
|
# @param id_user Hint: you can use 'me' or 'all'
|
6901
6896
|
# @param id_connection
|
6902
6897
|
# @param [Hash] opts the optional parameters
|
6903
|
-
# @option opts [
|
6904
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
6905
|
-
# @option opts [String] :login Set login to this new login
|
6906
|
-
# @option opts [String] :password Set password to this new password
|
6907
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
6908
|
-
# @option opts [String] :expand
|
6898
|
+
# @option opts [Object] :connection
|
6909
6899
|
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
6910
6900
|
def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
|
6911
6901
|
if @api_client.config.debugging
|
@@ -6924,25 +6914,19 @@ module BudgeaClient
|
|
6924
6914
|
|
6925
6915
|
# query parameters
|
6926
6916
|
query_params = {}
|
6927
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
6928
6917
|
|
6929
6918
|
# header parameters
|
6930
6919
|
header_params = {}
|
6931
6920
|
# HTTP header 'Accept' (if needed)
|
6932
6921
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6933
6922
|
# HTTP header 'Content-Type'
|
6934
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
6923
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
6935
6924
|
|
6936
6925
|
# form parameters
|
6937
6926
|
form_params = {}
|
6938
|
-
form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
|
6939
|
-
form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
|
6940
|
-
form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
|
6941
|
-
form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
|
6942
|
-
form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
|
6943
6927
|
|
6944
6928
|
# http body (model)
|
6945
|
-
post_body =
|
6929
|
+
post_body = @api_client.object_to_http_body(opts[:'connection'])
|
6946
6930
|
auth_names = ['api_key']
|
6947
6931
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
6948
6932
|
:header_params => header_params,
|
@@ -1500,12 +1500,7 @@ module BudgeaClient
|
|
1500
1500
|
# @param id_user Hint: you can use 'me' or 'all'
|
1501
1501
|
# @param id_connection
|
1502
1502
|
# @param [Hash] opts the optional parameters
|
1503
|
-
# @option opts [
|
1504
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
1505
|
-
# @option opts [String] :login Set login to this new login
|
1506
|
-
# @option opts [String] :password Set password to this new password
|
1507
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
1508
|
-
# @option opts [String] :expand
|
1503
|
+
# @option opts [Object] :connection
|
1509
1504
|
# @return [Connection]
|
1510
1505
|
def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
|
1511
1506
|
data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
|
@@ -1517,12 +1512,7 @@ module BudgeaClient
|
|
1517
1512
|
# @param id_user Hint: you can use 'me' or 'all'
|
1518
1513
|
# @param id_connection
|
1519
1514
|
# @param [Hash] opts the optional parameters
|
1520
|
-
# @option opts [
|
1521
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
1522
|
-
# @option opts [String] :login Set login to this new login
|
1523
|
-
# @option opts [String] :password Set password to this new password
|
1524
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
1525
|
-
# @option opts [String] :expand
|
1515
|
+
# @option opts [Object] :connection
|
1526
1516
|
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
1527
1517
|
def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
|
1528
1518
|
if @api_client.config.debugging
|
@@ -1541,25 +1531,19 @@ module BudgeaClient
|
|
1541
1531
|
|
1542
1532
|
# query parameters
|
1543
1533
|
query_params = {}
|
1544
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
1545
1534
|
|
1546
1535
|
# header parameters
|
1547
1536
|
header_params = {}
|
1548
1537
|
# HTTP header 'Accept' (if needed)
|
1549
1538
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1550
1539
|
# HTTP header 'Content-Type'
|
1551
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
1540
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1552
1541
|
|
1553
1542
|
# form parameters
|
1554
1543
|
form_params = {}
|
1555
|
-
form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
|
1556
|
-
form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
|
1557
|
-
form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
|
1558
|
-
form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
|
1559
|
-
form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
|
1560
1544
|
|
1561
1545
|
# http body (model)
|
1562
|
-
post_body =
|
1546
|
+
post_body = @api_client.object_to_http_body(opts[:'connection'])
|
1563
1547
|
auth_names = ['api_key']
|
1564
1548
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1565
1549
|
:header_params => header_params,
|
@@ -5030,12 +5030,7 @@ module BudgeaClient
|
|
5030
5030
|
# @param id_user Hint: you can use 'me' or 'all'
|
5031
5031
|
# @param id_connection
|
5032
5032
|
# @param [Hash] opts the optional parameters
|
5033
|
-
# @option opts [
|
5034
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
5035
|
-
# @option opts [String] :login Set login to this new login
|
5036
|
-
# @option opts [String] :password Set password to this new password
|
5037
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
5038
|
-
# @option opts [String] :expand
|
5033
|
+
# @option opts [Object] :connection
|
5039
5034
|
# @return [Connection]
|
5040
5035
|
def users_id_user_connections_id_connection_post(id_user, id_connection, opts = {})
|
5041
5036
|
data, _status_code, _headers = users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts)
|
@@ -5047,12 +5042,7 @@ module BudgeaClient
|
|
5047
5042
|
# @param id_user Hint: you can use 'me' or 'all'
|
5048
5043
|
# @param id_connection
|
5049
5044
|
# @param [Hash] opts the optional parameters
|
5050
|
-
# @option opts [
|
5051
|
-
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
5052
|
-
# @option opts [String] :login Set login to this new login
|
5053
|
-
# @option opts [String] :password Set password to this new password
|
5054
|
-
# @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
|
5055
|
-
# @option opts [String] :expand
|
5045
|
+
# @option opts [Object] :connection
|
5056
5046
|
# @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
|
5057
5047
|
def users_id_user_connections_id_connection_post_with_http_info(id_user, id_connection, opts = {})
|
5058
5048
|
if @api_client.config.debugging
|
@@ -5071,25 +5061,19 @@ module BudgeaClient
|
|
5071
5061
|
|
5072
5062
|
# query parameters
|
5073
5063
|
query_params = {}
|
5074
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
5075
5064
|
|
5076
5065
|
# header parameters
|
5077
5066
|
header_params = {}
|
5078
5067
|
# HTTP header 'Accept' (if needed)
|
5079
5068
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5080
5069
|
# HTTP header 'Content-Type'
|
5081
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/
|
5070
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
5082
5071
|
|
5083
5072
|
# form parameters
|
5084
5073
|
form_params = {}
|
5085
|
-
form_params['active'] = opts[:'active'] if !opts[:'active'].nil?
|
5086
|
-
form_params['expire'] = opts[:'expire'] if !opts[:'expire'].nil?
|
5087
|
-
form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
|
5088
|
-
form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
|
5089
|
-
form_params['decoupled'] = opts[:'decoupled'] if !opts[:'decoupled'].nil?
|
5090
5074
|
|
5091
5075
|
# http body (model)
|
5092
|
-
post_body =
|
5076
|
+
post_body = @api_client.object_to_http_body(opts[:'connection'])
|
5093
5077
|
auth_names = ['api_key']
|
5094
5078
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
5095
5079
|
:header_params => header_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,7 +37,7 @@ describe 'AdministrationApi' do
|
|
37
37
|
#
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :expand
|
40
|
-
# @return [
|
40
|
+
# @return [InlineResponse20013]
|
41
41
|
describe 'clients_get test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -59,7 +59,7 @@ describe 'AdministrationApi' do
|
|
59
59
|
|
60
60
|
# unit tests for clients_id_client_get
|
61
61
|
# Get information about a client
|
62
|
-
# If you use the manage_token or a configuration token, you will get also the
|
62
|
+
# If you use the manage_token or a configuration token, you will get also the client secret.<br><br>
|
63
63
|
# @param id_client
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @option opts [String] :expand
|
@@ -104,7 +104,7 @@ describe 'AdministrationApi' do
|
|
104
104
|
# @option opts [BOOLEAN] :generate_keys set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)
|
105
105
|
# @option opts [String] :name name of client
|
106
106
|
# @option opts [BOOLEAN] :secret reset the secret
|
107
|
-
# @option opts [String] :
|
107
|
+
# @option opts [String] :redirect_uris list of allowed redirect uris
|
108
108
|
# @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
|
109
109
|
# @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
|
110
110
|
# @option opts [String] :description text to display as a default description
|
@@ -127,7 +127,7 @@ describe 'AdministrationApi' do
|
|
127
127
|
# @param [Hash] opts the optional parameters
|
128
128
|
# @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
|
129
129
|
# @option opts [String] :name name of client
|
130
|
-
# @option opts [String] :
|
130
|
+
# @option opts [String] :redirect_uris list of allowed redirect uris
|
131
131
|
# @option opts [String] :config custom config about the client
|
132
132
|
# @option opts [String] :expand
|
133
133
|
# @return [Client]
|
@@ -158,7 +158,7 @@ describe 'AdministrationApi' do
|
|
158
158
|
# @option opts [Date] :min_date minimal date of the change
|
159
159
|
# @option opts [Date] :max_date maximum date of the change
|
160
160
|
# @option opts [String] :expand
|
161
|
-
# @return [
|
161
|
+
# @return [InlineResponse20014]
|
162
162
|
describe 'config_logs_get test' do
|
163
163
|
it 'should work' do
|
164
164
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -182,7 +182,7 @@ describe 'AdministrationApi' do
|
|
182
182
|
#
|
183
183
|
# @param [Hash] opts the optional parameters
|
184
184
|
# @option opts [String] :expand
|
185
|
-
# @return [
|
185
|
+
# @return [InlineResponse20013]
|
186
186
|
describe 'merchants_get test' do
|
187
187
|
it 'should work' do
|
188
188
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -219,7 +219,7 @@ describe 'AdministrationApi' do
|
|
219
219
|
# Create a merchant. Needs a user identified in bearer to be used
|
220
220
|
#
|
221
221
|
# @param name name of merchant
|
222
|
-
# @param
|
222
|
+
# @param redirect_uris list of allowed redirect uris
|
223
223
|
# @param iban payments initiated by this merchant will be done to this IBAN
|
224
224
|
# @param [Hash] opts the optional parameters
|
225
225
|
# @option opts [String] :expand
|
@@ -281,7 +281,7 @@ describe 'AdministrationApi' do
|
|
281
281
|
#
|
282
282
|
# @param [Hash] opts the optional parameters
|
283
283
|
# @option opts [String] :expand
|
284
|
-
# @return [
|
284
|
+
# @return [InlineResponse20041]
|
285
285
|
describe 'webhooks_auth_get test' do
|
286
286
|
it 'should work' do
|
287
287
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -365,25 +365,94 @@ describe 'AdministrationApi' do
|
|
365
365
|
#
|
366
366
|
# @param [Hash] opts the optional parameters
|
367
367
|
# @option opts [String] :expand
|
368
|
-
# @return [
|
368
|
+
# @return [InlineResponse20040]
|
369
369
|
describe 'webhooks_get test' do
|
370
370
|
it 'should work' do
|
371
371
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
|
+
# unit tests for webhooks_id_webhook_add_to_data_delete
|
376
|
+
# delete all entries
|
377
|
+
#
|
378
|
+
# @param id_webhook
|
379
|
+
# @param [Hash] opts the optional parameters
|
380
|
+
# @option opts [String] :expand
|
381
|
+
# @return [Webhook]
|
382
|
+
describe 'webhooks_id_webhook_add_to_data_delete test' do
|
383
|
+
it 'should work' do
|
384
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
375
388
|
# unit tests for webhooks_id_webhook_add_to_data_get
|
376
389
|
# retrieve the list of the value to add in webhooks when sending the requested webhook
|
377
390
|
#
|
378
391
|
# @param id_webhook
|
379
392
|
# @param [Hash] opts the optional parameters
|
380
|
-
# @
|
393
|
+
# @option opts [String] :expand
|
394
|
+
# @return [InlineResponse20040]
|
381
395
|
describe 'webhooks_id_webhook_add_to_data_get test' do
|
382
396
|
it 'should work' do
|
383
397
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
384
398
|
end
|
385
399
|
end
|
386
400
|
|
401
|
+
# unit tests for webhooks_id_webhook_add_to_data_key_delete
|
402
|
+
# delete the requested entry
|
403
|
+
#
|
404
|
+
# @param id_webhook
|
405
|
+
# @param key
|
406
|
+
# @param [Hash] opts the optional parameters
|
407
|
+
# @option opts [String] :expand
|
408
|
+
# @return [Webhook]
|
409
|
+
describe 'webhooks_id_webhook_add_to_data_key_delete test' do
|
410
|
+
it 'should work' do
|
411
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
# unit tests for webhooks_id_webhook_add_to_data_key_get
|
416
|
+
# retrieve the value to add in the requested webhook for the requested name
|
417
|
+
#
|
418
|
+
# @param id_webhook
|
419
|
+
# @param key
|
420
|
+
# @param [Hash] opts the optional parameters
|
421
|
+
# @option opts [String] :expand
|
422
|
+
# @return [Webhook]
|
423
|
+
describe 'webhooks_id_webhook_add_to_data_key_get test' do
|
424
|
+
it 'should work' do
|
425
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# unit tests for webhooks_id_webhook_add_to_data_key_post
|
430
|
+
# upate the requested field to store in user config when calling the endpoint
|
431
|
+
# For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>
|
432
|
+
# @param id_webhook
|
433
|
+
# @param key
|
434
|
+
# @param [Hash] opts the optional parameters
|
435
|
+
# @option opts [String] :expand
|
436
|
+
# @return [Webhook]
|
437
|
+
describe 'webhooks_id_webhook_add_to_data_key_post test' do
|
438
|
+
it 'should work' do
|
439
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
# unit tests for webhooks_id_webhook_add_to_data_post
|
444
|
+
# Setup a field to store in user config when calling the endpoint
|
445
|
+
# For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>
|
446
|
+
# @param id_webhook
|
447
|
+
# @param [Hash] opts the optional parameters
|
448
|
+
# @option opts [String] :expand
|
449
|
+
# @return [Webhook]
|
450
|
+
describe 'webhooks_id_webhook_add_to_data_post test' do
|
451
|
+
it 'should work' do
|
452
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
387
456
|
# unit tests for webhooks_id_webhook_delete
|
388
457
|
# Deletes a webhook
|
389
458
|
# Updates the deleted field with the date of the deletion<br><br>
|
@@ -402,12 +471,13 @@ describe 'AdministrationApi' do
|
|
402
471
|
# Get logs of the webhooks.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
403
472
|
# @param id_webhook
|
404
473
|
# @param [Hash] opts the optional parameters
|
474
|
+
# @option opts [Integer] :id_user limit number of results to this user
|
405
475
|
# @option opts [Integer] :limit limit number of results
|
406
476
|
# @option opts [Integer] :offset offset of first result
|
407
477
|
# @option opts [Date] :min_date minimal (inclusive) date
|
408
478
|
# @option opts [Date] :max_date maximum (inclusive) date
|
409
479
|
# @option opts [String] :expand
|
410
|
-
# @return [
|
480
|
+
# @return [InlineResponse20042]
|
411
481
|
describe 'webhooks_id_webhook_logs_get test' do
|
412
482
|
it 'should work' do
|
413
483
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -423,7 +493,7 @@ describe 'AdministrationApi' do
|
|
423
493
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
424
494
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
425
495
|
# @option opts [Integer] :id_auth The webhook authentication process to use
|
426
|
-
# @option opts [
|
496
|
+
# @option opts [String] :url The webhook callback url
|
427
497
|
# @option opts [String] :event The webhook event
|
428
498
|
# @option opts [String] :expand
|
429
499
|
# @return [Webhook]
|
@@ -442,7 +512,7 @@ describe 'AdministrationApi' do
|
|
442
512
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
443
513
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
444
514
|
# @option opts [Integer] :id_auth The webhook authentication process to use
|
445
|
-
# @option opts [
|
515
|
+
# @option opts [String] :url The webhook callback url
|
446
516
|
# @option opts [String] :event The webhook event
|
447
517
|
# @option opts [String] :expand
|
448
518
|
# @return [Webhook]
|
@@ -459,7 +529,7 @@ describe 'AdministrationApi' do
|
|
459
529
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
460
530
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
461
531
|
# @option opts [String] :id_auth The webhook authentication process to use (its ID or its name)
|
462
|
-
# @option opts [
|
532
|
+
# @option opts [String] :url The webhook callback url
|
463
533
|
# @option opts [String] :event The webhook event
|
464
534
|
# @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
|
465
535
|
# @option opts [String] :expand
|