github-actions[bot] opened a new pull request, #347:
URL: https://github.com/apache/fineract-backoffice-ui/pull/347

   <!-- fineract-spec-sync -->
   Apache Fineract's OpenAPI spec has changed. This regenerates `src/app/api/` 
from it.
   
   | | |
   |---|---|
   | Spec version | `1.16.0-SNAPSHOT` |
   | Upstream commit | _unknown_ |
   | Image | 
`apache/fineract@sha256:a8585c0e772c66da69a87cd636f20931f362b451662e767c2d0b2f6c71b892a4`
 |
   | Paths / operations / schemas | 594 / 958 / 1472 |
   | Run | 
https://github.com/apache/fineract-backoffice-ui/actions/runs/31891303983 |
   
   ### Compile check
   
   ❌ **`npm run build` failed.**
   
   This is the expected outcome when upstream removes or renames an endpoint, 
and it
   is the reason this PR is worth opening: the errors below are precisely the 
call
   sites that need attention. See the removed operations in the diff.
   
   <details><summary>Build output (last 80 lines)</summary>
   
   ```
   ✘ [ERROR] TS2305: Module '"../../../api"' has no exported member 
'MixTaxonomyMappingUpdateRequest'. [plugin angular-compiler]
   
       src/app/features/mix/mapping/mix-mapping.component.ts:38:2:
         38 │   MixTaxonomyMappingUpdateRequest,
            ╵   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2571: Object is of type 'unknown'. [plugin angular-compiler]
   
       src/app/features/mix/mapping/mix-mapping.component.ts:144:4:
         144 │     this.mappingService.getMixmapping().subscribe({
             ╵     ~~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2571: Object is of type 'unknown'. [plugin angular-compiler]
   
       src/app/features/mix/mapping/mix-mapping.component.ts:159:4:
         159 │     this.mappingService.putMixmapping(request).subscribe({
             ╵     ~~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2724: '"../../../api"' has no exported member named 
'MixReportService'. Did you mean 'ReportsService'? [plugin angular-compiler]
   
       src/app/features/mix/report/mix-report.component.ts:23:9:
         23 │ import { MixReportService } from '../../../api';
            ╵          ~~~~~~~~~~~~~~~~
   
     'ReportsService' is declared here.
   
       src/app/api/api/reports.service.ts:60:13:
         60 │ export class ReportsService extends BaseService {
            ╵              ~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2571: Object is of type 'unknown'. [plugin angular-compiler]
   
       src/app/features/mix/report/mix-report.component.ts:153:4:
         153 │     this.reportService.getMixreport(this.startDate, 
this.endDate,...
             ╵     ~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2305: Module '"../../../api"' has no exported member 
'MixTaxonomyService'. [plugin angular-compiler]
   
       src/app/features/mix/taxonomy/mix-taxonomy.component.ts:24:9:
         24 │ import { MixTaxonomyService, MixTaxonomyData } from 
'../../../api';
            ╵          ~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2305: Module '"../../../api"' has no exported member 
'MixTaxonomyData'. [plugin angular-compiler]
   
       src/app/features/mix/taxonomy/mix-taxonomy.component.ts:24:29:
         24 │ import { MixTaxonomyService, MixTaxonomyData } from 
'../../../api';
            ╵                              ~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2571: Object is of type 'unknown'. [plugin angular-compiler]
   
       src/app/features/mix/taxonomy/mix-taxonomy.component.ts:62:4:
         62 │     this.taxonomyService.getMixtaxonomy().subscribe({
            ╵     ~~~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2305: Module '"../../../api"' has no exported member 
'CashierJournalsService'. [plugin angular-compiler]
   
       
src/app/features/tellers/cashier-journals/cashier-journals-list.component.ts:26:9:
         26 │ import { CashierJournalsService, TellerJournalData } from 
'../../....
            ╵          ~~~~~~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2305: Module '"../../../api"' has no exported member 
'TellerJournalData'. [plugin angular-compiler]
   
       
src/app/features/tellers/cashier-journals/cashier-journals-list.component.ts:26:33:
         26 │ ...{ CashierJournalsService, TellerJournalData } from 
'../../../api';
            ╵                              ~~~~~~~~~~~~~~~~~
   
   ✘ [ERROR] TS2571: Object is of type 'unknown'. [plugin angular-compiler]
   
       
src/app/features/tellers/cashier-journals/cashier-journals-list.component.ts:146:4:
         146 │     this.journalsService.getCashiersjournal(undefined, 
this.telle...
             ╵     ~~~~~~~~~~~~~~~~~~~~
   
    ERRR  Error building federation artifacts
    ERRR  Build failed with 15 errors:
   
src/app/features/accounting/provisioning-criteria/provisioning-criteria-form.component.ts:158:8:
 ERROR: [plugin: angular-compiler] TS2353: Object literal may only specify 
known properties, and 'provisioningcriteria' does not exist in type 
'PostProvisioningCriteriaRequest'.
   
src/app/features/accounting/provisioning-criteria/provisioning-criteria-form.component.ts:158:35:
 ERROR: [plugin: angular-compiler] TS2339: Property 'provisioningcriteria' does 
not exist on type 'GetProvisioningCriteriaCriteriaIdResponse'.
   src/app/features/mix/mapping/mix-mapping.component.ts:36:2: ERROR: [plugin: 
angular-compiler] TS2305: Module '"../../../api"' has no exported member 
'MixMappingService'.
   src/app/features/mix/mapping/mix-mapping.component.ts:37:2: ERROR: [plugin: 
angular-compiler] TS2305: Module '"../../../api"' has no exported member 
'MixTaxonomyMappingData'.
   src/app/features/mix/mapping/mix-mapping.component.ts:38:2: ERROR: [plugin: 
angular-compiler] TS2305: Module '"../../../api"' has no exported member 
'MixTaxonomyMappingUpdateRequest'.
   ...
   ```
   </details>
   
   ### API surface diff
   
   | | added | removed | changed |
   |---|---|---|---|
   | paths | -8 | | |
   | operations | 0 | 9 | 0 |
   | schemas | 6 | 6 | |
   
   #### ⚠️ Removed operations — these generated methods disappear
   
   | operation | generated method | call sites in `src/` |
   |---|---|---|
   | `GET /v1/cashiers` | `getCashiers` | 0 |
   | `GET /v1/cashiersjournal` | `getCashiersjournal` | **1** |
   | `GET /v1/mixmapping` | `getMixmapping` | **1** |
   | `GET /v1/mixreport` | `getMixreport` | **1** |
   | `GET /v1/mixtaxonomy` | `getMixtaxonomy` | **1** |
   | `GET /v1/tellers/{tellerId}/journals` | `getTellersTellerIdJournals` | 0 |
   | `GET /v1/tellers/{tellerId}/transactions` | 
`getTellersTellerIdTransactions` | 0 |
   | `GET /v1/tellers/{tellerId}/transactions/{transactionId}` | 
`getTellersTellerIdTransactionsTransactionId` | 0 |
   | `PUT /v1/mixmapping` | `putMixmapping` | **1** |
   
   <details><summary>Exact call sites</summary>
   
   ```
   
src/app/features/tellers/cashier-journals/cashier-journals-list.component.ts:146:
    this.journalsService.getCashiersjournal(undefined, this.tellerId, 
this.cashierId).subscribe({
   src/app/features/mix/mapping/mix-mapping.component.ts:144:    
this.mappingService.getMixmapping().subscribe({
   src/app/features/mix/report/mix-report.component.ts:153:    
this.reportService.getMixreport(this.startDate, this.endDate, 
this.currency).subscribe({
   src/app/features/mix/taxonomy/mix-taxonomy.component.ts:62:    
this.taxonomyService.getMixtaxonomy().subscribe({
   src/app/features/mix/mapping/mix-mapping.component.ts:159:    
this.mappingService.putMixmapping(request).subscribe({
   ```
   </details>
   
   
   
   ---
   
   Provenance for this spec is recorded in 
`public/api/fineract.provenance.json`.
   See [`DOCS/OPENAPI_GENERATOR.md`](DOCS/OPENAPI_GENERATOR.md) and
   
[`DOCS/adr/0002-automated-fineract-spec-sync.md`](DOCS/adr/0002-automated-fineract-spec-sync.md).
   
   > **CI may not have run on this PR.** Without a `SPEC_SYNC_TOKEN` secret it 
is opened
   > with the default `GITHUB_TOKEN`, which cannot trigger workflows — so 
`api-client-drift`,
   > `build` and the rest stay silent. Close and reopen the PR (or push an 
empty commit) to
   > run them. The compile check above is a preview, not a substitute.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to