budgea_client 3.0.1 → 4.0.0
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 +6 -4
- data/docs/Connector.md +1 -0
- data/lib/budgea_client/models/connector.rb +15 -4
- data/lib/budgea_client/version.rb +1 -1
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/spec/api/administration_api_spec.rb +225 -23
- data/spec/api/authentication_api_spec.rb +81 -11
- data/spec/api/banks_api_spec.rb +379 -236
- data/spec/api/connections_api_spec.rb +76 -39
- data/spec/api/documents_api_spec.rb +124 -114
- data/spec/api/ocr_api_spec.rb +13 -3
- data/spec/api/oidc_api_spec.rb +14 -4
- data/spec/api/pfm_api_spec.rb +61 -51
- data/spec/api/providers_api_spec.rb +260 -238
- data/spec/api/recipients_api_spec.rb +23 -9
- data/spec/api/terms_api_spec.rb +17 -8
- data/spec/api/transfers_api_spec.rb +88 -57
- data/spec/api/users_management_api_spec.rb +25 -15
- data/spec/api/wealth_api_spec.rb +150 -24
- data/spec/api_client_spec.rb +45 -35
- data/spec/configuration_spec.rb +19 -9
- data/spec/models/access_spec.rb +16 -7
- data/spec/models/account_log_spec.rb +21 -12
- data/spec/models/account_spec.rb +59 -20
- data/spec/models/account_type_spec.rb +19 -10
- data/spec/models/alert_spec.rb +19 -10
- data/spec/models/category_spec.rb +21 -12
- data/spec/models/client_spec.rb +25 -28
- data/spec/models/connection_log_spec.rb +38 -17
- data/spec/models/connection_spec.rb +33 -12
- data/spec/models/connector_logo_spec.rb +16 -7
- data/spec/models/connector_spec.rb +18 -0
- data/spec/models/currency_spec.rb +38 -5
- data/spec/models/device_spec.rb +18 -9
- data/spec/models/document_spec.rb +37 -34
- data/spec/models/document_type_spec.rb +14 -5
- data/spec/models/field_spec.rb +32 -11
- data/spec/models/field_value_spec.rb +13 -4
- data/spec/models/file_spec.rb +15 -6
- data/spec/models/group_spec.rb +19 -10
- data/spec/models/hash_table_spec.rb +15 -6
- data/spec/models/inline_response_200_10_spec.rb +19 -4
- data/spec/models/inline_response_200_11_spec.rb +19 -4
- data/spec/models/inline_response_200_12_spec.rb +19 -4
- data/spec/models/inline_response_200_13_spec.rb +19 -4
- data/spec/models/inline_response_200_14_spec.rb +19 -4
- data/spec/models/inline_response_200_15_spec.rb +19 -4
- data/spec/models/inline_response_200_16_spec.rb +19 -4
- data/spec/models/inline_response_200_17_spec.rb +19 -4
- data/spec/models/inline_response_200_18_spec.rb +19 -4
- data/spec/models/inline_response_200_19_spec.rb +13 -4
- data/spec/models/inline_response_200_1_spec.rb +13 -4
- data/spec/models/inline_response_200_20_spec.rb +19 -4
- data/spec/models/inline_response_200_21_spec.rb +19 -4
- data/spec/models/inline_response_200_22_spec.rb +19 -4
- data/spec/models/inline_response_200_23_spec.rb +19 -4
- data/spec/models/inline_response_200_24_spec.rb +19 -4
- data/spec/models/inline_response_200_25_spec.rb +19 -4
- data/spec/models/inline_response_200_26_spec.rb +19 -4
- data/spec/models/inline_response_200_27_spec.rb +19 -4
- data/spec/models/inline_response_200_28_spec.rb +19 -4
- data/spec/models/inline_response_200_29_spec.rb +19 -4
- data/spec/models/inline_response_200_2_spec.rb +14 -5
- data/spec/models/inline_response_200_30_spec.rb +19 -4
- data/spec/models/inline_response_200_31_spec.rb +19 -4
- data/spec/models/inline_response_200_32_spec.rb +19 -4
- data/spec/models/inline_response_200_33_spec.rb +19 -4
- data/spec/models/inline_response_200_34_spec.rb +7 -1
- data/spec/models/inline_response_200_35_spec.rb +7 -1
- data/spec/models/inline_response_200_36_spec.rb +7 -1
- data/spec/models/inline_response_200_37_spec.rb +7 -1
- data/spec/models/inline_response_200_38_spec.rb +7 -1
- data/spec/models/inline_response_200_3_spec.rb +15 -12
- data/spec/models/inline_response_200_4_spec.rb +14 -17
- data/spec/models/inline_response_200_5_spec.rb +33 -6
- data/spec/models/inline_response_200_6_spec.rb +15 -12
- data/spec/models/inline_response_200_7_spec.rb +25 -4
- data/spec/models/inline_response_200_8_spec.rb +19 -4
- data/spec/models/inline_response_200_9_spec.rb +19 -4
- data/spec/models/inline_response_200_spec.rb +18 -3
- data/spec/models/investment_spec.rb +36 -27
- data/spec/models/investment_value_spec.rb +17 -8
- data/spec/models/invite_spec.rb +17 -8
- data/spec/models/locked_user_spec.rb +14 -5
- data/spec/models/oidc_whitelist_spec.rb +13 -4
- data/spec/models/pocket_spec.rb +21 -12
- data/spec/models/profile_spec.rb +23 -14
- data/spec/models/project_spec.rb +20 -11
- data/spec/models/project_type_spec.rb +14 -5
- data/spec/models/recipient_log_spec.rb +6 -0
- data/spec/models/recipient_spec.rb +44 -17
- data/spec/models/security_spec.rb +16 -7
- data/spec/models/subscription_spec.rb +28 -13
- data/spec/models/terms_of_service_spec.rb +16 -7
- data/spec/models/transaction_information_spec.rb +15 -6
- data/spec/models/transaction_spec.rb +71 -32
- data/spec/models/transactions_cluster_spec.rb +20 -11
- data/spec/models/transfer_log_spec.rb +6 -0
- data/spec/models/transfer_spec.rb +33 -18
- data/spec/models/user_alert_spec.rb +25 -16
- data/spec/models/user_spec.rb +18 -9
- data/spec/models/webhook_spec.rb +31 -10
- data/spec/spec_helper.rb +62 -2
- metadata +3 -14
- data/docs/Bank.md +0 -20
- data/docs/BankCategory.md +0 -9
- data/docs/ConnectionContact.md +0 -17
- data/lib/budgea_client/models/bank.rb +0 -335
- data/lib/budgea_client/models/bank_category.rb +0 -206
- data/lib/budgea_client/models/connection_contact.rb +0 -274
- data/spec/models/bank_category_spec.rb +0 -38
- data/spec/models/bank_spec.rb +0 -92
- data/spec/models/connection_contact_spec.rb +0 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533acc2e6ed24ba9ab39a30d79f6fa4a6b2538ac1d86938d7c61ee27a91941fd
|
4
|
+
data.tar.gz: 051c1bb40cef4448b81a338d1dfb792975d7214c9ba52038c0965ff43868cb34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 802bf727b9bb9879370e3fd429832b54b7fc762d0316de41e295db340067bbf85e75e402e28e446ac28bb39cd86a74b1a2fb13db31d43c3371b07866c6b953da
|
7
|
+
data.tar.gz: 1d65a4ea02073a263d9575855d239d23b8cec66b3cb78667f5e9ebbce1a7fd8673df8f354bb9f497223fc26e0d375433f47caaaa6408ecad1a9a3eccf9123f77
|
data/Gemfile.lock
CHANGED
data/budgea_openapi.json
CHANGED
@@ -14647,10 +14647,6 @@
|
|
14647
14647
|
],
|
14648
14648
|
"type": "object",
|
14649
14649
|
"properties": {
|
14650
|
-
"total": {
|
14651
|
-
"type": "number",
|
14652
|
-
"description": "total number of results"
|
14653
|
-
},
|
14654
14650
|
"total": {
|
14655
14651
|
"type": "number",
|
14656
14652
|
"description": "total number of results"
|
@@ -22035,6 +22031,12 @@
|
|
22035
22031
|
"items": {
|
22036
22032
|
"$ref": "#/definitions/Field"
|
22037
22033
|
}
|
22034
|
+
},
|
22035
|
+
"capabilities": {
|
22036
|
+
"type": "array",
|
22037
|
+
"items": {
|
22038
|
+
"type": "string"
|
22039
|
+
}
|
22038
22040
|
}
|
22039
22041
|
},
|
22040
22042
|
"example": {
|
data/docs/Connector.md
CHANGED
@@ -19,5 +19,6 @@ Name | Type | Description | Notes
|
|
19
19
|
**siret** | **String** | SIRET code for Bill modules | [optional]
|
20
20
|
**uuid** | **String** | Unique connector identifier |
|
21
21
|
**fields** | [**Array<Field>**](Field.md) | | [optional]
|
22
|
+
**capabilities** | **Array<String>** | | [optional]
|
22
23
|
|
23
24
|
|
@@ -58,6 +58,8 @@ module BudgeaClient
|
|
58
58
|
|
59
59
|
attr_accessor :fields
|
60
60
|
|
61
|
+
attr_accessor :capabilities
|
62
|
+
|
61
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
62
64
|
def self.attribute_map
|
63
65
|
{
|
@@ -76,7 +78,8 @@ module BudgeaClient
|
|
76
78
|
:'auth_mechanism' => :'auth_mechanism',
|
77
79
|
:'siret' => :'siret',
|
78
80
|
:'uuid' => :'uuid',
|
79
|
-
:'fields' => :'fields'
|
81
|
+
:'fields' => :'fields',
|
82
|
+
:'capabilities' => :'capabilities'
|
80
83
|
}
|
81
84
|
end
|
82
85
|
|
@@ -98,7 +101,8 @@ module BudgeaClient
|
|
98
101
|
:'auth_mechanism' => :'String',
|
99
102
|
:'siret' => :'String',
|
100
103
|
:'uuid' => :'String',
|
101
|
-
:'fields' => :'Array<Field>'
|
104
|
+
:'fields' => :'Array<Field>',
|
105
|
+
:'capabilities' => :'Array<String>'
|
102
106
|
}
|
103
107
|
end
|
104
108
|
|
@@ -183,6 +187,12 @@ module BudgeaClient
|
|
183
187
|
self.fields = value
|
184
188
|
end
|
185
189
|
end
|
190
|
+
|
191
|
+
if attributes.has_key?(:'capabilities')
|
192
|
+
if (value = attributes[:'capabilities']).is_a?(Array)
|
193
|
+
self.capabilities = value
|
194
|
+
end
|
195
|
+
end
|
186
196
|
end
|
187
197
|
|
188
198
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -248,7 +258,8 @@ module BudgeaClient
|
|
248
258
|
auth_mechanism == o.auth_mechanism &&
|
249
259
|
siret == o.siret &&
|
250
260
|
uuid == o.uuid &&
|
251
|
-
fields == o.fields
|
261
|
+
fields == o.fields &&
|
262
|
+
capabilities == o.capabilities
|
252
263
|
end
|
253
264
|
|
254
265
|
# @see the `==` method
|
@@ -260,7 +271,7 @@ module BudgeaClient
|
|
260
271
|
# Calculates hash code according to all attributes.
|
261
272
|
# @return [Fixnum] Hash code
|
262
273
|
def hash
|
263
|
-
[id, name, id_weboob, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, siret, uuid, fields].hash
|
274
|
+
[id, name, id_weboob, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, siret, uuid, fields, capabilities].hash
|
264
275
|
end
|
265
276
|
|
266
277
|
# Builds the object from hash
|
Binary file
|
@@ -1,4 +1,14 @@
|
|
1
|
-
|
1
|
+
=begin
|
2
|
+
#Budgea API Documentation
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
2
12
|
|
3
13
|
require 'spec_helper'
|
4
14
|
require 'json'
|
@@ -27,9 +37,9 @@ describe 'AdministrationApi' do
|
|
27
37
|
#
|
28
38
|
# @param [Hash] opts the optional parameters
|
29
39
|
# @option opts [String] :expand
|
30
|
-
# @return [
|
40
|
+
# @return [InlineResponse20012]
|
31
41
|
describe 'clients_get test' do
|
32
|
-
it
|
42
|
+
it 'should work' do
|
33
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
44
|
end
|
35
45
|
end
|
@@ -42,20 +52,20 @@ describe 'AdministrationApi' do
|
|
42
52
|
# @option opts [String] :expand
|
43
53
|
# @return [Client]
|
44
54
|
describe 'clients_id_client_delete test' do
|
45
|
-
it
|
55
|
+
it 'should work' do
|
46
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
57
|
end
|
48
58
|
end
|
49
59
|
|
50
60
|
# unit tests for clients_id_client_get
|
51
61
|
# Get information about a client
|
52
|
-
# If you use the manage_token, you will get also the client_secret
|
62
|
+
# If you use the manage_token or a configuration token, you will get also the client_secret<br><br>
|
53
63
|
# @param id_client
|
54
64
|
# @param [Hash] opts the optional parameters
|
55
65
|
# @option opts [String] :expand
|
56
66
|
# @return [Client]
|
57
67
|
describe 'clients_id_client_get test' do
|
58
|
-
it
|
68
|
+
it 'should work' do
|
59
69
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
70
|
end
|
61
71
|
end
|
@@ -68,7 +78,7 @@ describe 'AdministrationApi' do
|
|
68
78
|
# @option opts [String] :expand
|
69
79
|
# @return [File]
|
70
80
|
describe 'clients_id_client_logo_delete test' do
|
71
|
-
it
|
81
|
+
it 'should work' do
|
72
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
83
|
end
|
74
84
|
end
|
@@ -81,7 +91,7 @@ describe 'AdministrationApi' do
|
|
81
91
|
# @option opts [String] :expand
|
82
92
|
# @return [File]
|
83
93
|
describe 'clients_id_client_logo_post test' do
|
84
|
-
it
|
94
|
+
it 'should work' do
|
85
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
96
|
end
|
87
97
|
end
|
@@ -91,6 +101,7 @@ describe 'AdministrationApi' do
|
|
91
101
|
#
|
92
102
|
# @param id_client
|
93
103
|
# @param [Hash] opts the optional parameters
|
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)
|
94
105
|
# @option opts [String] :name name of client
|
95
106
|
# @option opts [BOOLEAN] :secret reset the secret
|
96
107
|
# @option opts [String] :redirect_uri redirect_uri
|
@@ -100,10 +111,12 @@ describe 'AdministrationApi' do
|
|
100
111
|
# @option opts [String] :description_banks text to display as a description for banks
|
101
112
|
# @option opts [String] :description_providers text to display as a description for providers
|
102
113
|
# @option opts [BOOLEAN] :pro Wether the client should display the company manager page
|
114
|
+
# @option opts [String] :config custom config about the client
|
115
|
+
# @option opts [BOOLEAN] :update_config update the custom information about the client instead of replacing the existing one (default: True)
|
103
116
|
# @option opts [String] :expand
|
104
117
|
# @return [Client]
|
105
118
|
describe 'clients_id_client_put test' do
|
106
|
-
it
|
119
|
+
it 'should work' do
|
107
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
121
|
end
|
109
122
|
end
|
@@ -112,10 +125,14 @@ describe 'AdministrationApi' do
|
|
112
125
|
# Create a client
|
113
126
|
#
|
114
127
|
# @param [Hash] opts the optional parameters
|
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
|
+
# @option opts [String] :name name of client
|
130
|
+
# @option opts [String] :redirect_uri redirect_uri
|
131
|
+
# @option opts [String] :config custom config about the client
|
115
132
|
# @option opts [String] :expand
|
116
133
|
# @return [Client]
|
117
134
|
describe 'clients_post test' do
|
118
|
-
it
|
135
|
+
it 'should work' do
|
119
136
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
137
|
end
|
121
138
|
end
|
@@ -127,19 +144,88 @@ describe 'AdministrationApi' do
|
|
127
144
|
# @option opts [String] :search limit the results to keys matching the given value
|
128
145
|
# @return [nil]
|
129
146
|
describe 'config_get test' do
|
130
|
-
it
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# unit tests for config_logs_get
|
153
|
+
# Get configuration change history of the API.
|
154
|
+
# <br><br>
|
155
|
+
# @param [Hash] opts the optional parameters
|
156
|
+
# @option opts [String] :search limit the results to keys matching the given value
|
157
|
+
# @option opts [String] :type type of change done on the configuration
|
158
|
+
# @option opts [Date] :min_date minimal date of the change
|
159
|
+
# @option opts [Date] :max_date maximum date of the change
|
160
|
+
# @option opts [String] :expand
|
161
|
+
# @return [InlineResponse20013]
|
162
|
+
describe 'config_logs_get test' do
|
163
|
+
it 'should work' do
|
131
164
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
165
|
end
|
133
166
|
end
|
134
167
|
|
135
168
|
# unit tests for config_post
|
136
169
|
# Set a configuration value on the API.
|
137
|
-
# Request: { \"
|
170
|
+
# Request: { \"connection.disable_new\": \"0\", \"search\": \"connection.disable_new\" }<br><br>
|
138
171
|
# @param [Hash] opts the optional parameters
|
139
172
|
# @option opts [String] :search limit the results to keys matching the given value
|
140
173
|
# @return [Object]
|
141
174
|
describe 'config_post test' do
|
142
|
-
it
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# unit tests for merchants_get
|
181
|
+
# List clients
|
182
|
+
#
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [String] :expand
|
185
|
+
# @return [InlineResponse20012]
|
186
|
+
describe 'merchants_get test' do
|
187
|
+
it 'should work' do
|
188
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# unit tests for merchants_id_client_logo_delete
|
193
|
+
# Delete the client logo
|
194
|
+
#
|
195
|
+
# @param id_client
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @option opts [String] :expand
|
198
|
+
# @return [File]
|
199
|
+
describe 'merchants_id_client_logo_delete test' do
|
200
|
+
it 'should work' do
|
201
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# unit tests for merchants_id_client_logo_post
|
206
|
+
# Update the client logo
|
207
|
+
#
|
208
|
+
# @param id_client
|
209
|
+
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [String] :expand
|
211
|
+
# @return [File]
|
212
|
+
describe 'merchants_id_client_logo_post test' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# unit tests for merchants_post
|
219
|
+
# Create a merchant. Needs a user identified in bearer to be used
|
220
|
+
#
|
221
|
+
# @param name name of merchant
|
222
|
+
# @param redirect_uri regexp to check if given redirect_uri are authorized
|
223
|
+
# @param iban payments initiated by this merchant will be done to this IBAN
|
224
|
+
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [String] :expand
|
226
|
+
# @return [Client]
|
227
|
+
describe 'merchants_post test' do
|
228
|
+
it 'should work' do
|
143
229
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
230
|
end
|
145
231
|
end
|
@@ -151,7 +237,7 @@ describe 'AdministrationApi' do
|
|
151
237
|
# @option opts [Integer] :period number on days on which stats on synchronization have to be done per worker (Default: 1)
|
152
238
|
# @return [nil]
|
153
239
|
describe 'monitoring_get test' do
|
154
|
-
it
|
240
|
+
it 'should work' do
|
155
241
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
242
|
end
|
157
243
|
end
|
@@ -162,7 +248,7 @@ describe 'AdministrationApi' do
|
|
162
248
|
# @param [Hash] opts the optional parameters
|
163
249
|
# @return [nil]
|
164
250
|
describe 'test_sync_post test' do
|
165
|
-
it
|
251
|
+
it 'should work' do
|
166
252
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
167
253
|
end
|
168
254
|
end
|
@@ -173,7 +259,91 @@ describe 'AdministrationApi' do
|
|
173
259
|
# @param [Hash] opts the optional parameters
|
174
260
|
# @return [nil]
|
175
261
|
describe 'test_webhooks_post test' do
|
176
|
-
it
|
262
|
+
it 'should work' do
|
263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
# unit tests for webhooks_auth_delete
|
268
|
+
# Deletes all webhook authentication types
|
269
|
+
#
|
270
|
+
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [String] :expand
|
272
|
+
# @return [AuthProvider]
|
273
|
+
describe 'webhooks_auth_delete test' do
|
274
|
+
it 'should work' do
|
275
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
# unit tests for webhooks_auth_get
|
280
|
+
# Get webhooks authentication types
|
281
|
+
#
|
282
|
+
# @param [Hash] opts the optional parameters
|
283
|
+
# @option opts [String] :expand
|
284
|
+
# @return [InlineResponse20039]
|
285
|
+
describe 'webhooks_auth_get test' do
|
286
|
+
it 'should work' do
|
287
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# unit tests for webhooks_auth_id_auth_delete
|
292
|
+
# Deletes the webhook authentication type
|
293
|
+
# Updates the deleted field with the date of the deletion<br><br>
|
294
|
+
# @param id_auth
|
295
|
+
# @param [Hash] opts the optional parameters
|
296
|
+
# @option opts [String] :expand
|
297
|
+
# @return [AuthProvider]
|
298
|
+
describe 'webhooks_auth_id_auth_delete test' do
|
299
|
+
it 'should work' do
|
300
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# unit tests for webhooks_auth_id_auth_post
|
305
|
+
# Updates the webhook authentication type
|
306
|
+
#
|
307
|
+
# @param id_auth
|
308
|
+
# @param type The type of the authentication process (oauth, certificate, token, etc...)
|
309
|
+
# @param name The name of the authentication process to differentiate
|
310
|
+
# @param [Hash] opts the optional parameters
|
311
|
+
# @option opts [String] :config The authentication process configuration. A dict containing either the certificate
|
312
|
+
# @option opts [String] :expand
|
313
|
+
# @return [AuthProvider]
|
314
|
+
describe 'webhooks_auth_id_auth_post test' do
|
315
|
+
it 'should work' do
|
316
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
# unit tests for webhooks_auth_id_auth_put
|
321
|
+
# Updates the webhook authentication type
|
322
|
+
#
|
323
|
+
# @param id_auth
|
324
|
+
# @param type The type of the authentication process (oauth, certificate, token, etc...)
|
325
|
+
# @param name The name of the authentication process to differentiate
|
326
|
+
# @param [Hash] opts the optional parameters
|
327
|
+
# @option opts [String] :config The authentication process configuration. A dict containt either the certificate
|
328
|
+
# @option opts [String] :expand
|
329
|
+
# @return [AuthProvider]
|
330
|
+
describe 'webhooks_auth_id_auth_put test' do
|
331
|
+
it 'should work' do
|
332
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# unit tests for webhooks_auth_post
|
337
|
+
# Adds a new webhook authentication type
|
338
|
+
#
|
339
|
+
# @param type The type of the authentication process (oauth, certificate, token, etc...)
|
340
|
+
# @param name The name of the authentication process to differentiate
|
341
|
+
# @param [Hash] opts the optional parameters
|
342
|
+
# @option opts [String] :config The authentication process configuration. A dict contains either the certificate
|
343
|
+
# @option opts [String] :expand
|
344
|
+
# @return [AuthProvider]
|
345
|
+
describe 'webhooks_auth_post test' do
|
346
|
+
it 'should work' do
|
177
347
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
178
348
|
end
|
179
349
|
end
|
@@ -185,7 +355,7 @@ describe 'AdministrationApi' do
|
|
185
355
|
# @option opts [String] :expand
|
186
356
|
# @return [Webhook]
|
187
357
|
describe 'webhooks_delete test' do
|
188
|
-
it
|
358
|
+
it 'should work' do
|
189
359
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
190
360
|
end
|
191
361
|
end
|
@@ -195,9 +365,21 @@ describe 'AdministrationApi' do
|
|
195
365
|
#
|
196
366
|
# @param [Hash] opts the optional parameters
|
197
367
|
# @option opts [String] :expand
|
198
|
-
# @return [
|
368
|
+
# @return [InlineResponse20038]
|
199
369
|
describe 'webhooks_get test' do
|
200
|
-
it
|
370
|
+
it 'should work' do
|
371
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
# unit tests for webhooks_id_webhook_add_to_data_get
|
376
|
+
# retrieve the list of the value to add in webhooks when sending the requested webhook
|
377
|
+
#
|
378
|
+
# @param id_webhook
|
379
|
+
# @param [Hash] opts the optional parameters
|
380
|
+
# @return [nil]
|
381
|
+
describe 'webhooks_id_webhook_add_to_data_get test' do
|
382
|
+
it 'should work' do
|
201
383
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
384
|
end
|
203
385
|
end
|
@@ -210,7 +392,24 @@ describe 'AdministrationApi' do
|
|
210
392
|
# @option opts [String] :expand
|
211
393
|
# @return [Webhook]
|
212
394
|
describe 'webhooks_id_webhook_delete test' do
|
213
|
-
it
|
395
|
+
it 'should work' do
|
396
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
# unit tests for webhooks_id_webhook_logs_get
|
401
|
+
# Get webhooks logs.
|
402
|
+
# 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
|
+
# @param id_webhook
|
404
|
+
# @param [Hash] opts the optional parameters
|
405
|
+
# @option opts [Integer] :limit limit number of results
|
406
|
+
# @option opts [Integer] :offset offset of first result
|
407
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
408
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
409
|
+
# @option opts [String] :expand
|
410
|
+
# @return [InlineResponse20040]
|
411
|
+
describe 'webhooks_id_webhook_logs_get test' do
|
412
|
+
it 'should work' do
|
214
413
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
414
|
end
|
216
415
|
end
|
@@ -223,12 +422,13 @@ describe 'AdministrationApi' do
|
|
223
422
|
# @option opts [String] :deleted a date to delete the webhook or 'null' to enable it
|
224
423
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
225
424
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
425
|
+
# @option opts [Integer] :id_auth The webhook authentication process to use
|
226
426
|
# @option opts [Float] :url The webhook callback url
|
227
427
|
# @option opts [String] :event The webhook event
|
228
428
|
# @option opts [String] :expand
|
229
429
|
# @return [Webhook]
|
230
430
|
describe 'webhooks_id_webhook_post test' do
|
231
|
-
it
|
431
|
+
it 'should work' do
|
232
432
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
233
433
|
end
|
234
434
|
end
|
@@ -241,12 +441,13 @@ describe 'AdministrationApi' do
|
|
241
441
|
# @option opts [String] :deleted a date to delete the webhook or 'null' to enable it
|
242
442
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
243
443
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
444
|
+
# @option opts [Integer] :id_auth The webhook authentication process to use
|
244
445
|
# @option opts [Float] :url The webhook callback url
|
245
446
|
# @option opts [String] :event The webhook event
|
246
447
|
# @option opts [String] :expand
|
247
448
|
# @return [Webhook]
|
248
449
|
describe 'webhooks_id_webhook_put test' do
|
249
|
-
it
|
450
|
+
it 'should work' do
|
250
451
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
452
|
end
|
252
453
|
end
|
@@ -257,13 +458,14 @@ describe 'AdministrationApi' do
|
|
257
458
|
# @param [Hash] opts the optional parameters
|
258
459
|
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
259
460
|
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
461
|
+
# @option opts [String] :id_auth The webhook authentication process to use (its ID or its name)
|
260
462
|
# @option opts [Float] :url The webhook callback url
|
261
463
|
# @option opts [String] :event The webhook event
|
262
464
|
# @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
|
263
465
|
# @option opts [String] :expand
|
264
466
|
# @return [Webhook]
|
265
467
|
describe 'webhooks_post test' do
|
266
|
-
it
|
468
|
+
it 'should work' do
|
267
469
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
268
470
|
end
|
269
471
|
end
|