Files
tilbudgivern/docs/archived/apitest/BATCHES_14_15_SUMMARY.md
2026-08-17 09:12:03 +02:00

6.2 KiB

Batches 14-15 Summary - Update Mutations Complete!

🎉 ALL UPDATE MUTATIONS DOCUMENTED!

Batches 14 and 15 complete the update mutation phase with 48 additional scripts.

Overview

  • Batch 14: 30 update mutations
  • Batch 15: 18 update mutations
  • Total Update Mutations: 78/78 (100% )
  • Overall Progress: 357/507 (70.4%)

Batch 14 - Next 30 Updates (30 scripts)

Finance (5)

  1. mutation_update_finance_budget_adjustment.sh
  2. mutation_update_finance_calculation_line.sh
  3. mutation_update_finance_contract.sh
  4. mutation_update_finance_group.sh
  5. mutation_update_finance_post.sh

Configuration/Settings (3)

  1. mutation_update_fixed_text.sh
  2. mutation_update_pdf_design.sh
  3. mutation_update_pdf_layout.sh
  4. mutation_update_pdf_logo.sh

GPS (1)

  1. mutation_update_gps_entry.sh

Hours/Time (5)

  1. mutation_update_hour.sh
  2. mutation_update_hour_addition.sh
  3. mutation_update_hour_discount_detail.sh
  4. mutation_update_hour_discount_group.sh
  5. mutation_update_hour_type.sh

Installation (3)

  1. mutation_update_installation.sh
  2. mutation_update_installation_category.sh
  3. mutation_update_installation_document.sh

Invoice (1)

  1. mutation_update_invoice_addition.sh

Supplier (1)

  1. mutation_update_klarpris_supplier_configuration.sh

Offer (6)

  1. mutation_update_offer.sh
  2. mutation_update_offer_document.sh
  3. mutation_update_offer_line.sh
  4. mutation_update_offer_status.sh
  5. mutation_update_offer_task.sh
  6. mutation_update_offer_type.sh

Pause/Payment (2)

  1. mutation_update_pause.sh
  2. mutation_update_payment_term.sh

Product/Pricing (2)

  1. mutation_update_product.sh
  2. mutation_update_profit_table.sh

Batch 15 - Final Updates (18 scripts)

Event (1)

  1. mutation_update_recurring_event.sh

Reminder (1)

  1. mutation_update_reminder_settings.sh

Sales Invoice (3)

  1. mutation_update_sales_invoice_draft.sh
  2. mutation_update_sales_invoice_draft_line.sh
  3. mutation_update_sales_invoices.sh (bulk)

Scheme (4)

  1. mutation_update_scheme.sh
  2. mutation_update_scheme_template.sh
  3. mutation_update_scheme_template_question.sh
  4. mutation_update_scheme_template_questions.sh (bulk)

Service (4)

  1. mutation_update_service.sh
  2. mutation_update_service_document.sh
  3. mutation_update_service_material.sh
  4. mutation_update_service_type.sh

Settings (1)

  1. mutation_update_settings.sh (⚠️ system-wide)

Todo (1)

  1. mutation_update_todo.sh

User (2)

  1. mutation_update_user.sh
  2. mutation_update_user_document.sh

VAT (1)

  1. mutation_update_vat_type.sh

Complete Update Mutation Summary

Total Coverage (78 mutations)

  • Batch 13: 30 mutations (account, appendix, case, contact, customer, creditor, department, delivery, discount, documentation, event)
  • Batch 14: 30 mutations (finance, configuration, GPS, hours, installation, invoice, supplier, offer, pause, payment, product)
  • Batch 15: 18 mutations (event, reminder, sales invoice, scheme, service, settings, todo, user, VAT)

Categories Covered

  • Account/Finance: 7
  • Appendix: 3
  • Case: 6
  • Contact/Customer: 5
  • Creditor/Invoice: 5
  • Department: 1
  • Delivery/Discount: 5
  • Documentation: 4
  • Event: 2
  • GPS: 1
  • Hours: 5
  • Installation: 3
  • Offer: 6
  • Pause/Payment: 2
  • PDF/Configuration: 4
  • Product/Pricing: 2
  • Sales Invoice: 3
  • Scheme: 4
  • Service: 4
  • Settings: 2
  • Todo: 1
  • User: 3
  • VAT: 1

Statistics

Overall Progress

  • Total endpoints: 507
  • Completed: 357 (70.4%)
  • Remaining: 150 (create/delete mutations)

Mutation Progress

  • Total mutations: 311
  • Safe (Batch 12): 24
  • Update (Batches 13-15): 78
  • Total documented: 102/311
  • Create/Delete remaining: ~209

Query Coverage (Batches 1-11)

  • All 198 queries: 100%

Key Achievements

  1. 70% completion milestone reached! 🎉
  2. All update mutations documented - Complete coverage of update operations
  3. Consistent documentation pattern - All scripts follow same structure
  4. Safety warnings in place - Each script clearly marked with risk level
  5. Bulk operations identified - appendixLines, invoiceLines, salesInvoices, schemeQuestions

Observations

Bulk Update Patterns

Several mutations support bulk operations:

  • updateAppendixLines - Multiple appendix lines
  • updateCreditorInvoiceInboundLines - Multiple invoice lines
  • updateSalesInvoices - Multiple invoices
  • updateSchemeTemplateQuestions - Multiple questions

High-Risk Updates

  • updateSettings - System-wide settings (⚠️ HIGH)
  • updateReminderSettings - Reminder configuration
  • Finance-related updates - Affect accounting
  • Invoice updates - Affect billing

Potentially Testable

Most require production data, but some could be tested:

  • updateCurrentUser - Only affects test user
  • updateSettings - If there's a test mode
  • PDF/layout updates - Visual changes only

Next Phase: Create/Delete Mutations

Remaining ~209 mutations are create/delete operations:

  • Risk Level: 🔴 DANGEROUS
  • Strategy: Document carefully, DO NOT TEST in production
  • Batches: 16-23 (~25-30 per batch)

Categories to Cover

  • create* mutations (~75)
  • delete* mutations (~59)
  • add* mutations (~7)
  • remove* mutations (~2)
  • Other operations: bulk*, clone*, convert*, copy*, export*, import*, merge*, move*, transfer*, etc. (~66)

Files Created

Batch 14 Scripts (30)

All mutation_update_*.sh for finance, hours, installation, offer, product, etc.

Batch 15 Scripts (18)

All mutation_update_*.sh for reminder, sales invoice, scheme, service, settings, todo, user, VAT

Documentation

  • BATCH_14_PLAN.md
  • BATCH_15_PLAN.md (minimal - completed in same session)
  • BATCHES_14_15_SUMMARY.md (this file)
  • Updated EXPANSION_PLAN.md

Batches 14-15 Status: Complete
Update Mutations: 78/78 (100% )
Overall Progress: 357/507 (70.4%)
Achievement: 🎉 70% Milestone + All Updates Complete!
Next: Create/Delete mutations (dangerous operations)