budgea_client 1.3.9 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e062aab61328dde4308cafe36ffb3f7c84f2cade5a3db2610bf932f2b8f1a16
4
- data.tar.gz: e41339aa7b403b015f1e6e1dd24b04e452ad8b70e33829e5539851546af7c1ff
3
+ metadata.gz: 40b22fd4ed959f628a86d4873d2d49a45505869157764ff2f30a45af92f0a330
4
+ data.tar.gz: ccc789dd1475741c57a619835b4479811766cbf7cc0e13378c9ce81eefb18f9f
5
5
  SHA512:
6
- metadata.gz: 332ebc3fb9481c69f1f2de0a795453c1eebdd83fb3684ebc1571eef81a145e0136c93b0ed6953f75959617c8870c91480e1dadfd8c209270d840c00a5dc6c154
7
- data.tar.gz: '00609864731855a4374a26b064c70ff9f5fb7c020360dd3e4ecc11f2a67caa021f9941cbcdc32b94df638ed70e53ffa75494d2dbdd041afa1920c2a46637d9cf'
6
+ metadata.gz: 94ba5b937501901316a8051a18e709c7b11748f998df6994226a619ca551fef63c5eb89c5e418e0eb6812e3ed4711bf6b9a3580f598aa46e13f6d07321df0f02
7
+ data.tar.gz: 960fef8e79c62596458d4189d8bdae2b3478022ce792081b996595d0515f7b107eac24f949f9c82962b688680fc3d686e6ec9adc88e2bba4e903205ed101dd4d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (1.3.9)
4
+ budgea_client (1.4.2)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/README.md CHANGED
@@ -1024,8 +1024,8 @@ Class | Method | HTTP request | Description
1024
1024
  *BudgeaClient::PFMApi* | [**users_id_user_balances_get**](docs/PFMApi.md#users_id_user_balances_get) | **GET** /users/{id_user}/balances | Get balances of accounts
1025
1025
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_balances_get**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/balances | Get balances of accounts
1026
1026
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_get**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Get a list of configurated alerts
1027
- *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Delete an alert on transactions or investemens
1028
- *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investemens
1027
+ *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Delete an alert on transactions or investments
1028
+ *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investments
1029
1029
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_post**](docs/PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Create an alert on transactions or investemens of a given user
1030
1030
  *BudgeaClient::PFMApi* | [**users_id_user_connections_id_connection_balances_get**](docs/PFMApi.md#users_id_user_connections_id_connection_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/balances | Get balances of accounts
1031
1031
  *BudgeaClient::PFMApi* | [**users_id_user_devices_get**](docs/PFMApi.md#users_id_user_devices_get) | **GET** /users/{id_user}/devices | Get devices
@@ -1232,7 +1232,6 @@ Class | Method | HTTP request | Description
1232
1232
 
1233
1233
  ## Documentation for Models
1234
1234
 
1235
- - [BudgeaClient::Access](docs/Access.md)
1236
1235
  - [BudgeaClient::Account](docs/Account.md)
1237
1236
  - [BudgeaClient::AccountLog](docs/AccountLog.md)
1238
1237
  - [BudgeaClient::AccountType](docs/AccountType.md)
@@ -1242,7 +1241,6 @@ Class | Method | HTTP request | Description
1242
1241
  - [BudgeaClient::Category](docs/Category.md)
1243
1242
  - [BudgeaClient::Client](docs/Client.md)
1244
1243
  - [BudgeaClient::Connection](docs/Connection.md)
1245
- - [BudgeaClient::ConnectionContact](docs/ConnectionContact.md)
1246
1244
  - [BudgeaClient::ConnectionLog](docs/ConnectionLog.md)
1247
1245
  - [BudgeaClient::ConnectorLogo](docs/ConnectorLogo.md)
1248
1246
  - [BudgeaClient::Currency](docs/Currency.md)
@@ -1252,8 +1250,6 @@ Class | Method | HTTP request | Description
1252
1250
  - [BudgeaClient::Field](docs/Field.md)
1253
1251
  - [BudgeaClient::FieldValue](docs/FieldValue.md)
1254
1252
  - [BudgeaClient::File](docs/File.md)
1255
- - [BudgeaClient::Group](docs/Group.md)
1256
- - [BudgeaClient::HashTable](docs/HashTable.md)
1257
1253
  - [BudgeaClient::InlineResponse200](docs/InlineResponse200.md)
1258
1254
  - [BudgeaClient::InlineResponse2001](docs/InlineResponse2001.md)
1259
1255
  - [BudgeaClient::InlineResponse20010](docs/InlineResponse20010.md)
@@ -1290,13 +1286,9 @@ Class | Method | HTTP request | Description
1290
1286
  - [BudgeaClient::InlineResponse2009](docs/InlineResponse2009.md)
1291
1287
  - [BudgeaClient::Investment](docs/Investment.md)
1292
1288
  - [BudgeaClient::InvestmentValue](docs/InvestmentValue.md)
1293
- - [BudgeaClient::Invite](docs/Invite.md)
1294
1289
  - [BudgeaClient::LockedUser](docs/LockedUser.md)
1295
1290
  - [BudgeaClient::OidcWhitelist](docs/OidcWhitelist.md)
1296
- - [BudgeaClient::Pocket](docs/Pocket.md)
1297
1291
  - [BudgeaClient::Profile](docs/Profile.md)
1298
- - [BudgeaClient::Project](docs/Project.md)
1299
- - [BudgeaClient::ProjectType](docs/ProjectType.md)
1300
1292
  - [BudgeaClient::Recipient](docs/Recipient.md)
1301
1293
  - [BudgeaClient::Security](docs/Security.md)
1302
1294
  - [BudgeaClient::Subscription](docs/Subscription.md)
data/budgea_openapi.json CHANGED
@@ -6655,6 +6655,90 @@
6655
6655
  "name": "id_bank",
6656
6656
  "description": "ID of the bank"
6657
6657
  },
6658
+ {
6659
+ "required": false,
6660
+ "in": "formData",
6661
+ "type": "string",
6662
+ "name": "birthday",
6663
+ "description": "bank additional login parameter"
6664
+ },
6665
+ {
6666
+ "required": false,
6667
+ "in": "formData",
6668
+ "type": "string",
6669
+ "name": "password",
6670
+ "description": "bank additional login parameter"
6671
+ },
6672
+ {
6673
+ "required": false,
6674
+ "in": "formData",
6675
+ "type": "string",
6676
+ "name": "oauth_token",
6677
+ "description": "bank additional login parameter"
6678
+ },
6679
+ {
6680
+ "required": false,
6681
+ "in": "formData",
6682
+ "type": "string",
6683
+ "name": "oauth_token_secret",
6684
+ "description": "bank additional login parameter"
6685
+ },
6686
+ {
6687
+ "required": false,
6688
+ "in": "formData",
6689
+ "type": "string",
6690
+ "name": "auth_type",
6691
+ "description": "bank additional login parameter"
6692
+ },
6693
+ {
6694
+ "required": false,
6695
+ "in": "formData",
6696
+ "type": "string",
6697
+ "name": "secret",
6698
+ "description": "bank additional login parameter"
6699
+ },
6700
+ {
6701
+ "required": false,
6702
+ "in": "formData",
6703
+ "type": "string",
6704
+ "name": "type",
6705
+ "description": "bank additional login parameter"
6706
+ },
6707
+ {
6708
+ "required": false,
6709
+ "in": "formData",
6710
+ "type": "string",
6711
+ "name": "birthdate",
6712
+ "description": "bank additional login parameter"
6713
+ },
6714
+ {
6715
+ "required": false,
6716
+ "in": "formData",
6717
+ "type": "string",
6718
+ "name": "nuser",
6719
+ "description": "bank additional login parameter"
6720
+ },
6721
+ {
6722
+ "required": false,
6723
+ "in": "formData",
6724
+ "type": "string",
6725
+ "name": "website",
6726
+ "description": "bank additional login parameter"
6727
+ },
6728
+ {
6729
+ "required": false,
6730
+ "in": "formData",
6731
+ "type": "string",
6732
+ "name": "password",
6733
+ "description": "bank additional login parameter"
6734
+ },
6735
+ {
6736
+ "required": false,
6737
+ "in": "formData",
6738
+ "type": "string",
6739
+ "name": "login",
6740
+ "description": "bank additional login parameter"
6741
+ },
6658
6742
  {
6659
6743
  "required": false,
6660
6744
  "in": "formData",
@@ -6669,7 +6753,10 @@
6669
6753
  "in": "query"
6670
6754
  }
6671
6755
  ],
6672
- "summary": "Add a new connection."
6756
+ "summary": "Add a new connection.",
6757
+ "consumes": [
6758
+ "multipart/form-data"
6759
+ ]
6673
6760
  },
6674
6761
  "delete": {
6675
6762
  "responses": {
@@ -6771,7 +6858,10 @@
6771
6858
  "in": "query"
6772
6859
  }
6773
6860
  ],
6774
- "summary": "Update a connection."
6861
+ "summary": "Update a connection.",
6862
+ "consumes": [
6863
+ "multipart/form-data"
6864
+ ]
6775
6865
  },
6776
6866
  "put": {
6777
6867
  "responses": {
@@ -6972,7 +7062,10 @@
6972
7062
  "in": "query"
6973
7063
  }
6974
7064
  ],
6975
- "summary": "Create an account"
7065
+ "summary": "Create an account",
7066
+ "consumes": [
7067
+ "multipart/form-data"
7068
+ ]
6976
7069
  },
6977
7070
  "delete": {
6978
7071
  "responses": {
@@ -7742,7 +7835,10 @@
7742
7835
  "in": "query"
7743
7836
  }
7744
7837
  ],
7745
- "summary": "Create an alert on transactions or investemens of a given user"
7838
+ "summary": "Create an alert on transactions or investemens of a given user",
7839
+ "consumes": [
7840
+ "multipart/form-data"
7841
+ ]
7746
7842
  }
7747
7843
  },
7748
7844
  "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert}": {
@@ -7830,7 +7926,10 @@
7830
7926
  "in": "query"
7831
7927
  }
7832
7928
  ],
7833
- "summary": "Edit an alert on transactions or investemens"
7929
+ "summary": "Edit an alert on transactions or investments",
7930
+ "consumes": [
7931
+ "multipart/form-data"
7932
+ ]
7834
7933
  },
7835
7934
  "delete": {
7836
7935
  "responses": {
@@ -7884,7 +7983,7 @@
7884
7983
  "in": "query"
7885
7984
  }
7886
7985
  ],
7887
- "summary": "Delete an alert on transactions or investemens"
7986
+ "summary": "Delete an alert on transactions or investments"
7888
7987
  }
7889
7988
  },
7890
7989
  "/users/{id_user}/connections/{id_connection}/accounts/{id_account}/recipients": {
@@ -19836,36 +19935,6 @@
19836
19935
  "type": ""
19837
19936
  }
19838
19937
  },
19839
- "HashTable": {
19840
- "required": [
19841
- "wording",
19842
- "income",
19843
- "display",
19844
- "nature"
19845
- ],
19846
- "type": "object",
19847
- "properties": {
19848
- "wording": {
19849
- "type": "string"
19850
- },
19851
- "income": {
19852
- "type": "boolean"
19853
- },
19854
- "display": {
19855
- "default": true,
19856
- "type": "boolean"
19857
- },
19858
- "nature": {
19859
- "type": "string"
19860
- }
19861
- },
19862
- "example": {
19863
- "wording": "",
19864
- "income": false,
19865
- "display": true,
19866
- "nature": ""
19867
- }
19868
- },
19869
19938
  "TermsOfService": {
19870
19939
  "required": [
19871
19940
  "id",
@@ -20262,6 +20331,12 @@
20262
20331
  "type": "string",
20263
20332
  "description": "Date of next synchronization",
20264
20333
  "format": "date-time"
20334
+ },
20335
+ "accounts": {
20336
+ "type": "array",
20337
+ "items": {
20338
+ "$ref": "#/definitions/Account"
20339
+ }
20265
20340
  }
20266
20341
  },
20267
20342
  "example": {
@@ -20362,60 +20437,6 @@
20362
20437
  "worker": ""
20363
20438
  }
20364
20439
  },
20365
- "ProjectType": {
20366
- "required": [
20367
- "id",
20368
- "name"
20369
- ],
20370
- "type": "object",
20371
- "properties": {
20372
- "id": {
20373
- "type": "integer"
20374
- },
20375
- "name": {
20376
- "type": "string"
20377
- },
20378
- "icon_url": {
20379
- "type": "string"
20380
- }
20381
- },
20382
- "example": {
20383
- "id": 0,
20384
- "name": "",
20385
- "icon_url": ""
20386
- }
20387
- },
20388
- "Access": {
20389
- "required": [
20390
- "id",
20391
- "id_profile"
20392
- ],
20393
- "type": "object",
20394
- "properties": {
20395
- "id": {
20396
- "type": "integer"
20397
- },
20398
- "id_user": {
20399
- "type": "integer"
20400
- },
20401
- "id_profile": {
20402
- "type": "integer"
20403
- },
20404
- "id_role": {
20405
- "type": "integer"
20406
- },
20407
- "email": {
20408
- "type": "string"
20409
- }
20410
- },
20411
- "example": {
20412
- "id": 0,
20413
- "id_user": 0,
20414
- "id_profile": 0,
20415
- "id_role": 0,
20416
- "email": ""
20417
- }
20418
- },
20419
20440
  "Profile": {
20420
20441
  "required": [
20421
20442
  "id",
@@ -21440,7 +21461,7 @@
21440
21461
  "description": "Account IBAN"
21441
21462
  },
21442
21463
  "currency": {
21443
- "type": "object",
21464
+ "$ref": "#/definitions/Account",
21444
21465
  "description": "Account currency"
21445
21466
  },
21446
21467
  "id_type": {
@@ -21482,118 +21503,6 @@
21482
21503
  "error": ""
21483
21504
  }
21484
21505
  },
21485
- "ConnectionContact": {
21486
- "required": [
21487
- "id",
21488
- "id_connection",
21489
- "name"
21490
- ],
21491
- "type": "object",
21492
- "properties": {
21493
- "id": {
21494
- "type": "integer"
21495
- },
21496
- "id_connection": {
21497
- "type": "integer"
21498
- },
21499
- "name": {
21500
- "type": "string"
21501
- },
21502
- "email": {
21503
- "type": "string"
21504
- },
21505
- "phone": {
21506
- "type": "string"
21507
- },
21508
- "mobile": {
21509
- "type": "string"
21510
- },
21511
- "fax": {
21512
- "type": "string"
21513
- },
21514
- "agency": {
21515
- "type": "string"
21516
- },
21517
- "address": {
21518
- "type": "string"
21519
- },
21520
- "role": {
21521
- "type": "string"
21522
- }
21523
- },
21524
- "example": {
21525
- "id": 0,
21526
- "id_connection": 0,
21527
- "name": "",
21528
- "email": "",
21529
- "phone": "",
21530
- "mobile": "",
21531
- "fax": "",
21532
- "agency": "",
21533
- "address": "",
21534
- "role": ""
21535
- }
21536
- },
21537
- "Project": {
21538
- "required": [
21539
- "id",
21540
- "id_user",
21541
- "id_type",
21542
- "name",
21543
- "target",
21544
- "saved",
21545
- "monthly_savings",
21546
- "comment",
21547
- "active"
21548
- ],
21549
- "type": "object",
21550
- "properties": {
21551
- "id": {
21552
- "type": "integer"
21553
- },
21554
- "id_user": {
21555
- "type": "integer"
21556
- },
21557
- "id_type": {
21558
- "type": "integer"
21559
- },
21560
- "name": {
21561
- "type": "string"
21562
- },
21563
- "target": {
21564
- "type": "number",
21565
- "format": "float"
21566
- },
21567
- "saved": {
21568
- "default": 0,
21569
- "type": "number",
21570
- "format": "float"
21571
- },
21572
- "monthly_savings": {
21573
- "type": "number",
21574
- "format": "float"
21575
- },
21576
- "comment": {
21577
- "default": "",
21578
- "type": "string"
21579
- },
21580
- "active": {
21581
- "default": true,
21582
- "type": "boolean"
21583
- }
21584
- },
21585
- "example": {
21586
- "id": 0,
21587
- "id_user": 0,
21588
- "id_type": 0,
21589
- "name": "",
21590
- "target": 0,
21591
- "saved": 0,
21592
- "monthly_savings": 0,
21593
- "comment": "",
21594
- "active": true
21595
- }
21596
- },
21597
21506
  "Device": {
21598
21507
  "required": [
21599
21508
  "id",
@@ -21641,155 +21550,6 @@
21641
21550
  "debug": false
21642
21551
  }
21643
21552
  },
21644
- "Invite": {
21645
- "required": [
21646
- "id",
21647
- "id_user_inviting"
21648
- ],
21649
- "type": "object",
21650
- "properties": {
21651
- "id": {
21652
- "type": "integer"
21653
- },
21654
- "id_unsubscribe": {
21655
- "type": "integer"
21656
- },
21657
- "id_user_inviting": {
21658
- "type": "integer"
21659
- },
21660
- "id_user_invited": {
21661
- "type": "integer"
21662
- },
21663
- "email_invited": {
21664
- "type": "string"
21665
- },
21666
- "timestamp": {
21667
- "type": "string",
21668
- "format": "date-time"
21669
- }
21670
- },
21671
- "example": {
21672
- "id": 0,
21673
- "id_unsubscribe": 0,
21674
- "id_user_inviting": 0,
21675
- "id_user_invited": 0,
21676
- "email_invited": "",
21677
- "timestamp": "2018-09-19 10:44:12.527373"
21678
- }
21679
- },
21680
- "Pocket": {
21681
- "required": [
21682
- "id",
21683
- "id_account",
21684
- "id_investment",
21685
- "value",
21686
- "condition"
21687
- ],
21688
- "type": "object",
21689
- "properties": {
21690
- "id": {
21691
- "type": "integer",
21692
- "description": "ID of the pocket"
21693
- },
21694
- "id_account": {
21695
- "type": "integer",
21696
- "description": "ID of the related account"
21697
- },
21698
- "id_investment": {
21699
- "type": "integer",
21700
- "description": "ID of the related investment"
21701
- },
21702
- "label": {
21703
- "type": "string",
21704
- "description": "Label of the pocket"
21705
- },
21706
- "value": {
21707
- "type": "number",
21708
- "description": "Value of the pocket",
21709
- "format": "float"
21710
- },
21711
- "quantity": {
21712
- "default": 0,
21713
- "type": "number",
21714
- "description": "Quantity of stocks",
21715
- "format": "float"
21716
- },
21717
- "availability_date": {
21718
- "type": "string",
21719
- "description": "Availability date of the pocket",
21720
- "format": "date"
21721
- },
21722
- "condition": {
21723
- "default": "inconnu",
21724
- "type": "string",
21725
- "description": "Withdrawal condition of the pocket"
21726
- },
21727
- "last_update": {
21728
- "type": "string",
21729
- "description": "Last update of the pocket",
21730
- "format": "date-time"
21731
- },
21732
- "deleted": {
21733
- "type": "string",
21734
- "description": "If set, this pocket has been removed from the website",
21735
- "format": "date-time"
21736
- }
21737
- },
21738
- "example": {
21739
- "id": 0,
21740
- "id_account": 0,
21741
- "id_investment": 0,
21742
- "label": "",
21743
- "value": 0,
21744
- "quantity": 0,
21745
- "availability_date": "2018-09-19",
21746
- "condition": "inconnu",
21747
- "last_update": "2018-09-19 10:44:12.528530",
21748
- "deleted": "2018-09-19 10:44:12.528588"
21749
- }
21750
- },
21751
- "Group": {
21752
- "required": [
21753
- "id"
21754
- ],
21755
- "type": "object",
21756
- "properties": {
21757
- "id": {
21758
- "type": "integer"
21759
- },
21760
- "id_parent_group": {
21761
- "type": "integer"
21762
- },
21763
- "id_logo": {
21764
- "type": "integer"
21765
- },
21766
- "name": {
21767
- "type": "string"
21768
- },
21769
- "url": {
21770
- "type": "string"
21771
- },
21772
- "color": {
21773
- "type": "string"
21774
- },
21775
- "email": {
21776
- "type": "string"
21777
- },
21778
- "conf": {
21779
- "type": "string"
21780
- }
21781
- },
21782
- "example": {
21783
- "id": 0,
21784
- "id_parent_group": 0,
21785
- "id_logo": 0,
21786
- "name": "",
21787
- "url": "",
21788
- "color": "",
21789
- "email": "",
21790
- "conf": ""
21791
- }
21792
- },
21793
21553
  "Alert": {
21794
21554
  "required": [
21795
21555
  "id",
data/docs/Account.md CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
  **deleted** | **DateTime** | This account is not found on the website anymore | [optional]
17
17
  **disabled** | **DateTime** | This account has been deleted by user and will not be synchronized anymore | [optional]
18
18
  **iban** | **String** | Account IBAN | [optional]
19
- **currency** | **Object** | Account currency | [optional]
19
+ **currency** | [**Account**](Account.md) | Account currency | [optional]
20
20
  **id_type** | **Integer** | ID of the account type | [optional]
21
21
  **bookmarked** | **Integer** | This account has been bookmarked by user |
22
22
  **name** | **String** | Name of the account | [optional]