Files
tilbudgivern/apitest/BATCH_16_PLAN.md
T

2.7 KiB

Batch 16 Plan - Mixed Operations (Accept, Add, Bulk, Change, Clone, Convert, Copy)

Strategy: Document Remaining Mutations

Batch 16 starts the final phase - documenting the remaining 209 mutations (create, delete, and other operations).

Remaining Mutations: 209

  • create: 75
  • delete: 60
  • upload: 12
  • other operations: 62 (add, bulk, change, clone, convert, copy, move, transfer, remove, etc.)

Risk Level: 🔴 DANGEROUS - Most create/delete/modify data

Batch 16 Focus: First 30 Mixed Operations

Mix of safer operations before tackling pure create/delete batches.

Endpoints (30 total)

Accept/Assign (3)

  1. acceptCollaborationAgreements - Accept collaboration agreements
  2. assignBoligmappaToCase - Assign Boligmappa to case
  3. applyPaymentToInvoiceMutation - Apply payment to invoice

Add Operations (7)

  1. addFinanceAgreement - Add finance agreement
  2. addFinanceBudgetAdjustment - Add budget adjustment
  3. addFinanceCompletionGrade - Add completion grade
  4. addFinanceContract - Add finance contract
  5. addInstallationToService - Add installation to service
  6. addInvoiceAddition - Add invoice addition
  7. addSchemeToCase - Add scheme to case

Anonymize (1)

  1. anonymizeCustomers - Anonymize customer data (GDPR)

Bulk Operations (5)

  1. bulkDeleteSalesInvoiceDraftLines - Bulk delete draft lines
  2. bulkTransferToSalesInvoiceDraft - Bulk transfer to draft
  3. bulkUpdateCaseMaterials - Bulk update case materials
  4. bulkUpdateHours - Bulk update hours
  5. bulkUpdateSalesInvoiceDraftLines - Bulk update draft lines

Change Operations (5)

  1. changeCaseStatuses - Change case statuses (bulk)
  2. changeCaseType - Change case type
  3. changeCustomerCategory - Change customer category
  4. changeOfferStatuses - Change offer statuses (bulk)
  5. changeOfferType - Change offer type

Clone/Convert (2)

  1. cloneOfferTask - Clone offer task
  2. convertOfferToCase - Convert offer to case

Copy Operations (7)

  1. copyAppendixDocumentToCaseDocumentation - Copy appendix to case docs
  2. copyCase - Copy entire case
  3. copyCustomerData - Copy customer data
  4. copyOffer - Copy offer
  5. copySalesInvoiceLinesToInvoiceDraft - Copy invoice lines to draft
  6. copySchemes - Copy schemes
  7. copySchemeTemplateQuestion - Copy scheme question

Safety Levels

  • 🟢 Medium-Safe: copy, clone (don't modify originals)
  • 🟡 Medium: add, change, bulk update (modify existing)
  • 🔴 High Risk: anonymize, delete, convert (irreversible)

Success Criteria

  • ✅ All 30 scripts documented
  • ✅ Safety warnings prominent
  • ✅ Update progress: 357 → 387/507 (76%)

Batch 16 Goal: Document mixed operations, approaching 80% completion.