|
| 1 | +import type { AssetAdvancedFeatures } from './assetAdvancedFeatures' |
| 2 | +import type { AssetAdvancedSubmissionSchema } from './assetAdvancedSubmissionSchema' |
| 3 | +import type { AssetAnalysisFormJson } from './assetAnalysisFormJson' |
| 4 | +import type { AssetAssignablePermissionsItem } from './assetAssignablePermissionsItem' |
| 5 | +import type { AssetChildren } from './assetChildren' |
| 6 | +import type { AssetContent } from './assetContent' |
| 7 | +import type { AssetDataSharing } from './assetDataSharing' |
| 8 | +import type { AssetDeployedVersions } from './assetDeployedVersions' |
| 9 | +import type { AssetDeploymentDataDownloadLinks } from './assetDeploymentDataDownloadLinks' |
| 10 | +import type { AssetDeploymentLinks } from './assetDeploymentLinks' |
| 11 | +import type { AssetDownloadsItem } from './assetDownloadsItem' |
| 12 | +import type { AssetEffectivePermissionsItem } from './assetEffectivePermissionsItem' |
| 13 | +import type { AssetEmbedsItem } from './assetEmbedsItem' |
| 14 | +import type { AssetExportSettings } from './assetExportSettings' |
| 15 | +import type { AssetMapCustom } from './assetMapCustom' |
| 16 | +import type { AssetMapStyles } from './assetMapStyles' |
| 17 | +import type { AssetProjectOwnership } from './assetProjectOwnership' |
| 18 | +import type { AssetReportCustom } from './assetReportCustom' |
| 19 | +import type { AssetReportStyles } from './assetReportStyles' |
| 20 | +/** |
| 21 | + * Generated by orval v7.10.0 🍺 |
| 22 | + * Do not edit manually. |
| 23 | + * KoboToolbox API |
| 24 | + * Powerful and intuitive data collection tools to make an impact |
| 25 | + * OpenAPI spec version: 2.0.0 (api_v2) |
| 26 | + */ |
| 27 | +import type { AssetSettings } from './assetSettings' |
| 28 | +import type { AssetSummary } from './assetSummary' |
| 29 | +import type { AssetTypeEnum } from './assetTypeEnum' |
| 30 | + |
| 31 | +export interface Asset { |
| 32 | + readonly url: string |
| 33 | + readonly owner: string |
| 34 | + /** Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */ |
| 35 | + readonly owner__username: string |
| 36 | + /** @nullable */ |
| 37 | + parent?: string | null |
| 38 | + settings?: AssetSettings |
| 39 | + asset_type: AssetTypeEnum |
| 40 | + readonly files: readonly string[] |
| 41 | + readonly summary: AssetSummary |
| 42 | + date_created?: string |
| 43 | + date_modified?: string |
| 44 | + /** @nullable */ |
| 45 | + date_deployed?: string | null |
| 46 | + readonly version_id: string |
| 47 | + readonly version__content_hash: string |
| 48 | + readonly version_count: number |
| 49 | + readonly has_deployment: boolean |
| 50 | + readonly deployed_version_id: string |
| 51 | + readonly deployed_versions: AssetDeployedVersions |
| 52 | + readonly deployment__links: AssetDeploymentLinks |
| 53 | + readonly deployment__active: boolean |
| 54 | + readonly deployment__data_download_links: AssetDeploymentDataDownloadLinks |
| 55 | + readonly deployment__submission_count: number |
| 56 | + readonly deployment__last_submission_time: string |
| 57 | + readonly deployment__encrypted: boolean |
| 58 | + readonly deployment__uuid: string |
| 59 | + readonly deployment_status: string |
| 60 | + report_styles?: AssetReportStyles |
| 61 | + report_custom?: AssetReportCustom |
| 62 | + advanced_features?: AssetAdvancedFeatures |
| 63 | + readonly advanced_submission_schema: AssetAdvancedSubmissionSchema |
| 64 | + readonly analysis_form_json: AssetAnalysisFormJson |
| 65 | + map_styles?: AssetMapStyles |
| 66 | + map_custom?: AssetMapCustom |
| 67 | + content?: AssetContent |
| 68 | + readonly downloads: readonly AssetDownloadsItem[] |
| 69 | + readonly embeds: readonly AssetEmbedsItem[] |
| 70 | + readonly xform_link: string |
| 71 | + readonly hooks_link: string |
| 72 | + tag_string?: string |
| 73 | + readonly uid: string |
| 74 | + readonly kind: string |
| 75 | + readonly xls_link: string |
| 76 | + /** @maxLength 255 */ |
| 77 | + name?: string |
| 78 | + readonly assignable_permissions: readonly AssetAssignablePermissionsItem[] |
| 79 | + readonly permissions: readonly string[] |
| 80 | + readonly effective_permissions: readonly AssetEffectivePermissionsItem[] |
| 81 | + readonly exports: string |
| 82 | + readonly export_settings: readonly AssetExportSettings[] |
| 83 | + readonly data: string |
| 84 | + readonly children: AssetChildren |
| 85 | + readonly subscribers_count: number |
| 86 | + readonly status: string |
| 87 | + readonly access_types: readonly string[] |
| 88 | + data_sharing?: AssetDataSharing |
| 89 | + readonly paired_data: string |
| 90 | + /** @nullable */ |
| 91 | + readonly project_ownership: AssetProjectOwnership |
| 92 | + readonly owner_label: string |
| 93 | + /** @nullable */ |
| 94 | + readonly last_modified_by: string | null |
| 95 | +} |
0 commit comments