billimatic-client 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/README.md +35 -13
- data/lib/billimatic/entities/invoice.rb +1 -0
- data/lib/billimatic/entities/invoice_rule.rb +2 -0
- data/lib/billimatic/entities/plan.rb +2 -0
- data/lib/billimatic/resources/company.rb +1 -1
- data/lib/billimatic/resources/person.rb +1 -1
- data/lib/billimatic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ded6965b8ef309ab84255b882107a6968792f10
|
4
|
+
data.tar.gz: 54216a37c467e0f9e318e3b1686dee14a61a80df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c63b420f826df5f262ca69389ab8db420d262fdfd0efea3bfafbb08992b847c158c28c5dd08b1796f929791dca69e4a15c607e0310e8523bfa1d2c07d726cc
|
7
|
+
data.tar.gz: ef5a72ac05d4105da70f481754d7dfe043e55904bfa960de2f302cd6694b5ee0be0ceddd8d80791a44279f9a86f4cf67b84c0c3d374c3b032e6d48ece6c5b0da
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
## Next version
|
4
4
|
|
5
|
+
## v0.19.0
|
6
|
+
- Adds Company#list endpoint.
|
7
|
+
- Adds Person#list endpoint.
|
8
|
+
- Adds `notification_ruler_id` attribute on Invoice entity.
|
9
|
+
- Adds `notification_ruler_id` attribute on InvoiceRule entity.
|
10
|
+
- Adds `billet_notification_ruler_id` and `payment_gateway_notification_ruler_id` attributes on Plan entity.
|
11
|
+
|
12
|
+
## v0.18.2
|
13
|
+
- Adds `notify_customer` attribute on InvoiceRule entity.
|
14
|
+
|
5
15
|
## v0.18.1
|
6
16
|
- Adds `company_name`, `address`, `number`, `complement`, `zipcode`, `district`, `city` and `state` attributes on Organization entity.
|
7
17
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -494,10 +494,21 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
494
494
|
<code>client.companies.search(cnpj)</code>
|
495
495
|
</td>
|
496
496
|
</tr>
|
497
|
+
<tr>
|
498
|
+
<td><code>GET</code></td>
|
499
|
+
<td>
|
500
|
+
<a href="https://app.billimatic.com.br/docs/api#!/companies/API_V1_Companies_index_get_1" target="_blank">
|
501
|
+
/api/v1/companies
|
502
|
+
</a>
|
503
|
+
</td>
|
504
|
+
<td>
|
505
|
+
<code>client.companies.list</code>
|
506
|
+
</td>
|
507
|
+
</tr>
|
497
508
|
<tr>
|
498
509
|
<td><code>POST</code></td>
|
499
510
|
<td>
|
500
|
-
<a href="https://app.billimatic.com.br/docs/api#!/companies/
|
511
|
+
<a href="https://app.billimatic.com.br/docs/api#!/companies/API_V1_Companies_create_post_2" target="_blank">
|
501
512
|
/api/v1/companies
|
502
513
|
</a>
|
503
514
|
</td>
|
@@ -508,7 +519,7 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
508
519
|
<tr>
|
509
520
|
<td><code>GET</code></td>
|
510
521
|
<td>
|
511
|
-
<a href="https://app.billimatic.com.br/docs/api#!/companies/
|
522
|
+
<a href="https://app.billimatic.com.br/docs/api#!/companies/API_V1_Companies_show_get_3" target="_blank">
|
512
523
|
/api/v1/companies/:id
|
513
524
|
</a>
|
514
525
|
</td>
|
@@ -519,7 +530,7 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
519
530
|
<tr>
|
520
531
|
<td><code>PATCH</code></td>
|
521
532
|
<td>
|
522
|
-
<a href="https://app.billimatic.com.br/docs/api#!/companies/
|
533
|
+
<a href="https://app.billimatic.com.br/docs/api#!/companies/API_V1_Companies_update_patch_4" target="_blank">
|
523
534
|
/api/v1/companies/:id
|
524
535
|
</a>
|
525
536
|
</td>
|
@@ -530,7 +541,7 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
530
541
|
<tr>
|
531
542
|
<td><code>DELETE</code></td>
|
532
543
|
<td>
|
533
|
-
<a href="https://app.billimatic.com.br/docs/api#!/companies/
|
544
|
+
<a href="https://app.billimatic.com.br/docs/api#!/companies/API_V1_Companies_destroy_delete_5" target="_blank">
|
534
545
|
/api/v1/companies/:id
|
535
546
|
</a>
|
536
547
|
</td>
|
@@ -551,29 +562,29 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
551
562
|
<tr>
|
552
563
|
<td><code>GET</code></td>
|
553
564
|
<td>
|
554
|
-
<a href="https://app.billimatic.com.br/docs/api#!/people/
|
555
|
-
/api/v1/people
|
565
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_search_get_0" target="_blank">
|
566
|
+
/api/v1/people/search?cpf=:cpf
|
556
567
|
</a>
|
557
568
|
</td>
|
558
569
|
<td>
|
559
|
-
<code>client.people.
|
570
|
+
<code>client.people.search(cpf: cpf)</code>
|
560
571
|
</td>
|
561
572
|
</tr>
|
562
573
|
<tr>
|
563
574
|
<td><code>GET</code></td>
|
564
575
|
<td>
|
565
|
-
<a href="https://app.billimatic.com.br/docs/api#!/people/
|
566
|
-
/api/v1/people
|
576
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_index_get_1" target="_blank">
|
577
|
+
/api/v1/people
|
567
578
|
</a>
|
568
579
|
</td>
|
569
580
|
<td>
|
570
|
-
<code>client.people.
|
581
|
+
<code>client.people.list</code>
|
571
582
|
</td>
|
572
583
|
</tr>
|
573
584
|
<tr>
|
574
585
|
<td><code>POST</code></td>
|
575
586
|
<td>
|
576
|
-
<a href="https://app.billimatic.com.br/docs/api#!/people/
|
587
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_create_post_2" target="_blank">
|
577
588
|
/api/v1/people
|
578
589
|
</a>
|
579
590
|
</td>
|
@@ -581,10 +592,21 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
581
592
|
<code>client.people.create(attributes_hash)</code>
|
582
593
|
</td>
|
583
594
|
</tr>
|
595
|
+
<tr>
|
596
|
+
<td><code>GET</code></td>
|
597
|
+
<td>
|
598
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_show_get_3" target="_blank">
|
599
|
+
/api/v1/people/:id
|
600
|
+
</a>
|
601
|
+
</td>
|
602
|
+
<td>
|
603
|
+
<code>client.people.show(id)</code>
|
604
|
+
</td>
|
605
|
+
</tr>
|
584
606
|
<tr>
|
585
607
|
<td><code>PUT</code></td>
|
586
608
|
<td>
|
587
|
-
<a href="https://app.billimatic.com.br/docs/api#!/people/
|
609
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_update_patch_4" target="_blank">
|
588
610
|
/api/v1/people/:id
|
589
611
|
</a>
|
590
612
|
</td>
|
@@ -595,7 +617,7 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
|
|
595
617
|
<tr>
|
596
618
|
<td><code>DELETE</code></td>
|
597
619
|
<td>
|
598
|
-
<a href="https://app.billimatic.com.br/docs/api#!/people/
|
620
|
+
<a href="https://app.billimatic.com.br/docs/api#!/people/API_V1_People_destroy_delete_5" target="_blank">
|
599
621
|
/api/v1/people/:id
|
600
622
|
</a>
|
601
623
|
</td>
|
@@ -36,6 +36,7 @@ module Billimatic
|
|
36
36
|
attribute :days_until_automatic_nfe_emission, Integer
|
37
37
|
attribute :automatic_nfe_issue_date, Date
|
38
38
|
attribute :automatic_email_template_id, Integer
|
39
|
+
attribute :notification_ruler_id, Integer
|
39
40
|
attribute :receivables, [Receivable]
|
40
41
|
attribute :services, [Service]
|
41
42
|
attribute :payment_information, PaymentInformation
|
@@ -23,6 +23,8 @@ module Billimatic
|
|
23
23
|
attribute :days_until_automatic_nfe_emission, Integer
|
24
24
|
attribute :automatic_nfe_issue_date, Date
|
25
25
|
attribute :automatic_email_template_id, Integer
|
26
|
+
attribute :notification_ruler_id, Integer
|
27
|
+
attribute :notify_customer, Boolean
|
26
28
|
attribute :services, Array[Service]
|
27
29
|
attribute :additional_information, Hash
|
28
30
|
attribute :scheduled_updates, Array[Hash]
|
@@ -17,6 +17,8 @@ module Billimatic
|
|
17
17
|
attribute :readjustment_month_quantity, Integer
|
18
18
|
attribute :price_index, String
|
19
19
|
attribute :readjustment_days_until_update, Integer
|
20
|
+
attribute :billet_notification_ruler_id, Integer
|
21
|
+
attribute :payment_gateway_notification_ruler_id, Integer
|
20
22
|
attribute :emites_service_values_id, Integer
|
21
23
|
attribute :emites_service_value_name, String
|
22
24
|
attribute :cobrato_billet_charge_config_id, Integer
|
data/lib/billimatic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: billimatic-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Tassinari de Oliveira
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date: 2018-
|
15
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: typhoeus
|