Skip to content

Commit

Permalink
misc: Version 0.34.1-beta (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored May 30, 2023
1 parent b77e668 commit 956daf5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 78 files
+5 −4 app/controllers/api/v1/credit_notes_controller.rb
+4 −4 app/controllers/api/v1/customers/applied_taxes_controller.rb
+1 −0 app/controllers/api/v1/events_controller.rb
+3 −2 app/controllers/api/v1/fees_controller.rb
+2 −2 app/controllers/api/v1/invoices_controller.rb
+0 −28 app/graphql/mutations/applied_taxes/create.rb
+0 −29 app/graphql/mutations/applied_taxes/destroy.rb
+30 −0 app/graphql/mutations/customers/applied_taxes/create.rb
+31 −0 app/graphql/mutations/customers/applied_taxes/destroy.rb
+0 −16 app/graphql/types/applied_taxes/object.rb
+18 −0 app/graphql/types/customers/applied_taxes/object.rb
+1 −1 app/graphql/types/customers/object.rb
+2 −2 app/graphql/types/mutation_type.rb
+0 −8 app/models/applied_tax.rb
+3 −0 app/models/credit_note.rb
+12 −0 app/models/credit_note/applied_tax.rb
+0 −8 app/models/credit_notes_tax.rb
+1 −1 app/models/customer.rb
+12 −0 app/models/customer/applied_tax.rb
+2 −2 app/models/fee.rb
+12 −0 app/models/fee/applied_tax.rb
+0 −8 app/models/fees_tax.rb
+2 −2 app/models/invoice.rb
+12 −0 app/models/invoice/applied_tax.rb
+0 −8 app/models/invoices_tax.rb
+6 −2 app/models/tax.rb
+0 −16 app/serializers/v1/applied_tax_serializer.rb
+11 −2 app/serializers/v1/credit_note_serializer.rb
+22 −0 app/serializers/v1/credit_notes/applied_tax_serializer.rb
+18 −0 app/serializers/v1/customers/applied_tax_serializer.rb
+10 −1 app/serializers/v1/fee_serializer.rb
+22 −0 app/serializers/v1/fees/applied_tax_serializer.rb
+10 −5 app/serializers/v1/invoice_serializer.rb
+22 −0 app/serializers/v1/invoices/applied_tax_serializer.rb
+0 −25 app/services/applied_taxes/create_service.rb
+0 −23 app/services/applied_taxes/destroy_service.rb
+27 −0 app/services/customers/applied_taxes/create_service.rb
+25 −0 app/services/customers/applied_taxes/destroy_service.rb
+61 −0 app/services/fees/apply_taxes_service.rb
+1 −1 app/services/webhooks/credit_notes/created_service.rb
+1 −1 app/services/webhooks/invoices/created_service.rb
+1 −1 app/services/webhooks/invoices/drafted_service.rb
+1 −1 app/services/webhooks/invoices/one_off_created_service.rb
+1 −1 app/services/webhooks/invoices/paid_credit_added_service.rb
+42 −1 db/migrate/20221020093745_add_credit_amount_to_invoices.rb
+6 −2 db/migrate/20230202163249_add_organization_id_to_invoices.rb
+7 −0 db/migrate/20230529093955_rename_applied_taxes_to_customers_taxes.rb
+12 −12 db/schema.rb
+0 −29 lib/tasks/invoices.rake
+31 −0 lib/tasks/taxes.rake
+51 −51 schema.graphql
+225 −225 schema.json
+1 −1 spec/factories/credit_note_applied_taxes.rb
+1 −1 spec/factories/customer_applied_taxes.rb
+1 −1 spec/factories/fee_applied_taxes.rb
+1 −1 spec/factories/invoice_applied_taxes.rb
+4 −4 spec/graphql/mutations/customers/applied_taxes/create_spec.rb
+5 −5 spec/graphql/mutations/customers/applied_taxes/destroy_spec.rb
+1 −1 spec/graphql/resolvers/customer_resolver_spec.rb
+9 −0 spec/models/credit_note/applied_tax_spec.rb
+0 −9 spec/models/credit_notes_tax_spec.rb
+9 −0 spec/models/customer/applied_tax_spec.rb
+2 −2 spec/models/fee/applied_tax_spec.rb
+0 −9 spec/models/fees_tax_spec.rb
+9 −0 spec/models/invoice/applied_tax_spec.rb
+0 −9 spec/models/invoices_tax_spec.rb
+1 −1 spec/models/tax_spec.rb
+52 −43 spec/requests/api/v1/credit_notes_spec.rb
+3 −3 spec/requests/api/v1/customers/applied_taxes_spec.rb
+17 −11 spec/requests/api/v1/fees_spec.rb
+48 −34 spec/requests/api/v1/invoices_spec.rb
+28 −0 spec/serializers/v1/credit_notes/applied_tax_serializer_spec.rb
+2 −2 spec/serializers/v1/customers/applied_tax_serializer_spec.rb
+28 −0 spec/serializers/v1/fees/applied_tax_serializer_spec.rb
+28 −0 spec/serializers/v1/invoices/applied_tax_serializer_spec.rb
+2 −2 spec/services/customers/applied_taxes/create_service_spec.rb
+3 −3 spec/services/customers/applied_taxes/destroy_service_spec.rb
+99 −0 spec/services/fees/apply_taxes_service_spec.rb
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v0.34.0-beta
image: getlago/api:v0.34.1-beta
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -78,7 +78,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v0.34.0-beta
image: getlago/front:v0.34.1-beta
restart: unless-stopped
# Use this command if you want to use SSL with Let's Encrypt
# command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
Expand Down Expand Up @@ -116,7 +116,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v0.34.0-beta
image: getlago/api:v0.34.1-beta
restart: unless-stopped
depends_on:
- api
Expand Down Expand Up @@ -154,7 +154,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v0.34.0-beta
image: getlago/api:v0.34.1-beta
restart: unless-stopped
depends_on:
- api
Expand Down

0 comments on commit 956daf5

Please sign in to comment.