Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
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,23 @@
/**
* 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 _DataSupplementResponseQuestionNameXpathManualTranslationItemRevisionsItem =
| (unknown & {
language?: string
value?: string
_dateCreated: string
})
| (unknown & {
language?: string
value?: string
_dateCreated: string
})
18 changes: 18 additions & 0 deletions jsapp/js/api/models/advancedFeaturePostRequest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* 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 { AdvancedFeaturePostRequestParamsItem } from './advancedFeaturePostRequestParamsItem'

export interface AdvancedFeaturePostRequest {
question_xpath: string
action: string
params: AdvancedFeaturePostRequestParamsItem[]
}
15 changes: 15 additions & 0 deletions jsapp/js/api/models/advancedFeaturePostRequestParamsItem.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* 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 { NLPActionParams } from './nLPActionParams'
import type { QualActionParams } from './qualActionParams'

export type AdvancedFeaturePostRequestParamsItem = NLPActionParams | QualActionParams
20 changes: 20 additions & 0 deletions jsapp/js/api/models/advancedFeatureResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* 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 { AdvancedFeatureResponseParamsItem } from './advancedFeatureResponseParamsItem'

export interface AdvancedFeatureResponse {
question_xpath: string
action: string
params: AdvancedFeatureResponseParamsItem[]
asset: string
uid: string
}
15 changes: 15 additions & 0 deletions jsapp/js/api/models/advancedFeatureResponseParamsItem.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* 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 { NLPActionParams } from './nLPActionParams'
import type { QualActionParams } from './qualActionParams'

export type AdvancedFeatureResponseParamsItem = NLPActionParams | QualActionParams
4 changes: 1 addition & 3 deletions jsapp/js/api/models/asset.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { AssetAdvancedFeatures } from './assetAdvancedFeatures'
import type { AssetAdvancedSubmissionSchema } from './assetAdvancedSubmissionSchema'
import type { AssetAnalysisFormJson } from './assetAnalysisFormJson'
import type { AssetAssignablePermissionsItem } from './assetAssignablePermissionsItem'
import type { AssetChildren } from './assetChildren'
Expand Down Expand Up @@ -64,13 +63,12 @@ export interface Asset {
report_styles?: AssetReportStyles
report_custom?: AssetReportCustom
advanced_features?: AssetAdvancedFeatures
readonly advanced_submission_schema: AssetAdvancedSubmissionSchema
readonly analysis_form_json: AssetAnalysisFormJson
map_styles?: AssetMapStyles
map_custom?: AssetMapCustom
content?: AssetContent
readonly downloads: readonly AssetDownloadsItem[]
readonly embeds: readonly AssetEmbedsItem[]
readonly analysis_form_json: AssetAnalysisFormJson
readonly xform_link: string
readonly hooks_link: string
tag_string?: string
Expand Down
2 changes: 0 additions & 2 deletions jsapp/js/api/models/assetAnalysisFormJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ The endpoints are grouped by area of intended use. Each category contains relate
**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 { AssetAnalysisFormJsonEngines } from './assetAnalysisFormJsonEngines'

export type AssetAnalysisFormJson = {
readonly engines?: AssetAnalysisFormJsonEngines
readonly additional_fields?: string[]
}
17 changes: 17 additions & 0 deletions jsapp/js/api/models/dataSupplementResponse.ts
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)
*/
import type { DataSupplementResponseQuestionNameXpath } from './dataSupplementResponseQuestionNameXpath'

export interface DataSupplementResponse {
_version?: string
question_name_xpath?: DataSupplementResponseQuestionNameXpath
}
25 changes: 25 additions & 0 deletions jsapp/js/api/models/dataSupplementResponseQuestionNameXpath.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 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 { DataSupplementResponseQuestionNameXpathManualTranscription } from './dataSupplementResponseQuestionNameXpathManualTranscription'
import type { DataSupplementResponseQuestionNameXpathManualTranslationItem } from './dataSupplementResponseQuestionNameXpathManualTranslationItem'

export type DataSupplementResponseQuestionNameXpath =
| (unknown & {
manual_transcription?: DataSupplementResponseQuestionNameXpathManualTranscription
/** @minLength 1 */
manual_translation?: DataSupplementResponseQuestionNameXpathManualTranslationItem[]
})
| (unknown & {
manual_transcription?: DataSupplementResponseQuestionNameXpathManualTranscription
/** @minLength 1 */
manual_translation?: DataSupplementResponseQuestionNameXpathManualTranslationItem[]
})
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* 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 { DataSupplementResponseQuestionNameXpathManualTranscriptionRevisionsItem } from './dataSupplementResponseQuestionNameXpathManualTranscriptionRevisionsItem'

export type DataSupplementResponseQuestionNameXpathManualTranscription =
| (unknown & {
language?: string
value?: string
_dateCreated: string
_dateModified: string
revisions?: DataSupplementResponseQuestionNameXpathManualTranscriptionRevisionsItem[]
})
| (unknown & {
language?: string
value?: string
_dateCreated: string
_dateModified: string
revisions?: DataSupplementResponseQuestionNameXpathManualTranscriptionRevisionsItem[]
})
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* 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 DataSupplementResponseQuestionNameXpathManualTranscriptionRevisionsItem =
| (unknown & {
language?: string
value?: string
_dateCreated: string
})
| (unknown & {
language?: string
value?: string
_dateCreated: string
})
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* 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 { _DataSupplementResponseQuestionNameXpathManualTranslationItemRevisionsItem } from './_dataSupplementResponseQuestionNameXpathManualTranslationItemRevisionsItem'

export type DataSupplementResponseQuestionNameXpathManualTranslationItem =
| (unknown & {
language?: string
value?: string
_dateCreated: string
_revisions?: _DataSupplementResponseQuestionNameXpathManualTranslationItemRevisionsItem[]
})
| (unknown & {
language?: string
value?: string
_dateCreated: string
_revisions?: _DataSupplementResponseQuestionNameXpathManualTranslationItemRevisionsItem[]
})
14 changes: 14 additions & 0 deletions jsapp/js/api/models/nLPActionParams.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* 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 { NLPActionParamsItem } from './nLPActionParamsItem'

export type NLPActionParams = NLPActionParamsItem[]
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ The endpoints are grouped by area of intended use. Each category contains relate
* OpenAPI spec version: 2.0.0 (api_v2)
*/

export type AssetAnalysisFormJsonEngines = { [key: string]: unknown }
export type NLPActionParamsItem = {
language: string
}
16 changes: 16 additions & 0 deletions jsapp/js/api/models/patchedAdvancedFeaturePatchRequest.ts
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)
*/
import type { PatchedAdvancedFeaturePatchRequestParamsItem } from './patchedAdvancedFeaturePatchRequestParamsItem'

export interface PatchedAdvancedFeaturePatchRequest {
params?: PatchedAdvancedFeaturePatchRequestParamsItem[]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* 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 { NLPActionParams } from './nLPActionParams'
import type { QualActionParams } from './qualActionParams'

export type PatchedAdvancedFeaturePatchRequestParamsItem = NLPActionParams | QualActionParams
17 changes: 17 additions & 0 deletions jsapp/js/api/models/patchedDataSupplementPayload.ts
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)
*/
import type { PatchedDataSupplementPayloadQuestionNameXpath } from './patchedDataSupplementPayloadQuestionNameXpath'

export interface PatchedDataSupplementPayload {
_version?: string
question_name_xpath?: PatchedDataSupplementPayloadQuestionNameXpath
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 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 { PatchedDataSupplementPayloadQuestionNameXpathManualTranscription } from './patchedDataSupplementPayloadQuestionNameXpathManualTranscription'
import type { PatchedDataSupplementPayloadQuestionNameXpathManualTranslationItem } from './patchedDataSupplementPayloadQuestionNameXpathManualTranslationItem'

export type PatchedDataSupplementPayloadQuestionNameXpath =
| (unknown & {
manual_transcription?: PatchedDataSupplementPayloadQuestionNameXpathManualTranscription
/** @minLength 1 */
manual_translation?: PatchedDataSupplementPayloadQuestionNameXpathManualTranslationItem[]
})
| (unknown & {
manual_transcription?: PatchedDataSupplementPayloadQuestionNameXpathManualTranscription
/** @minLength 1 */
manual_translation?: PatchedDataSupplementPayloadQuestionNameXpathManualTranslationItem[]
})
Loading
Loading