Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
75062ef
fix drf errors
RuthTurk Dec 8, 2025
0b6e61d
fix biome formatting
RuthTurk Dec 9, 2025
d11c59e
fix(openAPI): make supplement detail action use "root_uuid" as unique…
noliveleger Dec 10, 2025
0ac5a40
fix(auditLogs): support "root_uuid" lookup in supplement endpoint
noliveleger Dec 10, 2025
54ebe8e
docs: update OpenAPI schemas and Orval query helpers
noliveleger Dec 10, 2025
2d0f13e
style: linter
noliveleger Dec 10, 2025
260ef3c
Merge branch 'refactor-subsequences-2025' into ruthturk/dev-1431
RuthTurk Dec 10, 2025
01632e4
add parameter for root_uuid
RuthTurk Dec 10, 2025
7689302
docs(openAPI): update schemas
noliveleger Dec 10, 2025
bc2192e
fix: add `qual` result schema to OpenAPI response schema
noliveleger Dec 10, 2025
96b31aa
fix(openAPI): add schema and example for qualitative analysis for sup…
noliveleger Dec 10, 2025
12d104b
fix(openAPI): generate schemas and Orval helpers
noliveleger Dec 10, 2025
992bbb7
add schema for NLP for supplement endpoint
RuthTurk Dec 11, 2025
d000584
fix biome and orval styling issues
RuthTurk Dec 11, 2025
c53b774
fix imports
RuthTurk Dec 11, 2025
8b66a63
fix: improve OpenAPI examples for supplement endpoint
noliveleger Dec 11, 2025
5cf1bc8
fix: automated actions
noliveleger Dec 11, 2025
dee3638
style: linter
noliveleger Dec 11, 2025
b4ab39f
fixing schema errors
RuthTurk Dec 11, 2025
2892293
Merge branch 'ruthturk/dev-1431' of https://github.com/kobotoolbox/kp…
RuthTurk Dec 11, 2025
24f4262
fix quotes
RuthTurk Dec 11, 2025
db6301c
Merge branch 'refactor-subsequences-2025' into ruthturk/dev-1431
noliveleger Dec 11, 2025
c04c8b9
fix: make OpenAPI examples accurate
noliveleger Dec 11, 2025
3a5e5b9
Merge branch 'ruthturk/dev-1431' of github.com:kobotoolbox/kpi into r…
noliveleger Dec 11, 2025
f7f3d83
fix: use different timestamp in examples
noliveleger Dec 11, 2025
538ee20
fix: update OpenAPI schemas and Orval helpers
noliveleger Dec 12, 2025
3ee2476
fix schema errors and biome formatting
RuthTurk Dec 12, 2025
30de9bf
Merge branch 'refactor-subsequences-2025' of https://github.com/kobot…
RuthTurk Dec 12, 2025
72fac69
fix imports sorting causing biome failures
RuthTurk Dec 12, 2025
8a3dd45
Merge branch 'refactor-subsequences-2025' into ruthturk/dev-1431
noliveleger Dec 12, 2025
d95f369
Merge branch 'ruthturk/dev-1431' of github.com:kobotoolbox/kpi into r…
noliveleger Dec 12, 2025
7f58262
fix: update schema to support dynamic question names
noliveleger Dec 12, 2025
abc568a
docs: update markdowns
noliveleger Dec 12, 2025
5149035
style: linter
noliveleger Dec 12, 2025
c5f8e2f
fix: update OpenAPI schemas and Orval helpers
noliveleger Dec 12, 2025
7878f9b
fix: remove debug comment
noliveleger Dec 13, 2025
5996714
fix: fix Orval TS generation for dynamic keys
noliveleger Dec 13, 2025
e3d9a94
fix: only register new components
noliveleger Dec 13, 2025
895246c
fix: use hook to add missing imports for Orval
noliveleger Dec 13, 2025
c42961d
fix: cleanup
noliveleger Dec 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemData } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemData'

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItem = {
_dateCreated: string
_uuid: string
_dateAccepted?: string
_data: _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemData
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOf } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOf'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfFour } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfFour'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfThree } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfThree'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfTwo } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfTwo'

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemData =
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOf
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfTwo
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfThree
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfFour
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOf = {
language: string
status: 'in_progress'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfFour = {
language: string
status: 'deleted'
value: null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfThree = {
language: string
status: 'complete'
value: string
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranscriptionVersionsItemDataOneOfTwo = {
language: string
status: 'failed'
error: string
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemData } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemData'
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDependency } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDependency'

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItem = {
_dateCreated: string
_uuid: string
_dependency: _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDependency
_dateAccepted?: string
_data: _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemData
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOf } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOf'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfFour } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfFour'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfThree } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfThree'
import type { _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfTwo } from './_dataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfTwo'

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemData =
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOf
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfTwo
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfThree
| _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfFour
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOf = {
language: string
status: 'in_progress'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfFour = {
language: string
status: 'deleted'
value: null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfThree = {
language: string
status: 'complete'
value: string
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).
The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.
**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDataOneOfTwo = {
language: string
status: 'failed'
error: string
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfAutomaticGoogleTranslationVersionsItemDependency = {
_actionId: string
_uuid: string
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfManualTranscriptionVersionsItemData } from './_dataSupplementResponseOneOfOneOfManualTranscriptionVersionsItemData'

export type _DataSupplementResponseOneOfOneOfManualTranscriptionVersionsItem = {
_dateCreated: string
_uuid: string
_dateAccepted: string
_data: _DataSupplementResponseOneOfOneOfManualTranscriptionVersionsItemData
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type _DataSupplementResponseOneOfOneOfManualTranscriptionVersionsItemData = {
language: string
/** @nullable */
value: string | null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { _DataSupplementResponseOneOfOneOfManualTranslationVersionsItemData } from './_dataSupplementResponseOneOfOneOfManualTranslationVersionsItemData'
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* KoboToolbox Primary API
* This page documents all KoboToolbox API endpoints, except for those implementing the OpenRosa protocol, which are [documented separately](/api/openrosa/docs/).

The endpoints are grouped by area of intended use. Each category contains related endpoints, with detailed documentation on usage and configuration. Use this as a reference to quickly find the right endpoint for managing projects, forms, data, permissions, integrations, logs, and organizational resources.

**General note**: All projects (whether deployed or draft), as well as all library content (questions, blocks, templates, and collections) in the user-facing application are represented in the API as "assets".
* OpenAPI spec version: 2.0.0 (api_v2)
*/
import type { _DataSupplementResponseOneOfOneOfManualTranslationVersionsItemDependency } from './_dataSupplementResponseOneOfOneOfManualTranslationVersionsItemDependency'

export type _DataSupplementResponseOneOfOneOfManualTranslationVersionsItem = {
_dateCreated: string
_uuid: string
_dependency: _DataSupplementResponseOneOfOneOfManualTranslationVersionsItemDependency
_dateAccepted: string
_data: _DataSupplementResponseOneOfOneOfManualTranslationVersionsItemData
}
Loading