{"components":{"schemas":{"Gis.CareActivationDto":{"additionalProperties":false,"properties":{"assignee_id":{"format":"uuid","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"delivery":{"nullable":true,"type":"string"},"enabled":{"type":"boolean"},"enabled_at":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"notify_user_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"plot_name":{"nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"template_id":{"format":"uuid","type":"string"},"template_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CareDose":{"additionalProperties":false,"properties":{"age_from":{"format":"int32","type":"integer"},"age_to":{"format":"int32","nullable":true,"type":"integer"},"quantity_per_tree":{"format":"double","type":"number"}},"type":"object"},"Gis.CareGenerationDto":{"additionalProperties":false,"properties":{"activation_id":{"format":"uuid","type":"string"},"created_at":{"format":"date-time","type":"string"},"delivery":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"item_count":{"format":"int32","type":"integer"},"week_end":{"nullable":true,"type":"string"},"week_start":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CareOccurrenceDto":{"additionalProperties":false,"properties":{"anchor":{"nullable":true,"type":"string"},"due_on":{"nullable":true,"type":"string"},"material":{"nullable":true,"type":"string"},"quantity":{"format":"double","nullable":true,"type":"number"},"rule_key":{"nullable":true,"type":"string"},"task_type":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"trees":{"format":"int32","type":"integer"},"unit":{"nullable":true,"type":"string"},"unknown_age_trees":{"format":"int32","type":"integer"}},"type":"object"},"Gis.CarePreviewDto":{"additionalProperties":false,"properties":{"from":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/Gis.CareOccurrenceDto"},"nullable":true,"type":"array"},"to":{"nullable":true,"type":"string"},"warnings":{"items":{"type":"string"},"nullable":true,"type":"array"},"weeks":{"items":{"$ref":"#/components/schemas/Gis.CareWeekGroupDto"},"nullable":true,"type":"array"}},"type":"object"},"Gis.CareRule":{"additionalProperties":false,"properties":{"age_from":{"format":"int32","nullable":true,"type":"integer"},"age_to":{"format":"int32","nullable":true,"type":"integer"},"anchor":{"nullable":true,"type":"string"},"day":{"format":"int32","nullable":true,"type":"integer"},"day_offset":{"format":"int32","nullable":true,"type":"integer"},"doses":{"items":{"$ref":"#/components/schemas/Gis.CareDose"},"nullable":true,"type":"array"},"event":{"nullable":true,"type":"string"},"every_days":{"format":"int32","nullable":true,"type":"integer"},"from_day":{"format":"int32","nullable":true,"type":"integer"},"from_month":{"format":"int32","nullable":true,"type":"integer"},"key":{"nullable":true,"type":"string"},"material":{"nullable":true,"type":"string"},"month":{"format":"int32","nullable":true,"type":"integer"},"note":{"nullable":true,"type":"string"},"offset_days":{"format":"int32","nullable":true,"type":"integer"},"task_type":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"to_day":{"format":"int32","nullable":true,"type":"integer"},"to_month":{"format":"int32","nullable":true,"type":"integer"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CareWeekDto":{"additionalProperties":false,"properties":{"plots":{"items":{"$ref":"#/components/schemas/Gis.CareWeekPlotDto"},"nullable":true,"type":"array"},"week_end":{"nullable":true,"type":"string"},"week_start":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CareWeekGroupDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.CareOccurrenceDto"},"nullable":true,"type":"array"},"week_end":{"nullable":true,"type":"string"},"week_start":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CareWeekPlotDto":{"additionalProperties":false,"properties":{"activation_id":{"format":"uuid","type":"string"},"delivery":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/Gis.CareOccurrenceDto"},"nullable":true,"type":"array"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"plot_name":{"nullable":true,"type":"string"},"template_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CloseSeasonRequest":{"additionalProperties":false,"properties":{"closed_on":{"format":"date","type":"string"},"yield_kg":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Gis.ConfirmParcelPhotoUploadRequest":{"additionalProperties":false,"properties":{"bucket":{"nullable":true,"type":"string"},"content_type":{"nullable":true,"type":"string"},"file_name":{"nullable":true,"type":"string"},"size_bytes":{"format":"int64","type":"integer"},"storage_key":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CreateCareActivationRequest":{"additionalProperties":false,"properties":{"assignee_id":{"format":"uuid","nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"string"},"notify_user_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"template_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreateCropTypeRequest":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"grow_days":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CreateCropVarietyRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CreateFacilityRequest":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"capacity":{"format":"int32","nullable":true,"type":"integer"},"facility_code":{"nullable":true,"type":"string"},"facility_type":{"nullable":true,"type":"string"},"metadata":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreateFarmerRequest":{"additionalProperties":false,"properties":{"address":{"nullable":true,"type":"string"},"full_name":{"nullable":true,"type":"string"},"home_location_geo_json":{"nullable":true,"type":"string"},"identity_number":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.CreateLayerRequest":{"additionalProperties":false,"properties":{"captured_at":{"format":"date","nullable":true,"type":"string"},"layer_type":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source_url":{"nullable":true,"type":"string"},"style_config":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.CreateParcelRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"latitude":{"format":"double","nullable":true,"type":"number"},"longitude":{"format":"double","nullable":true,"type":"number"},"owner_id":{"format":"uuid","nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreatePlotRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"row_spacing_m":{"format":"double","type":"number"},"tree_spacing_m":{"format":"double","type":"number"}},"type":"object"},"Gis.CreatePondRequest":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"depth_m":{"format":"double","nullable":true,"type":"number"},"metadata":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"pond_code":{"nullable":true,"type":"string"},"pond_type":{"nullable":true,"type":"string"},"salinity_ppt":{"format":"double","nullable":true,"type":"number"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"volume_m3":{"format":"double","nullable":true,"type":"number"},"water_source":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreateSeasonCommand":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","type":"string"},"expected_harvest_on":{"format":"date","nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"notes":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"planted_on":{"format":"date","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"stages":{"items":{"$ref":"#/components/schemas/Gis.SeasonStageInput"},"nullable":true,"type":"array"},"year":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Gis.CreateSyncTokenRequest":{"additionalProperties":false,"properties":{"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreateSyncTokenResult":{"additionalProperties":false,"properties":{"expires_at":{"format":"date-time","type":"string"},"token":{"nullable":true,"type":"string"},"ttl_seconds":{"format":"int32","type":"integer"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.CreateZoneRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"contact_person":{"nullable":true,"type":"string"},"contact_phone":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"main_crop":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parent_zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CropTypeDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"grow_days":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"},"Gis.CropTypeListItemDto":{"additionalProperties":false,"properties":{"bearing_age_years":{"format":"int32","nullable":true,"type":"integer"},"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"effective_lifecycle":{"nullable":true,"type":"string"},"grow_days":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"lifecycle":{"nullable":true,"type":"string"},"lifecycle_guessed":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.CropTypeListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.CropTypeListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.CropVarietyDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Gis.DatasetDefinition":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dims":{"items":{"type":"string"},"nullable":true,"type":"array"},"measures":{"items":{"type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.DatasetQuery":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"from":{"format":"date","type":"string"},"group_by":{"items":{"type":"string"},"nullable":true,"type":"array"},"include_sample":{"type":"boolean"},"limit":{"format":"int32","nullable":true,"type":"integer"},"mode":{"nullable":true,"type":"string"},"to":{"format":"date","type":"string"}},"type":"object"},"Gis.DatasetResult":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"has_sample":{"type":"boolean"},"reason_code":{"nullable":true,"type":"string"},"record_count":{"format":"int32","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/Gis.DatasetRow"},"nullable":true,"type":"array"},"status":{"nullable":true,"type":"string"},"totals":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"},"truncated":{"type":"boolean"},"updated_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Gis.DatasetRow":{"additionalProperties":false,"properties":{"date":{"format":"date","nullable":true,"type":"string"},"dims":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"id":{"nullable":true,"type":"string"},"values":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"}},"type":"object"},"Gis.FacilityDetailDto":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"capacity":{"format":"int32","nullable":true,"type":"integer"},"created_at":{"format":"date-time","type":"string"},"current_stock":{"format":"int32","type":"integer"},"facility_code":{"nullable":true,"type":"string"},"facility_type":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"metadata":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"zone_id":{"format":"uuid","type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.FacilityListItemDto":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"capacity":{"format":"int32","nullable":true,"type":"integer"},"created_at":{"format":"date-time","type":"string"},"current_stock":{"format":"int32","type":"integer"},"facility_code":{"nullable":true,"type":"string"},"facility_type":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.FacilityListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.FacilityListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.FarmerDto":{"additionalProperties":false,"properties":{"address":{"nullable":true,"type":"string"},"cooperative_name":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"full_name":{"nullable":true,"type":"string"},"group_id":{"format":"uuid","nullable":true,"type":"string"},"group_name":{"nullable":true,"type":"string"},"home_location_geo_json":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"identity_number":{"nullable":true,"type":"string"},"member_type":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"public_consent_at":{"format":"date-time","nullable":true,"type":"string"},"public_consent_by":{"format":"uuid","nullable":true,"type":"string"},"public_name_consent":{"type":"boolean"},"public_phone_consent":{"type":"boolean"},"updated_at":{"format":"date-time","type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.FarmerGroupDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"farmer_count":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"leader_farmer_id":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.FarmerGroupRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"is_active":{"type":"boolean"},"leader_farmer_id":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.FarmerListItemDto":{"additionalProperties":false,"properties":{"address":{"nullable":true,"type":"string"},"cooperative_name":{"nullable":true,"type":"string"},"full_name":{"nullable":true,"type":"string"},"group_id":{"format":"uuid","nullable":true,"type":"string"},"group_name":{"nullable":true,"type":"string"},"home_location_geo_json":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"identity_number":{"nullable":true,"type":"string"},"member_type":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.FarmerListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.FarmerListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.FarmerMembershipRequest":{"additionalProperties":false,"properties":{"cooperative_name":{"nullable":true,"type":"string"},"group_id":{"format":"uuid","nullable":true,"type":"string"},"member_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.FarmerPublicConsentRequest":{"additionalProperties":false,"properties":{"public_name":{"type":"boolean"},"public_phone":{"type":"boolean"}},"type":"object"},"Gis.GisSearchResult":{"additionalProperties":false,"properties":{"farmers":{"items":{"$ref":"#/components/schemas/Gis.SpotlightHit"},"nullable":true,"type":"array"},"parcels":{"items":{"$ref":"#/components/schemas/Gis.SpotlightHit"},"nullable":true,"type":"array"},"seasons":{"items":{"$ref":"#/components/schemas/Gis.SpotlightHit"},"nullable":true,"type":"array"},"zones":{"items":{"$ref":"#/components/schemas/Gis.SpotlightHit"},"nullable":true,"type":"array"}},"type":"object"},"Gis.GrowingAreaCodeRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ImportConfirmRequest":{"additionalProperties":false,"properties":{"duplicate_strategy":{"nullable":true,"type":"string"},"import_type":{"nullable":true,"type":"string"},"match_key":{"nullable":true,"type":"string"},"row_patches":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"nullable":true,"type":"object"},"skipped_row_numbers":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"upload_key":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ImportParcelError":{"additionalProperties":false,"properties":{"parcel_code":{"nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"row_index":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ImportParcelsResult":{"additionalProperties":false,"properties":{"created_parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"created_zone_count":{"format":"int32","type":"integer"},"errors":{"items":{"$ref":"#/components/schemas/Gis.ImportParcelError"},"nullable":true,"type":"array"},"failed_count":{"format":"int32","type":"integer"},"skipped_count":{"format":"int32","type":"integer"},"success_count":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ImportValidateRow":{"additionalProperties":false,"properties":{"row_number":{"format":"int32","type":"integer"},"values":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"}},"type":"object"},"Gis.ImportValidateRowsRequest":{"additionalProperties":false,"properties":{"duplicate_strategy":{"nullable":true,"type":"string"},"headers":{"items":{"type":"string"},"nullable":true,"type":"array"},"import_type":{"nullable":true,"type":"string"},"match_key":{"nullable":true,"type":"string"},"rows":{"items":{"$ref":"#/components/schemas/Gis.ImportValidateRow"},"nullable":true,"type":"array"}},"type":"object"},"Gis.LifeStageDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"from_year":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"to_year":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Gis.MapClusterDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"}},"type":"object"},"Gis.MapLayerDto":{"additionalProperties":false,"properties":{"captured_at":{"format":"date","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"file_path":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"layer_type":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ndvi_avg":{"format":"double","nullable":true,"type":"number"},"ndvi_max":{"format":"double","nullable":true,"type":"number"},"ndvi_min":{"format":"double","nullable":true,"type":"number"},"source_url":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"style_config":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.MapLayerListItemDto":{"additionalProperties":false,"properties":{"captured_at":{"format":"date","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"layer_type":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source_url":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.MapLayerListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.MapLayerListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.MapPointDto":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"farmer_id":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"},"name":{"nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"parcel_count":{"format":"int32","nullable":true,"type":"integer"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Gis.MapPointsResult":{"additionalProperties":false,"properties":{"clusters":{"items":{"$ref":"#/components/schemas/Gis.MapClusterDto"},"nullable":true,"type":"array"},"limit":{"format":"int32","type":"integer"},"mode":{"nullable":true,"type":"string"},"points":{"items":{"$ref":"#/components/schemas/Gis.MapPointDto"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"},"truncated":{"type":"boolean"},"zoom":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Gis.MetricParcelDto":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","type":"number"},"parcel_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.MetricQueryItem":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"from":{"format":"date","type":"string"},"key":{"nullable":true,"type":"string"},"scope":{"$ref":"#/components/schemas/Gis.MetricScopeDto"},"to":{"format":"date","type":"string"}},"type":"object"},"Gis.MetricResultItem":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"parcels":{"items":{"$ref":"#/components/schemas/Gis.MetricParcelDto"},"nullable":true,"type":"array"},"reason_code":{"nullable":true,"type":"string"},"source_updated_at":{"format":"date-time","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Gis.MetricScopeDto":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.ParcelActiveSeasonDto":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.ParcelContainsPointDto":{"additionalProperties":false,"properties":{"inside":{"type":"boolean"},"parcel_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.ParcelCropTypeDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ParcelDetailDto":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"crop_type":{"$ref":"#/components/schemas/Gis.ParcelCropTypeDto"},"id":{"format":"uuid","type":"string"},"latitude":{"format":"double","nullable":true,"type":"number"},"longitude":{"format":"double","nullable":true,"type":"number"},"ndvi_history":{"items":{"$ref":"#/components/schemas/Gis.ParcelNdviReadingDto"},"nullable":true,"type":"array"},"owner":{"$ref":"#/components/schemas/Gis.ParcelOwnerDto"},"parcel_code":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"zone":{"$ref":"#/components/schemas/Gis.ParcelZoneDto"}},"type":"object"},"Gis.ParcelHistoryItemDto":{"additionalProperties":false,"properties":{"change_type":{"nullable":true,"type":"string"},"changed_at":{"format":"date-time","type":"string"},"changed_by":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"new_boundary_geo_json":{"nullable":true,"type":"string"},"notes":{"nullable":true,"type":"string"},"old_boundary_geo_json":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.ParcelHistoryItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.ParcelHistoryItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ParcelListItemDto":{"additionalProperties":false,"properties":{"active_season_id":{"format":"uuid","nullable":true,"type":"string"},"active_season_name":{"nullable":true,"type":"string"},"active_seasons":{"items":{"$ref":"#/components/schemas/Gis.ParcelActiveSeasonDto"},"nullable":true,"type":"array"},"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"latitude":{"format":"double","nullable":true,"type":"number"},"longitude":{"format":"double","nullable":true,"type":"number"},"owner_id":{"format":"uuid","nullable":true,"type":"string"},"owner_name":{"nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ParcelListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.ParcelListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ParcelNdviReadingDto":{"additionalProperties":false,"properties":{"ndvi_value":{"format":"double","type":"number"},"recorded_at":{"format":"date","type":"string"}},"type":"object"},"Gis.ParcelOwnerDto":{"additionalProperties":false,"properties":{"full_name":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"phone":{"nullable":true,"type":"string"},"public_name_consent":{"type":"boolean"},"public_phone_consent":{"type":"boolean"}},"type":"object"},"Gis.ParcelPhotoDto":{"additionalProperties":false,"properties":{"content_type":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"file_name":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"size_bytes":{"format":"int64","type":"integer"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ParcelSummaryRowDto":{"additionalProperties":false,"properties":{"estimated_area_ha":{"format":"double","type":"number"},"excluded_area_ha":{"format":"double","type":"number"},"farmer_count":{"format":"int32","type":"integer"},"implausible_count":{"format":"int32","type":"integer"},"key":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parcel_count":{"format":"int32","type":"integer"},"parcels_without_boundary_count":{"format":"int32","type":"integer"},"total_area_ha":{"format":"double","type":"number"}},"type":"object"},"Gis.ParcelSummaryRowDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.ParcelSummaryRowDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ParcelZoneDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"zone_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.PerennialProfileDto":{"additionalProperties":false,"properties":{"bearing_age_years":{"format":"int32","nullable":true,"type":"integer"},"crop_type_id":{"format":"uuid","type":"string"},"default_row_spacing_m":{"format":"double","nullable":true,"type":"number"},"default_tree_spacing_m":{"format":"double","nullable":true,"type":"number"},"effective_lifecycle":{"nullable":true,"type":"string"},"life_stages":{"items":{"$ref":"#/components/schemas/Gis.LifeStageDto"},"nullable":true,"type":"array"},"lifecycle":{"nullable":true,"type":"string"},"lifecycle_guessed":{"type":"boolean"}},"type":"object"},"Gis.PhatLaiMuaVuKetQua":{"additionalProperties":false,"properties":{"so_vu_da_phat":{"format":"int32","type":"integer"}},"type":"object"},"Gis.PlotCropDto":{"additionalProperties":false,"properties":{"crop_category":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"estimated_tree_count":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"},"plot_id":{"format":"uuid","type":"string"},"role":{"nullable":true,"type":"string"},"row_spacing_m":{"format":"double","nullable":true,"type":"number"},"tree_spacing_m":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Gis.PlotCropRequest":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","type":"string"},"estimated_tree_count":{"format":"int32","nullable":true,"type":"integer"},"note":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"row_spacing_m":{"format":"double","nullable":true,"type":"number"},"tree_spacing_m":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Gis.PlotListItemDto":{"additionalProperties":false,"properties":{"area_m2":{"format":"double","type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"crop_category":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"crops":{"items":{"$ref":"#/components/schemas/Gis.PlotCropDto"},"nullable":true,"type":"array"},"custom_trees_geo_json":{"nullable":true,"type":"string"},"density_per1000_m2":{"format":"double","type":"number"},"estimated_tree_count":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"row_spacing_m":{"format":"double","type":"number"},"tree_spacing_m":{"format":"double","type":"number"}},"type":"object"},"Gis.ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"nullable":true,"type":"string"},"instance":{"nullable":true,"type":"string"},"status":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.PurgeDemoDataRequest":{"additionalProperties":false,"properties":{"batch_id":{"format":"uuid","type":"string"},"include_user_created":{"type":"boolean"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.ReplacePlotCropsRequest":{"additionalProperties":false,"properties":{"crops":{"items":{"$ref":"#/components/schemas/Gis.PlotCropRequest"},"nullable":true,"type":"array"}},"type":"object"},"Gis.RequestPhotoUploadResult":{"additionalProperties":false,"properties":{"bucket":{"nullable":true,"type":"string"},"expires_at":{"format":"date-time","type":"string"},"max_bytes":{"format":"int64","type":"integer"},"storage_key":{"nullable":true,"type":"string"},"upload_url":{"nullable":true,"type":"string"}},"type":"object"},"Gis.SaveSeasonTemplateRequest":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/Gis.CareRule"},"nullable":true,"type":"array"},"stages":{"items":{"$ref":"#/components/schemas/Gis.SeasonTemplateStageInput"},"nullable":true,"type":"array"}},"type":"object"},"Gis.SeasonDto":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"closed_on":{"format":"date","nullable":true,"type":"string"},"crop_name":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"expected_harvest_on":{"format":"date","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"notes":{"nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"planted_on":{"format":"date","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"stages":{"items":{"$ref":"#/components/schemas/Gis.SeasonStageDto"},"nullable":true,"type":"array"},"status":{"nullable":true,"type":"string"},"year":{"format":"int32","nullable":true,"type":"integer"},"yield_kg":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Gis.SeasonGroupDto":{"additionalProperties":false,"properties":{"branch_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"crop_name":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"end_date":{"format":"date","nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"missing_end_count":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"parcel_count":{"format":"int32","type":"integer"},"season_count":{"format":"int32","type":"integer"},"start_date":{"format":"date","type":"string"},"year":{"format":"int32","type":"integer"}},"type":"object"},"Gis.SeasonPeriodDto":{"additionalProperties":false,"properties":{"crop_name":{"nullable":true,"type":"string"},"end_date":{"format":"date","type":"string"},"missing_end_count":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"season_count":{"format":"int32","type":"integer"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"season_key":{"nullable":true,"type":"string"},"start_date":{"format":"date","type":"string"}},"type":"object"},"Gis.SeasonStageDto":{"additionalProperties":false,"properties":{"day_offset":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sort_order":{"format":"int32","type":"integer"}},"type":"object"},"Gis.SeasonStageInput":{"additionalProperties":false,"properties":{"day_offset":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.SeasonTemplateDto":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/Gis.CareRule"},"nullable":true,"type":"array"},"stages":{"items":{"$ref":"#/components/schemas/Gis.SeasonTemplateStageDto"},"nullable":true,"type":"array"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"},"Gis.SeasonTemplateStageDto":{"additionalProperties":false,"properties":{"day_offset":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.SeasonTemplateStageInput":{"additionalProperties":false,"properties":{"day_offset":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.SeedDemoDataRequest":{"additionalProperties":false,"properties":{"batch_id":{"format":"uuid","type":"string"},"template_version":{"nullable":true,"type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.SetCareEnabledRequest":{"additionalProperties":false,"properties":{"enabled":{"type":"boolean"}},"type":"object"},"Gis.SetPerennialProfileRequest":{"additionalProperties":false,"properties":{"bearing_age_years":{"format":"int32","nullable":true,"type":"integer"},"default_row_spacing_m":{"format":"double","nullable":true,"type":"number"},"default_tree_spacing_m":{"format":"double","nullable":true,"type":"number"},"life_stages":{"items":{"$ref":"#/components/schemas/Gis.LifeStageDto"},"nullable":true,"type":"array"},"lifecycle":{"nullable":true,"type":"string"}},"type":"object"},"Gis.SpotlightHit":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"edit_path":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.UpdateCropTypeRequest":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"grow_days":{"format":"int32","nullable":true,"type":"integer"},"is_active":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Gis.UpdateFacilityRequest":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"capacity":{"format":"int32","nullable":true,"type":"integer"},"facility_code":{"nullable":true,"type":"string"},"facility_type":{"nullable":true,"type":"string"},"metadata":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Gis.UpdateFacilityResult":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"facility_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.UpdateFarmerRequest":{"additionalProperties":false,"properties":{"full_name":{"nullable":true,"type":"string"},"home_location_geo_json":{"nullable":true,"type":"string"},"identity_number":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Gis.UpdateParcelBoundaryRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"}},"type":"object"},"Gis.UpdateParcelRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"owner_id":{"format":"uuid","nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.UpdatePlotRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"custom_trees_geo_json":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"row_spacing_m":{"format":"double","type":"number"},"tree_spacing_m":{"format":"double","type":"number"}},"type":"object"},"Gis.UpdatePondRequest":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","type":"number"},"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"current_density":{"format":"double","nullable":true,"type":"number"},"current_species":{"nullable":true,"type":"string"},"depth_m":{"format":"double","nullable":true,"type":"number"},"metadata":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"pond_code":{"nullable":true,"type":"string"},"pond_type":{"nullable":true,"type":"string"},"salinity_ppt":{"format":"double","nullable":true,"type":"number"},"source_parcel_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"volume_m3":{"format":"double","nullable":true,"type":"number"},"water_source":{"nullable":true,"type":"string"}},"type":"object"},"Gis.UpdatePondResult":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"pond_id":{"format":"uuid","type":"string"}},"type":"object"},"Gis.UpdateSeasonRequest":{"additionalProperties":false,"properties":{"expected_harvest_on":{"format":"date","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"notes":{"nullable":true,"type":"string"},"planted_on":{"format":"date","type":"string"},"stages":{"items":{"$ref":"#/components/schemas/Gis.SeasonStageInput"},"nullable":true,"type":"array"}},"type":"object"},"Gis.UpdateZoneRequest":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"contact_person":{"nullable":true,"type":"string"},"contact_phone":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"main_crop":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parent_zone_id":{"format":"uuid","nullable":true,"type":"string"},"zone_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ZoneDto":{"additionalProperties":false,"properties":{"boundary_geo_json":{"nullable":true,"type":"string"},"branch_id":{"format":"uuid","nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"contact_person":{"nullable":true,"type":"string"},"contact_phone":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"main_crop":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parent_zone_id":{"format":"uuid","nullable":true,"type":"string"},"parent_zone_name":{"nullable":true,"type":"string"},"total_area_ha":{"format":"double","nullable":true,"type":"number"},"updated_at":{"format":"date-time","type":"string"},"zone_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ZoneListItemDto":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"contact_person":{"nullable":true,"type":"string"},"contact_phone":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"implausible_parcel_count":{"format":"int32","nullable":true,"type":"integer"},"main_crop":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parcel_area_ha":{"format":"double","nullable":true,"type":"number"},"parcel_count":{"format":"int32","nullable":true,"type":"integer"},"parent_zone_id":{"format":"uuid","nullable":true,"type":"string"},"total_area_ha":{"format":"double","nullable":true,"type":"number"},"zone_type":{"nullable":true,"type":"string"}},"type":"object"},"Gis.ZoneListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Gis.ZoneListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"page_size_capped":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Gis.ZoneStatsDto":{"additionalProperties":false,"properties":{"active_parcel_count":{"format":"int32","type":"integer"},"disputed_parcel_count":{"format":"int32","type":"integer"},"excluded_area_ha":{"format":"double","type":"number"},"implausible_parcel_count":{"format":"int32","type":"integer"},"inactive_parcel_count":{"format":"int32","type":"integer"},"parcel_count":{"format":"int32","type":"integer"},"total_area_ha":{"format":"double","type":"number"},"zone_id":{"format":"uuid","type":"string"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.AddFarmPesticideRequest":{"additionalProperties":false,"properties":{"active_ingredient":{"nullable":true,"type":"string"},"phi_days":{"format":"int32","type":"integer"},"trade_name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.AddOrganismEventRequest":{"additionalProperties":false,"properties":{"kind":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"occurred_at":{"format":"date-time","nullable":true,"type":"string"},"photo_url":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.AddProductInfoImagesRequest":{"additionalProperties":false,"properties":{"image_urls":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.AmendTraceBundleRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.AnchoredBundleDto":{"additionalProperties":false,"properties":{"bundle_id":{"format":"uuid","type":"string"},"content_hash":{"nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"harvest_record_id":{"format":"uuid","type":"string"},"parcel_code":{"nullable":true,"type":"string"},"product":{"nullable":true,"type":"string"},"version":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.BulkCreateOrganismsRequest":{"additionalProperties":false,"properties":{"append":{"type":"boolean"},"code_prefix":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"points":{"items":{"$ref":"#/components/schemas/Harvest.OrganismPointInput"},"nullable":true,"type":"array"},"profile":{"$ref":"#/components/schemas/Harvest.OrganismProfileRequest"}},"type":"object"},"Harvest.CareAgeBucketDto":{"additionalProperties":false,"properties":{"age_years":{"format":"int32","nullable":true,"type":"integer"},"trees":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.CareInputsDto":{"additionalProperties":false,"properties":{"age_buckets":{"items":{"$ref":"#/components/schemas/Harvest.CareAgeBucketDto"},"nullable":true,"type":"array"},"last_flowering_on":{"format":"date","nullable":true,"type":"string"},"last_harvest_on":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.CertGroupInput":{"additionalProperties":false,"properties":{"certificate_number":{"nullable":true,"type":"string"},"expires_on":{"format":"date","nullable":true,"type":"string"},"issued_by":{"nullable":true,"type":"string"},"issued_on":{"format":"date","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"scheme":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CertMemberActionRequest":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"until":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.CertMemberInput":{"additionalProperties":false,"properties":{"farmer_id":{"format":"uuid","type":"string"},"farmer_name":{"nullable":true,"type":"string"},"joined_on":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.CertMembersRequest":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/Harvest.CertMemberInput"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.CertificationListDto":{"additionalProperties":false,"properties":{"certificate_number":{"nullable":true,"type":"string"},"expires_in_days":{"format":"int32","nullable":true,"type":"integer"},"expiry_date":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"is_expired":{"type":"boolean"},"issued_by":{"nullable":true,"type":"string"},"issued_date":{"format":"date","type":"string"},"name":{"nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","nullable":true,"type":"string"},"scheme":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ChangeOrganismStatusRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"},"occurred_at":{"format":"date-time","nullable":true,"type":"string"},"photo_url":{"nullable":true,"type":"string"},"quantity_delta":{"format":"int32","nullable":true,"type":"integer"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CollectHarvestRequest":{"additionalProperties":false,"properties":{"collection_notes":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ConfirmHarvestRequest":{"additionalProperties":false,"properties":{"notes":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CreateCertificationRequest":{"additionalProperties":false,"properties":{"certificate_number":{"nullable":true,"type":"string"},"expiry_date":{"format":"date","type":"string"},"issued_by":{"nullable":true,"type":"string"},"issued_date":{"format":"date","type":"string"},"name":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","nullable":true,"type":"string"},"scheme":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CreateFieldLogInputRequest":{"additionalProperties":false,"properties":{"inventory_issue_id":{"format":"uuid","nullable":true,"type":"string"},"item_id":{"format":"uuid","type":"string"},"item_name":{"nullable":true,"type":"string"},"lot_no":{"nullable":true,"type":"string"},"quantity":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CreateFieldLogRequest":{"additionalProperties":false,"properties":{"client_request_id":{"nullable":true,"type":"string"},"completed_at":{"format":"date-time","nullable":true,"type":"string"},"for_owner_id":{"format":"uuid","nullable":true,"type":"string"},"inputs":{"items":{"$ref":"#/components/schemas/Harvest.CreateFieldLogInputRequest"},"nullable":true,"type":"array"},"organism_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"parcel_id":{"format":"uuid","type":"string"},"photo_paths":{"items":{"type":"string"},"nullable":true,"type":"array"},"recorded_via":{"nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"spray_active_ingredient":{"nullable":true,"type":"string"},"spray_phi_days":{"format":"int32","nullable":true,"type":"integer"},"spray_product_name":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"work_type":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.CreateHusbandryLogRequest":{"additionalProperties":false,"properties":{"avg_weight_g":{"format":"double","nullable":true,"type":"number"},"feed_item_id":{"format":"uuid","nullable":true,"type":"string"},"feed_item_name":{"nullable":true,"type":"string"},"head_count":{"format":"int32","nullable":true,"type":"integer"},"inventory_issue_id":{"format":"uuid","nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"material_name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"quantity":{"format":"double","nullable":true,"type":"number"},"recorded_at":{"format":"date-time","nullable":true,"type":"string"},"recorded_via":{"nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"withdrawal_days":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Harvest.CreateMarketPriceRequest":{"additionalProperties":false,"properties":{"commodity_code":{"nullable":true,"type":"string"},"commodity_name":{"nullable":true,"type":"string"},"grade":{"nullable":true,"type":"string"},"market":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"recorded_by_name":{"nullable":true,"type":"string"},"recorded_on":{"format":"date","type":"string"},"unit":{"nullable":true,"type":"string"},"unit_price":{"format":"double","type":"number"}},"type":"object"},"Harvest.CreateOrganismRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"group_id":{"format":"uuid","nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"latitude":{"format":"double","nullable":true,"type":"number"},"longitude":{"format":"double","nullable":true,"type":"number"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"},"position_in_row":{"format":"int32","nullable":true,"type":"integer"},"profile":{"$ref":"#/components/schemas/Harvest.OrganismProfileRequest"},"quantity":{"format":"int32","type":"integer"},"row_no":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Harvest.CreateQrCodesRequest":{"additionalProperties":false,"properties":{"effective_to":{"format":"date","type":"string"},"harvest_date":{"format":"date","type":"string"},"harvest_record_id":{"format":"uuid","nullable":true,"type":"string"},"quantity":{"format":"int32","type":"integer"},"season_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Harvest.DatasetDefinition":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dims":{"items":{"type":"string"},"nullable":true,"type":"array"},"measures":{"items":{"type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.DatasetQuery":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"from":{"format":"date","type":"string"},"group_by":{"items":{"type":"string"},"nullable":true,"type":"array"},"include_sample":{"type":"boolean"},"limit":{"format":"int32","nullable":true,"type":"integer"},"mode":{"nullable":true,"type":"string"},"to":{"format":"date","type":"string"}},"type":"object"},"Harvest.DatasetResult":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"has_sample":{"type":"boolean"},"reason_code":{"nullable":true,"type":"string"},"record_count":{"format":"int32","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/Harvest.DatasetRow"},"nullable":true,"type":"array"},"status":{"nullable":true,"type":"string"},"totals":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"},"truncated":{"type":"boolean"},"updated_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Harvest.DatasetRow":{"additionalProperties":false,"properties":{"date":{"format":"date","nullable":true,"type":"string"},"dims":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"id":{"nullable":true,"type":"string"},"values":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"}},"type":"object"},"Harvest.DeclareHarvestRequest":{"additionalProperties":false,"properties":{"confirm":{"type":"boolean"},"crop_type_id":{"format":"uuid","type":"string"},"declared_quantity_kg":{"format":"double","type":"number"},"farming_task_id":{"format":"uuid","nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"notes":{"nullable":true,"type":"string"},"organisms":{"items":{"$ref":"#/components/schemas/Harvest.HarvestOrganismInput"},"nullable":true,"type":"array"},"parcel_id":{"format":"uuid","type":"string"},"phi_override_reason":{"nullable":true,"type":"string"},"photo_urls":{"items":{"type":"string"},"nullable":true,"type":"array"},"season_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Harvest.EligibilityRequest":{"additionalProperties":false,"properties":{"farmer_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"on":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.EudrCreateRequest":{"additionalProperties":false,"properties":{"delivery_id":{"format":"uuid","type":"string"},"hs_code":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.EudrDdsRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"},"reference":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.EudrDeclareRequest":{"additionalProperties":false,"properties":{"deforestation":{"nullable":true,"type":"string"},"deforestation_evidence":{"nullable":true,"type":"string"},"legality":{"nullable":true,"type":"string"},"legality_evidence":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.EudrDeliveryStatusDto":{"additionalProperties":false,"properties":{"content_hash":{"nullable":true,"type":"string"},"dossier_id":{"format":"uuid","type":"string"},"locked_at":{"format":"date-time","nullable":true,"type":"string"},"net_kg":{"format":"double","type":"number"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.EudrUpdateRequest":{"additionalProperties":false,"properties":{"dds_reference":{"nullable":true,"type":"string"},"hs_code":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.FalseAlarmRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.FieldLogGrowersDto":{"additionalProperties":false,"properties":{"owner_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.HarvestBridgeDto":{"additionalProperties":false,"properties":{"actual_quantity_kg":{"format":"double","nullable":true,"type":"number"},"crop_type_id":{"format":"uuid","type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"parcel_id":{"format":"uuid","type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.HarvestOrganismInput":{"additionalProperties":false,"properties":{"fruit_count":{"format":"int32","nullable":true,"type":"integer"},"organism_id":{"format":"uuid","type":"string"},"quantity_kg":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Harvest.HarvestRecordDto":{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"declared_quantity_kg":{"format":"double","type":"number"},"farming_task_id":{"format":"uuid","nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"needs_review":{"type":"boolean"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"return_reason":{"nullable":true,"type":"string"},"returned_at":{"format":"date-time","nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"trace_id":{"format":"uuid","nullable":true,"type":"string"},"warnings":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.HarvestRecordListItemDto":{"additionalProperties":false,"properties":{"actual_quantity_kg":{"format":"double","nullable":true,"type":"number"},"created_at":{"format":"date-time","type":"string"},"crop_type_id":{"format":"uuid","type":"string"},"crop_type_name":{"nullable":true,"type":"string"},"declared_quantity_kg":{"format":"double","type":"number"},"farming_task_id":{"format":"uuid","nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"needs_review":{"type":"boolean"},"parcel_code":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"return_reason":{"nullable":true,"type":"string"},"returned_at":{"format":"date-time","nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"trace_anchor_date":{"format":"date","nullable":true,"type":"string"},"trace_bundle_id":{"format":"uuid","nullable":true,"type":"string"},"trace_incident":{"type":"boolean"},"trace_status":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.HarvestRecordListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Harvest.HarvestRecordListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.HarvestRecordRefDto":{"additionalProperties":false,"properties":{"actual_quantity_kg":{"format":"double","nullable":true,"type":"number"},"declared_quantity_kg":{"format":"double","type":"number"},"id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.HarvestSearchResult":{"additionalProperties":false,"properties":{"certifications":{"items":{"$ref":"#/components/schemas/Harvest.SpotlightHit"},"nullable":true,"type":"array"},"harvests":{"items":{"$ref":"#/components/schemas/Harvest.SpotlightHit"},"nullable":true,"type":"array"},"qr_codes":{"items":{"$ref":"#/components/schemas/Harvest.SpotlightHit"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.HarvestSummaryRowDto":{"additionalProperties":false,"properties":{"key":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parcel_count":{"format":"int32","type":"integer"},"record_count":{"format":"int32","type":"integer"},"total_kg":{"format":"double","type":"number"}},"type":"object"},"Harvest.HarvestSummaryRowDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Harvest.HarvestSummaryRowDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.IcsChecklistInput":{"additionalProperties":false,"properties":{"is_active":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Harvest.IcsChecklistItem"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.IcsChecklistItem":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"critical":{"type":"boolean"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.IcsEligibilityDto":{"additionalProperties":false,"properties":{"eligible":{"type":"boolean"},"farmer_id":{"format":"uuid","type":"string"},"group_id":{"format":"uuid","type":"string"},"group_name":{"nullable":true,"type":"string"},"member_status":{"nullable":true,"type":"string"},"scheme":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.IcsFindingActionRequest":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"corrective_action":{"nullable":true,"type":"string"},"due_on":{"format":"date","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"sanction":{"nullable":true,"type":"string"},"suspend_until":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.IcsFindingRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"due_on":{"format":"date","nullable":true,"type":"string"},"member_id":{"format":"uuid","type":"string"},"severity":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.IcsInspectionRequest":{"additionalProperties":false,"properties":{"checklist_id":{"format":"uuid","type":"string"},"client_key":{"nullable":true,"type":"string"},"farmer_acknowledged":{"type":"boolean"},"inspected_on":{"format":"date","type":"string"},"inspector_name":{"nullable":true,"type":"string"},"member_id":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"},"results":{"items":{"$ref":"#/components/schemas/Harvest.IcsResultItem"},"nullable":true,"type":"array"},"submit":{"type":"boolean"}},"type":"object"},"Harvest.IcsResultItem":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"photo_keys":{"items":{"type":"string"},"nullable":true,"type":"array"},"result":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.IssueOrganismQrLabelsRequest":{"additionalProperties":false,"properties":{"ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"kind":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","type":"string"},"plot_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Harvest.MarketPriceDto":{"additionalProperties":false,"properties":{"commodity_code":{"nullable":true,"type":"string"},"commodity_name":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"grade":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"market":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"recorded_by_name":{"nullable":true,"type":"string"},"recorded_on":{"format":"date","type":"string"},"source":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"unit_price":{"format":"double","type":"number"}},"type":"object"},"Harvest.MarketPriceDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Harvest.MarketPriceDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.MarketPricePointDto":{"additionalProperties":false,"properties":{"recorded_on":{"format":"date","type":"string"},"unit_price":{"format":"double","type":"number"}},"type":"object"},"Harvest.MarketPriceSeriesDto":{"additionalProperties":false,"properties":{"commodity_code":{"nullable":true,"type":"string"},"commodity_name":{"nullable":true,"type":"string"},"points":{"items":{"$ref":"#/components/schemas/Harvest.MarketPricePointDto"},"nullable":true,"type":"array"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.MarketPriceSeriesResponseDto":{"additionalProperties":false,"properties":{"series":{"items":{"$ref":"#/components/schemas/Harvest.MarketPriceSeriesDto"},"nullable":true,"type":"array"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.MetricParcelValueDto":{"additionalProperties":false,"properties":{"parcel_id":{"format":"uuid","type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Harvest.MetricQueryItem":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"from":{"format":"date","type":"string"},"key":{"nullable":true,"type":"string"},"scope":{"$ref":"#/components/schemas/Harvest.MetricScopeDto"},"to":{"format":"date","type":"string"}},"type":"object"},"Harvest.MetricResultItem":{"additionalProperties":false,"properties":{"by_parcel":{"items":{"$ref":"#/components/schemas/Harvest.MetricParcelValueDto"},"nullable":true,"type":"array"},"key":{"nullable":true,"type":"string"},"reason_code":{"nullable":true,"type":"string"},"source_updated_at":{"format":"date-time","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Harvest.MetricScopeDto":{"additionalProperties":false,"properties":{"branch_id":{"format":"uuid","nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"zone_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Harvest.NormLineInput":{"additionalProperties":false,"properties":{"age_from":{"format":"int32","nullable":true,"type":"integer"},"age_to":{"format":"int32","nullable":true,"type":"integer"},"basis":{"nullable":true,"type":"string"},"item_id":{"format":"uuid","nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"quantity_per_ha":{"format":"double","type":"number"},"ref_price":{"format":"int64","type":"integer"},"stage":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.NormSetRequest":{"additionalProperties":false,"properties":{"crop_name":{"nullable":true,"type":"string"},"lines":{"items":{"$ref":"#/components/schemas/Harvest.NormLineInput"},"nullable":true,"type":"array"},"note":{"nullable":true,"type":"string"},"yield_by_age":{"items":{"$ref":"#/components/schemas/Harvest.NormYieldAgeInput"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.NormYieldAgeInput":{"additionalProperties":false,"properties":{"age_from":{"format":"int32","type":"integer"},"age_to":{"format":"int32","nullable":true,"type":"integer"},"kg_per_tree":{"format":"double","type":"number"}},"type":"object"},"Harvest.OrchardCapexRequest":{"additionalProperties":false,"properties":{"depreciation_years":{"format":"int32","nullable":true,"type":"integer"},"enabled":{"type":"boolean"},"note":{"nullable":true,"type":"string"},"opening_value":{"format":"int64","type":"integer"}},"type":"object"},"Harvest.OrganismPointInput":{"additionalProperties":false,"properties":{"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"},"position_in_row":{"format":"int32","nullable":true,"type":"integer"},"row_no":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Harvest.OrganismProfileRequest":{"additionalProperties":false,"properties":{"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"origin":{"nullable":true,"type":"string"},"planted_estimated":{"type":"boolean"},"planted_on":{"format":"date","nullable":true,"type":"string"},"planted_year":{"format":"int32","nullable":true,"type":"integer"},"rootstock_id":{"format":"uuid","nullable":true,"type":"string"},"rootstock_name":{"nullable":true,"type":"string"},"species_name":{"nullable":true,"type":"string"},"variety_id":{"format":"uuid","nullable":true,"type":"string"},"variety_name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.PendingAnchorBundleDto":{"additionalProperties":false,"properties":{"bundle_id":{"format":"uuid","type":"string"},"parcel_code":{"nullable":true,"type":"string"},"product":{"nullable":true,"type":"string"},"sealed_at":{"format":"date-time","type":"string"},"version":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.PesticideBridgeDto":{"additionalProperties":false,"properties":{"active_ingredient":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"phi_days":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Harvest.PesticideDto":{"additionalProperties":false,"properties":{"active_ingredient":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"phi_days":{"format":"int32","nullable":true,"type":"integer"},"source":{"nullable":true,"type":"string"},"trade_name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.PhiActiveBridgeDto":{"additionalProperties":false,"properties":{"parcel_id":{"format":"uuid","type":"string"},"safe_from":{"format":"date","type":"string"}},"type":"object"},"Harvest.PhiBlockDto":{"additionalProperties":false,"properties":{"active_ingredient":{"nullable":true,"type":"string"},"field_log_id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"phi_days":{"format":"int32","type":"integer"},"product":{"nullable":true,"type":"string"},"safe_from":{"format":"date","type":"string"},"sprayed_on":{"format":"date","type":"string"}},"type":"object"},"Harvest.PhiStatusDto":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"blocking":{"$ref":"#/components/schemas/Harvest.PhiBlockDto"},"on_date":{"format":"date","type":"string"},"parcel_id":{"format":"uuid","type":"string"},"safe_from":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.PlanLineInput":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","nullable":true,"type":"number"},"expected_yield_kg":{"format":"double","nullable":true,"type":"number"},"parcel_id":{"format":"uuid","type":"string"},"planned_on":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.PlanLineRequest":{"additionalProperties":false,"properties":{"area_ha":{"format":"double","type":"number"},"expected_yield_kg":{"format":"double","type":"number"},"planned_on":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Harvest.PlanLinesRequest":{"additionalProperties":false,"properties":{"lines":{"items":{"$ref":"#/components/schemas/Harvest.PlanLineInput"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.PlanRequest":{"additionalProperties":false,"properties":{"crop_name":{"nullable":true,"type":"string"},"crop_type_id":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"period_from":{"format":"date","type":"string"},"period_to":{"format":"date","type":"string"},"season_template_id":{"format":"uuid","nullable":true,"type":"string"},"target_yield_per_ha":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Harvest.PlanSeasonRequest":{"additionalProperties":false,"properties":{"season_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.PlanStatusRequest":{"additionalProperties":false,"properties":{"status":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"nullable":true,"type":"string"},"instance":{"nullable":true,"type":"string"},"status":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ProductBenefitDto":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ProductBenefitRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ProductInfoAdminDto":{"additionalProperties":false,"properties":{"benefits":{"items":{"$ref":"#/components/schemas/Harvest.ProductBenefitDto"},"nullable":true,"type":"array"},"crop_name":{"nullable":true,"type":"string"},"display_name":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"image_urls":{"items":{"type":"string"},"nullable":true,"type":"array"},"is_active":{"type":"boolean"},"tagline":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"usage_note":{"nullable":true,"type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.PurgeDemoDataRequest":{"additionalProperties":false,"properties":{"batch_id":{"format":"uuid","type":"string"},"include_user_created":{"type":"boolean"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.QrCodeDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"effective_to":{"format":"date","type":"string"},"first_scanned_at":{"format":"date-time","nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"harvest_record_id":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"last_scanned_at":{"format":"date-time","nullable":true,"type":"string"},"scan_count":{"format":"int32","type":"integer"},"season_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.QrCodeUsageDto":{"additionalProperties":false,"properties":{"limit":{"format":"int32","type":"integer"},"remaining":{"format":"int32","type":"integer"},"used":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.QrScanDayDto":{"additionalProperties":false,"properties":{"day":{"format":"date","type":"string"},"visitors":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.QrScanSeriesDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"days":{"items":{"$ref":"#/components/schemas/Harvest.QrScanDayDto"},"nullable":true,"type":"array"},"first_scanned_at":{"format":"date-time","nullable":true,"type":"string"},"last_scanned_at":{"format":"date-time","nullable":true,"type":"string"},"qr_code_id":{"format":"uuid","type":"string"},"scan_count":{"format":"int32","type":"integer"},"warn_threshold":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.RenewQrCodeRequest":{"additionalProperties":false,"properties":{"new_effective_to":{"format":"date","type":"string"}},"type":"object"},"Harvest.ReplantOrganismRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"},"profile":{"$ref":"#/components/schemas/Harvest.OrganismProfileRequest"}},"type":"object"},"Harvest.ResolveIncidentRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.ReturnHarvestRecordRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.SeedDemoDataRequest":{"additionalProperties":false,"properties":{"batch_id":{"format":"uuid","type":"string"},"template_version":{"nullable":true,"type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.SpotlightHit":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"edit_path":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.SprayRequest":{"additionalProperties":false,"properties":{"active_ingredient":{"nullable":true,"type":"string"},"pre_harvest_interval_days":{"format":"int32","nullable":true,"type":"integer"},"product_name":{"nullable":true,"type":"string"},"worker_badge_codes":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.TraceAnchorsResponse":{"additionalProperties":false,"properties":{"anchor_schedule_local":{"nullable":true,"type":"string"},"anchors":{"items":{"$ref":"#/components/schemas/Harvest.WorkspaceAnchorDto"},"nullable":true,"type":"array"},"pending":{"items":{"$ref":"#/components/schemas/Harvest.PendingAnchorBundleDto"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.TraceBundleListItemDto":{"additionalProperties":false,"properties":{"anchor_date":{"format":"date","nullable":true,"type":"string"},"anchor_is_backfill":{"type":"boolean"},"anchor_status":{"nullable":true,"type":"string"},"bundle_version":{"format":"int32","type":"integer"},"certification":{"nullable":true,"type":"string"},"content_hash":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"farmer":{"nullable":true,"type":"string"},"harvest_date":{"format":"date","type":"string"},"harvest_record_id":{"format":"uuid","type":"string"},"has_open_incident":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"is_locked":{"type":"boolean"},"parcel_code":{"nullable":true,"type":"string"},"product":{"nullable":true,"type":"string"},"season_id":{"format":"uuid","nullable":true,"type":"string"},"stage_count":{"format":"int32","type":"integer"},"zone_name":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.TraceFact":{"additionalProperties":false,"properties":{"label":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.TraceIncidentDto":{"additionalProperties":false,"properties":{"anchored_hash":{"nullable":true,"type":"string"},"bundle_version":{"format":"int32","type":"integer"},"current_hash":{"nullable":true,"type":"string"},"detected_at":{"format":"date-time","type":"string"},"diff_json":{"nullable":true,"type":"string"},"has_newer_version":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"parcel_code":{"nullable":true,"type":"string"},"product":{"nullable":true,"type":"string"},"resolution":{"nullable":true,"type":"string"},"resolution_note":{"nullable":true,"type":"string"},"resolved_at":{"format":"date-time","nullable":true,"type":"string"},"restore_requested_at":{"format":"date-time","nullable":true,"type":"string"},"restore_requested_by":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"trace_bundle_id":{"format":"uuid","type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"type":"object"},"Harvest.TraceNode":{"additionalProperties":false,"properties":{"amount":{"format":"double","nullable":true,"type":"number"},"date":{"format":"date","nullable":true,"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/Harvest.TraceFact"},"nullable":true,"type":"array"},"flag":{"nullable":true,"type":"string"},"flag_of":{"$ref":"#/components/schemas/Harvest.TraceRef"},"href":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"service":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.TracePreviewDto":{"additionalProperties":false,"properties":{"certification_expiry":{"format":"date","nullable":true,"type":"string"},"certification_name":{"nullable":true,"type":"string"},"certification_number":{"nullable":true,"type":"string"},"has_season":{"type":"boolean"},"input_count":{"format":"int32","type":"integer"},"parcel_has_boundary":{"type":"boolean"},"season_name":{"nullable":true,"type":"string"},"stage_count":{"format":"int32","type":"integer"},"stages_with_photo":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.TraceRef":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.TraceResolution":{"additionalProperties":false,"properties":{"down":{"items":{"$ref":"#/components/schemas/Harvest.TraceRef"},"nullable":true,"type":"array"},"node":{"$ref":"#/components/schemas/Harvest.TraceNode"},"up":{"items":{"$ref":"#/components/schemas/Harvest.TraceRef"},"nullable":true,"type":"array"}},"type":"object"},"Harvest.TraceSettingsDto":{"additionalProperties":false,"properties":{"scan_warn_threshold":{"format":"int32","type":"integer"}},"type":"object"},"Harvest.UpdateCertificationRequest":{"additionalProperties":false,"properties":{"certificate_number":{"nullable":true,"type":"string"},"expiry_date":{"format":"date","type":"string"},"issued_by":{"nullable":true,"type":"string"},"issued_date":{"format":"date","type":"string"},"name":{"nullable":true,"type":"string"},"scheme":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.UpdateHarvestRecordRequest":{"additionalProperties":false,"properties":{"declared_quantity_kg":{"format":"double","type":"number"},"harvest_date":{"format":"date","type":"string"},"notes":{"nullable":true,"type":"string"},"phi_override_reason":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.UpdateMarketPriceRequest":{"additionalProperties":false,"properties":{"commodity_code":{"nullable":true,"type":"string"},"commodity_name":{"nullable":true,"type":"string"},"grade":{"nullable":true,"type":"string"},"market":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"recorded_by_name":{"nullable":true,"type":"string"},"recorded_on":{"format":"date","type":"string"},"unit":{"nullable":true,"type":"string"},"unit_price":{"format":"double","type":"number"}},"type":"object"},"Harvest.UpdateOrganismRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"latitude":{"format":"double","nullable":true,"type":"number"},"life_stage_override":{"nullable":true,"type":"string"},"longitude":{"format":"double","nullable":true,"type":"number"},"position_in_row":{"format":"int32","nullable":true,"type":"integer"},"profile":{"$ref":"#/components/schemas/Harvest.OrganismProfileRequest"},"row_no":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Harvest.UpdateProductInfoRequest":{"additionalProperties":false,"properties":{"benefits":{"items":{"$ref":"#/components/schemas/Harvest.ProductBenefitRequest"},"nullable":true,"type":"array"},"display_name":{"nullable":true,"type":"string"},"image_urls":{"items":{"type":"string"},"nullable":true,"type":"array"},"is_active":{"type":"boolean"},"tagline":{"nullable":true,"type":"string"},"usage_note":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.UpsertProductInfoRequest":{"additionalProperties":false,"properties":{"benefits":{"items":{"$ref":"#/components/schemas/Harvest.ProductBenefitRequest"},"nullable":true,"type":"array"},"crop_name":{"nullable":true,"type":"string"},"display_name":{"nullable":true,"type":"string"},"image_urls":{"items":{"type":"string"},"nullable":true,"type":"array"},"is_active":{"type":"boolean"},"tagline":{"nullable":true,"type":"string"},"usage_note":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.VerifyHarvestRequest":{"additionalProperties":false,"properties":{"actual_quantity_kg":{"format":"double","type":"number"},"quality_grade":{"nullable":true,"type":"string"}},"type":"object"},"Harvest.WorkspaceAnchorDto":{"additionalProperties":false,"properties":{"anchor_date":{"format":"date","type":"string"},"attempts":{"format":"int32","type":"integer"},"bitcoin_block_height":{"format":"int32","nullable":true,"type":"integer"},"bitcoin_confirmed_at":{"format":"date-time","nullable":true,"type":"string"},"bundles":{"items":{"$ref":"#/components/schemas/Harvest.AnchoredBundleDto"},"nullable":true,"type":"array"},"confirmed_at":{"format":"date-time","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"is_backfill":{"type":"boolean"},"leaf_count":{"format":"int32","type":"integer"},"merkle_root":{"nullable":true,"type":"string"},"polygon_chain_id":{"format":"int64","nullable":true,"type":"integer"},"polygon_confirmed_at":{"format":"date-time","nullable":true,"type":"string"},"polygon_tx_hash":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"submitted_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Iot.AlertDto":{"additionalProperties":false,"properties":{"acknowledged_at":{"format":"date-time","nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"resolved_at":{"format":"date-time","nullable":true,"type":"string"},"rule_id":{"format":"uuid","type":"string"},"sensor_type":{"nullable":true,"type":"string"},"severity":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"threshold":{"nullable":true,"type":"string"},"triggered_at":{"format":"date-time","type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Iot.AlertDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.AlertDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.AlertRuleDto":{"additionalProperties":false,"properties":{"consecutive_breach_count":{"format":"int32","type":"integer"},"cooldown_hours":{"format":"int32","type":"integer"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"device_name":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"sensor_type":{"nullable":true,"type":"string"},"threshold_max":{"format":"double","nullable":true,"type":"number"},"threshold_min":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Iot.AssignDeviceParcelRequest":{"additionalProperties":false,"properties":{"parcel_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Iot.AssignDeviceParcelsRequest":{"additionalProperties":false,"properties":{"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"shared_in_zone":{"type":"boolean"}},"type":"object"},"Iot.BulkAssignDeviceParcelsItem":{"additionalProperties":false,"properties":{"device_id":{"format":"uuid","type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"shared_in_zone":{"type":"boolean"}},"type":"object"},"Iot.BulkAssignDeviceParcelsRequest":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.BulkAssignDeviceParcelsItem"},"nullable":true,"type":"array"}},"type":"object"},"Iot.ChannelManualMaxMinRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"manual_max_min":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.ChannelRoleRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"role":{"nullable":true,"type":"string"}},"type":"object"},"Iot.ControlFieldDto":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"valid_values":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"}},"type":"object"},"Iot.CreateAlertRuleRequest":{"additionalProperties":false,"properties":{"consecutive_breach_count":{"format":"int32","type":"integer"},"cooldown_hours":{"format":"int32","type":"integer"},"device_id":{"format":"uuid","type":"string"},"sensor_type":{"nullable":true,"type":"string"},"threshold_max":{"format":"double","nullable":true,"type":"number"},"threshold_min":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Iot.CreateScheduleRequest":{"additionalProperties":false,"properties":{"duration_minutes":{"format":"int32","nullable":true,"type":"integer"},"duration_seconds":{"format":"int32","nullable":true,"type":"integer"},"enabled":{"type":"boolean"},"end_date":{"format":"date","nullable":true,"type":"string"},"family":{"nullable":true,"type":"string"},"field":{"nullable":true,"type":"string"},"idx":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"start_date":{"format":"date","nullable":true,"type":"string"},"stop_mode":{"nullable":true,"type":"string"},"target_liters":{"format":"int32","nullable":true,"type":"integer"},"time_of_day":{"format":"time","type":"string"},"value":{"format":"int32","type":"integer"},"weekdays":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DatasetDefinition":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dims":{"items":{"type":"string"},"nullable":true,"type":"array"},"measures":{"items":{"type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Iot.DatasetQuery":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"from":{"format":"date","type":"string"},"group_by":{"items":{"type":"string"},"nullable":true,"type":"array"},"include_sample":{"type":"boolean"},"limit":{"format":"int32","nullable":true,"type":"integer"},"mode":{"nullable":true,"type":"string"},"to":{"format":"date","type":"string"}},"type":"object"},"Iot.DatasetResult":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"has_sample":{"type":"boolean"},"reason_code":{"nullable":true,"type":"string"},"record_count":{"format":"int32","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/Iot.DatasetRow"},"nullable":true,"type":"array"},"status":{"nullable":true,"type":"string"},"totals":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"},"truncated":{"type":"boolean"},"updated_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Iot.DatasetRow":{"additionalProperties":false,"properties":{"date":{"format":"date","nullable":true,"type":"string"},"dims":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"id":{"nullable":true,"type":"string"},"values":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"}},"type":"object"},"Iot.DevChannelConfigRequest":{"additionalProperties":false,"properties":{"auto":{"format":"int32","nullable":true,"type":"integer"},"eh":{"format":"int32","nullable":true,"type":"integer"},"em":{"format":"int32","nullable":true,"type":"integer"},"idx":{"format":"int32","type":"integer"},"kind":{"format":"int32","nullable":true,"type":"integer"},"label":{"nullable":true,"type":"string"},"lim_a":{"format":"int32","nullable":true,"type":"integer"},"lim_b":{"format":"int32","nullable":true,"type":"integer"},"out_a":{"format":"int32","nullable":true,"type":"integer"},"out_b":{"format":"int32","nullable":true,"type":"integer"},"sh":{"format":"int32","nullable":true,"type":"integer"},"sm":{"format":"int32","nullable":true,"type":"integer"},"thr_off":{"format":"int32","nullable":true,"type":"integer"},"thr_on":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.DeviceCommandDto":{"additionalProperties":false,"properties":{"acknowledged_at":{"format":"date-time","nullable":true,"type":"string"},"command_type":{"nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"},"sent_at":{"format":"date-time","type":"string"},"sent_by_user_id":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Iot.DeviceCommandDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.DeviceCommandDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DeviceControlRequest":{"additionalProperties":false,"properties":{"family":{"nullable":true,"type":"string"},"field":{"nullable":true,"type":"string"},"idx":{"format":"int32","nullable":true,"type":"integer"},"index":{"format":"int32","nullable":true,"type":"integer"},"type":{"nullable":true,"type":"string"},"value":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DeviceControlStateDto":{"additionalProperties":false,"properties":{"catalog":{"items":{"$ref":"#/components/schemas/Iot.ControlFieldDto"},"nullable":true,"type":"array"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"device_outputs":{"items":{"$ref":"#/components/schemas/Iot.DeviceOutputDto"},"nullable":true,"type":"array"},"fert1_open":{"type":"boolean"},"fert2_open":{"type":"boolean"},"fert_open_mask":{"format":"int32","type":"integer"},"fert_pump_lock":{"format":"int32","nullable":true,"type":"integer"},"fert_pump_run":{"format":"int32","nullable":true,"type":"integer"},"fert_pump_suy_ra":{"format":"int32","nullable":true,"type":"integer"},"fert_pump_why":{"format":"int32","nullable":true,"type":"integer"},"flow_lmin":{"format":"double","nullable":true,"type":"number"},"is_gateway_firmware":{"type":"boolean"},"is_online":{"type":"boolean"},"mcv_run":{"nullable":true},"outputs":{"format":"int32","type":"integer"},"pump_flushing":{"type":"boolean"},"pump_irrigating":{"type":"boolean"},"pump_mode":{"format":"int32","nullable":true,"type":"integer"},"pump_on":{"type":"boolean"},"reported_at":{"format":"date-time","nullable":true,"type":"string"},"shade":{"format":"int32","nullable":true,"type":"integer"},"shade_closing":{"type":"boolean"},"shade_opening":{"type":"boolean"},"vol_cur_ml":{"format":"int32","nullable":true,"type":"integer"},"winch1":{"format":"int32","nullable":true,"type":"integer"},"winch1_closing":{"type":"boolean"},"winch1_opening":{"type":"boolean"},"winch2":{"format":"int32","nullable":true,"type":"integer"},"winch2_closing":{"type":"boolean"},"winch2_opening":{"type":"boolean"},"zone_open":{"type":"boolean"},"zone_open_mask":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DeviceDetailDto":{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","type":"string"},"customer_code":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"device_type":{"nullable":true,"type":"string"},"dong_ho_nuoc":{"nullable":true,"type":"string"},"firmware_version":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"installed_at":{"format":"date","nullable":true,"type":"string"},"is_online":{"type":"boolean"},"last_heartbeat":{"format":"date-time","nullable":true,"type":"string"},"location_lat":{"format":"double","nullable":true,"type":"number"},"location_lng":{"format":"double","nullable":true,"type":"number"},"mac_address":{"nullable":true,"type":"string"},"manual_max_min":{"format":"int32","type":"integer"},"mcv_valve_variant":{"nullable":true,"type":"string"},"metadata_json":{"nullable":true,"type":"string"},"mqtt_topic_prefix":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"niche":{"nullable":true,"type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"provision_status":{"nullable":true,"type":"string"},"provisioned_at":{"format":"date-time","nullable":true,"type":"string"},"scene_kind":{"nullable":true,"type":"string"},"shared_in_zone":{"type":"boolean"},"status":{"nullable":true,"type":"string"},"tran_thoi_luong":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.DeviceDisplayPrefsDto":{"additionalProperties":false,"properties":{"control_sensors":{"items":{"type":"string"},"nullable":true,"type":"array"},"device_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.DeviceFertMetersDto":{"additionalProperties":false,"properties":{"channels":{"items":{"$ref":"#/components/schemas/Iot.FertMeterPulseDto"},"nullable":true,"type":"array"},"chu_ky_bat_dau_luc":{"format":"date-time","nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"flow_pulse":{"format":"int64","nullable":true,"type":"integer"},"muc_tieu_lit_chu_ky":{"format":"int32","nullable":true,"type":"integer"},"pulse_at":{"format":"date-time","nullable":true,"type":"string"},"pulse_ml":{"format":"int32","nullable":true,"type":"integer"},"pulse_ul":{"format":"int32","nullable":true,"type":"integer"},"water_chu_ky_server_tinh":{"$ref":"#/components/schemas/Iot.TheTichServerTinhDto"},"water_server_tinh":{"$ref":"#/components/schemas/Iot.TheTichServerTinhDto"},"water_ulp_operator":{"format":"int32","nullable":true,"type":"integer"},"water_ulp_operator_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Iot.DeviceIrrigationOutputDto":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"kind":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"manual_max_min_bo":{"format":"int32","nullable":true,"type":"integer"},"mcv_id":{"format":"int32","nullable":true,"type":"integer"},"meter_echo_at":{"format":"date-time","nullable":true,"type":"string"},"meter_id":{"format":"int32","nullable":true,"type":"integer"},"meter_in":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp_operator":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp_operator_at":{"format":"date-time","nullable":true,"type":"string"},"meter_ulp_pushed":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp_pushed_at":{"format":"date-time","nullable":true,"type":"string"},"out":{"format":"int32","type":"integer"},"parcel_id":{"format":"uuid","nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"},"Iot.DeviceListItemDto":{"additionalProperties":false,"properties":{"created_at":{"format":"date-time","type":"string"},"device_code":{"nullable":true,"type":"string"},"device_type":{"nullable":true,"type":"string"},"dong_ho_nuoc":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"is_online":{"type":"boolean"},"last_heartbeat":{"format":"date-time","nullable":true,"type":"string"},"location_lat":{"format":"double","nullable":true,"type":"number"},"location_lng":{"format":"double","nullable":true,"type":"number"},"mac_address":{"nullable":true,"type":"string"},"manual_max_min":{"format":"int32","type":"integer"},"mcv_valve_variant":{"nullable":true,"type":"string"},"mqtt_topic_prefix":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"niche":{"nullable":true,"type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"provision_status":{"nullable":true,"type":"string"},"scene_kind":{"nullable":true,"type":"string"},"shared_in_zone":{"type":"boolean"},"status":{"nullable":true,"type":"string"},"tran_thoi_luong":{"nullable":true,"type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.DeviceListItemDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.DeviceListItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DeviceManualMaxMinRequest":{"additionalProperties":false,"properties":{"manual_max_min":{"format":"int32","type":"integer"}},"type":"object"},"Iot.DeviceOutputChannelDto":{"additionalProperties":false,"properties":{"auto_mode":{"format":"int32","nullable":true,"type":"integer"},"eh":{"format":"int32","nullable":true,"type":"integer"},"em":{"format":"int32","nullable":true,"type":"integer"},"idx":{"format":"int32","type":"integer"},"kind":{"format":"int32","type":"integer"},"label":{"nullable":true,"type":"string"},"manual_max_min":{"format":"int32","nullable":true,"type":"integer"},"online":{"type":"boolean"},"out_a":{"format":"int32","type":"integer"},"out_b":{"format":"int32","nullable":true,"type":"integer"},"reported_at":{"format":"date-time","type":"string"},"role":{"nullable":true,"type":"string"},"sh":{"format":"int32","nullable":true,"type":"integer"},"sm":{"format":"int32","nullable":true,"type":"integer"},"thr_off":{"format":"int32","nullable":true,"type":"integer"},"thr_on":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.DeviceOutputDto":{"additionalProperties":false,"properties":{"auto_mode":{"format":"int32","nullable":true,"type":"integer"},"family":{"nullable":true,"type":"string"},"index":{"format":"int32","type":"integer"},"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"mcv_actual":{"format":"int32","nullable":true,"type":"integer"},"mcv_set":{"format":"int32","nullable":true,"type":"integer"},"mcv_stat":{"format":"int32","nullable":true,"type":"integer"},"port":{"format":"int32","nullable":true,"type":"integer"},"role":{"nullable":true,"type":"string"},"state":{"format":"int32","type":"integer"},"type":{"nullable":true,"type":"string"},"valid_values":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"}},"type":"object"},"Iot.DeviceScheduleDto":{"additionalProperties":false,"properties":{"device_id":{"format":"uuid","type":"string"},"duration_minutes":{"format":"int32","nullable":true,"type":"integer"},"duration_seconds":{"format":"int32","nullable":true,"type":"integer"},"enabled":{"type":"boolean"},"end_date":{"format":"date","nullable":true,"type":"string"},"family":{"nullable":true,"type":"string"},"field":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"idx":{"format":"int32","nullable":true,"type":"integer"},"label":{"nullable":true,"type":"string"},"last_fired_on":{"format":"date","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"start_date":{"format":"date","nullable":true,"type":"string"},"stop_mode":{"nullable":true,"type":"string"},"target_liters":{"format":"int32","nullable":true,"type":"integer"},"time_of_day":{"format":"time","type":"string"},"value":{"format":"int32","type":"integer"},"weekdays":{"format":"int32","type":"integer"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.DeviceSetpointsDto":{"additionalProperties":false,"properties":{"alarm_temp":{"format":"int32","nullable":true,"type":"integer"},"auto_fan":{"format":"int32","nullable":true,"type":"integer"},"auto_shade":{"format":"int32","nullable":true,"type":"integer"},"auto_winch1":{"format":"int32","nullable":true,"type":"integer"},"auto_winch2":{"format":"int32","nullable":true,"type":"integer"},"device_id":{"format":"uuid","type":"string"},"fert1_rate":{"format":"int32","nullable":true,"type":"integer"},"fert2_rate":{"format":"int32","nullable":true,"type":"integer"},"flow_pulse_ml":{"format":"int32","nullable":true,"type":"integer"},"mcv1":{"format":"int32","nullable":true,"type":"integer"},"mcv2":{"format":"int32","nullable":true,"type":"integer"},"mcv3":{"format":"int32","nullable":true,"type":"integer"},"mcv4":{"format":"int32","nullable":true,"type":"integer"},"mcv5":{"format":"int32","nullable":true,"type":"integer"},"mcv6":{"format":"int32","nullable":true,"type":"integer"},"sched_s_eh":{"format":"int32","nullable":true,"type":"integer"},"sched_s_em":{"format":"int32","nullable":true,"type":"integer"},"sched_s_sh":{"format":"int32","nullable":true,"type":"integer"},"sched_s_sm":{"format":"int32","nullable":true,"type":"integer"},"sched_w_eh":{"format":"int32","nullable":true,"type":"integer"},"sched_w_em":{"format":"int32","nullable":true,"type":"integer"},"sched_w_sh":{"format":"int32","nullable":true,"type":"integer"},"sched_w_sm":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_hum_off":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_hum_on":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_temp_off":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_temp_on":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_sh_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_sh_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_w_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_w_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_sh_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_sh_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_w_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_w_open":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.DongBoHeSoDto":{"additionalProperties":false,"properties":{"da_gui":{"format":"int32","nullable":true,"type":"integer"},"echo_luc":{"format":"date-time","nullable":true,"type":"string"},"gui_luc":{"format":"date-time","nullable":true,"type":"string"},"trang_thai":{"nullable":true,"type":"string"}},"type":"object"},"Iot.EmergencyChannelResultDto":{"additionalProperties":false,"properties":{"command_id":{"format":"uuid","nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"error":{"nullable":true,"type":"string"},"error_code":{"nullable":true,"type":"string"},"family":{"nullable":true,"type":"string"},"idx":{"format":"int32","type":"integer"},"label":{"nullable":true,"type":"string"},"ok":{"type":"boolean"}},"type":"object"},"Iot.EmergencyStopDto":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"already_active":{"type":"boolean"},"device_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"failed_count":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"parcel_id":{"format":"uuid","nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"release_note":{"nullable":true,"type":"string"},"released_at":{"format":"date-time","nullable":true,"type":"string"},"released_by":{"format":"uuid","nullable":true,"type":"string"},"repeat_count":{"format":"int32","type":"integer"},"results":{"items":{"$ref":"#/components/schemas/Iot.EmergencyChannelResultDto"},"nullable":true,"type":"array"},"scope":{"nullable":true,"type":"string"},"stopped_schedules":{"format":"int32","type":"integer"},"triggered_at":{"format":"date-time","type":"string"},"triggered_by":{"format":"uuid","type":"string"}},"type":"object"},"Iot.EmergencyStopReleaseRequest":{"additionalProperties":false,"properties":{"id":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Iot.EmergencyStopRequest":{"additionalProperties":false,"properties":{"parcel_id":{"format":"uuid","nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"}},"type":"object"},"Iot.FertMeterPulseDto":{"additionalProperties":false,"properties":{"chu_ky_ly_do":{"nullable":true,"type":"string"},"chu_ky_server_tinh":{"$ref":"#/components/schemas/Iot.LitPhanChuKyDto"},"cu_truoc_lit":{"format":"double","nullable":true,"type":"number"},"dong_bo":{"$ref":"#/components/schemas/Iot.DongBoHeSoDto"},"idx":{"format":"int32","type":"integer"},"meter_id":{"format":"int32","nullable":true,"type":"integer"},"meter_in":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp_operator":{"format":"int32","nullable":true,"type":"integer"},"meter_ulp_operator_at":{"format":"date-time","nullable":true,"type":"string"},"pulse":{"format":"int64","nullable":true,"type":"integer"},"server_tinh":{"$ref":"#/components/schemas/Iot.TheTichServerTinhDto"}},"type":"object"},"Iot.FertRateConfigRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"rate":{"format":"double","type":"number"}},"type":"object"},"Iot.FertTargetConfigRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"ml":{"format":"int32","type":"integer"}},"type":"object"},"Iot.IotSearchResult":{"additionalProperties":false,"properties":{"devices":{"items":{"$ref":"#/components/schemas/Iot.SpotlightHit"},"nullable":true,"type":"array"}},"type":"object"},"Iot.IrrOutputConfigRequest":{"additionalProperties":false,"properties":{"fert_idx":{"format":"int32","nullable":true,"type":"integer"},"fert_mcv_id":{"format":"int32","nullable":true,"type":"integer"},"fert_out":{"format":"int32","nullable":true,"type":"integer"},"pump":{"format":"int32","nullable":true,"type":"integer"},"pump_idx":{"format":"int32","nullable":true,"type":"integer"},"pump_out":{"format":"int32","nullable":true,"type":"integer"},"pump_role":{"nullable":true,"type":"string"},"zone_idx":{"format":"int32","nullable":true,"type":"integer"},"zone_out":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.IrrOutputLabelRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"kind":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"}},"type":"object"},"Iot.IrrOutputParcelRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"kind":{"nullable":true,"type":"string"},"parcel_id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Iot.IrrigationLogEntryDto":{"additionalProperties":false,"properties":{"cycle_at":{"format":"date-time","type":"string"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"duration_sec":{"format":"int32","type":"integer"},"fert_mask":{"format":"int32","type":"integer"},"fert_ml":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"fert_sec":{"format":"int32","type":"integer"},"trigger":{"format":"int32","type":"integer"},"trigger_source":{"nullable":true,"type":"string"},"volume_l":{"format":"double","nullable":true,"type":"number"},"zone_id":{"format":"uuid","type":"string"},"zone_mask":{"format":"int32","type":"integer"}},"type":"object"},"Iot.IrrigationLogEntryDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.IrrigationLogEntryDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.IrrigationSummaryDto":{"additionalProperties":false,"properties":{"command_count":{"format":"int32","type":"integer"},"from":{"format":"date-time","type":"string"},"success_command_count":{"format":"int32","type":"integer"},"success_rate":{"format":"double","type":"number"},"to":{"format":"date-time","type":"string"},"total_volume_l":{"format":"double","type":"number"}},"type":"object"},"Iot.LitPhanChuKyDto":{"additionalProperties":false,"properties":{"lit":{"format":"double","nullable":true,"type":"number"},"moc_tai":{"format":"date-time","nullable":true,"type":"string"},"xung_tu_dau_cu":{"format":"int64","nullable":true,"type":"integer"}},"type":"object"},"Iot.McvAngleConfigRequest":{"additionalProperties":false,"properties":{"angle":{"format":"int32","type":"integer"},"id":{"format":"int32","type":"integer"}},"type":"object"},"Iot.McvCfgAck":{"additionalProperties":false,"properties":{"applied":{"$ref":"#/components/schemas/Iot.McvCfgBaoKhai"},"applied_at":{"nullable":true,"type":"string"},"detail":{"nullable":true,"type":"string"},"err":{"nullable":true,"type":"string"},"ok":{"type":"boolean"},"seq":{"format":"int64","type":"integer"},"ts":{"format":"int64","nullable":true,"type":"integer"}},"type":"object"},"Iot.McvCfgBaoKhai":{"additionalProperties":false,"properties":{"count":{"format":"int32","nullable":true,"type":"integer"},"count_max":{"format":"int32","nullable":true,"type":"integer"},"ec_cap":{"format":"double","nullable":true,"type":"number"},"ec_on":{"nullable":true,"type":"boolean"},"ec_target":{"format":"double","nullable":true,"type":"number"},"enabled":{"nullable":true,"type":"boolean"},"fert":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"k_ul":{"items":{"format":"int64","type":"integer"},"nullable":true,"type":"array"},"liters":{"format":"double","nullable":true,"type":"number"},"pump_fb":{"format":"int32","nullable":true,"type":"integer"},"ratio":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"types":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"v":{"format":"int32","nullable":true,"type":"integer"},"wait_min":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.McvCfgConfigRequest":{"additionalProperties":false,"properties":{"count":{"format":"int32","nullable":true,"type":"integer"},"ec_cap":{"format":"double","nullable":true,"type":"number"},"ec_on":{"nullable":true,"type":"boolean"},"ec_target":{"format":"double","nullable":true,"type":"number"},"enabled":{"nullable":true,"type":"boolean"},"fert":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"k_ul":{"items":{"format":"int64","type":"integer"},"nullable":true,"type":"array"},"liters":{"format":"double","nullable":true,"type":"number"},"pump_fb":{"format":"int32","nullable":true,"type":"integer"},"ratio":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"types":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"v":{"format":"int32","nullable":true,"type":"integer"},"wait_min":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.McvCfgStateDto":{"additionalProperties":false,"properties":{"ack":{"$ref":"#/components/schemas/Iot.McvCfgAck"},"desired":{"$ref":"#/components/schemas/Iot.McvCfgBaoKhai"},"echo_at":{"format":"date-time","nullable":true,"type":"string"},"pushed_at":{"format":"date-time","nullable":true,"type":"string"},"reported":{"$ref":"#/components/schemas/Iot.McvCfgBaoKhai"},"seq":{"format":"int64","nullable":true,"type":"integer"},"state":{"nullable":true,"type":"string"}},"type":"object"},"Iot.MeterCoefficientRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"kind":{"nullable":true,"type":"string"},"ulp_moi_xung":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.MqttSecretDto":{"additionalProperties":false,"properties":{"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"mqtt_secret":{"nullable":true,"type":"string"}},"type":"object"},"Iot.OutputByRoleRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","nullable":true,"type":"integer"},"on":{"nullable":true,"type":"boolean"},"role":{"nullable":true,"type":"string"},"value":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"nullable":true,"type":"string"},"instance":{"nullable":true,"type":"string"},"status":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Iot.PushMeterCoefficientRequest":{"additionalProperties":false,"properties":{"idx":{"format":"int32","type":"integer"},"kind":{"nullable":true,"type":"string"}},"type":"object"},"Iot.RegisterDeviceRequest":{"additionalProperties":false,"properties":{"customer_code":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"device_code":{"nullable":true,"type":"string"},"device_type":{"nullable":true,"type":"string"},"location_lat":{"format":"double","nullable":true,"type":"number"},"location_lng":{"format":"double","nullable":true,"type":"number"},"mac_address":{"nullable":true,"type":"string"},"mcv_valve_variant":{"nullable":true,"type":"string"},"metadata_json":{"nullable":true,"type":"string"},"mqtt_topic_prefix":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parcel_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"shared_in_zone":{"type":"boolean"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.ResolveAlertsBulkRequest":{"additionalProperties":false,"properties":{"device_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"note":{"nullable":true,"type":"string"},"sensor_type":{"nullable":true,"type":"string"},"triggered_before":{"format":"date-time","type":"string"}},"type":"object"},"Iot.RunOnceRequest":{"additionalProperties":false,"properties":{"minutes":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"via":{"nullable":true,"type":"string"},"zone_idx":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"}},"type":"object"},"Iot.SaveDeviceDisplayPrefsRequest":{"additionalProperties":false,"properties":{"control_sensors":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Iot.SaveDeviceSetpointsRequest":{"additionalProperties":false,"properties":{"alarm_temp":{"format":"int32","nullable":true,"type":"integer"},"auto_fan":{"format":"int32","nullable":true,"type":"integer"},"auto_shade":{"format":"int32","nullable":true,"type":"integer"},"auto_winch1":{"format":"int32","nullable":true,"type":"integer"},"auto_winch2":{"format":"int32","nullable":true,"type":"integer"},"fert1_rate":{"format":"int32","nullable":true,"type":"integer"},"fert2_rate":{"format":"int32","nullable":true,"type":"integer"},"flow_pulse_ml":{"format":"int32","nullable":true,"type":"integer"},"mcv1":{"format":"int32","nullable":true,"type":"integer"},"mcv2":{"format":"int32","nullable":true,"type":"integer"},"mcv3":{"format":"int32","nullable":true,"type":"integer"},"mcv4":{"format":"int32","nullable":true,"type":"integer"},"mcv5":{"format":"int32","nullable":true,"type":"integer"},"mcv6":{"format":"int32","nullable":true,"type":"integer"},"sched_s_eh":{"format":"int32","nullable":true,"type":"integer"},"sched_s_em":{"format":"int32","nullable":true,"type":"integer"},"sched_s_sh":{"format":"int32","nullable":true,"type":"integer"},"sched_s_sm":{"format":"int32","nullable":true,"type":"integer"},"sched_w_eh":{"format":"int32","nullable":true,"type":"integer"},"sched_w_em":{"format":"int32","nullable":true,"type":"integer"},"sched_w_sh":{"format":"int32","nullable":true,"type":"integer"},"sched_w_sm":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_hum_off":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_hum_on":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_temp_off":{"format":"int32","nullable":true,"type":"integer"},"thresh_fan_temp_on":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_sh_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_sh_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_w_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_lux_w_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_sh_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_sh_open":{"format":"int32","nullable":true,"type":"integer"},"thresh_w_close":{"format":"int32","nullable":true,"type":"integer"},"thresh_w_open":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.SaveScheduleBatchRequest":{"additionalProperties":false,"properties":{"delete_ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"items":{"items":{"$ref":"#/components/schemas/Iot.ScheduleBatchItemRequest"},"nullable":true,"type":"array"}},"type":"object"},"Iot.ScheduleBatchItemRequest":{"additionalProperties":false,"properties":{"duration_minutes":{"format":"int32","nullable":true,"type":"integer"},"duration_seconds":{"format":"int32","nullable":true,"type":"integer"},"enabled":{"type":"boolean"},"end_date":{"format":"date","nullable":true,"type":"string"},"family":{"nullable":true,"type":"string"},"field":{"nullable":true,"type":"string"},"id":{"format":"uuid","nullable":true,"type":"string"},"idx":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"start_date":{"format":"date","nullable":true,"type":"string"},"stop_mode":{"nullable":true,"type":"string"},"target_liters":{"format":"int32","nullable":true,"type":"integer"},"time_of_day":{"format":"time","type":"string"},"value":{"format":"int32","type":"integer"},"weekdays":{"format":"int32","type":"integer"}},"type":"object"},"Iot.SendDeviceCommandRequest":{"additionalProperties":false,"properties":{"command_type":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"}},"type":"object"},"Iot.SensorReadingDto":{"additionalProperties":false,"properties":{"activity_pct":{"format":"double","nullable":true,"type":"number"},"air_humidity_pct":{"format":"double","nullable":true,"type":"number"},"air_humidity_pct1":{"format":"double","nullable":true,"type":"number"},"air_humidity_pct2":{"format":"double","nullable":true,"type":"number"},"air_humidity_pct3":{"format":"double","nullable":true,"type":"number"},"air_temp_c":{"format":"double","nullable":true,"type":"number"},"air_temp_c1":{"format":"double","nullable":true,"type":"number"},"air_temp_c2":{"format":"double","nullable":true,"type":"number"},"air_temp_c3":{"format":"double","nullable":true,"type":"number"},"co2_ppm":{"format":"double","nullable":true,"type":"number"},"device_code":{"nullable":true,"type":"string"},"device_id":{"format":"uuid","type":"string"},"do_mg_l":{"format":"double","nullable":true,"type":"number"},"ec_us_cm":{"format":"double","nullable":true,"type":"number"},"feed_level_pct1":{"format":"double","nullable":true,"type":"number"},"feed_level_pct2":{"format":"double","nullable":true,"type":"number"},"feed_weight_kg1":{"format":"double","nullable":true,"type":"number"},"feed_weight_kg2":{"format":"double","nullable":true,"type":"number"},"fert_ec_us_cm":{"format":"double","nullable":true,"type":"number"},"fert_ph":{"format":"double","nullable":true,"type":"number"},"fw_ver":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"light_lux":{"format":"double","nullable":true,"type":"number"},"nh3_ppm":{"format":"double","nullable":true,"type":"number"},"orp_mv":{"format":"double","nullable":true,"type":"number"},"ph":{"format":"double","nullable":true,"type":"number"},"rssi":{"format":"int32","nullable":true,"type":"integer"},"salinity_ppt":{"format":"double","nullable":true,"type":"number"},"soil_ec_us_cm":{"format":"double","nullable":true,"type":"number"},"soil_moisture_pct1":{"format":"double","nullable":true,"type":"number"},"soil_moisture_pct2":{"format":"double","nullable":true,"type":"number"},"soil_moisture_pct3":{"format":"double","nullable":true,"type":"number"},"soil_moisture_pct4":{"format":"double","nullable":true,"type":"number"},"soil_moisture_pct5":{"format":"double","nullable":true,"type":"number"},"soil_temp_c":{"format":"double","nullable":true,"type":"number"},"ts":{"format":"date-time","type":"string"},"turbidity_ntu":{"format":"double","nullable":true,"type":"number"},"vertical":{"nullable":true,"type":"string"},"water_flow_lpm":{"format":"double","nullable":true,"type":"number"},"water_level_cm":{"format":"double","nullable":true,"type":"number"},"water_temp_c1":{"format":"double","nullable":true,"type":"number"},"water_temp_c2":{"format":"double","nullable":true,"type":"number"},"water_temp_c3":{"format":"double","nullable":true,"type":"number"},"workspace_id":{"format":"uuid","type":"string"},"zone_id":{"format":"uuid","type":"string"}},"type":"object"},"Iot.SensorReadingDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.SensorReadingDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"page_size":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.SetAlertRuleActiveRequest":{"additionalProperties":false,"properties":{"is_active":{"type":"boolean"}},"type":"object"},"Iot.SetFertMeterInputRequest":{"additionalProperties":false,"properties":{"in":{"format":"int32","type":"integer"}},"type":"object"},"Iot.SetupProgressResult":{"additionalProperties":false,"properties":{"completed":{"format":"int32","type":"integer"},"steps":{"items":{"$ref":"#/components/schemas/Iot.SetupStepDto"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Iot.SetupStepDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","nullable":true,"type":"integer"},"detail":{"nullable":true,"type":"string"},"done":{"type":"boolean"},"key":{"nullable":true,"type":"string"},"warning":{"nullable":true,"type":"string"}},"type":"object"},"Iot.ShiftSlotRequest":{"additionalProperties":false,"properties":{"date":{"format":"date","type":"string"},"new_time":{"format":"time","type":"string"},"via":{"nullable":true,"type":"string"}},"type":"object"},"Iot.SkipSlotRequest":{"additionalProperties":false,"properties":{"date":{"format":"date","type":"string"},"via":{"nullable":true,"type":"string"}},"type":"object"},"Iot.SpotlightHit":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"edit_path":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Iot.TheTichServerTinhDto":{"additionalProperties":false,"properties":{"lit":{"format":"double","nullable":true,"type":"number"},"ly_do":{"nullable":true,"type":"string"},"nguon":{"nullable":true,"type":"string"},"ulp_da_dung":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Iot.UpcomingSlotDto":{"additionalProperties":false,"properties":{"anchor_schedule_id":{"format":"uuid","type":"string"},"date":{"format":"date","type":"string"},"device_id":{"format":"uuid","type":"string"},"device_name":{"nullable":true,"type":"string"},"duration_seconds":{"format":"int32","type":"integer"},"exception_id":{"format":"uuid","nullable":true,"type":"string"},"fired":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"run_once":{"type":"boolean"},"skipped":{"type":"boolean"},"time":{"format":"time","type":"string"},"valves":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Iot.UpcomingSlotDtoIReadOnlyListItemsResponse":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Iot.UpcomingSlotDto"},"nullable":true,"type":"array"}},"type":"object"},"Iot.UpdateAlertRuleRequest":{"additionalProperties":false,"properties":{"consecutive_breach_count":{"format":"int32","type":"integer"},"cooldown_hours":{"format":"int32","type":"integer"},"threshold_max":{"format":"double","nullable":true,"type":"number"},"threshold_min":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Iot.UpdateDeviceRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dong_ho_nuoc":{"nullable":true,"type":"string"},"firmware_version":{"nullable":true,"type":"string"},"mcv_valve_variant":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"niche":{"nullable":true,"type":"string"},"scene_kind":{"nullable":true,"type":"string"}},"type":"object"},"Iot.UpdateScheduleRequest":{"additionalProperties":false,"properties":{"duration_minutes":{"format":"int32","nullable":true,"type":"integer"},"duration_seconds":{"format":"int32","nullable":true,"type":"integer"},"enabled":{"type":"boolean"},"end_date":{"format":"date","nullable":true,"type":"string"},"family":{"nullable":true,"type":"string"},"field":{"nullable":true,"type":"string"},"idx":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"start_date":{"format":"date","nullable":true,"type":"string"},"stop_mode":{"nullable":true,"type":"string"},"target_liters":{"format":"int32","nullable":true,"type":"integer"},"time_of_day":{"format":"time","type":"string"},"value":{"format":"int32","type":"integer"},"weekdays":{"format":"int32","type":"integer"}},"type":"object"},"Office.AcceptAnswerRequest":{"additionalProperties":false,"properties":{"answerId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ActionCardDto":{"additionalProperties":false,"properties":{"availableActions":{"items":{"type":"string"},"nullable":true,"type":"array"},"cardType":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"messageId":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ActionItemInput":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ActivityLogDto":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"eventStatus":{"nullable":true,"type":"string"},"eventType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"newValues":{"nullable":true,"type":"string"},"oldValues":{"nullable":true,"type":"string"},"resourceId":{"format":"uuid","nullable":true,"type":"string"},"resourceType":{"nullable":true,"type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ActivityLogEntryDto":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"eventStatus":{"nullable":true,"type":"string"},"eventType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"resourceId":{"format":"uuid","nullable":true,"type":"string"},"resourceType":{"nullable":true,"type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ActivityLogPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ActivityLogEntryDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"resourceTypes":{"items":{"type":"string"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AddChannelMembersResultDto":{"additionalProperties":false,"properties":{"added":{"format":"int32","type":"integer"},"pending":{"format":"int32","type":"integer"},"requestIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.AddChecklistItemRequest":{"additionalProperties":false,"properties":{"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.AddGrantRequest":{"additionalProperties":false,"properties":{"access":{"enum":["Read","Edit"],"type":"string"},"columnFields":{"nullable":true,"type":"string"},"definitionId":{"format":"uuid","nullable":true,"type":"string"},"rowRule":{"nullable":true,"type":"string"},"scope":{"enum":["Base","Approval"],"type":"string"},"tableId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AddKeyResultNoteRequest":{"additionalProperties":false,"properties":{"confidence":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.AddKeyResultRequest":{"additionalProperties":false,"properties":{"currentValue":{"format":"double","type":"number"},"name":{"nullable":true,"type":"string"},"source":{"$ref":"#/components/schemas/Office.KeyResultSourceInput"},"startValue":{"format":"double","type":"number"},"targetValue":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.AddMemberRequest":{"additionalProperties":false,"properties":{"memberId":{"format":"uuid","type":"string"},"memberType":{"enum":["User","Group","Department"],"type":"string"}},"type":"object"},"Office.AddReviewParticipantRequest":{"additionalProperties":false,"properties":{"employeeId":{"format":"uuid","type":"string"},"objectiveId":{"format":"uuid","nullable":true,"type":"string"},"reviewerId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AddSharedWorkspaceRequest":{"additionalProperties":false,"properties":{"workspaceId":{"format":"uuid","type":"string"}},"type":"object"},"Office.AddTaskDependencyRequest":{"additionalProperties":false,"properties":{"dependsOnTaskId":{"format":"uuid","type":"string"}},"type":"object"},"Office.AddVersionRequest":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"contentType":{"nullable":true,"type":"string"},"objectKey":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"thumbnailPath":{"nullable":true,"type":"string"}},"type":"object"},"Office.AggregateRecordsRequest":{"additionalProperties":false,"properties":{"fieldIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"filter":{"$ref":"#/components/schemas/Office.RecordFilter"}},"type":"object"},"Office.AiCellResult":{"additionalProperties":false,"properties":{"changed":{"type":"boolean"},"fieldId":{"nullable":true,"type":"string"},"fieldName":{"nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"skipped":{"type":"boolean"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Office.AiColumnCatalogDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"modes":{"items":{"$ref":"#/components/schemas/Office.AiColumnModeDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.AiColumnModeDto":{"additionalProperties":false,"properties":{"labelKey":{"nullable":true,"type":"string"},"mode":{"nullable":true,"type":"string"},"needsOptions":{"type":"boolean"},"needsRange":{"type":"boolean"}},"type":"object"},"Office.AiReviewItemDto":{"additionalProperties":false,"properties":{"cauHoi":{"nullable":true,"type":"string"},"cauTraLoi":{"nullable":true,"type":"string"},"channelId":{"format":"uuid","type":"string"},"doTin":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"messageId":{"format":"uuid","type":"string"},"tenKenh":{"nullable":true,"type":"string"},"traLuc":{"format":"date-time","type":"string"}},"type":"object"},"Office.AnnouncementAttachmentDto":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"hasThumbnail":{"type":"boolean"},"height":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"isImage":{"type":"boolean"},"sizeBytes":{"format":"int64","type":"integer"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.AnnouncementCommentPreviewDto":{"additionalProperties":false,"properties":{"authorId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"}},"type":"object"},"Office.AnnouncementDto":{"additionalProperties":false,"properties":{"acknowledgedCount":{"format":"int32","type":"integer"},"attachments":{"items":{"$ref":"#/components/schemas/Office.AnnouncementAttachmentDto"},"nullable":true,"type":"array"},"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"authorId":{"format":"uuid","type":"string"},"autoSource":{"nullable":true,"type":"string"},"category":{"nullable":true,"type":"string"},"commentCount":{"format":"int32","type":"integer"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"isAcknowledged":{"type":"boolean"},"isLiked":{"type":"boolean"},"isPinned":{"type":"boolean"},"isRead":{"type":"boolean"},"isSaved":{"type":"boolean"},"latestComments":{"items":{"$ref":"#/components/schemas/Office.AnnouncementCommentPreviewDto"},"nullable":true,"type":"array"},"likeCount":{"format":"int32","type":"integer"},"myReaction":{"nullable":true,"type":"string"},"publishedAt":{"format":"date-time","nullable":true,"type":"string"},"reactionCounts":{"additionalProperties":{"format":"int32","type":"integer"},"nullable":true,"type":"object"},"readCount":{"format":"int32","type":"integer"},"requiresAcknowledgement":{"type":"boolean"},"shareCount":{"format":"int32","type":"integer"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.AnnouncementDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.AnnouncementDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.AnnouncementFeedGroupDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"unreadCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.AnnouncementFeedSourceDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"contentTemplate":{"nullable":true,"type":"string"},"isEnabled":{"type":"boolean"},"sourceCode":{"nullable":true,"type":"string"},"titleTemplate":{"nullable":true,"type":"string"}},"type":"object"},"Office.AnnouncementFeedSummaryDto":{"additionalProperties":false,"properties":{"drafts":{"format":"int32","type":"integer"},"groups":{"items":{"$ref":"#/components/schemas/Office.AnnouncementFeedGroupDto"},"nullable":true,"type":"array"},"pendingAcknowledgements":{"format":"int32","type":"integer"},"unreadAnnouncements":{"format":"int32","type":"integer"}},"type":"object"},"Office.AnnouncementReaderDto":{"additionalProperties":false,"properties":{"acknowledgedAt":{"format":"date-time","nullable":true,"type":"string"},"liked":{"type":"boolean"},"readAt":{"format":"date-time","nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.AnswerDto":{"additionalProperties":false,"properties":{"answererId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"isAccepted":{"type":"boolean"},"likeCount":{"format":"int32","type":"integer"},"likedByMe":{"type":"boolean"},"questionId":{"format":"uuid","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.AppDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.AppDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.AppDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.AppliedDocumentTemplateDto":{"additionalProperties":false,"properties":{"pageId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApplyDocumentTemplateRequest":{"additionalProperties":false,"properties":{"parentId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalStepConditionInput":{"additionalProperties":false,"properties":{"field":{"nullable":true,"type":"string"},"operator":{"nullable":true,"type":"string"},"value":{"nullable":true}},"type":"object"},"Office.ApprovalStepInput":{"additionalProperties":false,"properties":{"approverMode":{"nullable":true,"type":"string"},"condition":{"$ref":"#/components/schemas/Office.ApprovalStepConditionInput"},"dueHours":{"format":"int32","nullable":true,"type":"integer"},"escalateOnOverdue":{"type":"boolean"},"joinMode":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"rule":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalTemplatesControllerApplyTemplateRequest":{"additionalProperties":false,"properties":{"definitionCode":{"nullable":true,"type":"string"},"stepApprovers":{"additionalProperties":{"items":{"format":"uuid","type":"string"},"type":"array"},"nullable":true,"type":"object"}},"type":"object"},"Office.ApprovalsControllerAddNodeRequest":{"additionalProperties":false,"properties":{"activationCondition":{"nullable":true,"type":"string"},"allowAddSign":{"type":"boolean"},"allowTransfer":{"type":"boolean"},"approverConfig":{"nullable":true,"type":"string"},"approverMode":{"nullable":true,"type":"string"},"dueHours":{"format":"int32","nullable":true,"type":"integer"},"escalateOnOverdue":{"type":"boolean"},"joinMode":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"nodeType":{"nullable":true,"type":"string"},"onReject":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"},"returnToNodeId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalsControllerAddSignRequest":{"additionalProperties":false,"properties":{"approverIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"mode":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalsControllerBulkDecisionRequest":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"comment":{"nullable":true,"type":"string"},"taskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ApprovalsControllerCommentRequest":{"additionalProperties":false,"properties":{"comment":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalsControllerCreateDefinitionRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"executionMode":{"nullable":true,"type":"string"},"formSchema":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"steps":{"items":{"$ref":"#/components/schemas/Office.ApprovalStepInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.ApprovalsControllerCreateDelegationRequest":{"additionalProperties":false,"properties":{"delegateId":{"format":"uuid","type":"string"},"fromAt":{"format":"date-time","type":"string"},"reason":{"nullable":true,"type":"string"},"toAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ApprovalsControllerCreateInstanceRequest":{"additionalProperties":false,"properties":{"definitionCode":{"nullable":true,"type":"string"},"formValue":{"nullable":true,"type":"string"},"freeApprovers":{"additionalProperties":{"items":{"format":"uuid","type":"string"},"type":"array"},"nullable":true,"type":"object"}},"type":"object"},"Office.ApprovalsControllerSetStatusRequest":{"additionalProperties":false,"properties":{"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ApprovalsControllerTransferRequest":{"additionalProperties":false,"properties":{"comment":{"nullable":true,"type":"string"},"receiverId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ArchiveTaskListRequest":{"additionalProperties":false,"properties":{"archived":{"type":"boolean"}},"type":"object"},"Office.AssetAuditDto":{"additionalProperties":false,"properties":{"completedAt":{"format":"date-time","nullable":true,"type":"string"},"confirmedCount":{"format":"int32","type":"integer"},"createdAt":{"format":"date-time","type":"string"},"dueDate":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"itemCount":{"format":"int32","type":"integer"},"mismatchCount":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"openedAt":{"format":"date-time","nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.AssetAuditItemDto":{"additionalProperties":false,"properties":{"actualCondition":{"nullable":true,"type":"string"},"assetCode":{"nullable":true,"type":"string"},"assetId":{"format":"uuid","type":"string"},"assetName":{"nullable":true,"type":"string"},"auditId":{"format":"uuid","type":"string"},"confirmedAt":{"format":"date-time","nullable":true,"type":"string"},"confirmedBy":{"format":"uuid","nullable":true,"type":"string"},"discrepancyApprovalInstanceId":{"format":"uuid","nullable":true,"type":"string"},"expectedHolderId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isMatched":{"nullable":true,"type":"boolean"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.AssetDto":{"additionalProperties":false,"properties":{"accumulatedDepreciation":{"format":"double","nullable":true,"type":"number"},"asOf":{"format":"date","type":"string"},"code":{"nullable":true,"type":"string"},"condition":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"depreciatedMonths":{"format":"int32","type":"integer"},"depreciationMonths":{"format":"int32","type":"integer"},"depreciationPercent":{"format":"int32","type":"integer"},"depreciationStartDate":{"format":"date","type":"string"},"holderId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isWarrantyExpiringSoon":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"originalCost":{"format":"double","nullable":true,"type":"number"},"purchasedDate":{"format":"date","type":"string"},"residualValue":{"format":"double","nullable":true,"type":"number"},"updatedAt":{"format":"date-time","type":"string"},"warrantyEnd":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Office.AssetHandoverDto":{"additionalProperties":false,"properties":{"approvalInstanceId":{"format":"uuid","nullable":true,"type":"string"},"assetCode":{"nullable":true,"type":"string"},"assetId":{"format":"uuid","type":"string"},"assetName":{"nullable":true,"type":"string"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"condition":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"fromUserId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"toUserId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AssetListDto":{"additionalProperties":false,"properties":{"assets":{"items":{"$ref":"#/components/schemas/Office.AssetDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"summary":{"$ref":"#/components/schemas/Office.AssetValueSummaryDto"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AssetValueSummaryDto":{"additionalProperties":false,"properties":{"asOf":{"format":"date","type":"string"},"assetCount":{"format":"int32","type":"integer"},"inUseCount":{"format":"int32","type":"integer"},"totalAccumulatedDepreciation":{"format":"double","nullable":true,"type":"number"},"totalOriginalCost":{"format":"double","nullable":true,"type":"number"},"totalResidualValue":{"format":"double","nullable":true,"type":"number"},"warrantyExpiringSoonCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.AssignByGroupRequest":{"additionalProperties":false,"properties":{"assignments":{"items":{"$ref":"#/components/schemas/Office.GroupAssignment"},"nullable":true,"type":"array"}},"type":"object"},"Office.AssignSupportRequest":{"additionalProperties":false,"properties":{"nguoiNhan":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AttachmentDownloadLinksRequest":{"additionalProperties":false,"properties":{"ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.AttachmentDto":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"hasThumbnail":{"type":"boolean"},"height":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"storagePath":{"nullable":true,"type":"string"},"uploadedBy":{"format":"uuid","type":"string"},"version":{"format":"int32","type":"integer"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.AttachmentLinkDto":{"additionalProperties":false,"properties":{"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.AttachmentTranscriptDto":{"additionalProperties":false,"properties":{"status":{"nullable":true,"type":"string"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.AttachmentUploadTicketDto":{"additionalProperties":false,"properties":{"file":{"$ref":"#/components/schemas/Office.UploadTicketDto"},"thumbnail":{"$ref":"#/components/schemas/Office.UploadTicketDto"}},"type":"object"},"Office.AutomationCatalogSnapshot":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/Office.CatalogEntry"},"nullable":true,"type":"array"},"steps":{"items":{"$ref":"#/components/schemas/Office.CatalogEntry"},"nullable":true,"type":"array"},"triggers":{"items":{"$ref":"#/components/schemas/Office.CatalogEntry"},"nullable":true,"type":"array"}},"type":"object"},"Office.AutomationDiagnosisCheckDto":{"additionalProperties":false,"properties":{"blocking":{"type":"boolean"},"code":{"nullable":true,"type":"string"},"detail":{"nullable":true,"type":"string"},"ok":{"type":"boolean"}},"type":"object"},"Office.AutomationDiagnosisDto":{"additionalProperties":false,"properties":{"canRun":{"type":"boolean"},"checks":{"items":{"$ref":"#/components/schemas/Office.AutomationDiagnosisCheckDto"},"nullable":true,"type":"array"},"lastFailure":{"$ref":"#/components/schemas/Office.AutomationRunLogDto"},"recentSkips":{"items":{"$ref":"#/components/schemas/Office.AutomationRunLogDto"},"nullable":true,"type":"array"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationDraftStep":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"conditionConfig":{"nullable":true,"type":"string"},"config":{"nullable":true,"type":"string"},"falseNextStepId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","nullable":true,"type":"string"},"nextStepId":{"format":"uuid","nullable":true,"type":"string"},"splitRatio":{"format":"int32","nullable":true,"type":"integer"},"stepType":{"nullable":true,"type":"string"},"trueNextStepId":{"format":"uuid","nullable":true,"type":"string"},"waitConfig":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationDto":{"additionalProperties":false,"properties":{"createdBy":{"format":"uuid","nullable":true,"type":"string"},"createdById":{"format":"uuid","nullable":true,"type":"string"},"createdByName":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"failed7d":{"format":"int32","type":"integer"},"graphVersion":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"lastRunAt":{"format":"date-time","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parentAutomationId":{"format":"uuid","nullable":true,"type":"string"},"parentStepId":{"format":"uuid","nullable":true,"type":"string"},"runs7d":{"format":"int32","type":"integer"},"source":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"stepActionTypes":{"items":{"type":"string"},"nullable":true,"type":"array"},"stepCount":{"format":"int32","type":"integer"},"steps":{"items":{"$ref":"#/components/schemas/Office.AutomationStepDto"},"nullable":true,"type":"array"},"triggerConfig":{"nullable":true,"type":"string"},"triggerType":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.AutomationDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.AutomationDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.AutomationMergeFieldGroupDto":{"additionalProperties":false,"properties":{"fields":{"items":{"$ref":"#/components/schemas/Office.MergeFieldDto"},"nullable":true,"type":"array"},"label":{"nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"},"stepId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AutomationMetricsDto":{"additionalProperties":false,"properties":{"activeRuns":{"format":"int32","type":"integer"},"days":{"format":"int32","type":"integer"},"dueRuns":{"format":"int32","type":"integer"},"failed":{"format":"int32","type":"integer"},"failureRate":{"format":"double","type":"number"},"oldestDueSeconds":{"format":"int64","nullable":true,"type":"integer"},"quota":{"$ref":"#/components/schemas/Office.AutomationQuotaDto"},"quotaBlocked":{"format":"int32","type":"integer"},"skipped":{"format":"int32","type":"integer"},"success":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationOverlapDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sharedActions":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.AutomationQuotaDto":{"additionalProperties":false,"properties":{"limit":{"format":"int32","type":"integer"},"month":{"nullable":true,"type":"string"},"percent":{"format":"double","type":"number"},"used":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationRunDto":{"additionalProperties":false,"properties":{"automationId":{"format":"uuid","type":"string"},"automationName":{"nullable":true,"type":"string"},"endedAt":{"format":"date-time","type":"string"},"enrollmentId":{"format":"uuid","type":"string"},"failed":{"format":"int32","type":"integer"},"result":{"nullable":true,"type":"string"},"skipped":{"format":"int32","type":"integer"},"startedAt":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"},"steps":{"format":"int32","type":"integer"},"subjectId":{"format":"uuid","nullable":true,"type":"string"},"subjectName":{"nullable":true,"type":"string"},"succeeded":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationRunDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.AutomationRunDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationRunLogDto":{"additionalProperties":false,"properties":{"automationId":{"format":"uuid","type":"string"},"detail":{"nullable":true,"type":"string"},"detailKey":{"nullable":true,"type":"string"},"enrollmentId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"result":{"nullable":true,"type":"string"},"runAt":{"format":"date-time","type":"string"},"stepId":{"format":"uuid","nullable":true,"type":"string"},"subjectId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.AutomationRunLogDtoPagedResult":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.AutomationRunLogDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationRunStatsDto":{"additionalProperties":false,"properties":{"failed":{"format":"int32","type":"integer"},"skipped":{"format":"int32","type":"integer"},"success":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationSimulatedStepDto":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"at":{"format":"date-time","type":"string"},"detail":{"nullable":true,"type":"string"},"order":{"format":"int32","type":"integer"},"outcome":{"nullable":true,"type":"string"},"stepId":{"format":"uuid","type":"string"},"stepType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationSimulationDto":{"additionalProperties":false,"properties":{"endReason":{"nullable":true,"type":"string"},"endedAt":{"format":"date-time","type":"string"},"startedAt":{"format":"date-time","type":"string"},"steps":{"items":{"$ref":"#/components/schemas/Office.AutomationSimulatedStepDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.AutomationStepDto":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"branchIndex":{"format":"int32","nullable":true,"type":"integer"},"branchLabel":{"nullable":true,"type":"string"},"conditionConfig":{"nullable":true,"type":"string"},"config":{"nullable":true,"type":"string"},"falseNextStepId":{"format":"uuid","nullable":true,"type":"string"},"groupId":{"format":"uuid","nullable":true,"type":"string"},"groupKind":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"loopAutomationId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"nextStepId":{"format":"uuid","nullable":true,"type":"string"},"order":{"format":"int32","type":"integer"},"splitRatio":{"format":"int32","nullable":true,"type":"integer"},"stepType":{"nullable":true,"type":"string"},"trueNextStepId":{"format":"uuid","nullable":true,"type":"string"},"waitConfig":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationSuggestionDto":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"eventType":{"nullable":true,"type":"string"},"evidenceCount":{"format":"int32","type":"integer"},"evidenceDays":{"format":"int32","type":"integer"},"existingAutomationId":{"format":"uuid","nullable":true,"type":"string"},"existingAutomationName":{"nullable":true,"type":"string"},"existingFailed":{"format":"int32","type":"integer"},"existingRuns":{"format":"int32","type":"integer"},"existingStatus":{"nullable":true,"type":"string"},"fieldId":{"nullable":true,"type":"string"},"fieldName":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"offsetDays":{"format":"int32","nullable":true,"type":"integer"},"service":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","nullable":true,"type":"string"},"tableName":{"nullable":true,"type":"string"},"triggerType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationSummaryDto":{"additionalProperties":false,"properties":{"active":{"format":"int32","type":"integer"},"archived":{"format":"int32","type":"integer"},"byTrigger":{"additionalProperties":{"format":"int32","type":"integer"},"nullable":true,"type":"object"},"failing":{"format":"int32","type":"integer"},"inactive":{"format":"int32","type":"integer"},"mine":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.AutomationSwitchDto":{"additionalProperties":false,"properties":{"groupId":{"format":"uuid","type":"string"},"stepIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.AutomationTemplateDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sourceAutomationId":{"format":"uuid","nullable":true,"type":"string"},"stepCount":{"format":"int32","type":"integer"},"steps":{"items":{"$ref":"#/components/schemas/Office.AutomationTemplateStepSummaryDto"},"nullable":true,"type":"array"},"triggerConfig":{"nullable":true,"type":"string"},"triggerType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationTemplateStepSummaryDto":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"stepType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationTemplatesControllerCreateFromTemplateRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationWebhookSampleDto":{"additionalProperties":false,"properties":{"keys":{"items":{"$ref":"#/components/schemas/Office.WebhookKeyNode"},"nullable":true,"type":"array"},"listenUntil":{"format":"date-time","nullable":true,"type":"string"},"listening":{"type":"boolean"},"sample":{"nullable":true},"sampleAt":{"format":"date-time","nullable":true,"type":"string"},"sampleSource":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationWebhookSettingsDto":{"additionalProperties":false,"properties":{"automationId":{"format":"uuid","type":"string"},"bearerEnabled":{"type":"boolean"},"bearerToken":{"nullable":true,"type":"string"},"hasSample":{"type":"boolean"},"hookToken":{"nullable":true,"type":"string"},"ipAllowlist":{"items":{"type":"string"},"nullable":true,"type":"array"},"listenUntil":{"format":"date-time","nullable":true,"type":"string"},"listening":{"type":"boolean"},"sampleAt":{"format":"date-time","nullable":true,"type":"string"},"sampleSource":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerAddStepRequest":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"afterStepId":{"format":"uuid","nullable":true,"type":"string"},"branchStepId":{"format":"uuid","nullable":true,"type":"string"},"conditionConfig":{"nullable":true,"type":"string"},"config":{"nullable":true,"type":"string"},"falseNextStepId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"nextStepId":{"format":"uuid","nullable":true,"type":"string"},"order":{"format":"int32","type":"integer"},"source":{"nullable":true,"type":"string"},"splitRatio":{"format":"int32","nullable":true,"type":"integer"},"stepType":{"nullable":true,"type":"string"},"trueBranch":{"nullable":true,"type":"boolean"},"trueNextStepId":{"format":"uuid","nullable":true,"type":"string"},"waitConfig":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerCreateAutomationRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"enabled":{"nullable":true,"type":"boolean"},"name":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"steps":{"items":{"$ref":"#/components/schemas/Office.AutomationDraftStep"},"nullable":true,"type":"array"},"triggerConfig":{"nullable":true,"type":"string"},"triggerType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerCreateSwitchRequest":{"additionalProperties":false,"properties":{"afterStepId":{"format":"uuid","nullable":true,"type":"string"},"branchStepId":{"format":"uuid","nullable":true,"type":"string"},"branches":{"items":{"$ref":"#/components/schemas/Office.AutomationsControllerSwitchBranchRequest"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"trueBranch":{"nullable":true,"type":"boolean"}},"type":"object"},"Office.AutomationsControllerPreviewAiColumnRequest":{"additionalProperties":false,"properties":{"fieldId":{"format":"uuid","type":"string"},"recordId":{"format":"uuid","type":"string"}},"type":"object"},"Office.AutomationsControllerRenameStepRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerReorderStepsRequest":{"additionalProperties":false,"properties":{"stepIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.AutomationsControllerSaveAsTemplateRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerSetStatusRequest":{"additionalProperties":false,"properties":{"source":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerSimulateAutomationRequest":{"additionalProperties":false,"properties":{"recordId":{"format":"uuid","nullable":true,"type":"string"},"triggerData":{"nullable":true}},"type":"object"},"Office.AutomationsControllerSwitchBranchRequest":{"additionalProperties":false,"properties":{"conditionConfig":{"nullable":true},"label":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerUpdateAutomationRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"triggerConfig":{"nullable":true},"triggerType":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerUpdateStepRequest":{"additionalProperties":false,"properties":{"actionType":{"nullable":true,"type":"string"},"conditionConfig":{"nullable":true,"type":"string"},"config":{"nullable":true,"type":"string"},"falseNextStepId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"splitRatio":{"format":"int32","nullable":true,"type":"integer"},"trueNextStepId":{"format":"uuid","nullable":true,"type":"string"},"waitConfig":{"nullable":true,"type":"string"}},"type":"object"},"Office.AutomationsControllerUpdateWebhookRequest":{"additionalProperties":false,"properties":{"bearerEnabled":{"nullable":true,"type":"boolean"},"ipAllowlist":{"items":{"type":"string"},"nullable":true,"type":"array"},"regenerateBearer":{"type":"boolean"}},"type":"object"},"Office.AutomationsControllerWebhookSampleRequest":{"additionalProperties":false,"properties":{"sample":{"nullable":true}},"type":"object"},"Office.AutosaveWikiPageRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"expectedContentRevision":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.BatchCreateRecordsRequest":{"additionalProperties":false,"properties":{"records":{"items":{},"nullable":true,"type":"array"}},"type":"object"},"Office.BatchDeleteRecordsRequest":{"additionalProperties":false,"properties":{"ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.BatchTaskLineDto":{"additionalProperties":false,"properties":{"errorCode":{"nullable":true,"type":"string"},"index":{"format":"int32","type":"integer"},"taskId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.BatchTaskResultDto":{"additionalProperties":false,"properties":{"created":{"format":"int32","type":"integer"},"failed":{"format":"int32","type":"integer"},"lines":{"items":{"$ref":"#/components/schemas/Office.BatchTaskLineDto"},"nullable":true,"type":"array"},"warnings":{"items":{"$ref":"#/components/schemas/Office.TaskWarningDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.BatchUpdateItemRequest":{"additionalProperties":false,"properties":{"data":{"nullable":true},"id":{"format":"uuid","type":"string"},"replace":{"type":"boolean"}},"type":"object"},"Office.BatchUpdateRecordsRequest":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.BatchUpdateItemRequest"},"nullable":true,"type":"array"}},"type":"object"},"Office.BulkApprovalItemDto":{"additionalProperties":false,"properties":{"errorKey":{"nullable":true,"type":"string"},"succeeded":{"type":"boolean"},"taskId":{"format":"uuid","type":"string"}},"type":"object"},"Office.BulkApprovalResultDto":{"additionalProperties":false,"properties":{"failed":{"format":"int32","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/Office.BulkApprovalItemDto"},"nullable":true,"type":"array"},"succeeded":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.BulkTaskRequest":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.BusySlotDto":{"additionalProperties":false,"properties":{"endAt":{"format":"date-time","type":"string"},"startAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.CalendarDto":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isMine":{"type":"boolean"},"isSubscribed":{"type":"boolean"},"isVisible":{"type":"boolean"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","nullable":true,"type":"string"},"ownerName":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}},"type":"object"},"Office.CalendarEntryDto":{"additionalProperties":false,"properties":{"allDay":{"type":"boolean"},"attendeeCount":{"format":"int32","type":"integer"},"calendarColor":{"nullable":true,"type":"string"},"calendarId":{"format":"uuid","type":"string"},"contentVisible":{"type":"boolean"},"endAt":{"format":"date-time","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventType":{"nullable":true,"type":"string"},"fromPersonalCalendar":{"type":"boolean"},"id":{"nullable":true,"type":"string"},"isRecurring":{"type":"boolean"},"meetingUrl":{"nullable":true,"type":"string"},"myResponse":{"nullable":true,"type":"string"},"occurrenceStart":{"format":"date-time","nullable":true,"type":"string"},"organizerId":{"format":"uuid","type":"string"},"roomNames":{"items":{"type":"string"},"nullable":true,"type":"array"},"startAt":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CalendarEventDto":{"additionalProperties":false,"properties":{"data":{"nullable":true,"type":"string"},"end":{"format":"date-time","nullable":true,"type":"string"},"recordId":{"format":"uuid","type":"string"},"start":{"format":"date-time","type":"string"}},"type":"object"},"Office.CalendarLinkStatusDto":{"additionalProperties":false,"properties":{"accountEmail":{"nullable":true,"type":"string"},"calendarId":{"nullable":true,"type":"string"},"connected":{"type":"boolean"},"lastErrorKey":{"nullable":true,"type":"string"},"lastSyncedAt":{"format":"date-time","nullable":true,"type":"string"},"provider":{"nullable":true,"type":"string"},"providerConfigured":{"type":"boolean"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.CalendarListResultDto":{"additionalProperties":false,"properties":{"entries":{"items":{"$ref":"#/components/schemas/Office.CalendarEntryDto"},"nullable":true,"type":"array"},"truncated":{"type":"boolean"}},"type":"object"},"Office.CalendarPreferenceDto":{"additionalProperties":false,"properties":{"dayEndHour":{"format":"int32","type":"integer"},"dayStartHour":{"format":"int32","type":"integer"},"defaultEventMinutes":{"format":"int32","type":"integer"},"defaultView":{"nullable":true,"type":"string"},"showDeclined":{"type":"boolean"},"showWeekends":{"type":"boolean"},"timeZone":{"nullable":true,"type":"string"},"weekStartDay":{"format":"int32","type":"integer"}},"type":"object"},"Office.CalendarSyncResultDto":{"additionalProperties":false,"properties":{"created":{"format":"int32","type":"integer"},"deleted":{"format":"int32","type":"integer"},"pulled":{"format":"int32","type":"integer"},"pushed":{"format":"int32","type":"integer"},"updated":{"format":"int32","type":"integer"}},"type":"object"},"Office.CalendarWriteRequest":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CallDto":{"additionalProperties":false,"properties":{"answeredAt":{"format":"date-time","nullable":true,"type":"string"},"calleeIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"callerId":{"format":"uuid","type":"string"},"channelId":{"format":"uuid","type":"string"},"endReason":{"nullable":true,"type":"string"},"endedAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"recordingStartedAt":{"format":"date-time","nullable":true,"type":"string"},"recordingStartedBy":{"format":"uuid","nullable":true,"type":"string"},"recordingState":{"nullable":true,"type":"string"},"startedAt":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.CallRecordingCapabilityDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"retentionDays":{"format":"int32","type":"integer"}},"type":"object"},"Office.CallRecordingDto":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","type":"string"},"endedAt":{"format":"date-time","nullable":true,"type":"string"},"retentionDays":{"format":"int32","type":"integer"},"startedAt":{"format":"date-time","nullable":true,"type":"string"},"startedBy":{"format":"uuid","nullable":true,"type":"string"},"state":{"nullable":true,"type":"string"}},"type":"object"},"Office.CallRecordingItemDto":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","type":"string"},"channelId":{"format":"uuid","type":"string"},"durationSeconds":{"format":"int32","nullable":true,"type":"integer"},"endedAt":{"format":"date-time","nullable":true,"type":"string"},"playbackUrl":{"nullable":true,"type":"string"},"startedAt":{"format":"date-time","type":"string"},"startedBy":{"format":"uuid","nullable":true,"type":"string"},"state":{"nullable":true,"type":"string"}},"type":"object"},"Office.CallTokenDto":{"additionalProperties":false,"properties":{"callId":{"format":"uuid","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"roomName":{"nullable":true,"type":"string"},"serverUrl":{"nullable":true,"type":"string"},"token":{"nullable":true,"type":"string"}},"type":"object"},"Office.CatalogEntry":{"additionalProperties":false,"properties":{"configFields":{"items":{"$ref":"#/components/schemas/Office.CatalogFieldSpec"},"nullable":true,"type":"array"},"description":{"nullable":true,"type":"string"},"group":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.CatalogFieldSpec":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"input":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"options":{"items":{"$ref":"#/components/schemas/Office.CatalogOption"},"nullable":true,"type":"array"},"optionsSource":{"nullable":true,"type":"string"},"required":{"type":"boolean"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.CatalogOption":{"additionalProperties":false,"properties":{"label":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChangeTaskStatusRequest":{"additionalProperties":false,"properties":{"resultNote":{"nullable":true,"type":"string"},"reviewerId":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"taskStatusId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChannelActionCardDto":{"additionalProperties":false,"properties":{"availableActions":{"items":{"type":"string"},"nullable":true,"type":"array"},"cardType":{"nullable":true,"type":"string"},"channelId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"entityId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"messageId":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelAttachmentDto":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","readOnly":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"folder":{"$ref":"#/components/schemas/Office.ChatFolderDto"},"hasThumbnail":{"type":"boolean"},"height":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"inThread":{"type":"boolean"},"isImage":{"type":"boolean"},"isVideo":{"readOnly":true,"type":"boolean"},"kind":{"nullable":true,"type":"string"},"messageId":{"format":"uuid","type":"string"},"relativePath":{"nullable":true,"type":"string"},"senderId":{"format":"uuid","readOnly":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"uploadedAt":{"format":"date-time","type":"string"},"uploadedBy":{"format":"uuid","type":"string"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ChannelAttachmentPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ChannelAttachmentDto"},"nullable":true,"type":"array"},"nextCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelCategoryDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelDetailDto":{"additionalProperties":false,"properties":{"allowGuests":{"type":"boolean"},"avatarUrl":{"nullable":true,"type":"string"},"canAddMembers":{"type":"boolean"},"canSendMessages":{"type":"boolean"},"channelType":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"frozenAt":{"format":"date-time","nullable":true,"type":"string"},"frozenBy":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"isFrozen":{"type":"boolean"},"isShared":{"type":"boolean"},"lastMessageAt":{"format":"date-time","nullable":true,"type":"string"},"meetingUrl":{"nullable":true,"type":"string"},"members":{"items":{"$ref":"#/components/schemas/Office.ChannelMemberDto"},"nullable":true,"type":"array"},"myLabelIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"myRole":{"nullable":true,"type":"string"},"mySettings":{"$ref":"#/components/schemas/Office.ChannelMySettingsDto"},"name":{"nullable":true,"type":"string"},"peerLeft":{"type":"boolean"},"peerMemberCount":{"format":"int32","type":"integer"},"peerOrgId":{"format":"uuid","nullable":true,"type":"string"},"requireJoinApproval":{"type":"boolean"},"whoCanAddMembers":{"nullable":true,"type":"string"},"whoCanSendMessages":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelInviteDto":{"additionalProperties":false,"properties":{"audience":{"nullable":true,"type":"string"},"channelId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"label":{"nullable":true,"type":"string"},"maxUses":{"format":"int32","nullable":true,"type":"integer"},"token":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"useCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelInvitePreviewDto":{"additionalProperties":false,"properties":{"alreadyMember":{"type":"boolean"},"channelId":{"format":"uuid","type":"string"},"channelName":{"nullable":true,"type":"string"},"channelType":{"nullable":true,"type":"string"},"isUsable":{"type":"boolean"},"memberCount":{"format":"int32","type":"integer"},"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelJoinResultDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"requestId":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelLinkDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"messageId":{"format":"uuid","type":"string"},"senderId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelLinkPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ChannelLinkDto"},"nullable":true,"type":"array"},"nextCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelListItemDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"categoryId":{"format":"uuid","nullable":true,"type":"string"},"channelType":{"nullable":true,"type":"string"},"createdBy":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"isArchivedForMe":{"type":"boolean"},"isFrozen":{"type":"boolean"},"isHidden":{"type":"boolean"},"isPinned":{"type":"boolean"},"isShared":{"type":"boolean"},"labelIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"lastMessageAt":{"format":"date-time","nullable":true,"type":"string"},"lastMessagePreview":{"nullable":true,"type":"string"},"lastMessageSenderId":{"format":"uuid","nullable":true,"type":"string"},"lastMessageState":{"nullable":true,"type":"string"},"lastReadAt":{"format":"date-time","nullable":true,"type":"string"},"memberCount":{"format":"int32","nullable":true,"type":"integer"},"memberUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"mutedUntil":{"format":"date-time","nullable":true,"type":"string"},"myRole":{"nullable":true,"readOnly":true,"type":"string"},"name":{"nullable":true,"type":"string"},"notificationLevel":{"nullable":true,"type":"string"},"peerUserId":{"format":"uuid","nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"unreadCount":{"format":"int32","type":"integer"},"unreadMentionCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelMemberDto":{"additionalProperties":false,"properties":{"isGuest":{"type":"boolean"},"joinedAt":{"format":"date-time","type":"string"},"lastReadAt":{"format":"date-time","nullable":true,"type":"string"},"memberName":{"nullable":true,"type":"string"},"memberOrgId":{"format":"uuid","nullable":true,"type":"string"},"mutedUntil":{"format":"date-time","nullable":true,"type":"string"},"notificationLevel":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChannelMemberListItemDto":{"additionalProperties":false,"properties":{"displayName":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"isGuest":{"type":"boolean"},"joinedAt":{"format":"date-time","type":"string"},"lastReadAt":{"format":"date-time","nullable":true,"type":"string"},"notificationLevel":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChannelMemberWorkloadDto":{"additionalProperties":false,"properties":{"doneCount":{"format":"int32","type":"integer"},"longestInProgressSince":{"format":"date-time","nullable":true,"type":"string"},"oldestOpenSince":{"format":"date-time","nullable":true,"type":"string"},"openCount":{"format":"int32","type":"integer"},"overdueCount":{"format":"int32","type":"integer"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChannelMySettingsDto":{"additionalProperties":false,"properties":{"autoTranslateTo":{"nullable":true,"type":"string"},"hiddenAt":{"format":"date-time","nullable":true,"type":"string"},"historyClearedAt":{"format":"date-time","nullable":true,"type":"string"},"isArchivedForMe":{"type":"boolean"},"isFlagged":{"type":"boolean"},"muteAllMentions":{"type":"boolean"},"nickname":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelSettingsDto":{"additionalProperties":false,"properties":{"changed":{"type":"boolean"},"requireJoinApproval":{"type":"boolean"},"whoCanAddMembers":{"nullable":true,"type":"string"},"whoCanSendMessages":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelStorageSummary":{"additionalProperties":false,"properties":{"document":{"format":"int32","type":"integer"},"links":{"format":"int32","type":"integer"},"media":{"format":"int32","type":"integer"},"other":{"format":"int32","type":"integer"},"presentation":{"format":"int32","type":"integer"},"spreadsheet":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelTabConfigItemDto":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelTabPreferenceDto":{"additionalProperties":false,"properties":{"hiddenIds":{"items":{"type":"string"},"nullable":true,"type":"array"},"orderedIds":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChannelTabsConfigDto":{"additionalProperties":false,"properties":{"canManageShared":{"type":"boolean"},"my":{"$ref":"#/components/schemas/Office.ChannelTabPreferenceDto"},"shared":{"items":{"$ref":"#/components/schemas/Office.ChannelTabConfigItemDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChannelTaskCountsDto":{"additionalProperties":false,"properties":{"done":{"format":"int32","type":"integer"},"mine":{"format":"int32","type":"integer"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelTaskDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"assignerId":{"format":"uuid","type":"string"},"cardId":{"format":"uuid","type":"string"},"cardMessageId":{"format":"uuid","type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"isOverdue":{"type":"boolean"},"messageId":{"format":"uuid","type":"string"},"origin":{"nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"reviewerId":{"format":"uuid","nullable":true,"type":"string"},"sharedAt":{"format":"date-time","type":"string"},"sharedBy":{"format":"uuid","type":"string"},"sourceAt":{"format":"date-time","nullable":true,"type":"string"},"sourceAuthorId":{"format":"uuid","nullable":true,"type":"string"},"sourceMessageId":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"subtaskDone":{"format":"int32","type":"integer"},"subtaskTotal":{"format":"int32","type":"integer"},"taskId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelTaskPageDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.ChannelTaskCountsDto"},"items":{"items":{"$ref":"#/components/schemas/Office.ChannelTaskDto"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChannelTaskSettingsDto":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"canManage":{"type":"boolean"},"notifyStatusChanges":{"type":"boolean"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskGroupName":{"nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"taskListName":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelWebhookDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"lastUsedAt":{"format":"date-time","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChannelWebhookSecretDto":{"additionalProperties":false,"properties":{"urlPath":{"nullable":true,"type":"string"},"webhook":{"$ref":"#/components/schemas/Office.ChannelWebhookDto"}},"type":"object"},"Office.ChartBucket":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"groupKey":{"nullable":true,"type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Office.ChartDataDto":{"additionalProperties":false,"properties":{"aggregation":{"nullable":true,"type":"string"},"buckets":{"items":{"$ref":"#/components/schemas/Office.ChartBucket"},"nullable":true,"type":"array"},"groupField":{"nullable":true,"type":"string"},"valueField":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatBotDto":{"additionalProperties":false,"properties":{"botId":{"format":"uuid","type":"string"},"code":{"nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"isActive":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"replyMode":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerAddMembersRequest":{"additionalProperties":false,"properties":{"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerCardActionRequest":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"comment":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCategoryNameRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerChangeChannelTypeRequest":{"additionalProperties":false,"properties":{"channelType":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerChangeMemberRoleRequest":{"additionalProperties":false,"properties":{"role":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerChannelAvatarUploadTicketRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.ChatControllerChannelTabRequestItem":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerChannelTaskSettingsRequest":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"notifyStatusChanges":{"type":"boolean"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerContactAliasRequest":{"additionalProperties":false,"properties":{"alias":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreateApprovalFromMessageRequest":{"additionalProperties":false,"properties":{"definitionCode":{"nullable":true,"type":"string"},"formValue":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreateChannelRequest":{"additionalProperties":false,"properties":{"channelType":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreateChatReminderRequest":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","nullable":true,"type":"string"},"messageId":{"format":"uuid","nullable":true,"type":"string"},"remindAt":{"format":"date-time","type":"string"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreatePollRequest":{"additionalProperties":false,"properties":{"allowMultiple":{"type":"boolean"},"clientMessageId":{"nullable":true,"type":"string"},"isAnonymous":{"type":"boolean"},"options":{"items":{"type":"string"},"nullable":true,"type":"array"},"question":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreateStickerPackRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerCreateTaskFromMessageRequest":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"clientRequestId":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"postCard":{"type":"boolean"},"priority":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"subtasks":{"items":{"$ref":"#/components/schemas/Office.ChatSubtaskInput"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerCreateTasksRequest":{"additionalProperties":false,"properties":{"clientRequestId":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/Office.ChatTaskItemInput"},"nullable":true,"type":"array"},"mode":{"nullable":true,"type":"string"},"parentMessageId":{"format":"uuid","nullable":true,"type":"string"},"parentTitle":{"nullable":true,"type":"string"},"postCard":{"type":"boolean"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerEditMessageRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerForwardMessageRequest":{"additionalProperties":false,"properties":{"comment":{"nullable":true,"type":"string"},"targetChannelIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerIssueInviteRequest":{"additionalProperties":false,"properties":{"audience":{"nullable":true,"type":"string"},"expiresInDays":{"format":"int32","nullable":true,"type":"integer"},"label":{"nullable":true,"type":"string"},"maxUses":{"format":"int32","nullable":true,"type":"integer"},"replaceExisting":{"type":"boolean"}},"type":"object"},"Office.ChatControllerLabelNameRequest":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerMarkReadRequest":{"additionalProperties":false,"properties":{"upToMessageId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerMyChannelSettingsRequest":{"additionalProperties":false,"properties":{"autoTranslateTo":{"nullable":true,"type":"string"},"isFlagged":{"nullable":true,"type":"boolean"},"muteAllMentions":{"nullable":true,"type":"boolean"},"nickname":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerNotificationLevelRequest":{"additionalProperties":false,"properties":{"level":{"nullable":true,"type":"string"},"mutedUntil":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerOpenDirectRequest":{"additionalProperties":false,"properties":{"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatControllerPresenceQueryRequest":{"additionalProperties":false,"properties":{"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerPromoteToGroupRequest":{"additionalProperties":false,"properties":{"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"syncMessages":{"type":"boolean"}},"type":"object"},"Office.ChatControllerReactionRequest":{"additionalProperties":false,"properties":{"emoji":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerRegisterStickerRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"storagePath":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerRenameChannelRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"meetingUrl":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerReorderCategoriesRequest":{"additionalProperties":false,"properties":{"orderedIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerRespondToContactRequestRequest":{"additionalProperties":false,"properties":{"accept":{"type":"boolean"}},"type":"object"},"Office.ChatControllerSaveChannelTabsRequest":{"additionalProperties":false,"properties":{"tabs":{"items":{"$ref":"#/components/schemas/Office.ChatControllerChannelTabRequestItem"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerSaveDraftRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"quotedMessageId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSaveMyTabOrderRequest":{"additionalProperties":false,"properties":{"hiddenIds":{"items":{"type":"string"},"nullable":true,"type":"array"},"orderedIds":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerSaveQuickMessageRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"shortcut":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerScheduleMessageRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"scheduledAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ChatControllerSendCardRequest":{"additionalProperties":false,"properties":{"cardType":{"nullable":true,"type":"string"},"clientMessageId":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSendContactRequestRequest":{"additionalProperties":false,"properties":{"email":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSendContactRequestToUserRequest":{"additionalProperties":false,"properties":{"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatControllerSendMessageRequest":{"additionalProperties":false,"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Office.SendMessageAttachment"},"nullable":true,"type":"array"},"clientMessageId":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"hasAttachment":{"type":"boolean"},"mentionedUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"mentionsEveryone":{"type":"boolean"},"parentMessageId":{"format":"uuid","nullable":true,"type":"string"},"quotedMessageId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSendMySupportMessageRequest":{"additionalProperties":false,"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Office.SendMessageAttachment"},"nullable":true,"type":"array"},"clientMessageId":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"hasAttachment":{"type":"boolean"}},"type":"object"},"Office.ChatControllerSendStickerRequest":{"additionalProperties":false,"properties":{"clientMessageId":{"nullable":true,"type":"string"},"stickerId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatControllerSetAddMemberPolicyRequest":{"additionalProperties":false,"properties":{"policy":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSetChannelAvatarRequest":{"additionalProperties":false,"properties":{"storagePath":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSetChannelCategoryRequest":{"additionalProperties":false,"properties":{"categoryId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerSetGuestAccessRequest":{"additionalProperties":false,"properties":{"allowGuests":{"type":"boolean"}},"type":"object"},"Office.ChatControllerStartCallRequest":{"additionalProperties":false,"properties":{"calleeIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerStickerUploadTicketRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.ChatControllerTransferOwnerRequest":{"additionalProperties":false,"properties":{"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatControllerTranslateRequest":{"additionalProperties":false,"properties":{"targetLanguage":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerUpdateChannelSettingsRequest":{"additionalProperties":false,"properties":{"requireJoinApproval":{"nullable":true,"type":"boolean"},"whoCanAddMembers":{"nullable":true,"type":"string"},"whoCanSendMessages":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatControllerVotePollRequest":{"additionalProperties":false,"properties":{"optionIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatControllerWebhookNameRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatDraftDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"quotedMessageId":{"format":"uuid","nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ChatFolderDto":{"additionalProperties":false,"properties":{"fileCount":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"totalBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.ChatJoinRequestDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"decidedAt":{"format":"date-time","nullable":true,"type":"string"},"decidedBy":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"invitedBy":{"format":"uuid","nullable":true,"type":"string"},"isGuest":{"type":"boolean"},"source":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatJumpMarkersDto":{"additionalProperties":false,"properties":{"firstUnreadMessageId":{"format":"uuid","nullable":true,"type":"string"},"mentionMessageIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"unreadCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChatLabelDto":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatMessageAnchorPageDto":{"additionalProperties":false,"properties":{"anchorMessageId":{"format":"uuid","type":"string"},"distanceFromLatest":{"format":"int32","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/Office.ChatMessageDto"},"nullable":true,"type":"array"},"newerCursor":{"nullable":true,"type":"string"},"olderCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatMessageDto":{"additionalProperties":false,"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Office.MessageAttachmentDto"},"nullable":true,"type":"array"},"card":{"$ref":"#/components/schemas/Office.ActionCardDto"},"channelId":{"format":"uuid","type":"string"},"clientMessageId":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"editedAt":{"format":"date-time","nullable":true,"type":"string"},"folder":{"$ref":"#/components/schemas/Office.ChatFolderDto"},"forwardedFromSenderId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isAiPending":{"type":"boolean"},"isPinned":{"type":"boolean"},"isRecalled":{"type":"boolean"},"isStarred":{"type":"boolean"},"lastReplyAt":{"format":"date-time","nullable":true,"type":"string"},"linkedTasks":{"items":{"$ref":"#/components/schemas/Office.LinkedTaskDto"},"nullable":true,"type":"array"},"mentionedUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"mentionsEveryone":{"type":"boolean"},"messageType":{"nullable":true,"type":"string"},"parentMessageId":{"format":"uuid","nullable":true,"type":"string"},"quoted":{"$ref":"#/components/schemas/Office.QuotedMessageDto"},"reactions":{"items":{"$ref":"#/components/schemas/Office.MessageReactionDto"},"nullable":true,"type":"array"},"replyCount":{"format":"int32","type":"integer"},"senderId":{"format":"uuid","type":"string"},"senderOrgId":{"format":"uuid","nullable":true,"type":"string"},"systemArgs":{"items":{"type":"string"},"nullable":true,"type":"array"},"systemKey":{"nullable":true,"type":"string"},"systemText":{"nullable":true,"type":"string"},"viaWebhookName":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatMessagePageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ChatMessageDto"},"nullable":true,"type":"array"},"nextCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatPollDto":{"additionalProperties":false,"properties":{"allowMultiple":{"type":"boolean"},"canClose":{"type":"boolean"},"canVote":{"type":"boolean"},"channelId":{"format":"uuid","type":"string"},"closedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isAnonymous":{"type":"boolean"},"messageId":{"format":"uuid","nullable":true,"type":"string"},"myOptionIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"options":{"items":{"$ref":"#/components/schemas/Office.ChatPollOptionDto"},"nullable":true,"type":"array"},"question":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"totalVoters":{"format":"int32","type":"integer"}},"type":"object"},"Office.ChatPollOptionDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"sortOrder":{"format":"int32","type":"integer"},"text":{"nullable":true,"type":"string"},"voteCount":{"format":"int32","type":"integer"},"voterIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatPreferencesDto":{"additionalProperties":false,"properties":{"collapsedSections":{"items":{"type":"string"},"nullable":true,"type":"array"},"recentEmojis":{"items":{"type":"string"},"nullable":true,"type":"array"},"rightPanelWidth":{"format":"int32","nullable":true,"type":"integer"},"searchCategories":{"$ref":"#/components/schemas/Office.ChatSearchCategoriesDto"},"updatedAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.ChatReminderDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"messageId":{"format":"uuid","nullable":true,"type":"string"},"remindAt":{"format":"date-time","type":"string"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatSearchCategoriesDto":{"additionalProperties":false,"properties":{"hidden":{"items":{"type":"string"},"nullable":true,"type":"array"},"order":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ChatSearchChannelDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"channelType":{"nullable":true,"type":"string"},"matchingMessages":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatSearchContactDto":{"additionalProperties":false,"properties":{"directChannelId":{"format":"uuid","nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"matchedBy":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ChatSearchFileDto":{"additionalProperties":false,"properties":{"attachmentId":{"format":"uuid","type":"string"},"channelId":{"format":"uuid","type":"string"},"contentType":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"fileName":{"nullable":true,"type":"string"},"messageId":{"format":"uuid","type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.ChatSearchResultDto":{"additionalProperties":false,"properties":{"channels":{"items":{"$ref":"#/components/schemas/Office.ChatSearchChannelDto"},"nullable":true,"type":"array"},"contacts":{"items":{"$ref":"#/components/schemas/Office.ChatSearchContactDto"},"nullable":true,"type":"array"},"files":{"items":{"$ref":"#/components/schemas/Office.ChatSearchFileDto"},"nullable":true,"type":"array"},"messages":{"items":{"$ref":"#/components/schemas/Office.ChatMessageDto"},"nullable":true,"type":"array"},"source":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatStorageUsageDto":{"additionalProperties":false,"properties":{"attachmentBytes":{"format":"int64","type":"integer"},"extraStorageGb":{"format":"int32","type":"integer"},"fileBytes":{"format":"int64","type":"integer"},"isExhausted":{"type":"boolean"},"isMeasured":{"type":"boolean"},"isNearLimit":{"type":"boolean"},"limitBytes":{"format":"int64","type":"integer"},"mailBytes":{"format":"int64","nullable":true,"type":"integer"},"measuredAt":{"format":"date-time","type":"string"},"paidSeats":{"format":"int32","type":"integer"},"recordBytes":{"format":"int64","type":"integer"},"recordingBytes":{"format":"int64","type":"integer"},"trashBytes":{"format":"int64","type":"integer"},"usedBytes":{"format":"int64","nullable":true,"type":"integer"},"usedPercent":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ChatSubtaskInput":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ChatTaskItemInput":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CheckRoomAvailabilityRequest":{"additionalProperties":false,"properties":{"endAt":{"format":"date-time","type":"string"},"excludeEventId":{"format":"uuid","nullable":true,"type":"string"},"roomIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"startAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ClickButtonResult":{"additionalProperties":false,"properties":{"automationsTriggered":{"format":"int32","type":"integer"}},"type":"object"},"Office.ColumnAggregateDto":{"additionalProperties":false,"properties":{"average":{"format":"double","nullable":true,"type":"number"},"count":{"format":"int32","type":"integer"},"fieldId":{"nullable":true,"type":"string"},"max":{"format":"double","nullable":true,"type":"number"},"min":{"format":"double","nullable":true,"type":"number"},"numericCount":{"format":"int32","type":"integer"},"sum":{"format":"double","type":"number"}},"type":"object"},"Office.CommentDto":{"additionalProperties":false,"properties":{"anchorId":{"nullable":true,"type":"string"},"anchorQuote":{"nullable":true,"type":"string"},"authorId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"edited":{"type":"boolean"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"mentionedUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"resolvedAt":{"format":"date-time","nullable":true,"type":"string"},"resolvedBy":{"format":"uuid","nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.CommonChannelDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"channelType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"lastMessageAt":{"format":"date-time","nullable":true,"type":"string"},"memberCount":{"format":"int32","type":"integer"},"memberUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CompleteCalendarLinkRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"redirectUri":{"nullable":true,"type":"string"},"state":{"nullable":true,"type":"string"}},"type":"object"},"Office.CompleteHandoverRequest":{"additionalProperties":false,"properties":{"approved":{"type":"boolean"}},"type":"object"},"Office.CompleteTaskWithMessagePhotosRequest":{"additionalProperties":false,"properties":{"messageId":{"format":"uuid","type":"string"},"resultNote":{"nullable":true,"type":"string"}},"type":"object"},"Office.CompleteTaskWithMessagePhotosResponse":{"additionalProperties":false,"properties":{"photosAttached":{"format":"int32","type":"integer"}},"type":"object"},"Office.ConfigureFeedSourceRequest":{"additionalProperties":false,"properties":{"contentTemplate":{"nullable":true,"type":"string"},"isEnabled":{"type":"boolean"},"titleTemplate":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConfirmAuditItemRequest":{"additionalProperties":false,"properties":{"actualCondition":{"nullable":true,"type":"string"},"isMatched":{"type":"boolean"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConfirmAuditItemResultDto":{"additionalProperties":false,"properties":{"discrepancyApprovalInstanceId":{"format":"uuid","nullable":true,"type":"string"},"discrepancyApprovalRaised":{"type":"boolean"},"discrepancyBlockedReasonKey":{"nullable":true,"type":"string"},"isMatched":{"type":"boolean"},"itemId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ConfirmImportRequest":{"additionalProperties":false,"properties":{"columnMapping":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"duplicateStrategy":{"nullable":true,"type":"string"},"matchKey":{"nullable":true,"type":"string"},"options":{"nullable":true},"rowPatches":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"nullable":true,"type":"object"},"skipEmptyOnUpdate":{"nullable":true,"type":"boolean"},"skippedRowNumbers":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"updateColumns":{"items":{"type":"string"},"nullable":true,"type":"array"},"uploadKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConfirmUploadRequest":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"folderId":{"format":"uuid","type":"string"},"objectKey":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"thumbnailPath":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConnectionKeyCreatedDto":{"additionalProperties":false,"properties":{"key":{"$ref":"#/components/schemas/Office.ConnectionKeyDto"},"plainKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConnectionKeyDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"lastUsedAt":{"format":"date-time","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"prefix":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ConnectionKeysControllerCreateConnectionKeyRequest":{"additionalProperties":false,"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ContactAliasDto":{"additionalProperties":false,"properties":{"alias":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ContactClaimDto":{"additionalProperties":false,"properties":{"alreadyMember":{"type":"boolean"},"channelId":{"format":"uuid","nullable":true,"type":"string"},"needsSwitch":{"type":"boolean"},"ownerUserId":{"format":"uuid","type":"string"},"workspaceId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ContactInviteDto":{"additionalProperties":false,"properties":{"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"ownerUserId":{"format":"uuid","type":"string"},"token":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"useCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ContactRequestDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"requesterAvatarUrl":{"nullable":true,"type":"string"},"requesterName":{"nullable":true,"type":"string"},"requesterUserId":{"format":"uuid","type":"string"},"workspaceId":{"format":"uuid","type":"string"},"workspaceName":{"nullable":true,"type":"string"}},"type":"object"},"Office.ContactRequestSentDto":{"additionalProperties":false,"properties":{"sent":{"type":"boolean"}},"type":"object"},"Office.CourseCompletionReportDto":{"additionalProperties":false,"properties":{"audienceCount":{"format":"int32","type":"integer"},"audienceResolved":{"type":"boolean"},"completedCount":{"format":"int32","type":"integer"},"courseId":{"format":"uuid","type":"string"},"courseTitle":{"nullable":true,"type":"string"},"hasQuiz":{"type":"boolean"},"inProgressCount":{"format":"int32","type":"integer"},"lessonCount":{"format":"int32","type":"integer"},"notStartedCount":{"format":"int32","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/Office.CourseCompletionRowDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.CourseCompletionRowDto":{"additionalProperties":false,"properties":{"bestScore":{"format":"int32","nullable":true,"type":"integer"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"displayName":{"nullable":true,"type":"string"},"isEnrolled":{"type":"boolean"},"lastActivityAt":{"format":"date-time","nullable":true,"type":"string"},"progressPercent":{"format":"int32","type":"integer"},"quizPassed":{"nullable":true,"type":"boolean"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.CourseDetailDto":{"additionalProperties":false,"properties":{"course":{"$ref":"#/components/schemas/Office.CourseSummaryDto"},"lessons":{"items":{"$ref":"#/components/schemas/Office.CourseLessonDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.CourseLessonDto":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isCompleted":{"type":"boolean"},"sortOrder":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"},"videoEmbedUrl":{"nullable":true,"type":"string"},"videoProvider":{"nullable":true,"type":"string"},"videoWatchUrl":{"nullable":true,"type":"string"}},"type":"object"},"Office.CourseQuizDto":{"additionalProperties":false,"properties":{"allowRetake":{"type":"boolean"},"attemptCount":{"format":"int32","type":"integer"},"canAttempt":{"type":"boolean"},"courseId":{"format":"uuid","type":"string"},"passingScore":{"format":"int32","type":"integer"},"questions":{"items":{"$ref":"#/components/schemas/Office.QuizQuestionDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.CourseQuizEditorDto":{"additionalProperties":false,"properties":{"allowRetake":{"type":"boolean"},"courseId":{"format":"uuid","type":"string"},"passingScore":{"format":"int32","type":"integer"},"questions":{"items":{"$ref":"#/components/schemas/Office.QuizQuestionEditorDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.CourseSummaryDto":{"additionalProperties":false,"properties":{"allowRetake":{"type":"boolean"},"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"bestScore":{"format":"int32","nullable":true,"type":"integer"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"coverImageUrl":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"description":{"nullable":true,"type":"string"},"hasQuiz":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"isEnrolled":{"type":"boolean"},"lessonCount":{"format":"int32","type":"integer"},"passingScore":{"format":"int32","type":"integer"},"progressPercent":{"format":"int32","type":"integer"},"publishedAt":{"format":"date-time","nullable":true,"type":"string"},"quizPassed":{"nullable":true,"type":"boolean"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.CourseSummaryDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.CourseSummaryDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.CreateAnnouncementRequest":{"additionalProperties":false,"properties":{"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"category":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"publishNow":{"type":"boolean"},"requiresAcknowledgement":{"type":"boolean"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateAnswerRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateAppRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateAssetRequest":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"condition":{"nullable":true,"type":"string"},"depreciationMonths":{"format":"int32","type":"integer"},"depreciationStartDate":{"format":"date","nullable":true,"type":"string"},"holderId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"originalCost":{"format":"double","type":"number"},"purchasedDate":{"format":"date","type":"string"},"warrantyEnd":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Office.CreateAttachmentUploadTicketRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.CreateAttachmentUploadTicketsRequest":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"files":{"items":{"$ref":"#/components/schemas/Office.UploadTicketRequestItem"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateAuditRequest":{"additionalProperties":false,"properties":{"dueDate":{"format":"date","type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateCommentRequest":{"additionalProperties":false,"properties":{"anchorId":{"nullable":true,"type":"string"},"anchorQuote":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"mentionedUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateCourseRequest":{"additionalProperties":false,"properties":{"allowRetake":{"type":"boolean"},"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"coverImageUrl":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"passingScore":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateCustomFieldRequest":{"additionalProperties":false,"properties":{"config":{"nullable":true,"type":"string"},"fieldType":{"nullable":true,"type":"string"},"module":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"}},"type":"object"},"Office.CreateDashboardRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateDocNodeRequest":{"additionalProperties":false,"properties":{"displayMode":{"enum":["Tree","List"],"nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"nodeType":{"enum":["Space","Folder","File","Doc","Shortcut","Base","Form"],"type":"string"},"ownerId":{"format":"uuid","nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"refId":{"format":"uuid","nullable":true,"type":"string"},"targetId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.CreateDocumentTemplateRequest":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"color":{"nullable":true,"type":"string"},"contentHtml":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateEventRequest":{"additionalProperties":false,"properties":{"allDay":{"type":"boolean"},"attendeeUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"calendarId":{"format":"uuid","nullable":true,"type":"string"},"chatChannelId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"endAt":{"format":"date-time","type":"string"},"eventType":{"nullable":true,"type":"string"},"guestEmails":{"items":{"type":"string"},"nullable":true,"type":"array"},"location":{"nullable":true,"type":"string"},"meetingProvider":{"nullable":true,"type":"string"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"roomIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"startAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"},"withGoogleMeet":{"type":"boolean"}},"type":"object"},"Office.CreateExportRequest":{"additionalProperties":false,"properties":{"filters":{"nullable":true},"format":{"nullable":true,"type":"string"},"reportType":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateExportResultDto":{"additionalProperties":false,"properties":{"downloadUrl":{"nullable":true,"type":"string"},"exportType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"format":{"nullable":true,"type":"string"},"isSync":{"type":"boolean"},"jobId":{"format":"uuid","type":"string"},"scope":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"supportedFormats":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateFieldRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"isHidden":{"type":"boolean"},"isPrimary":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"},"property":{"nullable":true,"type":"string"},"type":{"format":"int32","type":"integer"},"uiType":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateFolderRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.CreateHandoverRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"uuid","type":"string"},"condition":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"toUserId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.CreateKeyResultInput":{"additionalProperties":false,"properties":{"currentValue":{"format":"double","type":"number"},"name":{"nullable":true,"type":"string"},"source":{"$ref":"#/components/schemas/Office.KeyResultSourceInput"},"startValue":{"format":"double","type":"number"},"targetValue":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateMeetingRoomRequest":{"additionalProperties":false,"properties":{"autoReleaseMinutes":{"format":"int32","nullable":true,"type":"integer"},"building":{"nullable":true,"type":"string"},"capacity":{"format":"int32","type":"integer"},"equipment":{"items":{"type":"string"},"nullable":true,"type":"array"},"floor":{"nullable":true,"type":"string"},"location":{"nullable":true,"type":"string"},"maxBookingMinutes":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"requiresApproval":{"type":"boolean"}},"type":"object"},"Office.CreateMomentRequest":{"additionalProperties":false,"properties":{"caption":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateNextMonthListRequest":{"additionalProperties":false,"properties":{"carryOver":{"type":"boolean"},"copyGroups":{"type":"boolean"},"dutyNames":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateObjectiveRequest":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"keyResults":{"items":{"$ref":"#/components/schemas/Office.CreateKeyResultInput"},"nullable":true,"type":"array"},"level":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","type":"string"},"parentObjectiveId":{"format":"uuid","nullable":true,"type":"string"},"periodKind":{"nullable":true,"type":"string"},"quarter":{"format":"int32","type":"integer"},"seasonId":{"format":"uuid","nullable":true,"type":"string"},"seasonKey":{"nullable":true,"type":"string"},"year":{"format":"int32","type":"integer"}},"type":"object"},"Office.CreatePrintTemplateRequest":{"additionalProperties":false,"properties":{"contentHtml":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"documentType":{"nullable":true,"type":"string"},"marginMm":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"orientation":{"nullable":true,"type":"string"},"paperSize":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateQuestionRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"topics":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateRecordRequest":{"additionalProperties":false,"properties":{"data":{"nullable":true}},"type":"object"},"Office.CreateReviewCycleRequest":{"additionalProperties":false,"properties":{"criteria":{"items":{"$ref":"#/components/schemas/Office.ReviewCriterionInput"},"nullable":true,"type":"array"},"description":{"nullable":true,"type":"string"},"dueDate":{"format":"date-time","type":"string"},"name":{"nullable":true,"type":"string"},"periodEnd":{"format":"date-time","type":"string"},"periodStart":{"format":"date-time","type":"string"}},"type":"object"},"Office.CreateRoleRequest":{"additionalProperties":false,"properties":{"isAdmin":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateSurveyRequest":{"additionalProperties":false,"properties":{"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"closesAt":{"format":"date-time","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"isAnonymous":{"type":"boolean"},"openNow":{"type":"boolean"},"questions":{"items":{"$ref":"#/components/schemas/Office.SurveyQuestionInput"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateTableRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"}},"type":"object"},"Office.CreateTaskLineDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"index":{"format":"int32","type":"integer"},"parentIndex":{"format":"int32","nullable":true,"type":"integer"},"priority":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"taskStatusId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateTaskRecurrenceRequest":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"autoRemindOverdue":{"type":"boolean"},"description":{"nullable":true,"type":"string"},"dueOffsetMinutes":{"format":"int32","nullable":true,"type":"integer"},"priority":{"nullable":true,"type":"string"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"startAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"},"untilAt":{"format":"date-time","nullable":true,"type":"string"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateTaskRequest":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"autoRemindOverdue":{"type":"boolean"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"links":{"items":{"$ref":"#/components/schemas/Office.TaskLinkInput"},"nullable":true,"type":"array"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"parentTaskId":{"format":"uuid","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"progress":{"format":"int32","nullable":true,"type":"integer"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"sourceId":{"format":"uuid","nullable":true,"type":"string"},"sourceType":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateTasksBatchRequest":{"additionalProperties":false,"properties":{"defaultAssigneeId":{"format":"uuid","nullable":true,"type":"string"},"defaultTaskGroupId":{"format":"uuid","nullable":true,"type":"string"},"defaultTaskListId":{"format":"uuid","nullable":true,"type":"string"},"lines":{"items":{"$ref":"#/components/schemas/Office.CreateTaskLineDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateTasksResultDto":{"additionalProperties":false,"properties":{"cardMessageId":{"format":"uuid","nullable":true,"type":"string"},"parentTaskId":{"format":"uuid","nullable":true,"type":"string"},"taskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.CreateTimesheetEntryRequest":{"additionalProperties":false,"properties":{"endedAt":{"format":"time","nullable":true,"type":"string"},"hours":{"format":"double","nullable":true,"type":"number"},"note":{"nullable":true,"type":"string"},"startedAt":{"format":"time","nullable":true,"type":"string"},"taskId":{"format":"uuid","nullable":true,"type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"},"workDate":{"format":"date","type":"string"}},"type":"object"},"Office.CreateTimesheetLockRequest":{"additionalProperties":false,"properties":{"endDate":{"format":"date","type":"string"},"reason":{"nullable":true,"type":"string"},"startDate":{"format":"date","type":"string"}},"type":"object"},"Office.CreateTimesheetPeriodRequest":{"additionalProperties":false,"properties":{"endDate":{"format":"date","type":"string"},"startDate":{"format":"date","type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.CreateUploadTicketRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileId":{"format":"uuid","nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"folderId":{"format":"uuid","type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.CreateViewRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"property":{"nullable":true,"type":"string"},"viewType":{"nullable":true,"type":"string"}},"type":"object"},"Office.CreateWikiPageRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"kind":{"enum":["Doc","Sheet"],"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"spaceId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.CustomFieldDto":{"additionalProperties":false,"properties":{"config":{"nullable":true,"type":"string"},"fieldType":{"nullable":true,"type":"string"},"hasValues":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"module":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"}},"type":"object"},"Office.CustomFieldValueDto":{"additionalProperties":false,"properties":{"customFieldId":{"format":"uuid","type":"string"},"entityId":{"format":"uuid","type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Office.DashboardBucketDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"key":{"nullable":true,"type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Office.DashboardComparePeriodDto":{"additionalProperties":false,"properties":{"from":{"nullable":true,"type":"string"},"previousFrom":{"nullable":true,"type":"string"},"previousTo":{"nullable":true,"type":"string"},"to":{"nullable":true,"type":"string"}},"type":"object"},"Office.DashboardDto":{"additionalProperties":false,"properties":{"appId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"layout":{"$ref":"#/components/schemas/Office.DashboardLayout"},"name":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.DashboardFilterDef":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"targets":{"items":{"$ref":"#/components/schemas/Office.DashboardFilterTarget"},"nullable":true,"type":"array"}},"type":"object"},"Office.DashboardFilterTarget":{"additionalProperties":false,"properties":{"fieldId":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","type":"string"}},"type":"object"},"Office.DashboardFilterValue":{"additionalProperties":false,"properties":{"filterId":{"nullable":true,"type":"string"},"from":{"nullable":true,"type":"string"},"text":{"nullable":true,"type":"string"},"to":{"nullable":true,"type":"string"},"values":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.DashboardGroupDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"key":{"nullable":true,"type":"string"},"series":{"items":{"$ref":"#/components/schemas/Office.DashboardSeriesValueDto"},"nullable":true,"type":"array"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Office.DashboardLayout":{"additionalProperties":false,"properties":{"filters":{"items":{"$ref":"#/components/schemas/Office.DashboardFilterDef"},"nullable":true,"type":"array"},"widgets":{"items":{"$ref":"#/components/schemas/Office.DashboardWidget"},"nullable":true,"type":"array"}},"type":"object"},"Office.DashboardSeriesValueDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"key":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Office.DashboardTableRowDto":{"additionalProperties":false,"properties":{"cells":{"additionalProperties":{},"nullable":true,"type":"object"},"recordId":{"format":"uuid","type":"string"}},"type":"object"},"Office.DashboardWidget":{"additionalProperties":false,"properties":{"aggregation":{"nullable":true,"type":"string"},"columns":{"items":{"type":"string"},"nullable":true,"type":"array"},"compare":{"nullable":true,"type":"string"},"dateField":{"nullable":true,"type":"string"},"dateGrouping":{"nullable":true,"type":"string"},"filter":{"$ref":"#/components/schemas/Office.RecordFilter"},"format":{"$ref":"#/components/schemas/Office.DashboardWidgetFormat"},"groupField":{"nullable":true,"type":"string"},"h":{"format":"int32","type":"integer"},"id":{"nullable":true,"type":"string"},"limit":{"format":"int32","nullable":true,"type":"integer"},"orientation":{"nullable":true,"type":"string"},"seriesField":{"nullable":true,"type":"string"},"sort":{"nullable":true,"type":"string"},"stacked":{"nullable":true,"type":"boolean"},"tableId":{"format":"uuid","type":"string"},"target":{"format":"double","nullable":true,"type":"number"},"text":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"},"valueField":{"nullable":true,"type":"string"},"w":{"format":"int32","type":"integer"},"x":{"format":"int32","type":"integer"},"y":{"format":"int32","type":"integer"}},"type":"object"},"Office.DashboardWidgetDataDto":{"additionalProperties":false,"properties":{"buckets":{"items":{"$ref":"#/components/schemas/Office.DashboardBucketDto"},"nullable":true,"type":"array"},"comparePeriod":{"$ref":"#/components/schemas/Office.DashboardComparePeriodDto"},"count":{"format":"int32","type":"integer"},"deltaPercent":{"format":"double","nullable":true,"type":"number"},"groups":{"items":{"$ref":"#/components/schemas/Office.DashboardGroupDto"},"nullable":true,"type":"array"},"previousValue":{"format":"double","nullable":true,"type":"number"},"rows":{"items":{"$ref":"#/components/schemas/Office.DashboardTableRowDto"},"nullable":true,"type":"array"},"seriesKeys":{"items":{"type":"string"},"nullable":true,"type":"array"},"target":{"format":"double","nullable":true,"type":"number"},"truncated":{"type":"boolean"},"type":{"nullable":true,"type":"string"},"unavailable":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"},"widgetId":{"nullable":true,"type":"string"}},"type":"object"},"Office.DashboardWidgetFormat":{"additionalProperties":false,"properties":{"decimals":{"format":"int32","nullable":true,"type":"integer"},"prefix":{"nullable":true,"type":"string"},"style":{"nullable":true,"type":"string"},"suffix":{"nullable":true,"type":"string"}},"type":"object"},"Office.DataExportRequestDto":{"additionalProperties":false,"properties":{"archiveSizeBytes":{"format":"int64","nullable":true,"type":"integer"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"downloadUrl":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"exportedRowCount":{"format":"int64","nullable":true,"type":"integer"},"failureReasonKey":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"locale":{"nullable":true,"type":"string"},"requestedAt":{"format":"date-time","type":"string"},"requestedBy":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.DecideDocAccessRequestRequest":{"additionalProperties":false,"properties":{"grantedLevel":{"enum":["View","Comment","Edit","Manage"],"nullable":true,"type":"string"}},"type":"object"},"Office.DictationResultDto":{"additionalProperties":false,"properties":{"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.DirectoryControllerResolveEmailsRequest":{"additionalProperties":false,"properties":{"emails":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.DirectoryPersonDto":{"additionalProperties":false,"properties":{"fullName":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"},"workplace":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocAccessRequestDto":{"additionalProperties":false,"properties":{"canResendAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"decidedAt":{"format":"date-time","nullable":true,"type":"string"},"grantedLevel":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"message":{"nullable":true,"type":"string"},"pageId":{"format":"uuid","type":"string"},"pageTitle":{"nullable":true,"type":"string"},"requestedLevel":{"nullable":true,"type":"string"},"requesterId":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocActivityItemDto":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"markedAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocNodeDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"depth":{"format":"int32","type":"integer"},"displayMode":{"enum":["Tree","List"],"nullable":true,"type":"string"},"hasChildren":{"type":"boolean"},"icon":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isRestricted":{"type":"boolean"},"myPermission":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"name":{"nullable":true,"type":"string"},"nodeType":{"enum":["Space","Folder","File","Doc","Shortcut","Base","Form"],"type":"string"},"ownerId":{"format":"uuid","type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"refId":{"format":"uuid","nullable":true,"type":"string"},"targetId":{"format":"uuid","nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.DocNodePageDto":{"additionalProperties":false,"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.DocNodeDto"},"nullable":true,"type":"array"},"nextCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocNodePermissionDto":{"additionalProperties":false,"properties":{"grantKind":{"enum":["InheritedRule","DirectInvite"],"type":"string"},"id":{"format":"uuid","type":"string"},"inheritedFromName":{"nullable":true,"type":"string"},"inheritedFromNodeId":{"format":"uuid","type":"string"},"nodeId":{"format":"uuid","type":"string"},"permissionLevel":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group","Department","Guest"],"type":"string"}},"type":"object"},"Office.DocNodeShareDto":{"additionalProperties":false,"properties":{"grants":{"items":{"$ref":"#/components/schemas/Office.DocNodeShareGrantDto"},"nullable":true,"type":"array"},"isRestricted":{"type":"boolean"},"myPermission":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"nodeId":{"format":"uuid","type":"string"},"ownerId":{"format":"uuid","type":"string"},"restrictedByName":{"nullable":true,"type":"string"},"restrictedHere":{"type":"boolean"}},"type":"object"},"Office.DocNodeShareGrantDto":{"additionalProperties":false,"properties":{"grantKind":{"enum":["InheritedRule","DirectInvite"],"type":"string"},"id":{"format":"uuid","type":"string"},"level":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group","Department","Guest"],"type":"string"}},"type":"object"},"Office.DocTrashItemDto":{"additionalProperties":false,"properties":{"deletedAt":{"format":"date-time","type":"string"},"deletedBy":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"parentInTrash":{"type":"boolean"}},"type":"object"},"Office.DocTreeMigrationResultDto":{"additionalProperties":false,"properties":{"docs":{"format":"int32","type":"integer"},"dryRun":{"type":"boolean"},"files":{"format":"int32","type":"integer"},"folders":{"format":"int32","type":"integer"},"permissions":{"format":"int32","type":"integer"},"skippedExisting":{"format":"int32","type":"integer"},"skippedOrphans":{"format":"int32","type":"integer"},"spaces":{"format":"int32","type":"integer"}},"type":"object"},"Office.DocumentRegistersControllerCreateRegisterRequest":{"additionalProperties":false,"properties":{"documentTypeCode":{"nullable":true,"type":"string"},"orgAbbreviation":{"nullable":true,"type":"string"},"registerKind":{"nullable":true,"type":"string"},"registerName":{"nullable":true,"type":"string"},"seedLastNumber":{"format":"int32","type":"integer"},"seedYear":{"format":"int32","type":"integer"},"symbolPattern":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocumentRegistersControllerSeedRegistersRequest":{"additionalProperties":false,"properties":{"currentNumbers":{"additionalProperties":{"format":"int32","type":"integer"},"nullable":true,"type":"object"},"orgAbbreviation":{"nullable":true,"type":"string"},"year":{"format":"int32","type":"integer"}},"type":"object"},"Office.DocumentRegistersControllerUpdateRegisterRequest":{"additionalProperties":false,"properties":{"documentTypeCode":{"nullable":true,"type":"string"},"isActive":{"type":"boolean"},"orgAbbreviation":{"nullable":true,"type":"string"},"registerName":{"nullable":true,"type":"string"},"symbolPattern":{"nullable":true,"type":"string"}},"type":"object"},"Office.DocumentTemplateDetailDto":{"additionalProperties":false,"properties":{"contentHtml":{"nullable":true,"type":"string"},"template":{"$ref":"#/components/schemas/Office.DocumentTemplateDto"}},"type":"object"},"Office.DocumentTemplateDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"color":{"nullable":true,"type":"string"},"createdBy":{"format":"uuid","type":"string"},"currentVersionNumber":{"format":"int32","type":"integer"},"description":{"nullable":true,"type":"string"},"hasContent":{"type":"boolean"},"icon":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"isSystem":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.DocumentTemplateVersionDto":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isCurrent":{"type":"boolean"},"versionNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.DownloadLinkDto":{"additionalProperties":false,"properties":{"expiresAt":{"format":"date-time","type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.DungKhongGianKetQua":{"additionalProperties":false,"properties":{"nhaVuonDaCo":{"format":"int32","type":"integer"},"spacesDungSan":{"format":"int32","type":"integer"},"spacesNhaVuon":{"format":"int32","type":"integer"}},"type":"object"},"Office.DuplicateDashboardRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.DuplicateTableRequest":{"additionalProperties":false,"properties":{"includeRecords":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.DuplicateTableResult":{"additionalProperties":false,"properties":{"recordsCopied":{"format":"int32","type":"integer"},"tableId":{"format":"uuid","type":"string"}},"type":"object"},"Office.EffectiveWorkingCalendarDto":{"additionalProperties":false,"properties":{"coveredYears":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"holidays":{"items":{"format":"date","type":"string"},"nullable":true,"type":"array"},"utcOffsetMinutes":{"format":"int32","type":"integer"},"weekendDays":{"items":{"format":"int32","type":"integer"},"nullable":true,"type":"array"},"workDayStart":{"format":"time","type":"string"}},"type":"object"},"Office.EventAttendeeDto":{"additionalProperties":false,"properties":{"email":{"nullable":true,"type":"string"},"isOptional":{"type":"boolean"},"isOrganizer":{"type":"boolean"},"responseNote":{"nullable":true,"type":"string"},"responseStatus":{"nullable":true,"type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.EventDto":{"additionalProperties":false,"properties":{"allDay":{"type":"boolean"},"attendees":{"items":{"$ref":"#/components/schemas/Office.EventAttendeeDto"},"nullable":true,"type":"array"},"calendarId":{"format":"uuid","type":"string"},"chatChannelId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"endAt":{"format":"date-time","type":"string"},"eventType":{"nullable":true,"type":"string"},"fromPersonalCalendar":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"location":{"nullable":true,"type":"string"},"meetingProvider":{"nullable":true,"type":"string"},"meetingRemovalPending":{"type":"boolean"},"meetingUrl":{"nullable":true,"type":"string"},"organizerId":{"format":"uuid","type":"string"},"pushErrorKey":{"nullable":true,"type":"string"},"pushPending":{"type":"boolean"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"reminders":{"items":{"$ref":"#/components/schemas/Office.EventReminderDto"},"nullable":true,"type":"array"},"rooms":{"items":{"$ref":"#/components/schemas/Office.EventRoomDto"},"nullable":true,"type":"array"},"startAt":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"},"syncedWithGoogle":{"type":"boolean"},"timeProposals":{"items":{"$ref":"#/components/schemas/Office.EventTimeProposalDto"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.EventReminderDto":{"additionalProperties":false,"properties":{"channel":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"minutesBefore":{"format":"int32","type":"integer"}},"type":"object"},"Office.EventRoomDto":{"additionalProperties":false,"properties":{"bookingId":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"roomId":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.EventTimeProposalDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"},"occurrenceStart":{"format":"date-time","nullable":true,"type":"string"},"proposedBy":{"format":"uuid","type":"string"},"proposedByName":{"nullable":true,"type":"string"},"proposedEndAt":{"format":"date-time","type":"string"},"proposedStartAt":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ExportHistoryItemDto":{"additionalProperties":false,"properties":{"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"exportType":{"nullable":true,"type":"string"},"format":{"nullable":true,"type":"string"},"isDownloadable":{"type":"boolean"},"jobId":{"format":"uuid","type":"string"},"rowCount":{"format":"int32","nullable":true,"type":"integer"},"status":{"nullable":true,"type":"string"},"supportedFormats":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ExportHistoryItemDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.ExportHistoryItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.ExportJobStatusDto":{"additionalProperties":false,"properties":{"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"downloadUrl":{"nullable":true,"type":"string"},"errorMessage":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"exportType":{"nullable":true,"type":"string"},"format":{"nullable":true,"type":"string"},"jobId":{"format":"uuid","type":"string"},"processedRows":{"format":"int32","type":"integer"},"progressPercent":{"format":"int32","type":"integer"},"status":{"nullable":true,"type":"string"},"supportedFormats":{"items":{"type":"string"},"nullable":true,"type":"array"},"totalRows":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ExternalContactDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isStarred":{"type":"boolean"}},"type":"object"},"Office.ExtractActionItemsRequest":{"additionalProperties":false,"properties":{"actionItemIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"eventId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ExtractActionItemsResultDto":{"additionalProperties":false,"properties":{"createdTaskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"skippedAlreadyExtracted":{"format":"int32","type":"integer"}},"type":"object"},"Office.FarmDeviceControlControllerDispatchedRequest":{"additionalProperties":false,"properties":{"iotCommandId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.FarmDeviceControlControllerEmergencyStopRequest":{"additionalProperties":false,"properties":{"stopped":{"type":"boolean"}},"type":"object"},"Office.FarmDeviceControlControllerRejectRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.FarmDeviceControlDto":{"additionalProperties":false,"properties":{"approverIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"automationId":{"format":"uuid","type":"string"},"canDecide":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"decidedAt":{"format":"date-time","nullable":true,"type":"string"},"decidedBy":{"format":"uuid","nullable":true,"type":"string"},"deviceId":{"format":"uuid","type":"string"},"deviceLabel":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"family":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"idx":{"format":"int32","type":"integer"},"iotCommandId":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"value":{"format":"int32","type":"integer"}},"type":"object"},"Office.FarmDeviceRuleApprovalDto":{"additionalProperties":false,"properties":{"approved":{"type":"boolean"},"approvedAt":{"format":"date-time","nullable":true,"type":"string"},"approvedBy":{"format":"uuid","nullable":true,"type":"string"},"automationId":{"format":"uuid","type":"string"},"canApprove":{"type":"boolean"},"valid":{"type":"boolean"}},"type":"object"},"Office.FarmEmergencyStopDto":{"additionalProperties":false,"properties":{"canChange":{"type":"boolean"},"changedAt":{"format":"date-time","nullable":true,"type":"string"},"changedBy":{"format":"uuid","nullable":true,"type":"string"},"stopped":{"type":"boolean"}},"type":"object"},"Office.FieldDto":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isHidden":{"type":"boolean"},"isPrimary":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"},"property":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","type":"string"},"type":{"format":"int32","type":"integer"},"uiType":{"nullable":true,"type":"string"}},"type":"object"},"Office.FileDto":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"currentVersion":{"format":"int32","type":"integer"},"folderId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"thumbnailUrl":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"updatedBy":{"format":"uuid","nullable":true,"type":"string"},"versionCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.FilePreviewDto":{"additionalProperties":false,"properties":{"html":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"sheets":{"items":{"$ref":"#/components/schemas/Office.XlsxSheetPreview"},"nullable":true,"type":"array"},"skippedImages":{"format":"int32","type":"integer"},"truncated":{"type":"boolean"}},"type":"object"},"Office.FileVersionDto":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"contentType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isCurrent":{"type":"boolean"},"sizeBytes":{"format":"int64","type":"integer"},"uploadedAt":{"format":"date-time","type":"string"},"uploadedBy":{"format":"uuid","type":"string"},"versionNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.FilterCondition":{"additionalProperties":false,"properties":{"fieldId":{"nullable":true,"type":"string"},"operator":{"nullable":true,"type":"string"},"value":{"nullable":true}},"type":"object"},"Office.FindReplaceChange":{"additionalProperties":false,"properties":{"after":{"nullable":true,"type":"string"},"before":{"nullable":true,"type":"string"},"fieldId":{"format":"uuid","type":"string"},"recordId":{"format":"uuid","type":"string"}},"type":"object"},"Office.FindReplaceRequest":{"additionalProperties":false,"properties":{"dryRun":{"type":"boolean"},"fieldIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"filter":{"$ref":"#/components/schemas/Office.RecordFilter"},"find":{"nullable":true,"type":"string"},"matchCase":{"type":"boolean"},"replace":{"nullable":true,"type":"string"},"wholeCell":{"type":"boolean"}},"type":"object"},"Office.FindReplaceResult":{"additionalProperties":false,"properties":{"applied":{"type":"boolean"},"changes":{"items":{"$ref":"#/components/schemas/Office.FindReplaceChange"},"nullable":true,"type":"array"},"matchedCells":{"format":"int32","type":"integer"},"matchedRecords":{"format":"int32","type":"integer"},"truncated":{"type":"boolean"}},"type":"object"},"Office.FolderDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"depth":{"format":"int32","type":"integer"},"fileCount":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"isRestricted":{"type":"boolean"},"myPermission":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.FolderPermissionDto":{"additionalProperties":false,"properties":{"folderId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"permissionLevel":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group"],"type":"string"}},"type":"object"},"Office.ForwardMessageResultDto":{"additionalProperties":false,"properties":{"forwardedCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.GrantDocNodePermissionRequest":{"additionalProperties":false,"properties":{"grantKind":{"enum":["InheritedRule","DirectInvite"],"type":"string"},"permissionLevel":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group","Department","Guest"],"type":"string"}},"type":"object"},"Office.GrantFolderPermissionRequest":{"additionalProperties":false,"properties":{"permissionLevel":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group"],"type":"string"}},"type":"object"},"Office.GroupAssignment":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","type":"string"},"groupId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.GuestInviteClaimDto":{"additionalProperties":false,"properties":{"alreadyMember":{"type":"boolean"},"channelId":{"format":"uuid","type":"string"},"channelName":{"nullable":true,"type":"string"},"needsSwitch":{"type":"boolean"},"workspaceId":{"format":"uuid","type":"string"}},"type":"object"},"Office.HuddleDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"endedAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"joinUrl":{"nullable":true,"type":"string"},"messageId":{"format":"uuid","nullable":true,"type":"string"},"provider":{"nullable":true,"type":"string"},"startedAt":{"format":"date-time","type":"string"},"startedBy":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportConfirmResult":{"additionalProperties":false,"properties":{"jobId":{"format":"uuid","type":"string"},"message":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportErrorFileDto":{"additionalProperties":false,"properties":{"errorFileUrl":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.ImportJobDto":{"additionalProperties":false,"properties":{"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"errorMessage":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"failedRows":{"format":"int32","type":"integer"},"hasErrorFile":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"importType":{"nullable":true,"type":"string"},"mode":{"nullable":true,"type":"string"},"processedRows":{"format":"int32","type":"integer"},"requestedBy":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"},"supportsUndo":{"type":"boolean"},"totalRows":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ImportJobHistoryDto":{"additionalProperties":false,"properties":{"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"failedRows":{"format":"int32","type":"integer"},"hasErrorFile":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"importType":{"nullable":true,"type":"string"},"processedRows":{"format":"int32","type":"integer"},"status":{"nullable":true,"type":"string"},"totalRows":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ImportJobHistoryDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.ImportJobHistoryDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.ImportMatchKeyDto":{"additionalProperties":false,"properties":{"label":{"nullable":true,"type":"string"},"labelKey":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportMeetingArtifactsRequest":{"additionalProperties":false,"properties":{"eventId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ImportMeetingArtifactsResultDto":{"additionalProperties":false,"properties":{"foundSomething":{"type":"boolean"},"hasRecording":{"type":"boolean"},"hasTranscript":{"type":"boolean"},"outcome":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportPreviewDto":{"additionalProperties":false,"properties":{"duplicateRows":{"format":"int32","type":"integer"},"errors":{"items":{"$ref":"#/components/schemas/Office.ImportPreviewErrorDto"},"nullable":true,"type":"array"},"headers":{"items":{"type":"string"},"nullable":true,"type":"array"},"invalidRows":{"format":"int32","type":"integer"},"matchKeys":{"items":{"$ref":"#/components/schemas/Office.ImportMatchKeyDto"},"nullable":true,"type":"array"},"newRows":{"format":"int32","type":"integer"},"renamedHeaders":{"items":{"$ref":"#/components/schemas/Office.ImportRenamedHeaderDto"},"nullable":true,"type":"array"},"sampleRows":{"items":{"$ref":"#/components/schemas/Office.ImportPreviewRowDto"},"nullable":true,"type":"array"},"suggestedMapping":{"items":{"$ref":"#/components/schemas/Office.ImportSuggestedMappingDto"},"nullable":true,"type":"array"},"supportsColumnMapping":{"type":"boolean"},"supportsDuplicateSkip":{"type":"boolean"},"supportsDuplicateUpdate":{"type":"boolean"},"totalRows":{"format":"int32","type":"integer"},"updatableColumns":{"items":{"type":"string"},"nullable":true,"type":"array"},"uploadKey":{"nullable":true,"type":"string"},"validRows":{"format":"int32","type":"integer"}},"type":"object"},"Office.ImportPreviewErrorDto":{"additionalProperties":false,"properties":{"column":{"nullable":true,"type":"string"},"message":{"nullable":true,"type":"string"},"rowNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.ImportPreviewRowDto":{"additionalProperties":false,"properties":{"data":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"errorMessage":{"nullable":true,"type":"string"},"existingValues":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"isDuplicate":{"type":"boolean"},"isValid":{"type":"boolean"},"rowNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.ImportRenamedHeaderDto":{"additionalProperties":false,"properties":{"column":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"original":{"nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportRowValidationDto":{"additionalProperties":false,"properties":{"errorMessage":{"nullable":true,"type":"string"},"existingValues":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"isDuplicate":{"type":"boolean"},"isValid":{"type":"boolean"},"rowNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.ImportSuggestedMappingDto":{"additionalProperties":false,"properties":{"columnName":{"nullable":true,"type":"string"},"fieldKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.ImportTargetColumnDto":{"additionalProperties":false,"properties":{"canonical":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"required":{"type":"boolean"}},"type":"object"},"Office.ImportWikiDocxResult":{"additionalProperties":false,"properties":{"pageId":{"format":"uuid","type":"string"},"skippedImages":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.IncomingDocumentsControllerAssignRequest":{"additionalProperties":false,"properties":{"handlerId":{"format":"uuid","nullable":true,"type":"string"},"handlingUnit":{"nullable":true,"type":"string"},"resolveDueDate":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Office.IncomingDocumentsControllerLinkTaskRequest":{"additionalProperties":false,"properties":{"taskId":{"format":"uuid","type":"string"}},"type":"object"},"Office.IncomingDocumentsControllerRegisterRequest":{"additionalProperties":false,"properties":{"abstract":{"nullable":true,"type":"string"},"fileId":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"receivedDate":{"format":"date","nullable":true,"type":"string"},"registerId":{"format":"uuid","nullable":true,"type":"string"},"sender":{"nullable":true,"type":"string"},"sourceDate":{"format":"date","nullable":true,"type":"string"},"sourceSymbol":{"nullable":true,"type":"string"}},"type":"object"},"Office.IncomingDocumentsControllerUpdateRequest":{"additionalProperties":false,"properties":{"abstract":{"nullable":true,"type":"string"},"fileId":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"receivedDate":{"format":"date","type":"string"},"sender":{"nullable":true,"type":"string"},"sourceDate":{"format":"date","nullable":true,"type":"string"},"sourceSymbol":{"nullable":true,"type":"string"}},"type":"object"},"Office.InviteAttendeesRequest":{"additionalProperties":false,"properties":{"guestEmails":{"items":{"type":"string"},"nullable":true,"type":"array"},"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.IpAllowlistDto":{"additionalProperties":false,"properties":{"enabled":{"type":"boolean"},"entries":{"items":{"$ref":"#/components/schemas/Office.IpAllowlistEntryDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.IpAllowlistEntryDto":{"additionalProperties":false,"properties":{"cidr":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"label":{"nullable":true,"type":"string"}},"type":"object"},"Office.KeyResultCheckInDto":{"additionalProperties":false,"properties":{"confidence":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"keyResultId":{"format":"uuid","type":"string"},"kind":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"previousValue":{"format":"double","type":"number"},"value":{"format":"double","type":"number"}},"type":"object"},"Office.KeyResultDto":{"additionalProperties":false,"properties":{"currentValue":{"format":"double","type":"number"},"hasValue":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"isStale":{"type":"boolean"},"lastCheckInAt":{"format":"date-time","nullable":true,"type":"string"},"lastSourceAt":{"format":"date-time","nullable":true,"type":"string"},"metricCode":{"nullable":true,"type":"string"},"metricCurve":{"nullable":true,"type":"string"},"metricScope":{"$ref":"#/components/schemas/Office.MetricScopeInput"},"metricState":{"nullable":true,"type":"string"},"metricStateSince":{"format":"date-time","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"objectiveId":{"format":"uuid","type":"string"},"progressPercent":{"format":"int32","type":"integer"},"sortOrder":{"format":"int32","type":"integer"},"source":{"nullable":true,"type":"string"},"startValue":{"format":"double","type":"number"},"targetValue":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.KeyResultSourceInput":{"additionalProperties":false,"properties":{"metricCode":{"nullable":true,"type":"string"},"metricScope":{"$ref":"#/components/schemas/Office.MetricScopeInput"},"source":{"nullable":true,"type":"string"}},"type":"object"},"Office.LikeAnnouncementRequest":{"additionalProperties":false,"properties":{"liked":{"type":"boolean"}},"type":"object"},"Office.LinkPreviewDto":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"siteName":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.LinkTaskDocRequest":{"additionalProperties":false,"properties":{"docNodeId":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.LinkedTaskDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"taskId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.ListRecordsRequest":{"additionalProperties":false,"properties":{"colorRules":{"items":{"$ref":"#/components/schemas/Office.RecordColorRule"},"nullable":true,"type":"array"},"filter":{"$ref":"#/components/schemas/Office.RecordFilter"},"groupFieldId":{"nullable":true,"type":"string"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"sort":{"items":{"$ref":"#/components/schemas/Office.RecordSort"},"nullable":true,"type":"array"}},"type":"object"},"Office.ListTaskDependenciesBatchRequest":{"additionalProperties":false,"properties":{"taskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MapImportRequest":{"additionalProperties":false,"properties":{"columnMapping":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"matchKey":{"nullable":true,"type":"string"},"uploadKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.MapImportResultDto":{"additionalProperties":false,"properties":{"headerFingerprint":{"nullable":true,"type":"string"},"preview":{"$ref":"#/components/schemas/Office.ImportPreviewDto"},"skippedHeaders":{"items":{"type":"string"},"nullable":true,"type":"array"},"targetColumns":{"items":{"$ref":"#/components/schemas/Office.ImportTargetColumnDto"},"nullable":true,"type":"array"},"unknownHeaders":{"items":{"type":"string"},"nullable":true,"type":"array"},"unknownTargets":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MarkNotificationsReadRequest":{"additionalProperties":false,"properties":{"ids":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MeetingActionItemDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"taskId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MeetingMinuteDto":{"additionalProperties":false,"properties":{"actionItems":{"items":{"$ref":"#/components/schemas/Office.MeetingActionItemDto"},"nullable":true,"type":"array"},"artifactsFetchedAt":{"format":"date-time","nullable":true,"type":"string"},"decisions":{"nullable":true,"type":"string"},"eventId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"publishedAt":{"format":"date-time","nullable":true,"type":"string"},"recordedBy":{"format":"uuid","type":"string"},"recordingUrl":{"nullable":true,"type":"string"},"summary":{"nullable":true,"type":"string"},"transcriptText":{"nullable":true,"type":"string"}},"type":"object"},"Office.MeetingProviderDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"connected":{"type":"boolean"},"linkFromCalendarEvent":{"type":"boolean"}},"type":"object"},"Office.MeetingRoomDto":{"additionalProperties":false,"properties":{"autoReleaseMinutes":{"format":"int32","nullable":true,"type":"integer"},"building":{"nullable":true,"type":"string"},"capacity":{"format":"int32","type":"integer"},"equipment":{"items":{"type":"string"},"nullable":true,"type":"array"},"floor":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"location":{"nullable":true,"type":"string"},"maxBookingMinutes":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"requiresApproval":{"type":"boolean"}},"type":"object"},"Office.MergeFieldDto":{"additionalProperties":false,"properties":{"example":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"token":{"nullable":true,"type":"string"}},"type":"object"},"Office.MessageAttachmentDto":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"hasThumbnail":{"type":"boolean"},"height":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"isAudio":{"type":"boolean"},"isImage":{"type":"boolean"},"relativePath":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"transcript":{"$ref":"#/components/schemas/Office.AttachmentTranscriptDto"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.MessageReactionDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"emoji":{"nullable":true,"type":"string"},"reacted":{"type":"boolean"},"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MessageToWorkItemResultDto":{"additionalProperties":false,"properties":{"cardMessageId":{"format":"uuid","nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"subtaskIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MessageTranslationDto":{"additionalProperties":false,"properties":{"messageId":{"format":"uuid","type":"string"},"targetLanguage":{"nullable":true,"type":"string"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.MetricCatalogItemDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"code":{"nullable":true,"type":"string"},"curve":{"nullable":true,"type":"string"},"labelEn":{"nullable":true,"type":"string"},"labelVi":{"nullable":true,"type":"string"},"planned":{"type":"boolean"},"reasonCode":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.MetricPreviewDto":{"additionalProperties":false,"properties":{"reasonCode":{"nullable":true,"type":"string"},"sourceUpdatedAt":{"format":"date-time","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Office.MetricScopeInput":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"cropTypeId":{"format":"uuid","nullable":true,"type":"string"},"parcelIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"zoneId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MomentDto":{"additionalProperties":false,"properties":{"attachmentId":{"format":"uuid","nullable":true,"type":"string"},"authorId":{"format":"uuid","type":"string"},"caption":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"hasThumbnail":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"isViewed":{"type":"boolean"},"viewCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.MomentGroupDto":{"additionalProperties":false,"properties":{"authorId":{"format":"uuid","type":"string"},"hasUnviewed":{"type":"boolean"},"latestAt":{"format":"date-time","type":"string"},"moments":{"items":{"$ref":"#/components/schemas/Office.MomentDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.MoveDocNodeRequest":{"additionalProperties":false,"properties":{"newParentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MoveFileRequest":{"additionalProperties":false,"properties":{"targetFolderId":{"format":"uuid","type":"string"}},"type":"object"},"Office.MoveFolderRequest":{"additionalProperties":false,"properties":{"newParentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MoveTaskGroupRequest":{"additionalProperties":false,"properties":{"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MoveTaskListGroupRequest":{"additionalProperties":false,"properties":{"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MoveTaskListToGroupRequest":{"additionalProperties":false,"properties":{"groupId":{"format":"uuid","nullable":true,"type":"string"},"orderedIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.MoveTaskToListRequest":{"additionalProperties":false,"properties":{"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MoveWikiPageRequest":{"additionalProperties":false,"properties":{"newParentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.MySupportChannelDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"channelId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"unreadCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.NotificationCategoryCountDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"total":{"format":"int32","type":"integer"},"unread":{"format":"int32","type":"integer"}},"type":"object"},"Office.NotificationCountsDto":{"additionalProperties":false,"properties":{"categories":{"items":{"$ref":"#/components/schemas/Office.NotificationCategoryCountDto"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"},"unread":{"format":"int32","type":"integer"}},"type":"object"},"Office.NotificationDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"isRead":{"type":"boolean"},"link":{"nullable":true,"type":"string"},"message":{"nullable":true,"type":"string"},"messageKey":{"nullable":true,"type":"string"},"notificationType":{"nullable":true,"type":"string"},"readAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.NotificationInboxItemDto":{"additionalProperties":false,"properties":{"body":{"nullable":true,"type":"string"},"category":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"deepLink":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","nullable":true,"type":"string"},"entityType":{"nullable":true,"type":"string"},"entityUrl":{"nullable":true,"type":"string"},"groupCount":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"isBatched":{"type":"boolean"},"isRead":{"type":"boolean"},"listLink":{"nullable":true,"type":"string"},"notificationType":{"nullable":true,"type":"string"},"readAt":{"format":"date-time","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.NotificationInboxPageDto":{"additionalProperties":false,"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.NotificationInboxItemDto"},"nullable":true,"type":"array"},"nextCursor":{"nullable":true,"type":"string"}},"type":"object"},"Office.NotificationSettingDto":{"additionalProperties":false,"properties":{"inApp":{"type":"boolean"},"notificationType":{"nullable":true,"type":"string"}},"type":"object"},"Office.ObjectiveDto":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"closedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"endDate":{"format":"date","type":"string"},"expectedProgress":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"isAtRisk":{"type":"boolean"},"keyResults":{"items":{"$ref":"#/components/schemas/Office.KeyResultDto"},"nullable":true,"type":"array"},"level":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","type":"string"},"paceStatus":{"nullable":true,"type":"string"},"parentObjectiveId":{"format":"uuid","nullable":true,"type":"string"},"periodKind":{"nullable":true,"type":"string"},"progress":{"format":"int32","type":"integer"},"quarter":{"format":"int32","type":"integer"},"retrospective":{"nullable":true,"type":"string"},"seasonDatesAt":{"format":"date-time","nullable":true,"type":"string"},"seasonId":{"format":"uuid","nullable":true,"type":"string"},"seasonKey":{"nullable":true,"type":"string"},"startDate":{"format":"date","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"year":{"format":"int32","type":"integer"}},"type":"object"},"Office.ObjectiveListDto":{"additionalProperties":false,"properties":{"objectives":{"items":{"$ref":"#/components/schemas/Office.ObjectiveDto"},"nullable":true,"type":"array"},"summary":{"$ref":"#/components/schemas/Office.OkrSummaryDto"}},"type":"object"},"Office.ObjectiveTemplateDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"keyResults":{"items":{"$ref":"#/components/schemas/Office.ObjectiveTemplateKeyResultDto"},"nullable":true,"type":"array"},"kind":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ObjectiveTemplateKeyResultDto":{"additionalProperties":false,"properties":{"metricCode":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.ObjectiveTreeNodeDto":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"children":{"items":{"$ref":"#/components/schemas/Office.ObjectiveTreeNodeDto"},"nullable":true,"type":"array"},"childrenProgress":{"format":"int32","nullable":true,"type":"integer"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"depth":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"isAtRisk":{"type":"boolean"},"keyResultCount":{"format":"int32","type":"integer"},"level":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","type":"string"},"paceStatus":{"nullable":true,"type":"string"},"parentObjectiveId":{"format":"uuid","nullable":true,"type":"string"},"progress":{"format":"int32","type":"integer"}},"type":"object"},"Office.OfficeAuditLogPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ActivityLogEntryDto"},"nullable":true,"type":"array"},"totalCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.OfficeDashboardWidget":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"kind":{"enum":["Stat","Percentage","Money"],"type":"string"},"labelKey":{"nullable":true,"type":"string"},"module":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"value":{"format":"double","type":"number"}},"type":"object"},"Office.OfficeDepartmentDto":{"additionalProperties":false,"properties":{"displayOrder":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"memberCount":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.OfficeDepartmentListDto":{"additionalProperties":false,"properties":{"departments":{"items":{"$ref":"#/components/schemas/Office.OfficeDepartmentDto"},"nullable":true,"type":"array"},"totalMemberCount":{"format":"int32","type":"integer"},"unassignedCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.OfficeEntitlementsResponse":{"additionalProperties":false,"properties":{"configured":{"type":"boolean"},"disabledModules":{"items":{"type":"string"},"nullable":true,"type":"array"},"knownModules":{"items":{"type":"string"},"nullable":true,"type":"array"},"modules":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.OfficeMemberDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"departmentName":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isStarred":{"type":"boolean"},"jobTitle":{"nullable":true,"type":"string"}},"type":"object"},"Office.OfficeMemberDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.OfficeMemberDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.OfficeModuleDashboardResult":{"additionalProperties":false,"properties":{"failed":{"type":"boolean"},"module":{"nullable":true,"type":"string"},"widgets":{"items":{"$ref":"#/components/schemas/Office.OfficeDashboardWidget"},"nullable":true,"type":"array"}},"type":"object"},"Office.OfficeModuleSearchResult":{"additionalProperties":false,"properties":{"failed":{"type":"boolean"},"hits":{"items":{"$ref":"#/components/schemas/Office.OfficeSearchHit"},"nullable":true,"type":"array"},"module":{"nullable":true,"type":"string"}},"type":"object"},"Office.OfficeSearchHit":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"module":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"titleKey":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.OkrSummaryDto":{"additionalProperties":false,"properties":{"atRiskCount":{"format":"int32","type":"integer"},"expectedProgress":{"format":"int32","type":"integer"},"keyResultCount":{"format":"int32","type":"integer"},"metricKeyResultCount":{"format":"int32","type":"integer"},"objectiveCount":{"format":"int32","type":"integer"},"overallProgress":{"format":"int32","type":"integer"},"sourceErrorKeyResultCount":{"format":"int32","type":"integer"},"staleKeyResultCount":{"format":"int32","type":"integer"},"watchCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.OpenEntityDiscussionRequest":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"}},"type":"object"},"Office.OpenEntityDiscussionResponse":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"}},"type":"object"},"Office.OrgChartDto":{"additionalProperties":false,"properties":{"unassignedMembers":{"items":{"$ref":"#/components/schemas/Office.OrgMemberDto"},"nullable":true,"type":"array"},"units":{"items":{"$ref":"#/components/schemas/Office.OrgUnitNodeDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.OrgMemberDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"branchName":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"employeeCode":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"},"jobTitle":{"nullable":true,"type":"string"},"joinedAt":{"format":"date-time","nullable":true,"type":"string"},"managerUserId":{"format":"uuid","nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.OrgUnitNodeDto":{"additionalProperties":false,"properties":{"children":{"items":{"$ref":"#/components/schemas/Office.OrgUnitNodeDto"},"nullable":true,"type":"array"},"displayOrder":{"format":"int32","type":"integer"},"heads":{"items":{"$ref":"#/components/schemas/Office.OrgMemberDto"},"nullable":true,"type":"array"},"headsDerived":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"members":{"items":{"$ref":"#/components/schemas/Office.OrgMemberDto"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.OutgoingContactRequestDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"targetEmail":{"nullable":true,"type":"string"}},"type":"object"},"Office.OutgoingDocumentsControllerIssueRequest":{"additionalProperties":false,"properties":{"issuedDate":{"format":"date","nullable":true,"type":"string"},"signerId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.OutgoingDocumentsControllerRevokeRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.OutgoingDocumentsControllerSaveRequest":{"additionalProperties":false,"properties":{"abstract":{"nullable":true,"type":"string"},"ccRecipients":{"nullable":true,"type":"string"},"confidentiality":{"nullable":true,"type":"string"},"copyCount":{"format":"int32","type":"integer"},"documentTypeCode":{"nullable":true,"type":"string"},"draftingUnit":{"nullable":true,"type":"string"},"fileId":{"format":"uuid","nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"plannedIssuedDate":{"format":"date","nullable":true,"type":"string"},"recipients":{"nullable":true,"type":"string"},"registerId":{"format":"uuid","type":"string"},"signerId":{"format":"uuid","nullable":true,"type":"string"},"titleType":{"nullable":true,"type":"string"},"urgency":{"nullable":true,"type":"string"}},"type":"object"},"Office.OutgoingDocumentsControllerSubmitRequest":{"additionalProperties":false,"properties":{"approvalDefinitionCode":{"nullable":true,"type":"string"}},"type":"object"},"Office.PatchTaskRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"fields":{"items":{"type":"string"},"nullable":true,"type":"array"},"parentTaskId":{"format":"uuid","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"progress":{"format":"int32","nullable":true,"type":"integer"},"requiresReview":{"nullable":true,"type":"boolean"},"rev":{"format":"int64","nullable":true,"type":"integer"},"reviewerId":{"format":"uuid","nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.PeopleBusyRequest":{"additionalProperties":false,"properties":{"from":{"format":"date-time","type":"string"},"to":{"format":"date-time","type":"string"},"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.PhoneDirectoryPerson":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"department":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"},"workspaceCode":{"nullable":true,"type":"string"},"workspaceId":{"format":"uuid","type":"string"},"workspaceName":{"nullable":true,"type":"string"}},"type":"object"},"Office.PhoneLookupResultDto":{"additionalProperties":false,"properties":{"crossWorkspace":{"type":"boolean"},"people":{"items":{"$ref":"#/components/schemas/Office.PhoneDirectoryPerson"},"nullable":true,"type":"array"},"phone":{"nullable":true,"type":"string"}},"type":"object"},"Office.PinAnnouncementRequest":{"additionalProperties":false,"properties":{"pinned":{"type":"boolean"}},"type":"object"},"Office.PlanUsageDto":{"additionalProperties":false,"properties":{"isReadOnly":{"type":"boolean"},"planCode":{"nullable":true,"type":"string"},"quotas":{"items":{"$ref":"#/components/schemas/Office.QuotaStatusDto"},"nullable":true,"type":"array"},"trialEndsAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.PreviewMetricRequest":{"additionalProperties":false,"properties":{"from":{"format":"date","type":"string"},"metricCode":{"nullable":true,"type":"string"},"scope":{"$ref":"#/components/schemas/Office.MetricScopeInput"},"to":{"format":"date","type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.PreviewPrintTemplateRequest":{"additionalProperties":false,"properties":{"contentHtml":{"nullable":true,"type":"string"},"documentType":{"nullable":true,"type":"string"},"marginMm":{"format":"int32","type":"integer"},"orientation":{"nullable":true,"type":"string"},"paperSize":{"nullable":true,"type":"string"}},"type":"object"},"Office.PrintFieldGroupDto":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"vars":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.PrintRenderResultDto":{"additionalProperties":false,"properties":{"documentType":{"nullable":true,"type":"string"},"html":{"nullable":true,"type":"string"},"marginMm":{"format":"int32","type":"integer"},"orientation":{"nullable":true,"type":"string"},"paperSize":{"nullable":true,"type":"string"},"templateId":{"format":"uuid","type":"string"},"templateName":{"nullable":true,"type":"string"}},"type":"object"},"Office.PrintTemplateDetailDto":{"additionalProperties":false,"properties":{"contentHtml":{"nullable":true,"type":"string"},"template":{"$ref":"#/components/schemas/Office.PrintTemplateDto"}},"type":"object"},"Office.PrintTemplateDto":{"additionalProperties":false,"properties":{"currentVersionNumber":{"format":"int32","type":"integer"},"description":{"nullable":true,"type":"string"},"documentType":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"isDefault":{"type":"boolean"},"marginMm":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"orientation":{"nullable":true,"type":"string"},"paperSize":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.PrintTemplateOptionDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isDefault":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.PrintTemplateVersionDto":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isCurrent":{"type":"boolean"},"versionNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.PrintVariableCatalogDto":{"additionalProperties":false,"properties":{"documentType":{"nullable":true,"type":"string"},"fieldGroups":{"items":{"$ref":"#/components/schemas/Office.PrintFieldGroupDto"},"nullable":true,"type":"array"},"sampleData":{"additionalProperties":{"nullable":true},"nullable":true,"type":"object"},"varLabels":{"additionalProperties":{"type":"string"},"nullable":true,"type":"object"},"varTypes":{"additionalProperties":{"type":"string"},"nullable":true,"type":"object"}},"type":"object"},"Office.ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"nullable":true,"type":"string"},"instance":{"nullable":true,"type":"string"},"status":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.ProjectHealthReasonDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"value":{"format":"int32","type":"integer"}},"type":"object"},"Office.ProjectPortfolioDto":{"additionalProperties":false,"properties":{"generatedAt":{"format":"date-time","type":"string"},"kpis":{"$ref":"#/components/schemas/Office.ProjectPortfolioKpisDto"},"projects":{"items":{"$ref":"#/components/schemas/Office.ProjectRowDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.ProjectPortfolioKpisDto":{"additionalProperties":false,"properties":{"late":{"format":"int32","type":"integer"},"overdueTasks":{"format":"int32","type":"integer"},"running":{"format":"int32","type":"integer"},"stalled":{"format":"int32","type":"integer"},"unassignedTasks":{"format":"int32","type":"integer"}},"type":"object"},"Office.ProjectRowDto":{"additionalProperties":false,"properties":{"active":{"format":"int32","type":"integer"},"colorTag":{"nullable":true,"type":"string"},"done":{"format":"int32","type":"integer"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"folderId":{"format":"uuid","nullable":true,"type":"string"},"health":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"isPinned":{"type":"boolean"},"lastActivityAt":{"format":"date-time","nullable":true,"type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"},"ownerId":{"format":"uuid","type":"string"},"reasons":{"items":{"$ref":"#/components/schemas/Office.ProjectHealthReasonDto"},"nullable":true,"type":"array"},"stageCount":{"format":"int32","type":"integer"},"stageIndex":{"format":"int32","nullable":true,"type":"integer"},"stageName":{"nullable":true,"type":"string"},"total":{"format":"int32","type":"integer"},"unassigned":{"format":"int32","type":"integer"}},"type":"object"},"Office.PromoteDirectToGroupResultDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"syncTruncated":{"type":"boolean"},"syncedMessageCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ProposeTimeRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"},"occurrenceStart":{"format":"date-time","nullable":true,"type":"string"},"proposedEndAt":{"format":"date-time","type":"string"},"proposedStartAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.PublicContactCardDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"isUsable":{"type":"boolean"},"organizationName":{"nullable":true,"type":"string"},"ownerName":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublicContactCardsControllerClaimRequest":{"additionalProperties":false,"properties":{"email":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublicContactClaimDto":{"additionalProperties":false,"properties":{"emailSentTo":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublicFormAttachmentRulesDto":{"additionalProperties":false,"properties":{"accept":{"nullable":true,"type":"string"},"enabled":{"type":"boolean"},"maxFiles":{"format":"int32","type":"integer"},"maxMb":{"format":"int32","type":"integer"}},"type":"object"},"Office.PublicFormDto":{"additionalProperties":false,"properties":{"attachments":{"$ref":"#/components/schemas/Office.PublicFormAttachmentRulesDto"},"coverUrl":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"fields":{"items":{"$ref":"#/components/schemas/Office.PublicFormFieldDto"},"nullable":true,"type":"array"},"formToken":{"nullable":true,"type":"string"},"logoUrl":{"nullable":true,"type":"string"},"tableName":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"viewName":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublicFormFieldDto":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"fieldId":{"nullable":true,"type":"string"},"isPrimary":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"property":{"nullable":true,"type":"string"},"type":{"format":"int32","type":"integer"}},"type":"object"},"Office.PublicFormUploadRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.PublicFormUploadTicketDto":{"additionalProperties":false,"properties":{"ticket":{"$ref":"#/components/schemas/Office.UploadTicketDto"},"uploadId":{"format":"uuid","type":"string"}},"type":"object"},"Office.PublicShareControllerOpenRequest":{"additionalProperties":false,"properties":{"password":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublicSharedDocumentDto":{"additionalProperties":false,"properties":{"allowDownload":{"type":"boolean"},"contentHtml":{"nullable":true,"type":"string"},"contentType":{"nullable":true,"type":"string"},"downloadUrl":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","nullable":true,"type":"integer"},"status":{"nullable":true,"type":"string"},"targetType":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.PublishMeetingMinuteRequest":{"additionalProperties":false,"properties":{"eventId":{"format":"uuid","type":"string"}},"type":"object"},"Office.PurgeDemoDataRequest":{"additionalProperties":false,"properties":{"batchId":{"format":"uuid","type":"string"},"includeUserCreated":{"type":"boolean"},"workspaceId":{"format":"uuid","type":"string"}},"type":"object"},"Office.QuestionDetailDto":{"additionalProperties":false,"properties":{"acceptedAnswerId":{"format":"uuid","nullable":true,"type":"string"},"answers":{"items":{"$ref":"#/components/schemas/Office.AnswerDto"},"nullable":true,"type":"array"},"askerId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"status":{"enum":["Open","Answered","Resolved","Closed"],"type":"string"},"title":{"nullable":true,"type":"string"},"topics":{"items":{"type":"string"},"nullable":true,"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.QuestionSummaryDto":{"additionalProperties":false,"properties":{"answerCount":{"format":"int32","type":"integer"},"askerId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"hasAcceptedAnswer":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"status":{"enum":["Open","Answered","Resolved","Closed"],"type":"string"},"title":{"nullable":true,"type":"string"},"topics":{"items":{"type":"string"},"nullable":true,"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.QuickMessageDto":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"shortcut":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.QuizAnswerInput":{"additionalProperties":false,"properties":{"questionId":{"format":"uuid","type":"string"},"selectedOptionIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.QuizAttemptResultDto":{"additionalProperties":false,"properties":{"attemptNo":{"format":"int32","type":"integer"},"passed":{"type":"boolean"},"questions":{"items":{"$ref":"#/components/schemas/Office.QuizQuestionOutcomeDto"},"nullable":true,"type":"array"},"scorePercent":{"format":"int32","type":"integer"}},"type":"object"},"Office.QuizAttemptSummaryDto":{"additionalProperties":false,"properties":{"attemptNo":{"format":"int32","type":"integer"},"passed":{"type":"boolean"},"scorePercent":{"format":"int32","type":"integer"},"submittedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.QuizOptionDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizOptionEditorDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isCorrect":{"type":"boolean"},"sortOrder":{"format":"int32","type":"integer"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizOptionInput":{"additionalProperties":false,"properties":{"isCorrect":{"type":"boolean"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizQuestionDto":{"additionalProperties":false,"properties":{"allowMultiple":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"options":{"items":{"$ref":"#/components/schemas/Office.QuizOptionDto"},"nullable":true,"type":"array"},"sortOrder":{"format":"int32","type":"integer"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizQuestionEditorDto":{"additionalProperties":false,"properties":{"allowMultiple":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"options":{"items":{"$ref":"#/components/schemas/Office.QuizOptionEditorDto"},"nullable":true,"type":"array"},"sortOrder":{"format":"int32","type":"integer"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizQuestionInput":{"additionalProperties":false,"properties":{"allowMultiple":{"type":"boolean"},"options":{"items":{"$ref":"#/components/schemas/Office.QuizOptionInput"},"nullable":true,"type":"array"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.QuizQuestionOutcomeDto":{"additionalProperties":false,"properties":{"answeredCorrectly":{"type":"boolean"},"questionId":{"format":"uuid","type":"string"}},"type":"object"},"Office.QuotaStatusDto":{"additionalProperties":false,"properties":{"hasOverride":{"type":"boolean"},"isExhausted":{"type":"boolean"},"isMeasured":{"type":"boolean"},"isNearLimit":{"type":"boolean"},"key":{"nullable":true,"type":"string"},"limit":{"format":"int64","type":"integer"},"used":{"format":"int64","nullable":true,"type":"integer"},"usedPercent":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.QuotedMessageDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isRecalled":{"type":"boolean"},"senderId":{"format":"uuid","type":"string"},"snippet":{"nullable":true,"type":"string"}},"type":"object"},"Office.ReactAnnouncementRequest":{"additionalProperties":false,"properties":{"reaction":{"nullable":true,"type":"string"}},"type":"object"},"Office.ReassignTaskRequest":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.RecordCellConflictDto":{"additionalProperties":false,"properties":{"currentValue":{"nullable":true,"type":"string"},"fieldId":{"nullable":true,"type":"string"},"fieldName":{"nullable":true,"type":"string"},"submittedValue":{"nullable":true,"type":"string"}},"type":"object"},"Office.RecordColorRule":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"filter":{"$ref":"#/components/schemas/Office.RecordFilter"}},"type":"object"},"Office.RecordDocViewRequest":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"}},"type":"object"},"Office.RecordDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"data":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"rowColor":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.RecordDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.RecordDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.RecordFilter":{"additionalProperties":false,"properties":{"conditions":{"items":{"$ref":"#/components/schemas/Office.FilterCondition"},"nullable":true,"type":"array"},"conjunction":{"nullable":true,"type":"string"},"groups":{"items":{"$ref":"#/components/schemas/Office.RecordFilter"},"nullable":true,"type":"array"},"hasCriteria":{"readOnly":true,"type":"boolean"}},"type":"object"},"Office.RecordGroupDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"value":{"nullable":true}},"type":"object"},"Office.RecordGroupsDto":{"additionalProperties":false,"properties":{"fieldHidden":{"type":"boolean"},"groups":{"items":{"$ref":"#/components/schemas/Office.RecordGroupDto"},"nullable":true,"type":"array"},"tooMany":{"type":"boolean"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.RecordGroupsRequest":{"additionalProperties":false,"properties":{"filter":{"$ref":"#/components/schemas/Office.RecordFilter"},"groupFieldId":{"nullable":true,"type":"string"},"sort":{"items":{"$ref":"#/components/schemas/Office.RecordSort"},"nullable":true,"type":"array"}},"type":"object"},"Office.RecordHistoryChangeDto":{"additionalProperties":false,"properties":{"fieldId":{"nullable":true,"type":"string"},"fieldName":{"nullable":true,"type":"string"},"fieldType":{"format":"int32","nullable":true,"type":"integer"},"newValue":{"nullable":true},"oldValue":{"nullable":true}},"type":"object"},"Office.RecordHistoryEntryDto":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"changes":{"items":{"$ref":"#/components/schemas/Office.RecordHistoryChangeDto"},"nullable":true,"type":"array"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.RecordKeyResultProgressRequest":{"additionalProperties":false,"properties":{"confidence":{"nullable":true,"type":"string"},"currentValue":{"format":"double","type":"number"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.RecordSort":{"additionalProperties":false,"properties":{"descending":{"type":"boolean"},"fieldId":{"nullable":true,"type":"string"}},"type":"object"},"Office.RecordUpdateResult":{"additionalProperties":false,"properties":{"applied":{"type":"boolean"},"conflicts":{"items":{"$ref":"#/components/schemas/Office.RecordCellConflictDto"},"nullable":true,"type":"array"},"message":{"nullable":true,"type":"string"},"messageKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.RegisterAttachmentRequest":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"height":{"format":"int32","nullable":true,"type":"integer"},"relativePath":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"},"storagePath":{"nullable":true,"type":"string"},"thumbnailPath":{"nullable":true,"type":"string"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ReminderInput":{"additionalProperties":false,"properties":{"channel":{"nullable":true,"type":"string"},"minutesBefore":{"format":"int32","type":"integer"}},"type":"object"},"Office.RenameDocNodeRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.RenameRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.RenderPrintDocumentRequest":{"additionalProperties":false,"properties":{"documentType":{"nullable":true,"type":"string"},"entityId":{"format":"uuid","type":"string"},"templateId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.ReorderFieldItemRequest":{"additionalProperties":false,"properties":{"fieldId":{"format":"uuid","type":"string"},"position":{"format":"int32","type":"integer"}},"type":"object"},"Office.ReorderFieldsRequest":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ReorderFieldItemRequest"},"nullable":true,"type":"array"}},"type":"object"},"Office.ReorderLessonsRequest":{"additionalProperties":false,"properties":{"lessonIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ReorderRequest":{"additionalProperties":false,"properties":{"orderedIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ReplaceReviewCriteriaRequest":{"additionalProperties":false,"properties":{"criteria":{"items":{"$ref":"#/components/schemas/Office.ReviewCriterionInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.ReplaceTaskTeamMembersRequest":{"additionalProperties":false,"properties":{"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.RequestWikiAccessRequest":{"additionalProperties":false,"properties":{"level":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"message":{"nullable":true,"type":"string"}},"type":"object"},"Office.RerunFailedAutomationRunsResult":{"additionalProperties":false,"properties":{"alreadyRerun":{"format":"int32","type":"integer"},"candidates":{"format":"int32","type":"integer"},"refused":{"format":"int32","type":"integer"},"remaining":{"format":"int32","type":"integer"},"started":{"format":"int32","type":"integer"}},"type":"object"},"Office.RerunFailedRequest":{"additionalProperties":false,"properties":{"automationId":{"format":"uuid","nullable":true,"type":"string"},"from":{"format":"date-time","nullable":true,"type":"string"},"max":{"format":"int32","nullable":true,"type":"integer"},"to":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.RescheduleEventRequest":{"additionalProperties":false,"properties":{"allDay":{"type":"boolean"},"endAt":{"format":"date-time","type":"string"},"occurrenceStart":{"format":"date-time","nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ResolveMemberEmailsResultDto":{"additionalProperties":false,"properties":{"matched":{"items":{"$ref":"#/components/schemas/Office.ResolvedMemberEmailDto"},"nullable":true,"type":"array"},"unmatched":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ResolvedMemberEmailDto":{"additionalProperties":false,"properties":{"avatarUrl":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"fullName":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"jobTitle":{"nullable":true,"type":"string"}},"type":"object"},"Office.RespondToInviteRequest":{"additionalProperties":false,"properties":{"note":{"nullable":true,"type":"string"},"responseStatus":{"nullable":true,"type":"string"}},"type":"object"},"Office.RetentionPolicyDto":{"additionalProperties":false,"properties":{"isEnabled":{"type":"boolean"},"lastDeletedCount":{"format":"int64","type":"integer"},"lastRunAt":{"format":"date-time","nullable":true,"type":"string"},"maxDays":{"format":"int32","type":"integer"},"retentionDays":{"format":"int32","type":"integer"},"target":{"nullable":true,"type":"string"}},"type":"object"},"Office.RetrospectiveRequest":{"additionalProperties":false,"properties":{"retrospective":{"nullable":true,"type":"string"}},"type":"object"},"Office.ReturnTaskRequest":{"additionalProperties":false,"properties":{"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.ReviewCriterionDto":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"weightPercent":{"format":"double","type":"number"}},"type":"object"},"Office.ReviewCriterionInput":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"weightPercent":{"format":"double","type":"number"}},"type":"object"},"Office.ReviewCycleDto":{"additionalProperties":false,"properties":{"activatedAt":{"format":"date-time","nullable":true,"type":"string"},"closedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"criteria":{"items":{"$ref":"#/components/schemas/Office.ReviewCriterionDto"},"nullable":true,"type":"array"},"description":{"nullable":true,"type":"string"},"dueDate":{"format":"date-time","type":"string"},"formCount":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"periodEnd":{"format":"date-time","type":"string"},"periodStart":{"format":"date-time","type":"string"},"status":{"nullable":true,"type":"string"},"totalWeightPercent":{"format":"double","type":"number"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.ReviewFormDto":{"additionalProperties":false,"properties":{"canEditManager":{"type":"boolean"},"canEditSelf":{"type":"boolean"},"cycleId":{"format":"uuid","type":"string"},"cycleName":{"nullable":true,"type":"string"},"cycleStatus":{"nullable":true,"type":"string"},"dueDate":{"format":"date-time","type":"string"},"employeeId":{"format":"uuid","type":"string"},"finalizedAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"items":{"items":{"$ref":"#/components/schemas/Office.ReviewFormItemDto"},"nullable":true,"type":"array"},"managerFeedbackVisible":{"type":"boolean"},"managerOverallScore":{"format":"double","nullable":true,"type":"number"},"managerSummary":{"nullable":true,"type":"string"},"objectiveId":{"format":"uuid","nullable":true,"type":"string"},"reviewerId":{"format":"uuid","type":"string"},"selfOverallScore":{"format":"double","nullable":true,"type":"number"},"selfSubmittedAt":{"format":"date-time","nullable":true,"type":"string"},"selfSummary":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"viewerRole":{"nullable":true,"type":"string"}},"type":"object"},"Office.ReviewFormItemDto":{"additionalProperties":false,"properties":{"criterionDescription":{"nullable":true,"type":"string"},"criterionId":{"format":"uuid","type":"string"},"criterionName":{"nullable":true,"type":"string"},"managerComment":{"nullable":true,"type":"string"},"managerScore":{"format":"int32","nullable":true,"type":"integer"},"selfComment":{"nullable":true,"type":"string"},"selfScore":{"format":"int32","nullable":true,"type":"integer"},"sortOrder":{"format":"int32","type":"integer"},"weightPercent":{"format":"double","type":"number"}},"type":"object"},"Office.ReviewFormListDto":{"additionalProperties":false,"properties":{"forms":{"items":{"$ref":"#/components/schemas/Office.ReviewFormDto"},"nullable":true,"type":"array"},"summary":{"$ref":"#/components/schemas/Office.ReviewFormSummaryDto"}},"type":"object"},"Office.ReviewFormSummaryDto":{"additionalProperties":false,"properties":{"awaitingManagerReview":{"format":"int32","type":"integer"},"awaitingSelfReview":{"format":"int32","type":"integer"},"finalized":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.ReviewScoreInput":{"additionalProperties":false,"properties":{"comment":{"nullable":true,"type":"string"},"criterionId":{"format":"uuid","type":"string"},"score":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.ReviewTimesheetPeriodRequest":{"additionalProperties":false,"properties":{"approved":{"type":"boolean"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.RoleDetailDto":{"additionalProperties":false,"properties":{"appId":{"format":"uuid","type":"string"},"grants":{"items":{"$ref":"#/components/schemas/Office.RoleGrantDto"},"nullable":true,"type":"array"},"id":{"format":"uuid","type":"string"},"isAdmin":{"type":"boolean"},"members":{"items":{"$ref":"#/components/schemas/Office.RoleMemberDto"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.RoleDto":{"additionalProperties":false,"properties":{"appId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isAdmin":{"type":"boolean"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.RoleGrantDto":{"additionalProperties":false,"properties":{"access":{"nullable":true,"type":"string"},"columnFields":{"nullable":true,"type":"string"},"definitionId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"roleId":{"format":"uuid","type":"string"},"rowRule":{"nullable":true,"type":"string"},"scope":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.RoleMemberDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"memberId":{"format":"uuid","type":"string"},"memberType":{"nullable":true,"type":"string"},"roleId":{"format":"uuid","type":"string"}},"type":"object"},"Office.RolloverRequest":{"additionalProperties":false,"properties":{"objectiveIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"periodKind":{"nullable":true,"type":"string"},"quarter":{"format":"int32","nullable":true,"type":"integer"},"seasonId":{"format":"uuid","nullable":true,"type":"string"},"seasonKey":{"nullable":true,"type":"string"},"year":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.RoomAvailabilityDto":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"conflicts":{"items":{"$ref":"#/components/schemas/Office.RoomBusySlotDto"},"nullable":true,"type":"array"},"roomId":{"format":"uuid","type":"string"}},"type":"object"},"Office.RoomBusySlotDto":{"additionalProperties":false,"properties":{"bookedBy":{"format":"uuid","type":"string"},"endAt":{"format":"date-time","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventTitle":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.SaveAnnouncementRequest":{"additionalProperties":false,"properties":{"saved":{"type":"boolean"}},"type":"object"},"Office.SaveCourseLessonRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"videoUrl":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveIpAllowlistEntryRequest":{"additionalProperties":false,"properties":{"cidr":{"nullable":true,"type":"string"},"isActive":{"type":"boolean"},"label":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveMeetingMinuteRequest":{"additionalProperties":false,"properties":{"actionItems":{"items":{"$ref":"#/components/schemas/Office.ActionItemInput"},"nullable":true,"type":"array"},"decisions":{"nullable":true,"type":"string"},"eventId":{"format":"uuid","type":"string"},"summary":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveQuizRequest":{"additionalProperties":false,"properties":{"questions":{"items":{"$ref":"#/components/schemas/Office.QuizQuestionInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.SaveRetentionPolicyRequest":{"additionalProperties":false,"properties":{"isEnabled":{"type":"boolean"},"retentionDays":{"format":"int32","type":"integer"},"target":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveReviewScoresRequest":{"additionalProperties":false,"properties":{"scores":{"items":{"$ref":"#/components/schemas/Office.ReviewScoreInput"},"nullable":true,"type":"array"},"summary":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveTaskFilterRequest":{"additionalProperties":false,"properties":{"isShared":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"payload":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveTaskGroupRequest":{"additionalProperties":false,"properties":{"endDate":{"format":"date","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"startDate":{"format":"date","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.SaveTaskListGroupRequest":{"additionalProperties":false,"properties":{"departmentId":{"format":"uuid","nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"},"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.SaveTaskListRequest":{"additionalProperties":false,"properties":{"colorTag":{"nullable":true,"type":"string"},"groupId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.SaveTaskStatusRequest":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"colorTag":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.SaveTemplateRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.ScheduledMessageDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"content":{"nullable":true,"type":"string"},"failureKey":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"scheduledAt":{"format":"date-time","type":"string"},"sentMessageId":{"format":"uuid","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Office.SeasonDriftDto":{"additionalProperties":false,"properties":{"changed":{"type":"boolean"},"currentEnd":{"format":"date","nullable":true,"type":"string"},"currentStart":{"format":"date","nullable":true,"type":"string"},"errorKey":{"nullable":true,"type":"string"},"storedEnd":{"format":"date","type":"string"},"storedStart":{"format":"date","type":"string"}},"type":"object"},"Office.SeedDemoDataRequest":{"additionalProperties":false,"properties":{"batchId":{"format":"uuid","type":"string"},"templateVersion":{"nullable":true,"type":"string"},"workspaceId":{"format":"uuid","type":"string"}},"type":"object"},"Office.SendMessageAttachment":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"height":{"format":"int32","nullable":true,"type":"integer"},"sizeBytes":{"format":"int64","type":"integer"},"storagePath":{"nullable":true,"type":"string"},"thumbnailPath":{"nullable":true,"type":"string"},"width":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.SendMessageResultDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"deduplicated":{"type":"boolean"},"messageId":{"format":"uuid","type":"string"},"registeredAttachments":{"format":"int32","type":"integer"}},"type":"object"},"Office.ServiceEventDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"keys":{"items":{"$ref":"#/components/schemas/Office.ServiceEventKeyDto"},"nullable":true,"type":"array"},"label":{"nullable":true,"type":"string"},"perMinuteCap":{"format":"int32","type":"integer"},"requiresFilter":{"type":"boolean"}},"type":"object"},"Office.ServiceEventKeyDto":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"token":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.ServiceEventServiceDto":{"additionalProperties":false,"properties":{"events":{"items":{"$ref":"#/components/schemas/Office.ServiceEventDto"},"nullable":true,"type":"array"},"label":{"nullable":true,"type":"string"},"service":{"nullable":true,"type":"string"}},"type":"object"},"Office.SetCommentResolvedRequest":{"additionalProperties":false,"properties":{"resolved":{"type":"boolean"}},"type":"object"},"Office.SetCustomFieldValueRequest":{"additionalProperties":false,"properties":{"customFieldId":{"format":"uuid","type":"string"},"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Office.SetDocNodeRestrictedRequest":{"additionalProperties":false,"properties":{"restricted":{"type":"boolean"}},"type":"object"},"Office.SetDocumentTemplateActiveRequest":{"additionalProperties":false,"properties":{"active":{"type":"boolean"}},"type":"object"},"Office.SetEventRemindersRequest":{"additionalProperties":false,"properties":{"reminders":{"items":{"$ref":"#/components/schemas/Office.ReminderInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.SetIpRestrictionRequest":{"additionalProperties":false,"properties":{"enabled":{"type":"boolean"}},"type":"object"},"Office.SetLessonCompletedRequest":{"additionalProperties":false,"properties":{"completed":{"type":"boolean"}},"type":"object"},"Office.SetPrintTemplateActiveRequest":{"additionalProperties":false,"properties":{"active":{"type":"boolean"}},"type":"object"},"Office.SetTaskLinksRequest":{"additionalProperties":false,"properties":{"links":{"items":{"$ref":"#/components/schemas/Office.TaskLinkInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.SetTaskListGroupTeamRequest":{"additionalProperties":false,"properties":{"isTeam":{"type":"boolean"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.SetTaskListProjectRequest":{"additionalProperties":false,"properties":{"dueAt":{"format":"date-time","nullable":true,"type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.SetTaskListTemplateRequest":{"additionalProperties":false,"properties":{"isTemplate":{"type":"boolean"}},"type":"object"},"Office.SetVisibilityRequest":{"additionalProperties":false,"properties":{"isVisible":{"type":"boolean"}},"type":"object"},"Office.SetWikiPageRestrictedRequest":{"additionalProperties":false,"properties":{"restricted":{"type":"boolean"}},"type":"object"},"Office.SetWikiPageTagsRequest":{"additionalProperties":false,"properties":{"tags":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.ShareAnnouncementRequest":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.ShareCalendarRequest":{"additionalProperties":false,"properties":{"role":{"nullable":true,"type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ShareLinkDto":{"additionalProperties":false,"properties":{"allowDownload":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"lastViewedAt":{"format":"date-time","nullable":true,"type":"string"},"requiresPassword":{"type":"boolean"},"revokedAt":{"format":"date-time","nullable":true,"type":"string"},"targetId":{"format":"uuid","type":"string"},"targetType":{"nullable":true,"type":"string"},"token":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"viewCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.ShareLinkRequest":{"additionalProperties":false,"properties":{"externalRecipient":{"type":"boolean"}},"type":"object"},"Office.ShareLinksControllerCreateRequest":{"additionalProperties":false,"properties":{"allowDownload":{"type":"boolean"},"expiryDays":{"format":"int32","nullable":true,"type":"integer"},"password":{"nullable":true,"type":"string"},"targetId":{"format":"uuid","type":"string"},"targetType":{"nullable":true,"type":"string"}},"type":"object"},"Office.ShareWikiPageRequest":{"additionalProperties":false,"properties":{"level":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group","Department","Guest"],"type":"string"}},"type":"object"},"Office.SharingPolicyDto":{"additionalProperties":false,"properties":{"allowDownload":{"type":"boolean"},"allowExternalSharing":{"type":"boolean"},"linkExpiryDays":{"format":"int32","nullable":true,"type":"integer"},"requirePassword":{"type":"boolean"}},"type":"object"},"Office.ShiftDatesRequest":{"additionalProperties":false,"properties":{"days":{"format":"int32","type":"integer"},"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.ShiftDatesResultDto":{"additionalProperties":false,"properties":{"keptDone":{"format":"int32","type":"integer"},"keptUndated":{"format":"int32","type":"integer"},"shifted":{"format":"int32","type":"integer"}},"type":"object"},"Office.SpotlightAnswer":{"additionalProperties":false,"properties":{"amount":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"filterPath":{"nullable":true,"type":"string"},"number":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.StarredMessagePageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.ChatMessageDto"},"nullable":true,"type":"array"},"totalCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.StartCalendarLinkRequest":{"additionalProperties":false,"properties":{"redirectUri":{"nullable":true,"type":"string"}},"type":"object"},"Office.StickerDto":{"additionalProperties":false,"properties":{"canDelete":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"packId":{"format":"uuid","type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.StickerPackDto":{"additionalProperties":false,"properties":{"canDelete":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"stickers":{"items":{"$ref":"#/components/schemas/Office.StickerDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.SubmitQuizRequest":{"additionalProperties":false,"properties":{"answers":{"items":{"$ref":"#/components/schemas/Office.QuizAnswerInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.SubmitSurveyResponseRequest":{"additionalProperties":false,"properties":{"answers":{"items":{"$ref":"#/components/schemas/Office.SurveyAnswerInput"},"nullable":true,"type":"array"}},"type":"object"},"Office.SubmitTaskReviewRequest":{"additionalProperties":false,"properties":{"resultNote":{"nullable":true,"type":"string"}},"type":"object"},"Office.SuggestSlotsRequest":{"additionalProperties":false,"properties":{"durationMinutes":{"format":"int32","type":"integer"},"from":{"format":"date-time","type":"string"},"roomIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"to":{"format":"date-time","type":"string"},"userIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.SupportQueueCountsDto":{"additionalProperties":false,"properties":{"chuaAiTraLoi":{"format":"int32","type":"integer"},"chuaDoc":{"format":"int32","type":"integer"},"cuaToi":{"format":"int32","type":"integer"},"tatCa":{"format":"int32","type":"integer"}},"type":"object"},"Office.SupportQueueDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.SupportQueueCountsDto"},"items":{"items":{"$ref":"#/components/schemas/Office.SupportQueueItemDto"},"nullable":true,"type":"array"},"tongTrang":{"format":"int32","type":"integer"}},"type":"object"},"Office.SupportQueueItemDto":{"additionalProperties":false,"properties":{"channelId":{"format":"uuid","type":"string"},"choTu":{"format":"date-time","nullable":true,"type":"string"},"chuaDoc":{"format":"int32","type":"integer"},"congTyKhach":{"format":"uuid","type":"string"},"daXongLuc":{"format":"date-time","nullable":true,"type":"string"},"dungThu":{"type":"boolean"},"goi":{"nullable":true,"type":"string"},"maCongTy":{"nullable":true,"type":"string"},"nguoiGuiCuoi":{"format":"uuid","nullable":true,"type":"string"},"nguoiNhan":{"format":"uuid","nullable":true,"type":"string"},"tenHienThi":{"nullable":true,"type":"string"},"tenNguoiGuiCuoi":{"nullable":true,"type":"string"},"tenNguoiNhan":{"nullable":true,"type":"string"},"tinCuoi":{"nullable":true,"type":"string"},"tinCuoiLuc":{"format":"date-time","nullable":true,"type":"string"},"trangThaiKhach":{"nullable":true,"type":"string"}},"type":"object"},"Office.SurveyAnswerInput":{"additionalProperties":false,"properties":{"questionId":{"format":"uuid","type":"string"},"rating":{"format":"int32","nullable":true,"type":"integer"},"selectedOptions":{"items":{"type":"string"},"nullable":true,"type":"array"},"text":{"nullable":true,"type":"string"}},"type":"object"},"Office.SurveyDetailDto":{"additionalProperties":false,"properties":{"questions":{"items":{"$ref":"#/components/schemas/Office.SurveyQuestionDto"},"nullable":true,"type":"array"},"survey":{"$ref":"#/components/schemas/Office.SurveyDto"}},"type":"object"},"Office.SurveyDto":{"additionalProperties":false,"properties":{"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"authorId":{"format":"uuid","type":"string"},"canManage":{"type":"boolean"},"closedAt":{"format":"date-time","nullable":true,"type":"string"},"closesAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"description":{"nullable":true,"type":"string"},"hasResponded":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"isAcceptingResponses":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"openedAt":{"format":"date-time","nullable":true,"type":"string"},"questionCount":{"format":"int32","type":"integer"},"responseCount":{"format":"int32","type":"integer"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.SurveyDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.SurveyDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.SurveyOptionTallyDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"option":{"nullable":true,"type":"string"},"percentage":{"format":"double","type":"number"}},"type":"object"},"Office.SurveyQuestionDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isRequired":{"type":"boolean"},"options":{"items":{"type":"string"},"nullable":true,"type":"array"},"position":{"format":"int32","type":"integer"},"text":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.SurveyQuestionInput":{"additionalProperties":false,"properties":{"isRequired":{"type":"boolean"},"options":{"items":{"type":"string"},"nullable":true,"type":"array"},"text":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.SurveyQuestionResultDto":{"additionalProperties":false,"properties":{"answerCount":{"format":"int32","type":"integer"},"isRequired":{"type":"boolean"},"options":{"items":{"$ref":"#/components/schemas/Office.SurveyOptionTallyDto"},"nullable":true,"type":"array"},"questionId":{"format":"uuid","type":"string"},"ratingAverage":{"format":"double","nullable":true,"type":"number"},"text":{"nullable":true,"type":"string"},"textAnswers":{"items":{"type":"string"},"nullable":true,"type":"array"},"textAnswersTruncated":{"type":"boolean"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.SurveyResultsDto":{"additionalProperties":false,"properties":{"invitedCount":{"format":"int32","nullable":true,"type":"integer"},"isAnonymous":{"type":"boolean"},"questions":{"items":{"$ref":"#/components/schemas/Office.SurveyQuestionResultDto"},"nullable":true,"type":"array"},"responseCount":{"format":"int32","type":"integer"},"responseRate":{"format":"double","nullable":true,"type":"number"},"status":{"nullable":true,"type":"string"},"surveyId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TableDto":{"additionalProperties":false,"properties":{"appId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"position":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskActivityChangeDto":{"additionalProperties":false,"properties":{"field":{"nullable":true,"type":"string"},"newValue":{"nullable":true,"type":"string"},"oldValue":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskActivityEntryDto":{"additionalProperties":false,"properties":{"action":{"nullable":true,"type":"string"},"changes":{"items":{"$ref":"#/components/schemas/Office.TaskActivityChangeDto"},"nullable":true,"type":"array"},"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"resourceId":{"format":"uuid","nullable":true,"type":"string"},"resourceName":{"nullable":true,"type":"string"},"resourceType":{"nullable":true,"type":"string"},"userId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.TaskActivityPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.TaskActivityEntryDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskBoardColumnCountDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"key":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskBoardCountsDto":{"additionalProperties":false,"properties":{"columnBy":{"nullable":true,"type":"string"},"columns":{"items":{"$ref":"#/components/schemas/Office.TaskBoardColumnCountDto"},"nullable":true,"type":"array"},"total":{"format":"int32","type":"integer"},"ungroupedByList":{"items":{"$ref":"#/components/schemas/Office.TaskUngroupedCountDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.TaskBulkErrorDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"taskId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TaskBulkResultDto":{"additionalProperties":false,"properties":{"applied":{"format":"int32","type":"integer"},"errors":{"items":{"$ref":"#/components/schemas/Office.TaskBulkErrorDto"},"nullable":true,"type":"array"},"notified":{"format":"int32","type":"integer"},"skipped":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskChecklistItemDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isDone":{"type":"boolean"},"sortOrder":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskDepartmentSummaryDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.TaskSummaryCountsDto"},"directCounts":{"$ref":"#/components/schemas/Office.TaskSummaryCountsDto"},"directMemberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"headUserId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"members":{"items":{"$ref":"#/components/schemas/Office.TaskTeamMemberSummaryDto"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.TaskDependenciesDto":{"additionalProperties":false,"properties":{"blockers":{"items":{"$ref":"#/components/schemas/Office.TaskDependencyDto"},"nullable":true,"type":"array"},"blocking":{"items":{"$ref":"#/components/schemas/Office.TaskDependencyDto"},"nullable":true,"type":"array"},"isBlocked":{"type":"boolean"}},"type":"object"},"Office.TaskDependencyDto":{"additionalProperties":false,"properties":{"dependsOnTaskId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isResolved":{"type":"boolean"},"status":{"nullable":true,"type":"string"},"taskId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskDocLinkDto":{"additionalProperties":false,"properties":{"breadcrumb":{"items":{"type":"string"},"nullable":true,"type":"array"},"canView":{"type":"boolean"},"docNodeId":{"format":"uuid","type":"string"},"docUpdatedAt":{"format":"date-time","nullable":true,"type":"string"},"docUpdatedBy":{"format":"uuid","nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isMissing":{"type":"boolean"},"linkedAt":{"format":"date-time","type":"string"},"linkedBy":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"nodeType":{"enum":["Space","Folder","File","Doc","Shortcut","Base","Form"],"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"assignerId":{"format":"uuid","type":"string"},"attachmentCount":{"format":"int32","type":"integer"},"autoRemindOverdue":{"type":"boolean"},"blockedByCount":{"format":"int32","type":"integer"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"canEdit":{"nullable":true,"type":"boolean"},"checklistDone":{"format":"int32","type":"integer"},"checklistTotal":{"format":"int32","type":"integer"},"code":{"nullable":true,"type":"string"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"customFields":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"effectiveDueAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isOverdue":{"type":"boolean"},"links":{"items":{"$ref":"#/components/schemas/Office.TaskLinkDto"},"nullable":true,"type":"array"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"parentTaskId":{"format":"uuid","nullable":true,"type":"string"},"parentTitle":{"nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"progress":{"format":"int32","nullable":true,"type":"integer"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"requiresReview":{"type":"boolean"},"resultNote":{"nullable":true,"type":"string"},"returnReason":{"nullable":true,"type":"string"},"rev":{"format":"int64","type":"integer"},"reviewerId":{"format":"uuid","nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"sourceAuthorId":{"format":"uuid","nullable":true,"type":"string"},"sourceChannelAccessible":{"nullable":true,"type":"boolean"},"sourceChannelId":{"format":"uuid","nullable":true,"type":"string"},"sourceChannelName":{"nullable":true,"type":"string"},"sourceId":{"format":"uuid","nullable":true,"type":"string"},"sourceMessageAt":{"format":"date-time","nullable":true,"type":"string"},"sourceType":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"startedAt":{"format":"date-time","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"subtaskAssigneeIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"taskStatusColor":{"nullable":true,"type":"string"},"taskStatusId":{"format":"uuid","nullable":true,"type":"string"},"taskStatusName":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.TaskDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.TaskFolderSummaryDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.TaskSummaryCountsDto"},"id":{"format":"uuid","type":"string"},"listCount":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskGroupDto":{"additionalProperties":false,"properties":{"endDate":{"format":"date","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"startDate":{"format":"date","nullable":true,"type":"string"},"taskCount":{"format":"int32","type":"integer"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.TaskLinkDto":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskLinkInput":{"additionalProperties":false,"properties":{"entityId":{"format":"uuid","type":"string"},"entityType":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskListDeleteResultDto":{"additionalProperties":false,"properties":{"deletedGroups":{"format":"int32","type":"integer"},"deletedTasks":{"format":"int32","type":"integer"},"mode":{"nullable":true,"type":"string"},"movedGroups":{"format":"int32","type":"integer"},"movedTasks":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskListDto":{"additionalProperties":false,"properties":{"colorTag":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"doneCount":{"format":"int32","type":"integer"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"groupId":{"format":"uuid","nullable":true,"type":"string"},"health":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"isPinned":{"type":"boolean"},"isTemplate":{"type":"boolean"},"lastActivityAt":{"format":"date-time","nullable":true,"type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"openCount":{"format":"int32","type":"integer"},"overdueCount":{"format":"int32","type":"integer"},"ownerId":{"format":"uuid","type":"string"},"pinSortOrder":{"format":"int32","nullable":true,"type":"integer"},"sortOrder":{"format":"int32","type":"integer"},"taskCount":{"format":"int32","type":"integer"},"unassignedCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskListGroupDto":{"additionalProperties":false,"properties":{"departmentId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"kind":{"nullable":true,"type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"},"listCount":{"format":"int32","type":"integer"},"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskListRestoreResultDto":{"additionalProperties":false,"properties":{"groupId":{"format":"uuid","nullable":true,"type":"string"},"restoredGroups":{"format":"int32","type":"integer"},"restoredTasks":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskMonitorCurrentDto":{"additionalProperties":false,"properties":{"elapsedMinutes":{"format":"int64","type":"integer"},"startedAt":{"format":"date-time","type":"string"},"taskId":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskMonitorDto":{"additionalProperties":false,"properties":{"dueSoonDays":{"format":"int32","type":"integer"},"isExact":{"type":"boolean"},"members":{"items":{"$ref":"#/components/schemas/Office.TaskMonitorMemberDto"},"nullable":true,"type":"array"},"staleAfterDays":{"format":"int32","type":"integer"},"summary":{"$ref":"#/components/schemas/Office.TaskMonitorSummaryDto"}},"type":"object"},"Office.TaskMonitorItemDto":{"additionalProperties":false,"properties":{"daysLate":{"format":"int32","type":"integer"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"isOverdue":{"type":"boolean"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskMonitorMemberDto":{"additionalProperties":false,"properties":{"current":{"$ref":"#/components/schemas/Office.TaskMonitorCurrentDto"},"dueSoonCount":{"format":"int32","type":"integer"},"hasOnTimeData":{"type":"boolean"},"inProgressCount":{"format":"int32","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/Office.TaskMonitorItemDto"},"nullable":true,"type":"array"},"lastActivityAt":{"format":"date-time","nullable":true,"type":"string"},"loadState":{"nullable":true,"type":"string"},"onTimeRate":{"format":"int32","type":"integer"},"openCount":{"format":"int32","type":"integer"},"openCountAll":{"format":"int32","type":"integer"},"openTotal":{"format":"int32","type":"integer"},"overdueCount":{"format":"int32","type":"integer"},"pendingReviewCount":{"format":"int32","type":"integer"},"staleCount":{"format":"int32","type":"integer"},"todoCount":{"format":"int32","type":"integer"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TaskMonitorSummaryDto":{"additionalProperties":false,"properties":{"dueSoon":{"format":"int32","type":"integer"},"hasOnTimeData":{"type":"boolean"},"onTimeRate":{"format":"int32","type":"integer"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"},"stale":{"format":"int32","type":"integer"},"unassigned":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskMutationResultDto":{"additionalProperties":false,"properties":{"replayed":{"type":"boolean"},"taskId":{"format":"uuid","type":"string"},"warning":{"$ref":"#/components/schemas/Office.TaskWarningDto"}},"type":"object"},"Office.TaskNavCountsDto":{"additionalProperties":false,"properties":{"all":{"format":"int32","type":"integer"},"assigned":{"format":"int32","type":"integer"},"completed":{"format":"int32","type":"integer"},"created":{"format":"int32","type":"integer"},"openCount":{"$ref":"#/components/schemas/Office.TaskNavOpenCountsDto"},"unassigned":{"format":"int32","type":"integer"},"unlisted":{"format":"int32","type":"integer"},"watching":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskNavOpenCountsDto":{"additionalProperties":false,"properties":{"all":{"format":"int32","type":"integer"},"assigned":{"format":"int32","type":"integer"},"created":{"format":"int32","type":"integer"},"unlisted":{"format":"int32","type":"integer"},"watching":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskNextMonthResultDto":{"additionalProperties":false,"properties":{"groups":{"items":{"$ref":"#/components/schemas/Office.TaskGroupDto"},"nullable":true,"type":"array"},"list":{"$ref":"#/components/schemas/Office.TaskListDto"},"movedTasks":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskQuickCountsDto":{"additionalProperties":false,"properties":{"dueThisWeek":{"format":"int32","type":"integer"},"mine":{"format":"int32","type":"integer"},"noDue":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"},"pendingReview":{"format":"int32","type":"integer"},"stale":{"format":"int32","type":"integer"},"staleDays":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"},"unassigned":{"format":"int32","type":"integer"},"weekStart":{"format":"date","type":"string"}},"type":"object"},"Office.TaskRecurrenceDto":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"assignerId":{"format":"uuid","type":"string"},"autoRemindOverdue":{"type":"boolean"},"description":{"nullable":true,"type":"string"},"dueOffsetMinutes":{"format":"int32","nullable":true,"type":"integer"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"nextOccurrenceAt":{"format":"date-time","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"startAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"},"untilAt":{"format":"date-time","nullable":true,"type":"string"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskSavedFilterDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isMine":{"type":"boolean"},"isShared":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","type":"string"},"payload":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.TaskStatsDto":{"additionalProperties":false,"properties":{"completed":{"format":"int32","type":"integer"},"isExact":{"type":"boolean"},"onTimeRate":{"format":"int32","type":"integer"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskStatusOptionDto":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"colorTag":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"taskCount":{"format":"int32","type":"integer"},"taskListId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TaskSummaryCountsDto":{"additionalProperties":false,"properties":{"done7d":{"format":"int32","type":"integer"},"inProgress":{"format":"int32","type":"integer"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"},"pendingReview":{"format":"int32","type":"integer"},"todo":{"format":"int32","type":"integer"},"unassigned":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskTeamCurrentGroupDto":{"additionalProperties":false,"properties":{"endDate":{"format":"date","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"startDate":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Office.TaskTeamCurrentListDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskTeamMemberSummaryDto":{"additionalProperties":false,"properties":{"done7d":{"format":"int32","type":"integer"},"inProgress":{"format":"int32","type":"integer"},"open":{"format":"int32","type":"integer"},"overdue":{"format":"int32","type":"integer"},"parentOpen":{"format":"int32","type":"integer"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TaskTeamSummaryDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.TaskSummaryCountsDto"},"currentGroup":{"$ref":"#/components/schemas/Office.TaskTeamCurrentGroupDto"},"currentList":{"$ref":"#/components/schemas/Office.TaskTeamCurrentListDto"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"leadUserId":{"format":"uuid","nullable":true,"type":"string"},"memberIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"members":{"items":{"$ref":"#/components/schemas/Office.TaskTeamMemberSummaryDto"},"nullable":true,"type":"array"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskTeamsSummaryDto":{"additionalProperties":false,"properties":{"departments":{"items":{"$ref":"#/components/schemas/Office.TaskDepartmentSummaryDto"},"nullable":true,"type":"array"},"folders":{"items":{"$ref":"#/components/schemas/Office.TaskFolderSummaryDto"},"nullable":true,"type":"array"},"teams":{"items":{"$ref":"#/components/schemas/Office.TaskTeamSummaryDto"},"nullable":true,"type":"array"},"unfiled":{"$ref":"#/components/schemas/Office.TaskUnfiledSummaryDto"},"viewScope":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskUnfiledSummaryDto":{"additionalProperties":false,"properties":{"counts":{"$ref":"#/components/schemas/Office.TaskSummaryCountsDto"},"listCount":{"format":"int32","type":"integer"}},"type":"object"},"Office.TaskUngroupedCountDto":{"additionalProperties":false,"properties":{"count":{"format":"int32","type":"integer"},"taskListId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.TaskWarningDto":{"additionalProperties":false,"properties":{"args":{"items":{"type":"string"},"nullable":true,"type":"array"},"code":{"nullable":true,"type":"string"},"message":{"nullable":true,"type":"string"},"messageKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.TaskWorkloadDto":{"additionalProperties":false,"properties":{"isOverloaded":{"type":"boolean"},"openCount":{"format":"int32","type":"integer"},"overdueCount":{"format":"int32","type":"integer"},"overloadThreshold":{"format":"int32","type":"integer"},"totalWorkload":{"format":"double","type":"number"},"userId":{"format":"uuid","type":"string"},"workloadDay":{"format":"double","type":"number"},"workloadHour":{"format":"double","type":"number"},"workloadPoint":{"format":"double","type":"number"}},"type":"object"},"Office.TimesheetEntryDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"endedAt":{"format":"time","nullable":true,"type":"string"},"hours":{"format":"double","type":"number"},"id":{"format":"uuid","type":"string"},"isEditable":{"type":"boolean"},"note":{"nullable":true,"type":"string"},"startedAt":{"format":"time","nullable":true,"type":"string"},"taskId":{"format":"uuid","nullable":true,"type":"string"},"taskTitle":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"userId":{"format":"uuid","type":"string"},"workDate":{"format":"date","type":"string"}},"type":"object"},"Office.TimesheetEntryListDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.TimesheetEntryDto"},"nullable":true,"type":"array"},"scope":{"nullable":true,"type":"string"},"totalHours":{"format":"double","type":"number"}},"type":"object"},"Office.TimesheetLockDto":{"additionalProperties":false,"properties":{"endDate":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"lockedAt":{"format":"date-time","type":"string"},"lockedBy":{"format":"uuid","type":"string"},"reason":{"nullable":true,"type":"string"},"startDate":{"format":"date","type":"string"}},"type":"object"},"Office.TimesheetPeriodDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"endDate":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"reviewNote":{"nullable":true,"type":"string"},"reviewedAt":{"format":"date-time","nullable":true,"type":"string"},"reviewedBy":{"format":"uuid","nullable":true,"type":"string"},"startDate":{"format":"date","type":"string"},"status":{"nullable":true,"type":"string"},"submittedAt":{"format":"date-time","nullable":true,"type":"string"},"submittedBy":{"format":"uuid","nullable":true,"type":"string"},"totalHours":{"format":"double","type":"number"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TimesheetReportDto":{"additionalProperties":false,"properties":{"byUser":{"items":{"$ref":"#/components/schemas/Office.TimesheetUserTotalDto"},"nullable":true,"type":"array"},"from":{"format":"date","type":"string"},"to":{"format":"date","type":"string"},"totalHours":{"format":"double","type":"number"},"workingDays":{"format":"int32","type":"integer"}},"type":"object"},"Office.TimesheetUserTotalDto":{"additionalProperties":false,"properties":{"entryCount":{"format":"int32","type":"integer"},"hours":{"format":"double","type":"number"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TimesheetWeekDto":{"additionalProperties":false,"properties":{"dailyTotals":{"items":{"format":"double","type":"number"},"nullable":true,"type":"array"},"isEditable":{"type":"boolean"},"isWorkingDay":{"items":{"type":"boolean"},"nullable":true,"type":"array"},"periodId":{"format":"uuid","nullable":true,"type":"string"},"periodStatus":{"nullable":true,"type":"string"},"rows":{"items":{"$ref":"#/components/schemas/Office.TimesheetWeekRowDto"},"nullable":true,"type":"array"},"total":{"format":"double","type":"number"},"userId":{"format":"uuid","type":"string"},"weekEnd":{"format":"date","type":"string"},"weekStart":{"format":"date","type":"string"},"workingDays":{"format":"int32","type":"integer"}},"type":"object"},"Office.TimesheetWeekRowDto":{"additionalProperties":false,"properties":{"hours":{"items":{"format":"double","type":"number"},"nullable":true,"type":"array"},"taskId":{"format":"uuid","nullable":true,"type":"string"},"taskTitle":{"nullable":true,"type":"string"},"total":{"format":"double","type":"number"}},"type":"object"},"Office.TransferDocNodeOwnerRequest":{"additionalProperties":false,"properties":{"newOwnerId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TransferOwnerRequest":{"additionalProperties":false,"properties":{"newOwnerId":{"format":"uuid","type":"string"}},"type":"object"},"Office.TrashItemDto":{"additionalProperties":false,"properties":{"deletedAt":{"format":"date-time","type":"string"},"deletedBy":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"purgeAt":{"format":"date-time","type":"string"},"resourceType":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.TrashPageDto":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/Office.TrashItemDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"resourceTypes":{"items":{"type":"string"},"nullable":true,"type":"array"},"retentionDays":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object"},"Office.TrashedFileDto":{"additionalProperties":false,"properties":{"deletedAt":{"format":"date-time","type":"string"},"deletedBy":{"format":"uuid","nullable":true,"type":"string"},"folderId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"nullable":true,"type":"string"},"purgeAfter":{"format":"date-time","type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.TrashedRecordDto":{"additionalProperties":false,"properties":{"createdAt":{"format":"date-time","type":"string"},"data":{"nullable":true,"type":"string"},"deletedAt":{"format":"date-time","nullable":true,"type":"string"},"deletedBy":{"format":"uuid","nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"tableId":{"format":"uuid","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"type":"object"},"Office.TrashedRecordDtoPagedResult":{"additionalProperties":false,"properties":{"hasNextPage":{"readOnly":true,"type":"boolean"},"hasPreviousPage":{"readOnly":true,"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/Office.TrashedRecordDto"},"nullable":true,"type":"array"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"totalCount":{"format":"int32","type":"integer"},"totalPages":{"format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"Office.UpdateAnnouncementRequest":{"additionalProperties":false,"properties":{"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"category":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"requiresAcknowledgement":{"type":"boolean"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateAppRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateAssetRequest":{"additionalProperties":false,"properties":{"condition":{"nullable":true,"type":"string"},"depreciationMonths":{"format":"int32","type":"integer"},"depreciationStartDate":{"format":"date","nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"originalCost":{"format":"double","type":"number"},"purchasedDate":{"format":"date","type":"string"},"warrantyEnd":{"format":"date","nullable":true,"type":"string"}},"type":"object"},"Office.UpdateChecklistItemRequest":{"additionalProperties":false,"properties":{"isDone":{"nullable":true,"type":"boolean"},"sortOrder":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateCommentRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"mentionedUserIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.UpdateCourseRequest":{"additionalProperties":false,"properties":{"allowRetake":{"type":"boolean"},"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"coverImageUrl":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"passingScore":{"format":"int32","type":"integer"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateCustomFieldRequest":{"additionalProperties":false,"properties":{"config":{"nullable":true,"type":"string"},"fieldType":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"}},"type":"object"},"Office.UpdateDashboardRequest":{"additionalProperties":false,"properties":{"layout":{"$ref":"#/components/schemas/Office.DashboardLayout"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateDocumentTemplateRequest":{"additionalProperties":false,"properties":{"category":{"nullable":true,"type":"string"},"changeNote":{"nullable":true,"type":"string"},"color":{"nullable":true,"type":"string"},"contentHtml":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateEventRequest":{"additionalProperties":false,"properties":{"allDay":{"type":"boolean"},"calendarId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"endAt":{"format":"date-time","type":"string"},"eventType":{"nullable":true,"type":"string"},"location":{"nullable":true,"type":"string"},"meetingProvider":{"nullable":true,"type":"string"},"occurrenceStart":{"format":"date-time","nullable":true,"type":"string"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"roomIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"scope":{"nullable":true,"type":"string"},"startAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"},"withGoogleMeet":{"type":"boolean"}},"type":"object"},"Office.UpdateFieldRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"isHidden":{"nullable":true,"type":"boolean"},"isPrimary":{"nullable":true,"type":"boolean"},"name":{"nullable":true,"type":"string"},"position":{"format":"int32","nullable":true,"type":"integer"},"property":{"nullable":true,"type":"string"},"type":{"format":"int32","nullable":true,"type":"integer"},"uiType":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateJobScheduleRequest":{"additionalProperties":false,"properties":{"cron":{"nullable":true,"type":"string"},"enabled":{"type":"boolean"}},"type":"object"},"Office.UpdateKeyResultRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"sortOrder":{"format":"int32","type":"integer"},"source":{"$ref":"#/components/schemas/Office.KeyResultSourceInput"},"startValue":{"format":"double","type":"number"},"targetValue":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateMeetingRoomRequest":{"additionalProperties":false,"properties":{"autoReleaseMinutes":{"format":"int32","nullable":true,"type":"integer"},"building":{"nullable":true,"type":"string"},"capacity":{"format":"int32","type":"integer"},"equipment":{"items":{"type":"string"},"nullable":true,"type":"array"},"floor":{"nullable":true,"type":"string"},"isActive":{"type":"boolean"},"location":{"nullable":true,"type":"string"},"maxBookingMinutes":{"format":"int32","nullable":true,"type":"integer"},"name":{"nullable":true,"type":"string"},"requiresApproval":{"nullable":true,"type":"boolean"}},"type":"object"},"Office.UpdateNotificationSettingRequest":{"additionalProperties":false,"properties":{"inApp":{"type":"boolean"},"notificationType":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateObjectiveRequest":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"departmentId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"ownerId":{"format":"uuid","type":"string"},"parentObjectiveId":{"format":"uuid","nullable":true,"type":"string"},"periodKind":{"nullable":true,"type":"string"},"quarter":{"format":"int32","type":"integer"},"seasonId":{"format":"uuid","nullable":true,"type":"string"},"seasonKey":{"nullable":true,"type":"string"},"year":{"format":"int32","type":"integer"}},"type":"object"},"Office.UpdatePrintTemplateRequest":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"contentHtml":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"marginMm":{"format":"int32","type":"integer"},"name":{"nullable":true,"type":"string"},"orientation":{"nullable":true,"type":"string"},"paperSize":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateQuestionRequest":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"topics":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"Office.UpdateRecordRequest":{"additionalProperties":false,"properties":{"data":{"nullable":true},"expectedValues":{"nullable":true},"replace":{"type":"boolean"}},"type":"object"},"Office.UpdateReviewCycleRequest":{"additionalProperties":false,"properties":{"description":{"nullable":true,"type":"string"},"dueDate":{"format":"date-time","type":"string"},"name":{"nullable":true,"type":"string"},"periodEnd":{"format":"date-time","type":"string"},"periodStart":{"format":"date-time","type":"string"}},"type":"object"},"Office.UpdateReviewParticipantRequest":{"additionalProperties":false,"properties":{"objectiveId":{"format":"uuid","nullable":true,"type":"string"},"reviewerId":{"format":"uuid","type":"string"}},"type":"object"},"Office.UpdateRoleRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateSurveyRequest":{"additionalProperties":false,"properties":{"audienceGroupCodes":{"items":{"type":"string"},"nullable":true,"type":"array"},"closesAt":{"format":"date-time","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"questions":{"items":{"$ref":"#/components/schemas/Office.SurveyQuestionInput"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateTableRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"position":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Office.UpdateTaskRecurrenceRequest":{"additionalProperties":false,"properties":{"assigneeId":{"format":"uuid","nullable":true,"type":"string"},"autoRemindOverdue":{"type":"boolean"},"description":{"nullable":true,"type":"string"},"dueOffsetMinutes":{"format":"int32","nullable":true,"type":"integer"},"isActive":{"type":"boolean"},"priority":{"nullable":true,"type":"string"},"recurrenceRule":{"nullable":true,"type":"string"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"startAt":{"format":"date-time","type":"string"},"title":{"nullable":true,"type":"string"},"untilAt":{"format":"date-time","nullable":true,"type":"string"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateTaskRequest":{"additionalProperties":false,"properties":{"autoRemindOverdue":{"type":"boolean"},"branchId":{"format":"uuid","nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"dueAt":{"format":"date-time","nullable":true,"type":"string"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"priority":{"nullable":true,"type":"string"},"progress":{"format":"int32","nullable":true,"type":"integer"},"remindBeforeMinutes":{"format":"int32","nullable":true,"type":"integer"},"rev":{"format":"int64","nullable":true,"type":"integer"},"startAt":{"format":"date-time","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"taskGroupId":{"format":"uuid","nullable":true,"type":"string"},"taskListId":{"format":"uuid","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"watcherIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"workload":{"format":"double","nullable":true,"type":"number"},"workloadUnit":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateTimesheetEntryRequest":{"additionalProperties":false,"properties":{"endedAt":{"format":"time","nullable":true,"type":"string"},"hours":{"format":"double","nullable":true,"type":"number"},"note":{"nullable":true,"type":"string"},"startedAt":{"format":"time","nullable":true,"type":"string"},"taskId":{"format":"uuid","nullable":true,"type":"string"},"workDate":{"format":"date","type":"string"}},"type":"object"},"Office.UpdateViewRequest":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"property":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateWikiPageRequest":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"expectedContentRevision":{"format":"int32","nullable":true,"type":"integer"},"expectedVersion":{"format":"int32","nullable":true,"type":"integer"},"liveSession":{"nullable":true,"type":"boolean"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Office.UpdateWorkspaceSettingRequest":{"additionalProperties":false,"properties":{"timeZoneId":{"nullable":true,"type":"string"}},"type":"object"},"Office.UploadTicketDto":{"additionalProperties":false,"properties":{"expiresAt":{"format":"date-time","type":"string"},"fields":{"additionalProperties":{"type":"string"},"nullable":true,"type":"object"},"headers":{"additionalProperties":{"type":"string"},"nullable":true,"type":"object"},"method":{"nullable":true,"type":"string"},"objectKey":{"nullable":true,"type":"string"},"thumbnail":{"$ref":"#/components/schemas/Office.UploadTicketDto"},"url":{"nullable":true,"type":"string"}},"type":"object"},"Office.UploadTicketRequestItem":{"additionalProperties":false,"properties":{"contentType":{"nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"sizeBytes":{"format":"int64","type":"integer"}},"type":"object"},"Office.UserSessionDto":{"additionalProperties":false,"properties":{"deviceLabel":{"nullable":true,"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"ipAddress":{"nullable":true,"type":"string"},"isCurrent":{"type":"boolean"},"isRevoked":{"type":"boolean"},"lastSeenAt":{"format":"date-time","type":"string"},"userId":{"format":"uuid","type":"string"}},"type":"object"},"Office.ValidateImportRowInput":{"additionalProperties":false,"properties":{"data":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"rowNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.ValidateImportRowsRequest":{"additionalProperties":false,"properties":{"headers":{"items":{"type":"string"},"nullable":true,"type":"array"},"matchKey":{"nullable":true,"type":"string"},"rows":{"items":{"$ref":"#/components/schemas/Office.ValidateImportRowInput"},"nullable":true,"type":"array"},"uploadKey":{"nullable":true,"type":"string"}},"type":"object"},"Office.ValidateRowsResultDto":{"additionalProperties":false,"properties":{"rows":{"items":{"$ref":"#/components/schemas/Office.ImportRowValidationDto"},"nullable":true,"type":"array"}},"type":"object"},"Office.ViewDto":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"isPublic":{"type":"boolean"},"name":{"nullable":true,"type":"string"},"property":{"nullable":true,"type":"string"},"publicToken":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","type":"string"},"viewType":{"nullable":true,"type":"string"}},"type":"object"},"Office.ViewLocationDto":{"additionalProperties":false,"properties":{"appId":{"format":"uuid","type":"string"},"appName":{"nullable":true,"type":"string"},"tableId":{"format":"uuid","type":"string"},"tableName":{"nullable":true,"type":"string"},"viewId":{"format":"uuid","type":"string"},"viewName":{"nullable":true,"type":"string"},"viewType":{"nullable":true,"type":"string"}},"type":"object"},"Office.WebhookKeyNode":{"additionalProperties":false,"properties":{"children":{"items":{"$ref":"#/components/schemas/Office.WebhookKeyNode"},"nullable":true,"type":"array"},"example":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Office.WebhookTriggerResultDto":{"additionalProperties":false,"properties":{"accepted":{"type":"boolean"},"enrollmentId":{"format":"uuid","nullable":true,"type":"string"},"reason":{"nullable":true,"type":"string"}},"type":"object"},"Office.WidgetDataRequest":{"additionalProperties":false,"properties":{"filterValues":{"items":{"$ref":"#/components/schemas/Office.DashboardFilterValue"},"nullable":true,"type":"array"}},"type":"object"},"Office.WikiPageDto":{"additionalProperties":false,"properties":{"content":{"nullable":true,"type":"string"},"contentRevision":{"format":"int32","type":"integer"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"enum":["Doc","Sheet"],"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"spaceId":{"format":"uuid","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"updatedBy":{"format":"uuid","nullable":true,"type":"string"},"version":{"format":"int32","type":"integer"}},"type":"object"},"Office.WikiPageShareDto":{"additionalProperties":false,"properties":{"grants":{"items":{"$ref":"#/components/schemas/Office.WikiPageShareGrantDto"},"nullable":true,"type":"array"},"isRestricted":{"type":"boolean"},"myPermission":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"nodeId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Office.WikiPageShareGrantDto":{"additionalProperties":false,"properties":{"grantKind":{"enum":["InheritedRule","DirectInvite"],"type":"string"},"id":{"format":"uuid","type":"string"},"level":{"enum":["View","Comment","Edit","Manage"],"type":"string"},"principalId":{"nullable":true,"type":"string"},"principalType":{"enum":["User","Group","Department","Guest"],"type":"string"}},"type":"object"},"Office.WikiPageSummaryDto":{"additionalProperties":false,"properties":{"createdBy":{"format":"uuid","type":"string"},"excerpt":{"nullable":true,"type":"string"},"excerptHtml":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"enum":["Doc","Sheet"],"type":"string"},"parentId":{"format":"uuid","nullable":true,"type":"string"},"spaceId":{"format":"uuid","nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"updatedBy":{"format":"uuid","nullable":true,"type":"string"},"version":{"format":"int32","type":"integer"}},"type":"object"},"Office.WikiPageVersionContentDto":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"content":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"title":{"nullable":true,"type":"string"},"versionNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.WikiPageVersionDto":{"additionalProperties":false,"properties":{"changeNote":{"nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"isCurrent":{"type":"boolean"},"title":{"nullable":true,"type":"string"},"versionNumber":{"format":"int32","type":"integer"}},"type":"object"},"Office.WorkspaceSettingDto":{"additionalProperties":false,"properties":{"companyName":{"nullable":true,"type":"string"},"ipRestrictionEnabled":{"type":"boolean"},"isReadOnly":{"type":"boolean"},"planCode":{"nullable":true,"type":"string"},"taxCode":{"nullable":true,"type":"string"},"timeZoneId":{"nullable":true,"type":"string"},"trialEndsAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Office.XlsxSheetPreview":{"additionalProperties":false,"properties":{"name":{"nullable":true,"type":"string"},"rows":{"items":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"array"},"truncated":{"type":"boolean"}},"type":"object"},"Report.BlockResult":{"additionalProperties":false,"properties":{"chart":{"nullable":true,"type":"string"},"dataset":{"nullable":true,"type":"string"},"drill":{"nullable":true,"type":"string"},"groupBy":{"items":{"type":"string"},"nullable":true,"type":"array"},"hasSample":{"type":"boolean"},"hidden":{"type":"boolean"},"id":{"nullable":true,"type":"string"},"kpis":{"items":{"$ref":"#/components/schemas/Report.KpiValue"},"nullable":true,"type":"array"},"measures":{"items":{"$ref":"#/components/schemas/Report.MeasureMeta"},"nullable":true,"type":"array"},"reasonCode":{"nullable":true,"type":"string"},"rows":{"items":{"$ref":"#/components/schemas/Report.ReportRow"},"nullable":true,"type":"array"},"source":{"nullable":true,"type":"string"},"span":{"format":"int32","type":"integer"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"totals":{"additionalProperties":{"format":"double","nullable":true,"type":"number"},"nullable":true,"type":"object"},"truncated":{"type":"boolean"},"type":{"nullable":true,"type":"string"},"updatedAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Report.CreateReportJobRequest":{"additionalProperties":false,"properties":{"format":{"nullable":true,"type":"string"},"parametersJson":{"nullable":true,"type":"string"},"reportType":{"nullable":true,"type":"string"}},"type":"object"},"Report.DeliveryDto":{"additionalProperties":false,"properties":{"at":{"format":"date-time","type":"string"},"channels":{"items":{"type":"string"},"nullable":true,"type":"array"},"id":{"format":"uuid","type":"string"},"periodFrom":{"format":"date","type":"string"},"periodTo":{"format":"date","type":"string"},"reason":{"nullable":true,"type":"string"},"recipientId":{"format":"uuid","type":"string"},"status":{"nullable":true,"type":"string"}},"type":"object"},"Report.ExportJobDto":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"completedAt":{"format":"date-time","nullable":true,"type":"string"},"createdAt":{"format":"date-time","type":"string"},"downloadPath":{"nullable":true,"type":"string"},"error":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"fileName":{"nullable":true,"type":"string"},"format":{"nullable":true,"type":"string"},"id":{"format":"uuid","type":"string"},"sizeBytes":{"format":"int64","nullable":true,"type":"integer"},"status":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Report.ExportReportCommand":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"compare":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"format":{"nullable":true,"type":"string"},"from":{"format":"date","type":"string"},"grain":{"nullable":true,"type":"string"},"includeSample":{"type":"boolean"},"to":{"format":"date","type":"string"}},"type":"object"},"Report.KpiValue":{"additionalProperties":false,"properties":{"compare":{"format":"double","nullable":true,"type":"number"},"deltaPct":{"format":"double","nullable":true,"type":"number"},"key":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Report.LaborCostFreshness":{"additionalProperties":false,"properties":{"lastPayrollFinalizedAt":{"format":"date-time","nullable":true,"type":"string"},"lastPieceworkReceivedAt":{"format":"date-time","nullable":true,"type":"string"},"lastSeasonSyncedAt":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"},"Report.LaborCostQuantityDto":{"additionalProperties":false,"properties":{"quantity":{"format":"double","type":"number"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Report.LaborCostReportDto":{"additionalProperties":false,"properties":{"freshness":{"$ref":"#/components/schemas/Report.LaborCostFreshness"},"from":{"format":"date","type":"string"},"rows":{"items":{"$ref":"#/components/schemas/Report.LaborCostRowDto"},"nullable":true,"type":"array"},"to":{"format":"date","type":"string"},"totals":{"$ref":"#/components/schemas/Report.LaborCostTotalsDto"}},"type":"object"},"Report.LaborCostRowDto":{"additionalProperties":false,"properties":{"costPerKg":{"format":"int64","nullable":true,"type":"integer"},"cropName":{"nullable":true,"type":"string"},"parcelCode":{"nullable":true,"type":"string"},"parcelId":{"format":"uuid","nullable":true,"type":"string"},"pieceworkCost":{"format":"int64","type":"integer"},"pieceworkQuantities":{"items":{"$ref":"#/components/schemas/Report.LaborCostQuantityDto"},"nullable":true,"type":"array"},"seasonId":{"format":"uuid","nullable":true,"type":"string"},"seasonName":{"nullable":true,"type":"string"},"timeCost":{"format":"int64","type":"integer"},"totalCost":{"format":"int64","type":"integer"},"workUnits":{"format":"double","type":"number"},"workerCount":{"format":"int32","type":"integer"},"yieldKg":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Report.LaborCostTotalsDto":{"additionalProperties":false,"properties":{"pieceworkCost":{"format":"int64","type":"integer"},"timeCost":{"format":"int64","type":"integer"},"totalCost":{"format":"int64","type":"integer"},"workUnits":{"format":"double","type":"number"},"workerCount":{"format":"int32","type":"integer"}},"type":"object"},"Report.MeasureMeta":{"additionalProperties":false,"properties":{"good":{"nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"label":{"nullable":true,"type":"string"},"op":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Report.MetricCatalogItem":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"code":{"nullable":true,"type":"string"},"curve":{"nullable":true,"type":"string"},"labelEn":{"nullable":true,"type":"string"},"labelVi":{"nullable":true,"type":"string"},"planned":{"type":"boolean"},"reasonCode":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Report.MetricQueryItem":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"from":{"format":"date","type":"string"},"key":{"nullable":true,"type":"string"},"scope":{"$ref":"#/components/schemas/Report.MetricScopeDto"},"to":{"format":"date","type":"string"}},"type":"object"},"Report.MetricResultItem":{"additionalProperties":false,"properties":{"key":{"nullable":true,"type":"string"},"reasonCode":{"nullable":true,"type":"string"},"sourceUpdatedAt":{"format":"date-time","nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"value":{"format":"double","nullable":true,"type":"number"}},"type":"object"},"Report.MetricScopeDto":{"additionalProperties":false,"properties":{"branchId":{"format":"uuid","nullable":true,"type":"string"},"cropTypeId":{"format":"uuid","nullable":true,"type":"string"},"parcelIds":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"zoneId":{"format":"uuid","nullable":true,"type":"string"}},"type":"object"},"Report.ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"nullable":true,"type":"string"},"instance":{"nullable":true,"type":"string"},"status":{"format":"int32","nullable":true,"type":"integer"},"title":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"type":"object"},"Report.ReportCatalogItem":{"additionalProperties":false,"properties":{"accessible":{"type":"boolean"},"blocks":{"format":"int32","type":"integer"},"chart":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"group":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"visibleBlocks":{"format":"int32","type":"integer"}},"type":"object"},"Report.ReportPeriod":{"additionalProperties":false,"properties":{"compareFrom":{"format":"date","nullable":true,"type":"string"},"compareTo":{"format":"date","nullable":true,"type":"string"},"from":{"format":"date","type":"string"},"grain":{"nullable":true,"type":"string"},"to":{"format":"date","type":"string"}},"type":"object"},"Report.ReportRecordsQuery":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"from":{"format":"date","type":"string"},"includeSample":{"type":"boolean"},"limit":{"format":"int32","type":"integer"},"source":{"nullable":true,"type":"string"},"to":{"format":"date","type":"string"}},"type":"object"},"Report.ReportRecordsResult":{"additionalProperties":false,"properties":{"dataset":{"nullable":true,"type":"string"},"labels":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"nullable":true,"type":"object"},"reasonCode":{"nullable":true,"type":"string"},"recordCount":{"format":"int32","type":"integer"},"rows":{"items":{"$ref":"#/components/schemas/Report.ReportRow"},"nullable":true,"type":"array"},"source":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"totals":{"additionalProperties":{"format":"double","type":"number"},"nullable":true,"type":"object"},"truncated":{"type":"boolean"}},"type":"object"},"Report.ReportResult":{"additionalProperties":false,"properties":{"asOf":{"format":"date-time","type":"string"},"blocks":{"items":{"$ref":"#/components/schemas/Report.BlockResult"},"nullable":true,"type":"array"},"code":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"group":{"nullable":true,"type":"string"},"hasSample":{"type":"boolean"},"hidden":{"items":{"type":"string"},"nullable":true,"type":"array"},"labels":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"nullable":true,"type":"object"},"period":{"$ref":"#/components/schemas/Report.ReportPeriod"},"summaryFocus":{"items":{"type":"string"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"}},"type":"object"},"Report.ReportRow":{"additionalProperties":false,"properties":{"date":{"format":"date","nullable":true,"type":"string"},"dims":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"},"id":{"nullable":true,"type":"string"},"values":{"additionalProperties":{"format":"double","nullable":true,"type":"number"},"nullable":true,"type":"object"}},"type":"object"},"Report.RunReportQuery":{"additionalProperties":false,"properties":{"code":{"nullable":true,"type":"string"},"compare":{"nullable":true,"type":"string"},"filters":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"nullable":true,"type":"object"},"from":{"format":"date","type":"string"},"grain":{"nullable":true,"type":"string"},"includeSample":{"type":"boolean"},"to":{"format":"date","type":"string"}},"type":"object"},"Report.ScheduleDto":{"additionalProperties":false,"properties":{"attachPdf":{"type":"boolean"},"channels":{"items":{"type":"string"},"nullable":true,"type":"array"},"code":{"nullable":true,"type":"string"},"condition":{"nullable":true,"type":"string"},"createdBy":{"format":"uuid","type":"string"},"frequency":{"nullable":true,"type":"string"},"hour":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"isActive":{"type":"boolean"},"lastError":{"nullable":true,"type":"string"},"lastRunAt":{"format":"date-time","nullable":true,"type":"string"},"lastStatus":{"nullable":true,"type":"string"},"monthDay":{"format":"int32","nullable":true,"type":"integer"},"nextRunAt":{"format":"date-time","nullable":true,"type":"string"},"period":{"nullable":true,"type":"string"},"recipients":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"title":{"nullable":true,"type":"string"},"weekday":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"},"Report.TraceFact":{"additionalProperties":false,"properties":{"label":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"string"}},"type":"object"},"Report.TraceGraphEdge":{"additionalProperties":false,"properties":{"from":{"nullable":true,"type":"string"},"to":{"nullable":true,"type":"string"}},"type":"object"},"Report.TraceGraphNode":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"level":{"format":"int32","type":"integer"},"node":{"$ref":"#/components/schemas/Report.TraceNode"},"ref":{"nullable":true,"type":"string"},"restricted":{"type":"boolean"},"service":{"nullable":true,"type":"string"},"sourceError":{"type":"boolean"}},"type":"object"},"Report.TraceGraphResult":{"additionalProperties":false,"properties":{"edges":{"items":{"$ref":"#/components/schemas/Report.TraceGraphEdge"},"nullable":true,"type":"array"},"nodes":{"items":{"$ref":"#/components/schemas/Report.TraceGraphNode"},"nullable":true,"type":"array"},"root":{"nullable":true,"type":"string"},"truncated":{"type":"boolean"}},"type":"object"},"Report.TraceNode":{"additionalProperties":false,"properties":{"amount":{"format":"double","nullable":true,"type":"number"},"date":{"format":"date","nullable":true,"type":"string"},"facts":{"items":{"$ref":"#/components/schemas/Report.TraceFact"},"nullable":true,"type":"array"},"flag":{"nullable":true,"type":"string"},"flagOf":{"$ref":"#/components/schemas/Report.TraceRef"},"href":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"service":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"subtitle":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"}},"type":"object"},"Report.TraceRef":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"key":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"}},"type":"object"},"Report.UpsertScheduleCommand":{"additionalProperties":false,"properties":{"attachPdf":{"type":"boolean"},"channels":{"items":{"type":"string"},"nullable":true,"type":"array"},"code":{"nullable":true,"type":"string"},"condition":{"nullable":true,"type":"string"},"frequency":{"nullable":true,"type":"string"},"hour":{"format":"int32","type":"integer"},"id":{"format":"uuid","nullable":true,"type":"string"},"monthDay":{"format":"int32","nullable":true,"type":"integer"},"period":{"nullable":true,"type":"string"},"recipients":{"items":{"format":"uuid","type":"string"},"nullable":true,"type":"array"},"weekday":{"format":"int32","nullable":true,"type":"integer"}},"type":"object"}},"securitySchemes":{"apiKey":{"description":"Authorization: Bearer nfk_… (khoá API) hoặc token ứng dụng","scheme":"bearer","type":"http"}}},"info":{"description":"Các tuyến khoá API (nfk_…) và token ứng dụng đối tác gọi được. Sinh tự động từ mã các dịch vụ — https://developers.nextfarm.vn","title":"NextFarm API","version":"1"},"openapi":"3.0.1","paths":{"/api/v1/gis/care-schedules":{"get":{"parameters":[{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.CareActivationDto"},"type":"array"}}},"description":"OK"}},"summary":"Các kích hoạt lịch chăm sóc (lọc theo thửa)","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/care-schedules/preview":{"get":{"description":"`from` yyyy-MM-dd (mặc định hôm nay giờ VN), `days` 1–400 (mặc định 30).","parameters":[{"in":"query","name":"templateId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"plotId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"seasonId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"type":"string"}},{"in":"query","name":"days","schema":{"default":30,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.CarePreviewDto"}}},"description":"OK"}},"summary":"Xem trước lịch (không ghi gì)","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/care-schedules/this-week":{"get":{"parameters":[{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.CareWeekDto"}}},"description":"OK"}},"summary":"Việc chăm sóc tuần này (chỉ kích hoạt đang BẬT)","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/care-schedules/{id}/calendar":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"year","schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.CarePreviewDto"}}},"description":"OK"}},"summary":"Lịch cả năm của một kích hoạt","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/care-schedules/{id}/generations":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.CareGenerationDto"},"type":"array"}}},"description":"OK"}},"summary":"Lịch sử đã sinh của một kích hoạt","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/crop-types":{"get":{"description":"Lọc theo category (fruit_tree/cereal/vegetable/industrial/other), isActive. Phân trang.","parameters":[{"in":"query","name":"category","schema":{"type":"string"}},{"in":"query","name":"isActive","schema":{"default":true,"type":"boolean"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":100,"format":"int32","type":"integer"}},{"in":"query","name":"deleted","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.CropTypeListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách loại cây trồng","tags":["gis"],"x-nextfarm-scope":"gis.crop-types.view"}},"/api/v1/gis/crop-types/{id}":{"get":{"description":"Dùng bởi nextfarm-harvest để lấy tên loại cây khi dựng phiếu thu hoạch.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.CropTypeDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Một loại cây trồng theo mã","tags":["gis"],"x-nextfarm-scope":"gis.crop-types.view"}},"/api/v1/gis/crop-types/{id}/perennial-profile":{"get":{"description":"Vòng đời, tuổi cho trái, khoảng cách trồng mặc định, giai đoạn đời cây mẫu.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.PerennialProfileDto"}}},"description":"OK"}},"summary":"Hồ sơ cây lâu năm của loài","tags":["gis"],"x-nextfarm-scope":"gis.crop-types.view"}},"/api/v1/gis/crop-types/{id}/varieties":{"get":{"description":"kind = variety (giống) | rootstock (gốc ghép); bỏ trống = cả hai.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"kind","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.CropVarietyDto"},"type":"array"}}},"description":"OK"}},"summary":"Giống và gốc ghép của loài","tags":["gis"],"x-nextfarm-scope":"gis.crop-types.view"}},"/api/v1/gis/facilities":{"get":{"description":"Lọc theo facilityType (barn, pasture, feedlot, dairy, poultry_house, piggery, processing_plant, other), status (active, inactive, maintenance) và branchId. Phân trang.","parameters":[{"in":"query","name":"facilityType","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"sourceParcelId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"branchId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.FacilityListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách chuồng trại","tags":["gis"],"x-nextfarm-scope":"gis.facilities.view"}},"/api/v1/gis/facilities/{id}":{"get":{"description":"Trả về thông tin đầy đủ gồm GeoJSON boundary, metadata, capacity, current_stock.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.FacilityDetailDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết chuồng trại","tags":["gis"],"x-nextfarm-scope":"gis.facilities.view"}},"/api/v1/gis/farmer-groups":{"get":{"parameters":[{"in":"query","name":"includeInactive","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.FarmerGroupDto"},"type":"array"}}},"description":"OK"}},"tags":["gis"],"x-nextfarm-scope":"gis.farmers.view"}},"/api/v1/gis/farmers":{"get":{"description":"Lọc theo zone_id. Phân trang.","parameters":[{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"deleted","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"groupId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"memberType","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.FarmerListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách nông dân","tags":["gis"],"x-nextfarm-scope":"gis.farmers.view"}},"/api/v1/gis/farmers/{id}":{"get":{"description":"Trả thông tin đầy đủ + zone name + home location (GeoJSON Point).","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.FarmerDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết nông dân","tags":["gis"],"x-nextfarm-scope":"gis.farmers.view"}},"/api/v1/gis/layers":{"get":{"description":"Lọc theo layer_type (ndvi/satellite/custom/soil/weather), zone_id, status (processing/ready/failed/archived). Phân trang.","parameters":[{"in":"query","name":"layerType","schema":{"type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.MapLayerListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách map layers","tags":["gis"],"x-nextfarm-scope":"gis.layers.view"}},"/api/v1/gis/layers/{id}":{"get":{"description":"Trả thông tin đầy đủ + tên zone + ndvi stats + style_config jsonb.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.MapLayerDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết map layer","tags":["gis"],"x-nextfarm-scope":"gis.layers.view"}},"/api/v1/gis/map/points":{"get":{"description":"bbox=minLon,minLat,maxLon,maxLat (bắt buộc, tối đa 10°×10°). zoom 0..22 (tuỳ chọn): dưới 13 mà nhiều hơn limit thì trả mode=clusters (ô gom). limit mặc định 2000, trần 5000; vượt thì cắt và truncated=true (KHÔNG báo lỗi). kind=all|farmer|parcel. Điểm hộ dân chỉ có khi người gọi có thêm gis.farmers.view và không bị giới hạn theo thửa sở hữu.","parameters":[{"in":"query","name":"bbox","schema":{"type":"string"}},{"in":"query","name":"zoom","schema":{"format":"int32","type":"integer"}},{"in":"query","name":"limit","schema":{"format":"int32","type":"integer"}},{"in":"query","name":"kind","schema":{"type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.MapPointsResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Forbidden"}},"summary":"Điểm nhẹ theo bbox: nhà hộ dân + tâm thửa","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels":{"get":{"description":"Lọc theo bbox (minLon,minLat,maxLon,maxLat), zoneId, ownerId, cropTypeId, status, branchId. Phân trang. Bbox max 2°×2°, tối đa 1000 results.","parameters":[{"in":"query","name":"bbox","schema":{"type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"ownerId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"cropTypeId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"branchId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"deleted","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ParcelListItemDtoPagedResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Bad Request"}},"summary":"Danh sách lô thửa","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels/summary":{"get":{"description":"group_by = owner (theo hộ) | zone (theo vùng) | crop (theo cây trồng). Mỗi dòng: số hộ, số thửa, tổng diện tích (đã loại thửa ranh giới vô lý), số thửa CHƯA có ranh giới. Lọc thêm theo zoneId, cropTypeId, status. Phân trang (tối đa 200 dòng/trang), xếp theo tổng diện tích giảm dần. Cùng phạm vi nhìn thấy với danh sách thửa.","parameters":[{"in":"query","name":"group_by","schema":{"type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"cropTypeId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ParcelSummaryRowDtoPagedResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Bad Request"}},"summary":"Tổng hợp diện tích thửa theo hộ / vùng / cây","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels/{id}":{"get":{"description":"Trả về thông tin đầy đủ gồm GeoJSON boundary + nested zone/owner/crop_type + ndvi_history.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ParcelDetailDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết lô thửa","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels/{id}/contains-point":{"get":{"description":"Trả 200 kèm `{ parcel_id, inside }`. NGOÀI RANH LÀ MỘT CÂU TRẢ LỜI HỢP LỆ (`inside=false`), KHÔNG phải lỗi — endpoint này nói sự thật hình học, còn cảnh báo hay chặn là việc của NGƯỜI GỌI. Điểm nằm ĐÚNG TRÊN CẠNH tính là TRONG (Covers, không phải Contains): nông dân đứng ở bờ ruộng không được báo sai. 422 chỉ khi toạ độ ngoài miền hợp lệ. Không có GPS thì đừng gọi. Đây là CHẶNG TRƯỚC MẮT — đích đến là kiểm CỤC BỘ trên máy qua gói offline `GET /gis/sync/parcels` (đã có sẵn), vì chính lúc mất sóng mới là lúc người ta ở giữa ruộng.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"lat","schema":{"format":"double","type":"number"}},{"in":"query","name":"lng","schema":{"format":"double","type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ParcelContainsPointDto"}}},"description":"OK"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Điểm GPS có nằm trong ranh thửa không","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels/{id}/history":{"get":{"description":"Audit trail mọi thay đổi (created/boundary-updated/owner-changed/crop-type-changed/status-changed/deleted). Sắp xếp mới nhất trước.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ParcelHistoryItemDtoPagedResult"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lịch sử thay đổi parcel","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/parcels/{parcelId}/photos":{"get":{"description":"Trả về danh sách ảnh kèm presigned GET URL (TTL 1 giờ).","parameters":[{"in":"path","name":"parcelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.ParcelPhotoDto"},"type":"array"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Danh sách ảnh của lô thửa","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/plots":{"get":{"description":"Trả về các khu (Plot) thuộc parcel_id, kèm tên cây trồng, nhóm cây (để FE quyết định rải chấm), số cây + mật độ ước tính, và GeoJSON ranh giới.","parameters":[{"in":"query","name":"parcel_id","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.PlotListItemDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách khu của một thửa","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/plots/{id}/crops":{"get":{"description":"Loài chính đứng đầu (role = main, trùng crop_type_id của khu). Vai trò: main · intercrop (xen) · shade (che bóng) · border (ranh) · temporary (tạm).","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.PlotCropDto"},"type":"array"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Các loài trồng trong khu (trồng xen)","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/search":{"get":{"description":"Không phân biệt dấu (\"ca phe\" khớp \"Cà phê\"). Dưới 2 ký tự trả rỗng. Mỗi nhóm tối đa `limit` (1–20, mặc định 8), đã lọc theo quyền + vùng được phép.","parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":8,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.GisSearchResult"}}},"description":"OK"}},"summary":"Tìm thửa, mùa vụ, nông dân, vùng","tags":["gis"],"x-nextfarm-api-key":true}},"/api/v1/gis/season-templates":{"get":{"description":"`cropTypeId` có ⇒ mẫu của cây đó + mẫu dùng chung (không gắn cây).","parameters":[{"in":"query","name":"cropTypeId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.SeasonTemplateDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách quy trình mẫu","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/season-templates/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.SeasonTemplateDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Một quy trình mẫu","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/seasons":{"get":{"description":"Cần ít nhất một trong hai: `parcelId` (lịch sử canh tác của một thửa) hoặc `year` (thanh 12 tháng). Với `year`, vụ được lấy khi nó **CHẠM** vào năm đó — vụ trồng 12/2025 thu 03/2026 hiện ở cả hai năm, nếu không thì tháng 1–2 của 2026 trông như không có vụ nào trong khi ngoài ruộng đang có cây.","parameters":[{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"year","schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.SeasonDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách mùa vụ","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/seasons/groups":{"get":{"description":"Dùng cho màn đặt mục tiêu theo vụ: \"Lúa · Đông Xuân 2026–27\" trên nhiều thửa là MỘT nhóm. Khoá nhóm = <crop_type_id>|<tên vụ>|<năm>. `branchId` lọc vụ trên thửa của một trang trại.","parameters":[{"in":"query","name":"year","schema":{"format":"int32","type":"integer"}},{"in":"query","name":"branchId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Gis.SeasonGroupDto"},"type":"array"}}},"description":"OK"}},"summary":"Nhóm vụ của một năm (cùng cây, cùng tên vụ)","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/seasons/{id}":{"get":{"description":"Dùng bởi `nextfarm-harvest`: lúc khai thu hoạch nó cần biết vụ trồng CÂY GÌ và ĐÃ ĐÓNG CHƯA; lúc dựng trang truy xuất nó cần tên vụ + ngày trồng + ngày dự kiến thu để in lên tem.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.SeasonDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Một mùa vụ theo mã","tags":["gis"],"x-nextfarm-scope":"gis.parcels.view"}},"/api/v1/gis/zones":{"get":{"description":"Lọc theo zone_type (province/district/commune/material_zone). Phân trang.","parameters":[{"in":"query","name":"zone_type","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"page_size","schema":{"default":100,"format":"int32","type":"integer"}},{"in":"query","name":"deleted","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"include_stats","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"branch_id","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ZoneListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách zones","tags":["gis"],"x-nextfarm-scope":"gis.zones.view"}},"/api/v1/gis/zones/{id}":{"get":{"description":"Trả thông tin đầy đủ + tên parent zone + boundary GeoJSON.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ZoneDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết zone","tags":["gis"],"x-nextfarm-scope":"gis.zones.view"}},"/api/v1/gis/zones/{id}/stats":{"get":{"description":"Số lượng parcel + tổng diện tích thuộc workspace hiện tại trong zone này.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ZoneStatsDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gis.ProblemDetails"}}},"description":"Not Found"}},"summary":"Thống kê zone","tags":["gis"],"x-nextfarm-scope":"gis.zones.view"}},"/api/v1/harvest/certifications":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.CertificationListDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách chứng nhận của workspace","tags":["harvest"],"x-nextfarm-scope":"harvest.certification.view"}},"/api/v1/harvest/certifications/expiring":{"get":{"description":"Sắp theo ngày hết hạn TĂNG DẦN — bản đã hết hạn lâu nhất đứng đầu. within_days là cửa sổ nhìn tới tính từ hôm nay (mặc định 90). include_expired mặc định BẬT: nhóm đã hết hạn mới là nhóm gấp nhất.","parameters":[{"in":"query","name":"within_days","schema":{"default":90,"format":"int32","type":"integer"}},{"in":"query","name":"include_expired","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.CertificationListDto"},"type":"array"}}},"description":"OK"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Chứng nhận sắp hết hạn","tags":["harvest"],"x-nextfarm-scope":"harvest.certification.view"}},"/api/v1/harvest/harvest-records":{"get":{"description":"Lọc theo status. Phân trang.","parameters":[{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"filter_rules","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestRecordListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách bản ghi thu hoạch","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"},"post":{"description":"Tạo HarvestRecord. Nếu confirm=true (mặc định) thì confirm ngay và publish harvest.declared. Nếu confirm=false thì lưu Draft.","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.DeclareHarvestRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestRecordDto"}}},"description":"Created"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Khai báo thu hoạch","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.create"}},"/api/v1/harvest/harvest-records/preview-trace":{"get":{"parameters":[{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"seasonId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.TracePreviewDto"}}},"description":"OK"}},"summary":"Kiểm tra trước khi khoá (D2): bó truy xuất sẽ nhận những gì","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"}},"/api/v1/harvest/harvest-records/summary":{"get":{"description":"group_by = owner (theo hộ) | zone (theo vùng) | crop (theo cây) | parcel (theo thửa). Chỉ tính phiếu ĐÃ XÁC NHẬN (Confirmed · Verified · Collected); kg = cân thực tế nếu đã kiểm, ngược lại số khai. from/to lọc theo ngày thu hoạch (yyyy-MM-dd), zoneId/cropTypeId lọc thêm. Hộ và vùng lấy từ gis tại lúc đọc (gis không trả lời được ⇒ báo lỗi dịch vụ ngoài, KHÔNG trả số thiếu). Phân trang (tối đa 200 dòng/trang), xếp theo tổng kg giảm dần.","parameters":[{"in":"query","name":"group_by","schema":{"type":"string"}},{"in":"query","name":"from","schema":{"format":"date","type":"string"}},{"in":"query","name":"to","schema":{"format":"date","type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"cropTypeId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestSummaryRowDtoPagedResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Bad Request"}},"summary":"Tổng hợp sản lượng theo hộ / vùng / cây / thửa","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"}},"/api/v1/harvest/harvest-records/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestRecordListItemDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết bản ghi thu hoạch","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"},"put":{"description":"Chỉ cập nhật được khi status = draft.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.UpdateHarvestRecordRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestRecordDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Conflict"}},"summary":"Cập nhật khai báo thu hoạch","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.create"}},"/api/v1/harvest/market-prices":{"get":{"description":"Lọc theo mặt hàng (nhiều mã), chợ/vùng và khoảng ngày. Phân trang.","parameters":[{"in":"query","name":"commodityCode","schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"market","schema":{"type":"string"}},{"in":"query","name":"fromDate","schema":{"format":"date","type":"string"}},{"in":"query","name":"toDate","schema":{"format":"date","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.MarketPriceDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách giá đã ghi nhận","tags":["harvest"],"x-nextfarm-scope":"harvest.market-prices.view"}},"/api/v1/harvest/market-prices/series":{"get":{"description":"Mọi chuỗi trả về CÙNG MỘT đơn vị (trường `unit` ở cấp response). Biểu đồ bên FE chỉ có một trục y — mặt hàng lệch đơn vị bị bỏ qua chứ KHÔNG quy đổi, vì đoán sai hệ số quy đổi là sai số liệu âm thầm. Không truyền `unit` thì lấy đơn vị phổ biến nhất trong khoảng lọc.","parameters":[{"in":"query","name":"commodityCode","schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"fromDate","schema":{"format":"date","type":"string"}},{"in":"query","name":"toDate","schema":{"format":"date","type":"string"}},{"in":"query","name":"unit","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.MarketPriceSeriesResponseDto"}}},"description":"OK"}},"summary":"Chuỗi giá theo thời gian để vẽ biểu đồ","tags":["harvest"],"x-nextfarm-scope":"harvest.market-prices.view"}},"/api/v1/harvest/market-prices/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.MarketPriceDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết một bản ghi giá","tags":["harvest"],"x-nextfarm-scope":"harvest.market-prices.view"}},"/api/v1/harvest/parcels/phi-active":{"get":{"description":"Gộp lần phun ghi nhật ký, phiếu xuất thuốc BVTV và thuốc thú y từ kho (GĐ4), thuốc thú y ở sổ đàn/ao — tức cả thửa vườn lẫn ao/chuồng đang cách ly hoặc ngưng thuốc. on = ngày xét (mặc định hôm nay giờ VN). Mỗi dòng: parcel_id, safe_from (ngày sớm nhất được thu), blocking (lần dùng thuốc đang giữ cách ly; kind = spray | inventory | inventory_vet | vet). Theo phạm vi thửa của người xem. Dùng cho màn Thu hoạch và Tổng quan nông trại.","parameters":[{"in":"query","name":"on","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.PhiStatusDto"},"type":"array"}}},"description":"OK"}},"summary":"Các thửa đang trong thời gian cách ly","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"}},"/api/v1/harvest/parcels/{parcelId}/phi-status":{"get":{"description":"Tính từ các lần phun thuốc BVTV (và thuốc thú y ở sổ đàn/ao) có ghi số ngày cách ly. on = ngày định thu (yyyy-MM-dd, mặc định hôm nay giờ VN). active=true ⇒ khai thu hoạch ngày đó sẽ bị chặn trừ khi ghi lý do; safe_from = ngày sớm nhất được thu.","parameters":[{"in":"path","name":"parcelId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"on","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.PhiStatusDto"}}},"description":"OK"}},"summary":"Thửa có đang trong thời gian cách ly không","tags":["harvest"],"x-nextfarm-scope":"harvest.harvest.view"}},"/api/v1/harvest/product-infos":{"get":{"description":"Gồm hồ sơ riêng của workspace và các hồ sơ dùng chung (workspace_id rỗng).","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.ProductInfoAdminDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách hồ sơ sản phẩm","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/qr-codes":{"get":{"parameters":[{"in":"query","name":"seasonId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.QrCodeDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách mã QR của 1 mùa vụ","tags":["harvest"],"x-nextfarm-scope":"harvest.qr-codes.view"}},"/api/v1/harvest/qr-codes/usage":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.QrCodeUsageDto"}}},"description":"OK"}},"summary":"Số tem đã dùng / trần của gói Miễn phí (5 tem tổng / workspace)","tags":["harvest"],"x-nextfarm-scope":"harvest.qr-codes.view"}},"/api/v1/harvest/qr-codes/{id}/scans":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"days","schema":{"default":30,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.QrScanSeriesDto"}}},"description":"OK"}},"summary":"Lượt quét theo ngày của một mã QR (Q6)","tags":["harvest"],"x-nextfarm-scope":"harvest.qr-codes.view"}},"/api/v1/harvest/search":{"get":{"description":"Không phân biệt dấu. Dưới 2 ký tự trả rỗng. Mỗi nhóm tối đa `limit` (1–20).","parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":8,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.HarvestSearchResult"}}},"description":"OK"}},"summary":"Tìm bản ghi thu hoạch, tem QR, chứng nhận","tags":["harvest"],"x-nextfarm-api-key":true}},"/api/v1/harvest/trace":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.TraceBundleListItemDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách TraceBundle của workspace (yêu cầu đăng nhập)","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-anchors":{"get":{"parameters":[{"in":"query","name":"take","schema":{"default":60,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.TraceAnchorsResponse"}}},"description":"OK"}},"summary":"Lượt neo có lô của workspace (D7) + lô đã niêm phong chờ lượt tới","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-certificate/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"OK"}},"summary":"Chứng thư xác thực blockchain (PDF, D4)","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-incidents":{"get":{"parameters":[{"in":"query","name":"status","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Harvest.TraceIncidentDto"},"type":"array"}}},"description":"OK"}},"summary":"Sự cố lệch dữ liệu của workspace (D8)","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-pdf/{code}":{"get":{"description":"Trả PDF VietGAP của lô. Tệp có họ tên + số điện thoại nông hộ nên KHÔNG phát ra đường công khai. 404 khi: mã không tồn tại · mã hết hạn · lô chưa kết xuất PDF · tệp không còn trong kho.","parameters":[{"in":"path","name":"code","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.ProblemDetails"}}},"description":"Not Found"}},"summary":"Tải hồ sơ truy xuất PDF theo mã QR (YÊU CẦU ĐĂNG NHẬP)","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-seal-document/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"OK"}},"summary":"Tải văn bản niêm phong (bản đầy đủ đã băm) — chỉ người của nhà","tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/harvest/trace-settings":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Harvest.TraceSettingsDto"}}},"description":"OK"}},"tags":["harvest"],"x-nextfarm-scope":"harvest.trace.view"}},"/api/v1/iot/alert-rules":{"get":{"description":"Lọc theo deviceId (tùy chọn).","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.AlertRuleDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách rule cảnh báo","tags":["iot"],"x-nextfarm-scope":"iot.alerts.view"}},"/api/v1/iot/alerts":{"get":{"description":"Lọc theo deviceId / status / severity / from / to. Phân trang.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"severity","schema":{"type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.AlertDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách cảnh báo","tags":["iot"],"x-nextfarm-scope":"iot.alerts.view"}},"/api/v1/iot/commands":{"get":{"description":"Lọc theo deviceId (tùy chọn). Phân trang.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":20,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceCommandDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách lệnh thiết bị","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices":{"get":{"description":"Lọc theo status. Phân trang.","parameters":[{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"parcelId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"unassigned","schema":{"type":"boolean"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceListItemDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách thiết bị IoT","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/control-states":{"get":{"description":"Lọc theo zoneId (tùy chọn).","parameters":[{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.DeviceControlStateDto"},"type":"array"}}},"description":"OK"}},"summary":"Trạng thái điều khiển nhiều thiết bị (màn hình nhiều nhà)","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/control-state":{"get":{"description":"Giải mã từ outputs bitmask + pump/winch/shade/flow (status mỗi 5s). FE poll ~5s.","parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceControlStateDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.ProblemDetails"}}},"description":"Not Found"}},"summary":"Trạng thái điều khiển thực tế của 1 thiết bị","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/display-prefs":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceDisplayPrefsDto"}}},"description":"OK"}},"tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/fert-meters":{"get":{"description":"pulse_at = null nghĩa là CHƯA BAO GIỜ nhận được xung nào từ thiết bị này. Trong mỗi kênh: pulse = -1 là không có đồng hồ / không đọc được · 0 là CÓ đồng hồ mà chưa quay · null là bo chưa gửi trường đó. Ba giá trị, ba nghĩa khác nhau.","parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceFertMetersDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.ProblemDetails"}}},"description":"Not Found"}},"summary":"Đồng hồ các bồn phân: chỗ cắm, hệ số bo đang dùng, và số đếm xung thô mới nhất","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/output-config/channels":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.DeviceOutputChannelDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách kênh ngõ ra đã cấu hình (đọc bản backend đã persist từ echo dev_cfg — không phụ thuộc realtime)","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/output-config/irrigation":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.DeviceIrrigationOutputDto"},"type":"array"}}},"description":"OK"}},"summary":"Cấu hình hệ tưới đã gán: bơm/van vùng/van phân bón kể cả van Denso (đọc bản backend đã persist từ echo irr_out — không phụ thuộc realtime)","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/output-config/mcv-cfg":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.McvCfgStateDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.ProblemDetails"}}},"description":"Not Found"}},"summary":"Trạng thái đồng bộ cài đặt van Denso: giá trị đã đặt (desired), bo đang giữ (reported, từ echo dev_cfg), ack và 1 trong 8 trạng thái","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/output-config/summary":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"}},"summary":"Gói tóm tắt cấu hình ngõ ra server đã NHỚ (free_ports…) — trả JSON thô, không phụ thuộc realtime (hết chập chờn). 204 nếu server chưa từng nhận.","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/schedules":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.DeviceScheduleDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách lịch hẹn giờ của thiết bị","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{deviceId}/setpoints":{"get":{"parameters":[{"in":"path","name":"deviceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceSetpointsDto"}}},"description":"OK"}},"tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/devices/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.DeviceDetailDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết thiết bị IoT — đầy đủ fields cho 4-tab detail page","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/emergency-stop":{"get":{"parameters":[{"in":"query","name":"activeOnly","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.EmergencyStopDto"},"type":"array"}}},"description":"OK"}},"summary":"Khoá dừng khẩn đang hiệu lực (activeOnly=true, mặc định) hoặc 20 lần gần nhất","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/reports/irrigation-logs":{"get":{"description":"Từng chu kỳ tưới có phân trang cho bảng Lịch sử tưới. Lọc theo deviceId / zoneId / from / to. Sắp xếp mới nhất trước. Mặc định 7 ngày gần nhất, pageSize=20.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":20,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.IrrigationLogEntryDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách lịch sử tưới (phân trang)","tags":["iot"],"x-nextfarm-scope":"iot.telemetry.view"}},"/api/v1/iot/reports/irrigation-summary":{"get":{"description":"Tổng lít nước đã tưới + số lệnh điều khiển + tỷ lệ thành công trong khoảng thời gian. Mặc định 7 ngày gần nhất.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.IrrigationSummaryDto"}}},"description":"OK"}},"summary":"Tổng hợp báo cáo tưới tiêu","tags":["iot"],"x-nextfarm-scope":"iot.telemetry.view"}},"/api/v1/iot/reports/irrigation-summary/export":{"get":{"description":"Bảng chi tiết từng chu kỳ tưới trong khoảng thời gian. Mặc định 7 ngày gần nhất.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"OK"}},"summary":"Xuất báo cáo tưới tiêu ra Excel","tags":["iot"],"x-nextfarm-scope":"iot.telemetry.view"}},"/api/v1/iot/schedules/upcoming":{"get":{"description":"from (yyyy-MM-dd, mặc định hôm nay giờ VN), days 1–7, device_id tuỳ chọn.","parameters":[{"in":"query","name":"from","schema":{"format":"date","type":"string"}},{"in":"query","name":"days","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"device_id","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.UpcomingSlotDtoIReadOnlyListItemsResponse"}}},"description":"OK"}},"summary":"Các cữ tưới sắp chạy của cả trại (gộp theo cữ)","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/search":{"get":{"description":"Theo tên · mã · MAC · mã khách, không phân biệt dấu. Dưới 2 ký tự trả rỗng. Lọc theo vùng được phép như danh sách thiết bị.","parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":8,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.IotSearchResult"}}},"description":"OK"}},"summary":"Tìm thiết bị","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/iot/sensor-readings":{"get":{"description":"Lọc theo deviceId / zoneId / from / to. Sắp xếp mới nhất trước. Mặc định pageSize=200.","parameters":[{"in":"query","name":"deviceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":200,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.SensorReadingDtoPagedResult"}}},"description":"OK"}},"summary":"Tra cứu số liệu cảm biến theo khoảng thời gian","tags":["iot"],"x-nextfarm-scope":"iot.telemetry.view"}},"/api/v1/iot/sensor-readings/latest":{"get":{"description":"Dùng cho Dashboard thời gian thực. Lọc theo zoneId tùy chọn.","parameters":[{"in":"query","name":"zoneId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Iot.SensorReadingDto"},"type":"array"}}},"description":"OK"}},"summary":"Giá trị mới nhất của từng thiết bị (30 phút gần nhất)","tags":["iot"],"x-nextfarm-scope":"iot.telemetry.view"}},"/api/v1/iot/setup/progress":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Iot.SetupProgressResult"}}},"description":"OK"}},"summary":"Tiến trình onboarding thiết bị IoT suy từ dữ liệu hiện có","tags":["iot"],"x-nextfarm-scope":"iot.devices.view"}},"/api/v1/office/apps":{"get":{"parameters":[{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":20,"format":"int32","type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AppDtoPagedResult"}}},"description":"OK"}},"summary":"Liệt kê app (phân trang)","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/apps/{appId}/dashboards":{"get":{"parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.DashboardDto"},"type":"array"}}},"description":"OK"}},"summary":"Liệt kê bảng điều khiển của một ứng dụng","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/apps/{appId}/tables":{"get":{"parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.TableDto"},"type":"array"}}},"description":"OK"}},"summary":"Liệt kê table của app","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/apps/{appId}/tables/{tableId}":{"get":{"parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.TableDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lấy chi tiết table","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/apps/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AppDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lấy chi tiết app","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/automation-logs":{"get":{"description":"`result` lọc theo MÃ: success · skipped · failed. Bỏ trống thì trả về mọi kết quả.","parameters":[{"in":"query","name":"automationId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"result","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"enrollmentId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationRunLogDtoPagedResult"}}},"description":"OK"}},"summary":"Nhật ký chạy, mới nhất trước","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automation-logs/metrics":{"get":{"description":"Trong `days` ngày (1–90): số dòng theo kết quả, `failureRate`, `quotaBlocked` (số lần bị bỏ qua vì hết lượt chạy tháng), hạn mức tháng, và hàng đợi: `activeRuns`, `dueRuns` (đã tới hạn mà bộ chạy chưa lấy), `oldestDueSeconds` (lượt tới hạn cũ nhất đã đợi bao lâu).","parameters":[{"in":"query","name":"days","schema":{"default":7,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationMetricsDto"}}},"description":"OK"}},"summary":"Chỉ số vận hành của Tự động hoá trong công ty","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automation-logs/runs":{"get":{"description":"Một lượt = một dòng dữ liệu đi qua luật một lần (gom theo `enrollmentId`). Mỗi lượt: bắt đầu/kết thúc, số bước, số hỏng/bỏ qua/xong và `result` tổng (failed > success > skipped). Mở chi tiết một lượt: `GET /automation-logs?enrollmentId=`. Lọc ở máy chủ: `result` (success|failed|skipped|running) · `createdBy` (me|mã người — người tạo luật) · `from`/`to` (mốc bắt đầu lượt, bao gồm) · `search` (tên luật, hoặc đúng mã lượt/dòng/luật).","parameters":[{"in":"query","name":"automationId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}},{"in":"query","name":"result","schema":{"type":"string"}},{"in":"query","name":"createdBy","schema":{"type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"search","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationRunDtoPagedResult"}}},"description":"OK"}},"summary":"Lịch sử theo LƯỢT CHẠY, mới nhất trước","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automation-logs/stats":{"get":{"description":"Đếm theo từng MÃ kết quả trong `days` ngày gần nhất (1–90).","parameters":[{"in":"query","name":"automationId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"days","schema":{"default":7,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationRunStatsDto"}}},"description":"OK"}},"summary":"Bốn ô số liệu trên đầu màn nhật ký","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automation-templates":{"get":{"description":"`steps` là tóm tắt theo thứ tự (kiểu bước + hành động) để kho mẫu hiện dòng \"Gửi tin → Chờ → Rẽ nhánh\".","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.AutomationTemplateDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách mẫu của công ty, mới nhất trước","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations":{"get":{"description":"Phân trang ở cơ sở dữ liệu. Lọc: `status` (`active`·`inactive`·`draft`·`paused`·`archived`) · `failing=true` (có lượt lỗi 7 ngày qua) · `triggerType` · `createdBy` (`me` hoặc mã người) · `tableId` · `actionType`; sắp: `sort` (`updated`·`created`·`creator`·`name`, mặc định `created`). Mỗi dòng kèm `stepCount`, `lastRunAt`, `runs7d`, `failed7d`, `createdById`, `createdByName`, `updatedAt`, `triggerConfig`, `stepActionTypes[]` — `steps` để rỗng, mở chi tiết mới tải.","parameters":[{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":20,"format":"int32","type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"triggerType","schema":{"type":"string"}},{"in":"query","name":"createdBy","schema":{"type":"string"}},{"in":"query","name":"tableId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"actionType","schema":{"type":"string"}},{"in":"query","name":"sort","schema":{"type":"string"}},{"in":"query","name":"failing","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationDtoPagedResult"}}},"description":"OK"}},"summary":"Danh sách automation","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/ai-columns/catalog":{"get":{"description":"Các chế độ cột AI dùng được trong tự động hoá. `available: false` nghĩa là tính năng chưa bật cho không gian làm việc này: cột vẫn cấu hình được nhưng chưa tạo nội dung.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AiColumnCatalogDto"}}},"description":"OK"}},"summary":"Danh mục chế độ của cột AI","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/catalog":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationCatalogSnapshot"}}},"description":"OK"}},"summary":"Catalog trigger/action khả dụng để dựng automation","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/merge-fields":{"get":{"description":"Cho ô \"chèn biến\" của trình dựng luật. `triggerType` = mã kích hoạt của luật ⇒ thêm nhóm `system` (`now`, `today`, `createdBy`) và nhóm `trigger` theo mã (vd `before.<cột>`, `changedFields`, `trigger.runNumber`, `trigger.clickedByName`).`tableId` = bảng kích hoạt của luật; bỏ trống thì chỉ có nhóm dữ liệu kích hoạt. Mỗi mục có `token` — chữ đặt giữa `{{ }}`. Mọi ô chữ trong cấu hình của MỌI hành động đều điền được biến; biến không tra được lúc chạy thì nằm nguyên văn trong kết quả (Chạy thử liệt kê chúng ở `unresolved`). `automationId` + `stepId` ⇒ thêm nhóm `scope = \"step\"` (kèm `stepId`) cho MỖI bước Tìm dòng / Thêm dòng đứng trước bước đó: `steps.<mã bước>.recordIds` · `.count` · `.<Tên cột>` · `.first.<Tên cột>`. `stepId` chưa có trong luật (bước sắp thêm) ⇒ coi như bước cuối. Đợt 4: `message_received` ⇒ `trigger.text` · `senderName` · `attachments` · `mentionNames` · `channelName` · `link`…; `service_event` ⇒ `trigger.payload.<khoá>` theo danh mục của `eventType` (tham số, hoặc đọc từ cấu hình của `automationId`).","parameters":[{"in":"query","name":"tableId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"triggerType","schema":{"type":"string"}},{"in":"query","name":"automationId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"stepId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"eventType","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.AutomationMergeFieldGroupDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh mục biến {{…}} chèn được vào cấu hình hành động","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/quota":{"get":{"description":"`{ month: \"yyyy-MM\" (giờ VN), used, limit, percent }`. Một lượt = một lần luật được kích hoạt (lượt con của vòng lặp không tính). Vượt 100% ⇒ lượt mới bị bỏ qua, nhật ký ghi lý do `quota_exceeded`; thao tác dữ liệu của người dùng không bị lỗi.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationQuotaDto"}}},"description":"OK"}},"summary":"Hạn mức lượt chạy tháng của công ty","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/service-events":{"get":{"description":"`[{ service, label, events: [{ code, label, requiresFilter, perMinuteCap, keys: [{ key, label, type, token }] }] }]` — phần mềm → sự kiện → khoá dữ liệu (nhãn tiếng Việt). `code` đi vào `eventType` của cấu hình KHI; `key` đi vào `filters.groups[].rules[].key`; `token` là biến chèn được (`trigger.payload.<khoá>`). `type`: text · number · date · datetime · id · boolean. Danh mục này chính là danh sách sự kiện hệ thống đang nhận — luật có `eventType` không còn ở đây là `event_unknown` (không bật lại được).","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.ServiceEventServiceDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh mục sự kiện của phần mềm khác (kích hoạt service_event)","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/suggestions":{"get":{"description":"Tối đa 3 thẻ `[{ kind, triggerType, actionType, tableId, tableName, fieldId, fieldName, offsetDays, evidenceCount, evidenceDays, existingAutomationId, existingAutomationName, existingStatus, existingRuns, existingFailed }]` dựng từ dữ liệu thật: `date_expiring` = cột Ngày tên kiểu \"Ngày hết hạn\" có dòng tới hạn trong 30 ngày tới (mời luật \"Khi tới ngày\", 30 ngày trước); `busy_table` = bảng nhiều dòng mới 30 ngày qua mà chưa luật nào nghe. Có `existingAutomationId` = công ty đã có luật này (kèm số lượt/số hỏng 30 ngày qua). Máy chủ chỉ trả mã + số, câu chữ do giao diện dịch. Chỉ đọc.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.AutomationSuggestionDto"},"type":"array"}}},"description":"OK"}},"summary":"Gợi ý tự động hoá riêng cho công ty (tab Gợi ý)","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/summary":{"get":{"description":"`{ total, active, inactive, mine, byTrigger: { [mã kích hoạt]: n }, archived, failing }` — `inactive` = mọi luật không Active; `archived` ⊂ `inactive`; `failing` = luật có lượt lỗi 7 ngày qua.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationSummaryDto"}}},"description":"OK"}},"summary":"Số đếm cho Trung tâm tự động hoá","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationDto"}}},"description":"OK"}},"summary":"Lấy 1 automation (kèm steps)","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/{id}/diagnosis":{"get":{"description":"Các phép kiểm theo thứ tự (`status` · `trigger` · `steps` · `quota` · `recent_failures`), `canRun` = không phép kiểm chặn nào hỏng, 5 lần BỎ QUA gần nhất kèm lý do đã dịch, và lần hỏng gần nhất. Chỉ đọc.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationDiagnosisDto"}}},"description":"OK"}},"summary":"Chẩn đoán: vì sao luật chạy / không chạy","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/{id}/overlaps":{"get":{"description":"Các luật ĐANG BẬT khác của công ty có cùng kiểu kích hoạt, cùng phạm vi nghe (bảng, cột, loại sự kiện, kênh — bỏ phần lọc) và ít nhất một loại hành động chung với luật này, kèm `sharedActions`. Chỉ cảnh báo: bộ lọc khác nhau thì hai luật có thể không bao giờ cùng chạy, người dùng tự xét. Tối đa 10.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.AutomationOverlapDto"},"type":"array"}}},"description":"OK"}},"summary":"Luật khác cùng kích hoạt và cùng làm việc này","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/automations/{id}/webhook/sample":{"get":{"description":"`{ sample, sampleSource: listen|manual, sampleAt, listening, listenUntil, keys: [{ name, path: \"trigger.payload.a.b\", type, example, children }] }`. `path` chính là biến chèn vào cấu hình bước. Chưa có mẫu ⇒ sample null, keys [].","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AutomationWebhookSampleDto"}}},"description":"OK"}},"summary":"Mẫu dữ liệu + cây khoá","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/calendar-links":{"get":{"description":"providerConfigured = false nghĩa là máy chủ chưa có khoá kết nối Google — giao diện phải nói 'quản trị chưa bật', không phải 'bạn chưa nối'.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.CalendarLinkStatusDto"}}},"description":"OK"}},"summary":"Tình trạng nối lịch của tôi","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/calendar-links/meeting-providers":{"get":{"description":"CHỈ trả về nhà cung cấp đã khai đủ khoá kết nối trên máy chủ. Giao diện phải dựng ô chọn từ danh sách này thay vì khai cứng — công ty chưa bật Teams mà vẫn thấy lựa chọn Teams thì chọn xong là nhận lỗi. connected = false nghĩa là người dùng chưa nối tài khoản, khác hẳn với 'quản trị chưa bật'.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.MeetingProviderDto"},"type":"array"}}},"description":"OK"}},"summary":"Những nơi cung cấp phòng họp trực tuyến đang bật","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/calendar-preferences":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.CalendarPreferenceDto"}}},"description":"OK"}},"summary":"Thiết lập màn lịch của tôi","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/calendars":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.CalendarDto"},"type":"array"}}},"description":"OK"}},"summary":"Lịch tôi đang đăng ký (cột trái)","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/calendars/subscribable":{"get":{"description":"Chỉ trả lịch người gọi THẬT SỰ được nhìn: lịch được chia sẻ và lịch ngày lễ.","parameters":[{"in":"query","name":"term","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.CalendarDto"},"type":"array"}}},"description":"OK"}},"summary":"Lịch có thể đăng ký thêm","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/connection-keys":{"get":{"description":"KHÔNG bao giờ trả về khoá thật — chỉ có phần nhận diện `prefix`. `status` là MÃ: active · revoked.","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.ConnectionKeyDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách khoá đã cấp","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/dashboards/{id}/widgets/{widgetId}/data":{"get":{"description":"unavailable = table_missing (bảng đã xoá) | no_access (ô đọc cột/bảng người xem không được thấy).","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"widgetId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.DashboardWidgetDataDto"}}},"description":"OK"}},"summary":"Số liệu một ô, tính theo quyền người xem","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/events":{"get":{"description":"Dùng cho lịch tuần và lịch tháng. Khoảng hỏi tối đa 120 ngày. eventType và status trả về là MÃ tiếng Anh. truncated=true nghĩa là danh sách bị cắt bởi trần an toàn (quá nhiều sự kiện hoặc quá nhiều lần lặp trong khung đang xem) — hẹp lại khoảng hỏi để xem đủ.","parameters":[{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"eventType","schema":{"type":"string"}},{"in":"query","name":"mineOnly","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.CalendarListResultDto"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Bad Request"}},"summary":"Sự kiện trong một khoảng thời gian","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/events/{id}":{"get":{"description":"occurrenceStart là mốc GỐC của một lần trong chuỗi lặp — có kèm thì tiêu đề, giờ, mô tả, địa điểm trả về là bản ĐÃ ÁP ngoại lệ của đúng lần đó, không phải bản chung của cả chuỗi. Bỏ trống khi sự kiện không lặp, hoặc khi cần xem/sửa cả chuỗi (scope=all).","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"occurrenceStart","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.EventDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Chi tiết một sự kiện kèm người dự và phòng đã giữ","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/events/{id}.ics":{"get":{"description":"Cho người TRONG công ty đã đăng nhập (chủ trì/người dự/lịch chia sẻ đủ mức). Khách ngoài công ty đi qua liên kết công khai riêng trong thư mời — xem PublicCalendarController, KHÔNG phải endpoint này.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"description":"OK"}},"summary":"Tải tệp lịch .ics của sự kiện","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/farm/device-controls":{"get":{"description":"status: pending · dispatched · rejected · expired. scope: mine (phiếu tôi được duyệt) · all.","parameters":[{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"scope","schema":{"default":"mine","type":"string"}},{"in":"query","name":"take","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.FarmDeviceControlDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách phiếu lệnh","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/farm/device-controls/emergency-stop":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.FarmEmergencyStopDto"}}},"description":"OK"}},"summary":"Trạng thái TẮT KHẨN điều khiển thiết bị tự động của trại","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/farm/device-controls/rules/{automationId}/approval":{"get":{"description":"valid = dấu duyệt còn khớp luật và dữ liệu bảng (sửa luật / sửa lịch là mất hiệu lực).","parameters":[{"in":"path","name":"automationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.FarmDeviceRuleApprovalDto"}}},"description":"OK"}},"summary":"Trạng thái duyệt tự chạy của một luật","tags":["office"],"x-nextfarm-scope":"office.automation.view"}},"/api/v1/office/meeting-minutes":{"get":{"parameters":[{"in":"query","name":"eventId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.MeetingMinuteDto"}}},"description":"OK"}},"summary":"Biên bản của một cuộc họp","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/meeting-rooms":{"get":{"description":"minCapacity/equipment/building lọc ngay trong màn chọn phòng — equipment yêu cầu phòng có ĐỦ mọi mã đã hỏi.","parameters":[{"in":"query","name":"activeOnly","schema":{"default":true,"type":"boolean"}},{"in":"query","name":"minCapacity","schema":{"format":"int32","type":"integer"}},{"in":"query","name":"equipment","schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"building","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.MeetingRoomDto"},"type":"array"}}},"description":"OK"}},"summary":"Danh sách phòng họp","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/meeting-rooms/{id}/busy-slots":{"get":{"description":"Giao diện gọi ngay khi người dùng chọn phòng, để tô xám khung không chọn được.","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.RoomBusySlotDto"},"type":"array"}}},"description":"OK"}},"summary":"Khung giờ bận của một phòng","tags":["office"],"x-nextfarm-scope":"office.calendar.view"}},"/api/v1/office/tables/{tableId}/fields":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.FieldDto"},"type":"array"}}},"description":"OK"}},"summary":"Liệt kê field của table","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/fields/{fieldId}":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"fieldId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.FieldDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lấy chi tiết field","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/records":{"post":{"description":"Mobile ghi khi mất sóng: gửi kèm đầu X-Submission-Id (uuid máy sinh) + X-Captured-At (giờ ghi thật, ISO-8601). Gửi lại cùng mã ⇒ trả lại dòng đã có, không tạo trùng.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.CreateRecordRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{}}},"description":"Created"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Tạo record mới","tags":["office"],"x-nextfarm-scope":"office.base.record.manage"}},"/api/v1/office/tables/{tableId}/records/aggregate":{"post":{"description":"Năm con số của thanh chân bảng, tính trên tập ĐANG LỌC — gửi kèm đúng bộ lọc mà lưới đang áp. Cộng ở máy chủ chứ không cộng trong lưới: lưới chỉ giữ vài trăm dòng quanh vùng cuộn, nên cộng những gì nó đang cầm sẽ cho ra con số NHẢY khi người dùng cuộn.\n\nCột nằm ngoài phạm vi được xem bị loại khỏi kết quả. Không phải bộ máy công thức: không có cú pháp, không có vùng `A1:A10`, không lưu giá trị nào.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.AggregateRecordsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.ColumnAggregateDto"},"type":"array"}}},"description":"OK"}},"summary":"Cộng gộp theo cột (tổng · trung bình · nhỏ nhất · lớn nhất · đếm)","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/records/batch":{"post":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.BatchCreateRecordsRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{}}},"description":"Created"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Tạo nhiều record (tối đa 1000, all-or-nothing)","tags":["office"],"x-nextfarm-scope":"office.base.record.manage"},"put":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.BatchUpdateRecordsRequest"}}}},"responses":{"204":{"description":"No Content"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Cập nhật nhiều record (tối đa 1000, all-or-nothing)","tags":["office"],"x-nextfarm-scope":"office.base.record.manage"}},"/api/v1/office/tables/{tableId}/records/groups":{"post":{"description":"Gửi CÙNG filter/sort/groupFieldId với records/list — lưới cộng dồn số dòng để đặt tiêu đề nhóm. Cột nhóm nằm ngoài quyền xem ⇒ fieldHidden=true, không có nhóm nào.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.RecordGroupsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.RecordGroupsDto"}}},"description":"OK"}},"summary":"Nhóm dòng: giá trị cột nhóm + số dòng, theo đúng thứ tự của records/list","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/records/list":{"post":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ListRecordsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.RecordDtoPagedResult"}}},"description":"OK"}},"summary":"Liệt kê record (phân trang + filter có cấu trúc trong body)","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/records/{recordId}":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"recordId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.RecordDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lấy chi tiết record","tags":["office"],"x-nextfarm-scope":"office.base.record.view"},"put":{"description":"Gửi kèm `expectedValues` — bản đồ field_id → giá trị mà giao diện ĐANG HIỆN của đúng những ô đang sửa — để bật khoá lạc quan. Ô nào đã bị người khác đổi thì lời gọi trả **409** kèm danh sách ô xung đột và giá trị hiện tại của chúng, và **không ô nào được ghi**. Bỏ trống `expectedValues` thì không kiểm, đúng như nếp cũ — nên client đang chạy không đổi hành vi.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"recordId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.UpdateRecordRequest"}}}},"responses":{"204":{"description":"No Content"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.RecordUpdateResult"}}},"description":"Conflict"}},"summary":"Cập nhật record (merge mặc định; replace=true để ghi đè)","tags":["office"],"x-nextfarm-scope":"office.base.record.manage"}},"/api/v1/office/tables/{tableId}/records/{recordId}/history":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"recordId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"limit","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.RecordHistoryEntryDto"},"type":"array"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lịch sử sửa của record, tách theo từng ô (đã lọc theo quyền cột)","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/trash":{"get":{"description":"Chỉ record của công ty hiện tại; dữ liệu còn nguyên, có thể khôi phục hoặc xoá cứng.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"format":"int32","type":"integer"}},{"in":"query","name":"pageSize","schema":{"default":50,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.TrashedRecordDtoPagedResult"}}},"description":"OK"}},"summary":"Thùng rác — record đã xoá mềm của bảng (phân trang)","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/views":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.ViewDto"},"type":"array"}}},"description":"OK"}},"summary":"Liệt kê view của table","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/views/{viewId}":{"get":{"parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"viewId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ViewDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lấy chi tiết view","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/views/{viewId}/calendar-data":{"get":{"description":"Ánh xạ trường ngày (startField/endField) trong property; from/to lọc theo ngày bắt đầu.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"viewId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"in":"query","name":"to","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.CalendarEventDto"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Record trong khoảng ngày của view kiểu Calendar","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tables/{tableId}/views/{viewId}/chart-data":{"get":{"description":"Gộp theo cấu hình trong property (groupField + aggregation count/sum/avg). FE tự vẽ.","parameters":[{"in":"path","name":"tableId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"viewId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ChartDataDto"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Dữ liệu đã gộp của view kiểu Chart","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/office/tasks/monitor":{"get":{"description":"Một lần gọi trả cả ba phần vì chúng đọc CÙNG một tập việc — tách ra thì ô số liệu và bảng bên dưới rơi vào hai thời điểm khác nhau và lệch số. elapsedMinutes là thời gian TRÔI QUA kể từ lúc bắt tay vào việc (started_at), KHÔNG phải giờ công. loadState: overloaded · normal · free. isExact=false nghĩa là công ty vượt trần số dòng nên mọi con số là ước lượng. taskListId thu hẹp MỌI con số vào một dự án — nó chỉ thu hẹp, không bao giờ cho thấy thêm việc mà scope vốn không cho thấy. Khi có taskListId, mỗi dòng thành viên mang thêm openCountAll = số việc mở của người đó trên toàn phạm vi. items của mỗi thành viên tối đa 200 (quá hạn trước); openTotal = tổng THẬT việc mở của người đó trong cùng phạm vi — so với số items để báo “đang hiện n/N”. dueSoonDays = cửa sổ “sắp đến hạn” đang áp (cạnh staleAfterDays).","parameters":[{"in":"query","name":"scope","schema":{"type":"string"}},{"in":"query","name":"taskListId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.TaskMonitorDto"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Bad Request"}},"summary":"Màn Theo dõi: sáu ô số liệu + bảng toàn đội + việc của từng người","tags":["office"],"x-nextfarm-scope":"office.task.view"}},"/api/v1/office/tasks/workload":{"get":{"description":"isOverloaded so với ngưỡng quá tải, mặc định 10 việc đang mở; mỗi dòng trả kèm overloadThreshold = ngưỡng đang áp. Khối lượng CHỈ để tham khảo, không dùng tính tiến độ. taskListId thu hẹp vào một danh sách; listGroupId thu hẹp vào một thư mục (đội) GỒM mọi thư mục con. Có cả hai thì là GIAO. Danh sách/thư mục không tồn tại ⇒ 404.","parameters":[{"in":"query","name":"taskListId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"listGroupId","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Office.TaskWorkloadDto"},"type":"array"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Khối lượng theo người","tags":["office"],"x-nextfarm-scope":"office.task.view"}},"/api/v1/office/views/{viewId}/location":{"get":{"parameters":[{"in":"path","name":"viewId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ViewLocationDto"}}},"description":"OK"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Office.ProblemDetails"}}},"description":"Not Found"}},"summary":"Lần ngược từ mã khung nhìn lên bảng và ứng dụng chứa nó","tags":["office"],"x-nextfarm-scope":"office.base.record.view"}},"/api/v1/reports/catalog":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Report.ReportCatalogItem"},"type":"array"}}},"description":"OK"}},"summary":"Danh mục báo cáo kèm số khối người xem được thấy","tags":["report"],"x-nextfarm-scope":"report.view"}},"/api/v1/reports/exports/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report.ExportJobDto"}}},"description":"OK"}},"summary":"Trạng thái một lượt xuất: pending · running · completed · failed","tags":["report"],"x-nextfarm-scope":"report.export"}},"/api/v1/reports/exports/{id}/file":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"OK"}},"summary":"Tải tệp đã xuất (404 khi quá 24 giờ)","tags":["report"],"x-nextfarm-scope":"report.export"}},"/api/v1/reports/labor-cost":{"get":{"description":"Theo NGÀY LÀM trong [from, to] (yyyy-MM-dd, tối đa 731 ngày). Mỗi dòng = (thửa, mùa vụ): lương theo thời gian đã chia theo công + khoán đã chốt. parcel_id null = không gắn thửa; season_id null = ngoài mùa vụ. freshness = lần cuối nhận dữ liệu từ từng nguồn (null = nguồn CHƯA từng gửi, không phải 0đ).","parameters":[{"in":"query","name":"from","schema":{"format":"date","type":"string"}},{"in":"query","name":"to","schema":{"format":"date","type":"string"}},{"in":"query","name":"parcel_id","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"season_id","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report.LaborCostReportDto"}}},"description":"OK"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report.ProblemDetails"}}},"description":"Unprocessable Content"}},"summary":"Chi phí nhân công theo thửa / mùa vụ","tags":["report"],"x-nextfarm-scope":"report.view"}},"/api/v1/reports/query":{"get":{"parameters":[{"in":"query","name":"code","schema":{"type":"string"}},{"in":"query","name":"from","schema":{"format":"date","type":"string"}},{"in":"query","name":"to","schema":{"format":"date","type":"string"}},{"in":"query","name":"grain","schema":{"type":"string"}},{"in":"query","name":"compare","schema":{"default":"previous","type":"string"}},{"in":"query","name":"includeSample","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report.ReportResult"}}},"description":"OK"}},"summary":"Chạy báo cáo bằng GET; thiếu to = hôm nay UTC+7, thiếu from = to - 29 ngày","tags":["report"],"x-nextfarm-scope":"report.view"}},"/api/v1/reports/trace":{"get":{"description":"kind: harvest_record · piecework_sheet · qr_code · trace_bundle · cash_document · payout_batch · produce_sale · payroll_line · payroll_period. id hoặc key (số phiếu). level âm = phía lên (gốc), dương = phía xuống. Bước thiếu quyền ⇒ restricted (không tên/số), chuỗi dừng ở đó.","parameters":[{"in":"query","name":"kind","schema":{"type":"string"}},{"in":"query","name":"id","schema":{"type":"string"}},{"in":"query","name":"key","schema":{"type":"string"}},{"in":"query","name":"depth","schema":{"default":6,"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report.TraceGraphResult"}}},"description":"OK"}},"summary":"Truy xuất ngược nhiều tầng từ một nút (phiếu thu hoạch, phiếu khoán, chứng từ, phiếu lương, phiếu bán…)","tags":["report"],"x-nextfarm-scope":"report.view"}}},"security":[{"apiKey":[]}],"servers":[{"url":"https://api-prod.nextfarm.vn"},{"url":"https://api-dev.nextfarm.vn"}],"tags":[{"name":"gis"},{"name":"harvest"},{"name":"iot"},{"name":"office"},{"name":"report"}]}