@soilsidekick/sdk 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +156 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +201 -0
- package/dist/apis/AIServicesApi.d.ts +70 -0
- package/dist/apis/AIServicesApi.js +177 -0
- package/dist/apis/CarbonApi.d.ts +31 -0
- package/dist/apis/CarbonApi.js +69 -0
- package/dist/apis/EnvironmentalApi.d.ts +31 -0
- package/dist/apis/EnvironmentalApi.js +69 -0
- package/dist/apis/GeographicApi.d.ts +31 -0
- package/dist/apis/GeographicApi.js +69 -0
- package/dist/apis/LeafEnginesApi.d.ts +31 -0
- package/dist/apis/LeafEnginesApi.js +69 -0
- package/dist/apis/SatelliteDataApi.d.ts +31 -0
- package/dist/apis/SatelliteDataApi.js +69 -0
- package/dist/apis/SoilAnalysisApi.d.ts +57 -0
- package/dist/apis/SoilAnalysisApi.js +141 -0
- package/dist/apis/VRTApi.d.ts +31 -0
- package/dist/apis/VRTApi.js +69 -0
- package/dist/apis/WaterQualityApi.d.ts +44 -0
- package/dist/apis/WaterQualityApi.js +105 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +27 -0
- package/dist/esm/apis/AIServicesApi.d.ts +70 -0
- package/dist/esm/apis/AIServicesApi.js +173 -0
- package/dist/esm/apis/CarbonApi.d.ts +31 -0
- package/dist/esm/apis/CarbonApi.js +65 -0
- package/dist/esm/apis/EnvironmentalApi.d.ts +31 -0
- package/dist/esm/apis/EnvironmentalApi.js +65 -0
- package/dist/esm/apis/GeographicApi.d.ts +31 -0
- package/dist/esm/apis/GeographicApi.js +65 -0
- package/dist/esm/apis/LeafEnginesApi.d.ts +31 -0
- package/dist/esm/apis/LeafEnginesApi.js +65 -0
- package/dist/esm/apis/SatelliteDataApi.d.ts +31 -0
- package/dist/esm/apis/SatelliteDataApi.js +65 -0
- package/dist/esm/apis/SoilAnalysisApi.d.ts +57 -0
- package/dist/esm/apis/SoilAnalysisApi.js +137 -0
- package/dist/esm/apis/VRTApi.d.ts +31 -0
- package/dist/esm/apis/VRTApi.js +65 -0
- package/dist/esm/apis/WaterQualityApi.d.ts +44 -0
- package/dist/esm/apis/WaterQualityApi.js +101 -0
- package/dist/esm/apis/index.d.ts +9 -0
- package/dist/esm/apis/index.js +11 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AIAnalysis.d.ts +45 -0
- package/dist/esm/models/AIAnalysis.js +46 -0
- package/dist/esm/models/AIAnalysisRecommendationsInner.d.ts +53 -0
- package/dist/esm/models/AIAnalysisRecommendationsInner.js +53 -0
- package/dist/esm/models/CalculateCarbonCreditsRequest.d.ts +65 -0
- package/dist/esm/models/CalculateCarbonCreditsRequest.js +61 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequest.d.ts +59 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequest.js +58 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.d.ts +41 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.js +49 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestSoilData.d.ts +83 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestSoilData.js +70 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestWaterBodyData.d.ts +32 -0
- package/dist/esm/models/CalculateEnvironmentalImpactRequestWaterBodyData.js +41 -0
- package/dist/esm/models/CarbonCreditCalculation.d.ts +46 -0
- package/dist/esm/models/CarbonCreditCalculation.js +47 -0
- package/dist/esm/models/CarbonCreditCalculationCalculationDetails.d.ts +63 -0
- package/dist/esm/models/CarbonCreditCalculationCalculationDetails.js +52 -0
- package/dist/esm/models/CarbonCreditCalculationCalculationDetailsMetadata.d.ts +44 -0
- package/dist/esm/models/CarbonCreditCalculationCalculationDetailsMetadata.js +45 -0
- package/dist/esm/models/CarbonCreditCalculationCreditRecord.d.ts +64 -0
- package/dist/esm/models/CarbonCreditCalculationCreditRecord.js +56 -0
- package/dist/esm/models/County.d.ts +56 -0
- package/dist/esm/models/County.js +49 -0
- package/dist/esm/models/CountyLookup200Response.d.ts +33 -0
- package/dist/esm/models/CountyLookup200Response.js +42 -0
- package/dist/esm/models/CountyLookupRequest.d.ts +32 -0
- package/dist/esm/models/CountyLookupRequest.js +43 -0
- package/dist/esm/models/EnvironmentalImpact.d.ts +46 -0
- package/dist/esm/models/EnvironmentalImpact.js +47 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysis.d.ts +58 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysis.js +51 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisEcoAlternatives.d.ts +33 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisEcoAlternatives.js +42 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.d.ts +56 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.js +49 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisRunoffRisk.d.ts +53 -0
- package/dist/esm/models/EnvironmentalImpactDetailedAnalysisRunoffRisk.js +53 -0
- package/dist/esm/models/EnvironmentalImpactImpactAssessment.d.ts +56 -0
- package/dist/esm/models/EnvironmentalImpactImpactAssessment.js +49 -0
- package/dist/esm/models/GenerateSmartReportSummaryRequest.d.ts +46 -0
- package/dist/esm/models/GenerateSmartReportSummaryRequest.js +54 -0
- package/dist/esm/models/GenerateVRTPrescriptionRequest.d.ts +53 -0
- package/dist/esm/models/GenerateVRTPrescriptionRequest.js +57 -0
- package/dist/esm/models/GetAgriculturalIntelligenceRequest.d.ts +47 -0
- package/dist/esm/models/GetAgriculturalIntelligenceRequest.js +55 -0
- package/dist/esm/models/GetLiveAgriculturalDataRequest.d.ts +60 -0
- package/dist/esm/models/GetLiveAgriculturalDataRequest.js +64 -0
- package/dist/esm/models/GetPlantingCalendarRequest.d.ts +38 -0
- package/dist/esm/models/GetPlantingCalendarRequest.js +47 -0
- package/dist/esm/models/GetSatelliteDataRequest.d.ts +38 -0
- package/dist/esm/models/GetSatelliteDataRequest.js +47 -0
- package/dist/esm/models/GetSeasonalPlanningAssistantRequest.d.ts +67 -0
- package/dist/esm/models/GetSeasonalPlanningAssistantRequest.js +63 -0
- package/dist/esm/models/GetSeasonalPlanningAssistantRequestLocation.d.ts +44 -0
- package/dist/esm/models/GetSeasonalPlanningAssistantRequestLocation.js +45 -0
- package/dist/esm/models/GetSoilDataRequest.d.ts +32 -0
- package/dist/esm/models/GetSoilDataRequest.js +43 -0
- package/dist/esm/models/GetTerritorialWaterAnalyticsRequest.d.ts +54 -0
- package/dist/esm/models/GetTerritorialWaterAnalyticsRequest.js +54 -0
- package/dist/esm/models/GetTerritorialWaterAnalyticsRequestDateRange.d.ts +38 -0
- package/dist/esm/models/GetTerritorialWaterAnalyticsRequestDateRange.js +43 -0
- package/dist/esm/models/GetWaterQualityRequest.d.ts +32 -0
- package/dist/esm/models/GetWaterQualityRequest.js +43 -0
- package/dist/esm/models/LeafEnginesCompatibility.d.ts +46 -0
- package/dist/esm/models/LeafEnginesCompatibility.js +47 -0
- package/dist/esm/models/LeafEnginesCompatibilityData.d.ts +85 -0
- package/dist/esm/models/LeafEnginesCompatibilityData.js +65 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataBreakdown.d.ts +45 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataBreakdown.js +46 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataBreakdownSoil.d.ts +44 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataBreakdownSoil.js +45 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataMetadata.d.ts +44 -0
- package/dist/esm/models/LeafEnginesCompatibilityDataMetadata.js +45 -0
- package/dist/esm/models/LeafEnginesCompatibilityUsage.d.ts +38 -0
- package/dist/esm/models/LeafEnginesCompatibilityUsage.js +43 -0
- package/dist/esm/models/LeafenginesQueryRequest.d.ts +47 -0
- package/dist/esm/models/LeafenginesQueryRequest.js +52 -0
- package/dist/esm/models/LeafenginesQueryRequestLocation.d.ts +50 -0
- package/dist/esm/models/LeafenginesQueryRequestLocation.js +47 -0
- package/dist/esm/models/LeafenginesQueryRequestOptions.d.ts +44 -0
- package/dist/esm/models/LeafenginesQueryRequestOptions.js +45 -0
- package/dist/esm/models/LeafenginesQueryRequestPlant.d.ts +51 -0
- package/dist/esm/models/LeafenginesQueryRequestPlant.js +48 -0
- package/dist/esm/models/LeafenginesQueryRequestPlantCareRequirements.d.ts +63 -0
- package/dist/esm/models/LeafenginesQueryRequestPlantCareRequirements.js +62 -0
- package/dist/esm/models/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.d.ts +38 -0
- package/dist/esm/models/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.js +43 -0
- package/dist/esm/models/LiveAgriculturalData.d.ts +77 -0
- package/dist/esm/models/LiveAgriculturalData.js +61 -0
- package/dist/esm/models/LiveAgriculturalDataData.d.ts +50 -0
- package/dist/esm/models/LiveAgriculturalDataData.js +47 -0
- package/dist/esm/models/ModelError.d.ts +44 -0
- package/dist/esm/models/ModelError.js +45 -0
- package/dist/esm/models/PlantingCalendar.d.ts +57 -0
- package/dist/esm/models/PlantingCalendar.js +50 -0
- package/dist/esm/models/SatelliteData.d.ts +56 -0
- package/dist/esm/models/SatelliteData.js +49 -0
- package/dist/esm/models/SeasonalPlanningResponse.d.ts +52 -0
- package/dist/esm/models/SeasonalPlanningResponse.js +49 -0
- package/dist/esm/models/SeasonalPlanningResponseRecommendations.d.ts +44 -0
- package/dist/esm/models/SeasonalPlanningResponseRecommendations.js +45 -0
- package/dist/esm/models/SeasonalPlanningResponseWeatherData.d.ts +62 -0
- package/dist/esm/models/SeasonalPlanningResponseWeatherData.js +51 -0
- package/dist/esm/models/SmartReportSummary.d.ts +45 -0
- package/dist/esm/models/SmartReportSummary.js +46 -0
- package/dist/esm/models/SmartReportSummarySummary.d.ts +50 -0
- package/dist/esm/models/SmartReportSummarySummary.js +47 -0
- package/dist/esm/models/SoilData.d.ts +94 -0
- package/dist/esm/models/SoilData.js +61 -0
- package/dist/esm/models/TerritorialWaterAnalytics.d.ts +45 -0
- package/dist/esm/models/TerritorialWaterAnalytics.js +46 -0
- package/dist/esm/models/TerritorialWaterAnalyticsAnalytics.d.ts +50 -0
- package/dist/esm/models/TerritorialWaterAnalyticsAnalytics.js +47 -0
- package/dist/esm/models/VRTPrescription.d.ts +51 -0
- package/dist/esm/models/VRTPrescription.js +48 -0
- package/dist/esm/models/VRTPrescriptionZonesInner.d.ts +44 -0
- package/dist/esm/models/VRTPrescriptionZonesInner.js +45 -0
- package/dist/esm/models/VisualCropAnalysis.d.ts +51 -0
- package/dist/esm/models/VisualCropAnalysis.js +48 -0
- package/dist/esm/models/VisualCropAnalysisAnalysis.d.ts +65 -0
- package/dist/esm/models/VisualCropAnalysisAnalysis.js +57 -0
- package/dist/esm/models/VisualCropAnalysisRequest.d.ts +60 -0
- package/dist/esm/models/VisualCropAnalysisRequest.js +60 -0
- package/dist/esm/models/VisualCropAnalysisRequestLocation.d.ts +44 -0
- package/dist/esm/models/VisualCropAnalysisRequestLocation.js +45 -0
- package/dist/esm/models/WaterQuality.d.ts +77 -0
- package/dist/esm/models/WaterQuality.js +61 -0
- package/dist/esm/models/index.d.ts +64 -0
- package/dist/esm/models/index.js +66 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AIAnalysis.d.ts +45 -0
- package/dist/models/AIAnalysis.js +53 -0
- package/dist/models/AIAnalysisRecommendationsInner.d.ts +53 -0
- package/dist/models/AIAnalysisRecommendationsInner.js +61 -0
- package/dist/models/CalculateCarbonCreditsRequest.d.ts +65 -0
- package/dist/models/CalculateCarbonCreditsRequest.js +69 -0
- package/dist/models/CalculateEnvironmentalImpactRequest.d.ts +59 -0
- package/dist/models/CalculateEnvironmentalImpactRequest.js +65 -0
- package/dist/models/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.d.ts +41 -0
- package/dist/models/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.js +57 -0
- package/dist/models/CalculateEnvironmentalImpactRequestSoilData.d.ts +83 -0
- package/dist/models/CalculateEnvironmentalImpactRequestSoilData.js +78 -0
- package/dist/models/CalculateEnvironmentalImpactRequestWaterBodyData.d.ts +32 -0
- package/dist/models/CalculateEnvironmentalImpactRequestWaterBodyData.js +48 -0
- package/dist/models/CarbonCreditCalculation.d.ts +46 -0
- package/dist/models/CarbonCreditCalculation.js +54 -0
- package/dist/models/CarbonCreditCalculationCalculationDetails.d.ts +63 -0
- package/dist/models/CarbonCreditCalculationCalculationDetails.js +59 -0
- package/dist/models/CarbonCreditCalculationCalculationDetailsMetadata.d.ts +44 -0
- package/dist/models/CarbonCreditCalculationCalculationDetailsMetadata.js +52 -0
- package/dist/models/CarbonCreditCalculationCreditRecord.d.ts +64 -0
- package/dist/models/CarbonCreditCalculationCreditRecord.js +64 -0
- package/dist/models/County.d.ts +56 -0
- package/dist/models/County.js +56 -0
- package/dist/models/CountyLookup200Response.d.ts +33 -0
- package/dist/models/CountyLookup200Response.js +49 -0
- package/dist/models/CountyLookupRequest.d.ts +32 -0
- package/dist/models/CountyLookupRequest.js +50 -0
- package/dist/models/EnvironmentalImpact.d.ts +46 -0
- package/dist/models/EnvironmentalImpact.js +54 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysis.d.ts +58 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysis.js +58 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisEcoAlternatives.d.ts +33 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisEcoAlternatives.js +49 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.d.ts +56 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.js +56 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisRunoffRisk.d.ts +53 -0
- package/dist/models/EnvironmentalImpactDetailedAnalysisRunoffRisk.js +61 -0
- package/dist/models/EnvironmentalImpactImpactAssessment.d.ts +56 -0
- package/dist/models/EnvironmentalImpactImpactAssessment.js +56 -0
- package/dist/models/GenerateSmartReportSummaryRequest.d.ts +46 -0
- package/dist/models/GenerateSmartReportSummaryRequest.js +62 -0
- package/dist/models/GenerateVRTPrescriptionRequest.d.ts +53 -0
- package/dist/models/GenerateVRTPrescriptionRequest.js +65 -0
- package/dist/models/GetAgriculturalIntelligenceRequest.d.ts +47 -0
- package/dist/models/GetAgriculturalIntelligenceRequest.js +63 -0
- package/dist/models/GetLiveAgriculturalDataRequest.d.ts +60 -0
- package/dist/models/GetLiveAgriculturalDataRequest.js +72 -0
- package/dist/models/GetPlantingCalendarRequest.d.ts +38 -0
- package/dist/models/GetPlantingCalendarRequest.js +54 -0
- package/dist/models/GetSatelliteDataRequest.d.ts +38 -0
- package/dist/models/GetSatelliteDataRequest.js +54 -0
- package/dist/models/GetSeasonalPlanningAssistantRequest.d.ts +67 -0
- package/dist/models/GetSeasonalPlanningAssistantRequest.js +71 -0
- package/dist/models/GetSeasonalPlanningAssistantRequestLocation.d.ts +44 -0
- package/dist/models/GetSeasonalPlanningAssistantRequestLocation.js +52 -0
- package/dist/models/GetSoilDataRequest.d.ts +32 -0
- package/dist/models/GetSoilDataRequest.js +50 -0
- package/dist/models/GetTerritorialWaterAnalyticsRequest.d.ts +54 -0
- package/dist/models/GetTerritorialWaterAnalyticsRequest.js +62 -0
- package/dist/models/GetTerritorialWaterAnalyticsRequestDateRange.d.ts +38 -0
- package/dist/models/GetTerritorialWaterAnalyticsRequestDateRange.js +50 -0
- package/dist/models/GetWaterQualityRequest.d.ts +32 -0
- package/dist/models/GetWaterQualityRequest.js +50 -0
- package/dist/models/LeafEnginesCompatibility.d.ts +46 -0
- package/dist/models/LeafEnginesCompatibility.js +54 -0
- package/dist/models/LeafEnginesCompatibilityData.d.ts +85 -0
- package/dist/models/LeafEnginesCompatibilityData.js +73 -0
- package/dist/models/LeafEnginesCompatibilityDataBreakdown.d.ts +45 -0
- package/dist/models/LeafEnginesCompatibilityDataBreakdown.js +53 -0
- package/dist/models/LeafEnginesCompatibilityDataBreakdownSoil.d.ts +44 -0
- package/dist/models/LeafEnginesCompatibilityDataBreakdownSoil.js +52 -0
- package/dist/models/LeafEnginesCompatibilityDataMetadata.d.ts +44 -0
- package/dist/models/LeafEnginesCompatibilityDataMetadata.js +52 -0
- package/dist/models/LeafEnginesCompatibilityUsage.d.ts +38 -0
- package/dist/models/LeafEnginesCompatibilityUsage.js +50 -0
- package/dist/models/LeafenginesQueryRequest.d.ts +47 -0
- package/dist/models/LeafenginesQueryRequest.js +59 -0
- package/dist/models/LeafenginesQueryRequestLocation.d.ts +50 -0
- package/dist/models/LeafenginesQueryRequestLocation.js +54 -0
- package/dist/models/LeafenginesQueryRequestOptions.d.ts +44 -0
- package/dist/models/LeafenginesQueryRequestOptions.js +52 -0
- package/dist/models/LeafenginesQueryRequestPlant.d.ts +51 -0
- package/dist/models/LeafenginesQueryRequestPlant.js +55 -0
- package/dist/models/LeafenginesQueryRequestPlantCareRequirements.d.ts +63 -0
- package/dist/models/LeafenginesQueryRequestPlantCareRequirements.js +70 -0
- package/dist/models/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.d.ts +38 -0
- package/dist/models/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.js +50 -0
- package/dist/models/LiveAgriculturalData.d.ts +77 -0
- package/dist/models/LiveAgriculturalData.js +69 -0
- package/dist/models/LiveAgriculturalDataData.d.ts +50 -0
- package/dist/models/LiveAgriculturalDataData.js +54 -0
- package/dist/models/ModelError.d.ts +44 -0
- package/dist/models/ModelError.js +52 -0
- package/dist/models/PlantingCalendar.d.ts +57 -0
- package/dist/models/PlantingCalendar.js +57 -0
- package/dist/models/SatelliteData.d.ts +56 -0
- package/dist/models/SatelliteData.js +56 -0
- package/dist/models/SeasonalPlanningResponse.d.ts +52 -0
- package/dist/models/SeasonalPlanningResponse.js +56 -0
- package/dist/models/SeasonalPlanningResponseRecommendations.d.ts +44 -0
- package/dist/models/SeasonalPlanningResponseRecommendations.js +52 -0
- package/dist/models/SeasonalPlanningResponseWeatherData.d.ts +62 -0
- package/dist/models/SeasonalPlanningResponseWeatherData.js +58 -0
- package/dist/models/SmartReportSummary.d.ts +45 -0
- package/dist/models/SmartReportSummary.js +53 -0
- package/dist/models/SmartReportSummarySummary.d.ts +50 -0
- package/dist/models/SmartReportSummarySummary.js +54 -0
- package/dist/models/SoilData.d.ts +94 -0
- package/dist/models/SoilData.js +68 -0
- package/dist/models/TerritorialWaterAnalytics.d.ts +45 -0
- package/dist/models/TerritorialWaterAnalytics.js +53 -0
- package/dist/models/TerritorialWaterAnalyticsAnalytics.d.ts +50 -0
- package/dist/models/TerritorialWaterAnalyticsAnalytics.js +54 -0
- package/dist/models/VRTPrescription.d.ts +51 -0
- package/dist/models/VRTPrescription.js +55 -0
- package/dist/models/VRTPrescriptionZonesInner.d.ts +44 -0
- package/dist/models/VRTPrescriptionZonesInner.js +52 -0
- package/dist/models/VisualCropAnalysis.d.ts +51 -0
- package/dist/models/VisualCropAnalysis.js +55 -0
- package/dist/models/VisualCropAnalysisAnalysis.d.ts +65 -0
- package/dist/models/VisualCropAnalysisAnalysis.js +65 -0
- package/dist/models/VisualCropAnalysisRequest.d.ts +60 -0
- package/dist/models/VisualCropAnalysisRequest.js +68 -0
- package/dist/models/VisualCropAnalysisRequestLocation.d.ts +44 -0
- package/dist/models/VisualCropAnalysisRequestLocation.js +52 -0
- package/dist/models/WaterQuality.d.ts +77 -0
- package/dist/models/WaterQuality.js +69 -0
- package/dist/models/index.d.ts +64 -0
- package/dist/models/index.js +82 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/docs/AIAnalysis.md +38 -0
- package/docs/AIAnalysisRecommendationsInner.md +38 -0
- package/docs/AIServicesApi.md +308 -0
- package/docs/CalculateCarbonCreditsRequest.md +42 -0
- package/docs/CalculateEnvironmentalImpactRequest.md +42 -0
- package/docs/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.md +34 -0
- package/docs/CalculateEnvironmentalImpactRequestSoilData.md +44 -0
- package/docs/CalculateEnvironmentalImpactRequestWaterBodyData.md +34 -0
- package/docs/CarbonApi.md +83 -0
- package/docs/CarbonCreditCalculation.md +38 -0
- package/docs/CarbonCreditCalculationCalculationDetails.md +44 -0
- package/docs/CarbonCreditCalculationCalculationDetailsMetadata.md +38 -0
- package/docs/CarbonCreditCalculationCreditRecord.md +42 -0
- package/docs/County.md +42 -0
- package/docs/CountyLookup200Response.md +34 -0
- package/docs/CountyLookupRequest.md +34 -0
- package/docs/EnvironmentalApi.md +83 -0
- package/docs/EnvironmentalImpact.md +38 -0
- package/docs/EnvironmentalImpactDetailedAnalysis.md +42 -0
- package/docs/EnvironmentalImpactDetailedAnalysisEcoAlternatives.md +34 -0
- package/docs/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.md +42 -0
- package/docs/EnvironmentalImpactDetailedAnalysisRunoffRisk.md +38 -0
- package/docs/EnvironmentalImpactImpactAssessment.md +42 -0
- package/docs/GenerateSmartReportSummaryRequest.md +36 -0
- package/docs/GenerateVRTPrescriptionRequest.md +38 -0
- package/docs/GeographicApi.md +82 -0
- package/docs/GetAgriculturalIntelligenceRequest.md +36 -0
- package/docs/GetLiveAgriculturalDataRequest.md +40 -0
- package/docs/GetPlantingCalendarRequest.md +36 -0
- package/docs/GetSatelliteDataRequest.md +36 -0
- package/docs/GetSeasonalPlanningAssistantRequest.md +42 -0
- package/docs/GetSeasonalPlanningAssistantRequestLocation.md +38 -0
- package/docs/GetSoilDataRequest.md +34 -0
- package/docs/GetTerritorialWaterAnalyticsRequest.md +38 -0
- package/docs/GetTerritorialWaterAnalyticsRequestDateRange.md +36 -0
- package/docs/GetWaterQualityRequest.md +34 -0
- package/docs/LeafEnginesApi.md +83 -0
- package/docs/LeafEnginesCompatibility.md +38 -0
- package/docs/LeafEnginesCompatibilityData.md +48 -0
- package/docs/LeafEnginesCompatibilityDataBreakdown.md +38 -0
- package/docs/LeafEnginesCompatibilityDataBreakdownSoil.md +38 -0
- package/docs/LeafEnginesCompatibilityDataMetadata.md +38 -0
- package/docs/LeafEnginesCompatibilityUsage.md +36 -0
- package/docs/LeafenginesQueryRequest.md +38 -0
- package/docs/LeafenginesQueryRequestLocation.md +40 -0
- package/docs/LeafenginesQueryRequestOptions.md +38 -0
- package/docs/LeafenginesQueryRequestPlant.md +40 -0
- package/docs/LeafenginesQueryRequestPlantCareRequirements.md +38 -0
- package/docs/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.md +36 -0
- package/docs/LiveAgriculturalData.md +46 -0
- package/docs/LiveAgriculturalDataData.md +40 -0
- package/docs/ModelError.md +38 -0
- package/docs/PlantingCalendar.md +42 -0
- package/docs/SatelliteData.md +42 -0
- package/docs/SatelliteDataApi.md +83 -0
- package/docs/SeasonalPlanningResponse.md +40 -0
- package/docs/SeasonalPlanningResponseRecommendations.md +38 -0
- package/docs/SeasonalPlanningResponseWeatherData.md +44 -0
- package/docs/SmartReportSummary.md +38 -0
- package/docs/SmartReportSummarySummary.md +40 -0
- package/docs/SoilAnalysisApi.md +234 -0
- package/docs/SoilData.md +54 -0
- package/docs/TerritorialWaterAnalytics.md +38 -0
- package/docs/TerritorialWaterAnalyticsAnalytics.md +40 -0
- package/docs/VRTApi.md +83 -0
- package/docs/VRTPrescription.md +40 -0
- package/docs/VRTPrescriptionZonesInner.md +38 -0
- package/docs/VisualCropAnalysis.md +40 -0
- package/docs/VisualCropAnalysisAnalysis.md +42 -0
- package/docs/VisualCropAnalysisRequest.md +40 -0
- package/docs/VisualCropAnalysisRequestLocation.md +38 -0
- package/docs/WaterQuality.md +46 -0
- package/docs/WaterQualityApi.md +158 -0
- package/package.json +21 -0
- package/package.json.save +8 -0
- package/src/apis/AIServicesApi.ts +247 -0
- package/src/apis/CarbonApi.ts +82 -0
- package/src/apis/EnvironmentalApi.ts +82 -0
- package/src/apis/GeographicApi.ts +82 -0
- package/src/apis/LeafEnginesApi.ts +82 -0
- package/src/apis/SatelliteDataApi.ts +82 -0
- package/src/apis/SoilAnalysisApi.ts +192 -0
- package/src/apis/VRTApi.ts +82 -0
- package/src/apis/WaterQualityApi.ts +137 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/AIAnalysis.ts +89 -0
- package/src/models/AIAnalysisRecommendationsInner.ts +93 -0
- package/src/models/CalculateCarbonCreditsRequest.ts +111 -0
- package/src/models/CalculateEnvironmentalImpactRequest.ts +122 -0
- package/src/models/CalculateEnvironmentalImpactRequestProposedTreatmentsInner.ts +77 -0
- package/src/models/CalculateEnvironmentalImpactRequestSoilData.ts +130 -0
- package/src/models/CalculateEnvironmentalImpactRequestWaterBodyData.ts +65 -0
- package/src/models/CarbonCreditCalculation.ts +96 -0
- package/src/models/CarbonCreditCalculationCalculationDetails.ts +113 -0
- package/src/models/CarbonCreditCalculationCalculationDetailsMetadata.ts +81 -0
- package/src/models/CarbonCreditCalculationCreditRecord.ts +108 -0
- package/src/models/County.ts +97 -0
- package/src/models/CountyLookup200Response.ts +73 -0
- package/src/models/CountyLookupRequest.ts +66 -0
- package/src/models/EnvironmentalImpact.ts +96 -0
- package/src/models/EnvironmentalImpactDetailedAnalysis.ts +112 -0
- package/src/models/EnvironmentalImpactDetailedAnalysisEcoAlternatives.ts +73 -0
- package/src/models/EnvironmentalImpactDetailedAnalysisEcoAlternativesAlternativesInner.ts +97 -0
- package/src/models/EnvironmentalImpactDetailedAnalysisRunoffRisk.ts +93 -0
- package/src/models/EnvironmentalImpactImpactAssessment.ts +97 -0
- package/src/models/GenerateSmartReportSummaryRequest.ts +86 -0
- package/src/models/GenerateVRTPrescriptionRequest.ts +95 -0
- package/src/models/GetAgriculturalIntelligenceRequest.ts +87 -0
- package/src/models/GetLiveAgriculturalDataRequest.ts +106 -0
- package/src/models/GetPlantingCalendarRequest.ts +75 -0
- package/src/models/GetSatelliteDataRequest.ts +75 -0
- package/src/models/GetSeasonalPlanningAssistantRequest.ts +120 -0
- package/src/models/GetSeasonalPlanningAssistantRequestLocation.ts +81 -0
- package/src/models/GetSoilDataRequest.ts +66 -0
- package/src/models/GetTerritorialWaterAnalyticsRequest.ts +101 -0
- package/src/models/GetTerritorialWaterAnalyticsRequestDateRange.ts +73 -0
- package/src/models/GetWaterQualityRequest.ts +66 -0
- package/src/models/LeafEnginesCompatibility.ts +96 -0
- package/src/models/LeafEnginesCompatibilityData.ts +148 -0
- package/src/models/LeafEnginesCompatibilityDataBreakdown.ts +89 -0
- package/src/models/LeafEnginesCompatibilityDataBreakdownSoil.ts +81 -0
- package/src/models/LeafEnginesCompatibilityDataMetadata.ts +81 -0
- package/src/models/LeafEnginesCompatibilityUsage.ts +73 -0
- package/src/models/LeafenginesQueryRequest.ts +105 -0
- package/src/models/LeafenginesQueryRequestLocation.ts +89 -0
- package/src/models/LeafenginesQueryRequestOptions.ts +81 -0
- package/src/models/LeafenginesQueryRequestPlant.ts +97 -0
- package/src/models/LeafenginesQueryRequestPlantCareRequirements.ts +111 -0
- package/src/models/LeafenginesQueryRequestPlantCareRequirementsSoilPhRange.ts +73 -0
- package/src/models/LiveAgriculturalData.ts +132 -0
- package/src/models/LiveAgriculturalDataData.ts +89 -0
- package/src/models/ModelError.ts +81 -0
- package/src/models/PlantingCalendar.ts +105 -0
- package/src/models/SatelliteData.ts +97 -0
- package/src/models/SeasonalPlanningResponse.ts +104 -0
- package/src/models/SeasonalPlanningResponseRecommendations.ts +81 -0
- package/src/models/SeasonalPlanningResponseWeatherData.ts +105 -0
- package/src/models/SmartReportSummary.ts +89 -0
- package/src/models/SmartReportSummarySummary.ts +89 -0
- package/src/models/SoilData.ts +145 -0
- package/src/models/TerritorialWaterAnalytics.ts +89 -0
- package/src/models/TerritorialWaterAnalyticsAnalytics.ts +89 -0
- package/src/models/VRTPrescription.ts +97 -0
- package/src/models/VRTPrescriptionZonesInner.ts +81 -0
- package/src/models/VisualCropAnalysis.ts +97 -0
- package/src/models/VisualCropAnalysisAnalysis.ts +109 -0
- package/src/models/VisualCropAnalysisRequest.ts +111 -0
- package/src/models/VisualCropAnalysisRequestLocation.ts +81 -0
- package/src/models/WaterQuality.ts +125 -0
- package/src/models/index.ts +66 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
GetTerritorialWaterAnalyticsRequest,
|
|
19
|
+
GetWaterQualityRequest,
|
|
20
|
+
TerritorialWaterAnalytics,
|
|
21
|
+
WaterQuality,
|
|
22
|
+
} from '../models/index';
|
|
23
|
+
import {
|
|
24
|
+
GetTerritorialWaterAnalyticsRequestFromJSON,
|
|
25
|
+
GetTerritorialWaterAnalyticsRequestToJSON,
|
|
26
|
+
GetWaterQualityRequestFromJSON,
|
|
27
|
+
GetWaterQualityRequestToJSON,
|
|
28
|
+
TerritorialWaterAnalyticsFromJSON,
|
|
29
|
+
TerritorialWaterAnalyticsToJSON,
|
|
30
|
+
WaterQualityFromJSON,
|
|
31
|
+
WaterQualityToJSON,
|
|
32
|
+
} from '../models/index';
|
|
33
|
+
|
|
34
|
+
export interface GetTerritorialWaterAnalyticsOperationRequest {
|
|
35
|
+
getTerritorialWaterAnalyticsRequest: GetTerritorialWaterAnalyticsRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface GetWaterQualityOperationRequest {
|
|
39
|
+
getWaterQualityRequest: GetWaterQualityRequest;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export class WaterQualityApi extends runtime.BaseAPI {
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generate territorial water quality analytics across regions
|
|
49
|
+
* Get territorial water analytics
|
|
50
|
+
*/
|
|
51
|
+
async getTerritorialWaterAnalyticsRaw(requestParameters: GetTerritorialWaterAnalyticsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TerritorialWaterAnalytics>> {
|
|
52
|
+
if (requestParameters['getTerritorialWaterAnalyticsRequest'] == null) {
|
|
53
|
+
throw new runtime.RequiredError(
|
|
54
|
+
'getTerritorialWaterAnalyticsRequest',
|
|
55
|
+
'Required parameter "getTerritorialWaterAnalyticsRequest" was null or undefined when calling getTerritorialWaterAnalytics().'
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const queryParameters: any = {};
|
|
60
|
+
|
|
61
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
62
|
+
|
|
63
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
64
|
+
|
|
65
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
66
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
let urlPath = `/territorial-water-analytics`;
|
|
71
|
+
|
|
72
|
+
const response = await this.request({
|
|
73
|
+
path: urlPath,
|
|
74
|
+
method: 'POST',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
body: GetTerritorialWaterAnalyticsRequestToJSON(requestParameters['getTerritorialWaterAnalyticsRequest']),
|
|
78
|
+
}, initOverrides);
|
|
79
|
+
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TerritorialWaterAnalyticsFromJSON(jsonValue));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Generate territorial water quality analytics across regions
|
|
85
|
+
* Get territorial water analytics
|
|
86
|
+
*/
|
|
87
|
+
async getTerritorialWaterAnalytics(requestParameters: GetTerritorialWaterAnalyticsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TerritorialWaterAnalytics> {
|
|
88
|
+
const response = await this.getTerritorialWaterAnalyticsRaw(requestParameters, initOverrides);
|
|
89
|
+
return await response.value();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Retrieve water quality metrics for a specific county
|
|
94
|
+
* Get water quality data
|
|
95
|
+
*/
|
|
96
|
+
async getWaterQualityRaw(requestParameters: GetWaterQualityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WaterQuality>> {
|
|
97
|
+
if (requestParameters['getWaterQualityRequest'] == null) {
|
|
98
|
+
throw new runtime.RequiredError(
|
|
99
|
+
'getWaterQualityRequest',
|
|
100
|
+
'Required parameter "getWaterQualityRequest" was null or undefined when calling getWaterQuality().'
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const queryParameters: any = {};
|
|
105
|
+
|
|
106
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
107
|
+
|
|
108
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
109
|
+
|
|
110
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
111
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
let urlPath = `/territorial-water-quality`;
|
|
116
|
+
|
|
117
|
+
const response = await this.request({
|
|
118
|
+
path: urlPath,
|
|
119
|
+
method: 'POST',
|
|
120
|
+
headers: headerParameters,
|
|
121
|
+
query: queryParameters,
|
|
122
|
+
body: GetWaterQualityRequestToJSON(requestParameters['getWaterQualityRequest']),
|
|
123
|
+
}, initOverrides);
|
|
124
|
+
|
|
125
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WaterQualityFromJSON(jsonValue));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Retrieve water quality metrics for a specific county
|
|
130
|
+
* Get water quality data
|
|
131
|
+
*/
|
|
132
|
+
async getWaterQuality(requestParameters: GetWaterQualityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WaterQuality> {
|
|
133
|
+
const response = await this.getWaterQualityRaw(requestParameters, initOverrides);
|
|
134
|
+
return await response.value();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './AIServicesApi';
|
|
4
|
+
export * from './CarbonApi';
|
|
5
|
+
export * from './EnvironmentalApi';
|
|
6
|
+
export * from './GeographicApi';
|
|
7
|
+
export * from './LeafEnginesApi';
|
|
8
|
+
export * from './SatelliteDataApi';
|
|
9
|
+
export * from './SoilAnalysisApi';
|
|
10
|
+
export * from './VRTApi';
|
|
11
|
+
export * from './WaterQualityApi';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AIAnalysisRecommendationsInner } from './AIAnalysisRecommendationsInner';
|
|
17
|
+
import {
|
|
18
|
+
AIAnalysisRecommendationsInnerFromJSON,
|
|
19
|
+
AIAnalysisRecommendationsInnerFromJSONTyped,
|
|
20
|
+
AIAnalysisRecommendationsInnerToJSON,
|
|
21
|
+
AIAnalysisRecommendationsInnerToJSONTyped,
|
|
22
|
+
} from './AIAnalysisRecommendationsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AIAnalysis
|
|
28
|
+
*/
|
|
29
|
+
export interface AIAnalysis {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AIAnalysis
|
|
34
|
+
*/
|
|
35
|
+
analysisType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AIAnalysis
|
|
40
|
+
*/
|
|
41
|
+
confidenceScore?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<AIAnalysisRecommendationsInner>}
|
|
45
|
+
* @memberof AIAnalysis
|
|
46
|
+
*/
|
|
47
|
+
recommendations?: Array<AIAnalysisRecommendationsInner>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AIAnalysis interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfAIAnalysis(value: object): value is AIAnalysis {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AIAnalysisFromJSON(json: any): AIAnalysis {
|
|
58
|
+
return AIAnalysisFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AIAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIAnalysis {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'analysisType': json['analysis_type'] == null ? undefined : json['analysis_type'],
|
|
68
|
+
'confidenceScore': json['confidence_score'] == null ? undefined : json['confidence_score'],
|
|
69
|
+
'recommendations': json['recommendations'] == null ? undefined : ((json['recommendations'] as Array<any>).map(AIAnalysisRecommendationsInnerFromJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function AIAnalysisToJSON(json: any): AIAnalysis {
|
|
74
|
+
return AIAnalysisToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AIAnalysisToJSONTyped(value?: AIAnalysis | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'analysis_type': value['analysisType'],
|
|
85
|
+
'confidence_score': value['confidenceScore'],
|
|
86
|
+
'recommendations': value['recommendations'] == null ? undefined : ((value['recommendations'] as Array<any>).map(AIAnalysisRecommendationsInnerToJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AIAnalysisRecommendationsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface AIAnalysisRecommendationsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AIAnalysisRecommendationsInner
|
|
26
|
+
*/
|
|
27
|
+
title?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AIAnalysisRecommendationsInner
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AIAnalysisRecommendationsInner
|
|
38
|
+
*/
|
|
39
|
+
priority?: AIAnalysisRecommendationsInnerPriorityEnum;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const AIAnalysisRecommendationsInnerPriorityEnum = {
|
|
47
|
+
Low: 'low',
|
|
48
|
+
Medium: 'medium',
|
|
49
|
+
High: 'high'
|
|
50
|
+
} as const;
|
|
51
|
+
export type AIAnalysisRecommendationsInnerPriorityEnum = typeof AIAnalysisRecommendationsInnerPriorityEnum[keyof typeof AIAnalysisRecommendationsInnerPriorityEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the AIAnalysisRecommendationsInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfAIAnalysisRecommendationsInner(value: object): value is AIAnalysisRecommendationsInner {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AIAnalysisRecommendationsInnerFromJSON(json: any): AIAnalysisRecommendationsInner {
|
|
62
|
+
return AIAnalysisRecommendationsInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function AIAnalysisRecommendationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIAnalysisRecommendationsInner {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
72
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
73
|
+
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AIAnalysisRecommendationsInnerToJSON(json: any): AIAnalysisRecommendationsInner {
|
|
78
|
+
return AIAnalysisRecommendationsInnerToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function AIAnalysisRecommendationsInnerToJSONTyped(value?: AIAnalysisRecommendationsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'title': value['title'],
|
|
89
|
+
'description': value['description'],
|
|
90
|
+
'priority': value['priority'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CalculateCarbonCreditsRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface CalculateCarbonCreditsRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Name of the field
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CalculateCarbonCreditsRequest
|
|
26
|
+
*/
|
|
27
|
+
fieldName: string;
|
|
28
|
+
/**
|
|
29
|
+
* Field size in acres
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CalculateCarbonCreditsRequest
|
|
32
|
+
*/
|
|
33
|
+
fieldSizeAcres: number;
|
|
34
|
+
/**
|
|
35
|
+
* Soil organic matter percentage
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CalculateCarbonCreditsRequest
|
|
38
|
+
*/
|
|
39
|
+
soilOrganicMatter?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Reference to existing soil analysis
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CalculateCarbonCreditsRequest
|
|
44
|
+
*/
|
|
45
|
+
soilAnalysisId?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CalculateCarbonCreditsRequest
|
|
50
|
+
*/
|
|
51
|
+
verificationType?: CalculateCarbonCreditsRequestVerificationTypeEnum;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export const CalculateCarbonCreditsRequestVerificationTypeEnum = {
|
|
59
|
+
SelfReported: 'self_reported',
|
|
60
|
+
ThirdParty: 'third_party',
|
|
61
|
+
Satellite: 'satellite'
|
|
62
|
+
} as const;
|
|
63
|
+
export type CalculateCarbonCreditsRequestVerificationTypeEnum = typeof CalculateCarbonCreditsRequestVerificationTypeEnum[keyof typeof CalculateCarbonCreditsRequestVerificationTypeEnum];
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the CalculateCarbonCreditsRequest interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfCalculateCarbonCreditsRequest(value: object): value is CalculateCarbonCreditsRequest {
|
|
70
|
+
if (!('fieldName' in value) || value['fieldName'] === undefined) return false;
|
|
71
|
+
if (!('fieldSizeAcres' in value) || value['fieldSizeAcres'] === undefined) return false;
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function CalculateCarbonCreditsRequestFromJSON(json: any): CalculateCarbonCreditsRequest {
|
|
76
|
+
return CalculateCarbonCreditsRequestFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function CalculateCarbonCreditsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalculateCarbonCreditsRequest {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'fieldName': json['field_name'],
|
|
86
|
+
'fieldSizeAcres': json['field_size_acres'],
|
|
87
|
+
'soilOrganicMatter': json['soil_organic_matter'] == null ? undefined : json['soil_organic_matter'],
|
|
88
|
+
'soilAnalysisId': json['soil_analysis_id'] == null ? undefined : json['soil_analysis_id'],
|
|
89
|
+
'verificationType': json['verification_type'] == null ? undefined : json['verification_type'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function CalculateCarbonCreditsRequestToJSON(json: any): CalculateCarbonCreditsRequest {
|
|
94
|
+
return CalculateCarbonCreditsRequestToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function CalculateCarbonCreditsRequestToJSONTyped(value?: CalculateCarbonCreditsRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'field_name': value['fieldName'],
|
|
105
|
+
'field_size_acres': value['fieldSizeAcres'],
|
|
106
|
+
'soil_organic_matter': value['soilOrganicMatter'],
|
|
107
|
+
'soil_analysis_id': value['soilAnalysisId'],
|
|
108
|
+
'verification_type': value['verificationType'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CalculateEnvironmentalImpactRequestSoilData } from './CalculateEnvironmentalImpactRequestSoilData';
|
|
17
|
+
import {
|
|
18
|
+
CalculateEnvironmentalImpactRequestSoilDataFromJSON,
|
|
19
|
+
CalculateEnvironmentalImpactRequestSoilDataFromJSONTyped,
|
|
20
|
+
CalculateEnvironmentalImpactRequestSoilDataToJSON,
|
|
21
|
+
CalculateEnvironmentalImpactRequestSoilDataToJSONTyped,
|
|
22
|
+
} from './CalculateEnvironmentalImpactRequestSoilData';
|
|
23
|
+
import type { CalculateEnvironmentalImpactRequestWaterBodyData } from './CalculateEnvironmentalImpactRequestWaterBodyData';
|
|
24
|
+
import {
|
|
25
|
+
CalculateEnvironmentalImpactRequestWaterBodyDataFromJSON,
|
|
26
|
+
CalculateEnvironmentalImpactRequestWaterBodyDataFromJSONTyped,
|
|
27
|
+
CalculateEnvironmentalImpactRequestWaterBodyDataToJSON,
|
|
28
|
+
CalculateEnvironmentalImpactRequestWaterBodyDataToJSONTyped,
|
|
29
|
+
} from './CalculateEnvironmentalImpactRequestWaterBodyData';
|
|
30
|
+
import type { CalculateEnvironmentalImpactRequestProposedTreatmentsInner } from './CalculateEnvironmentalImpactRequestProposedTreatmentsInner';
|
|
31
|
+
import {
|
|
32
|
+
CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSON,
|
|
33
|
+
CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSONTyped,
|
|
34
|
+
CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSON,
|
|
35
|
+
CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSONTyped,
|
|
36
|
+
} from './CalculateEnvironmentalImpactRequestProposedTreatmentsInner';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface CalculateEnvironmentalImpactRequest
|
|
42
|
+
*/
|
|
43
|
+
export interface CalculateEnvironmentalImpactRequest {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CalculateEnvironmentalImpactRequest
|
|
48
|
+
*/
|
|
49
|
+
analysisId: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CalculateEnvironmentalImpactRequest
|
|
54
|
+
*/
|
|
55
|
+
countyFips: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {CalculateEnvironmentalImpactRequestSoilData}
|
|
59
|
+
* @memberof CalculateEnvironmentalImpactRequest
|
|
60
|
+
*/
|
|
61
|
+
soilData: CalculateEnvironmentalImpactRequestSoilData;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<CalculateEnvironmentalImpactRequestProposedTreatmentsInner>}
|
|
65
|
+
* @memberof CalculateEnvironmentalImpactRequest
|
|
66
|
+
*/
|
|
67
|
+
proposedTreatments?: Array<CalculateEnvironmentalImpactRequestProposedTreatmentsInner>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {CalculateEnvironmentalImpactRequestWaterBodyData}
|
|
71
|
+
* @memberof CalculateEnvironmentalImpactRequest
|
|
72
|
+
*/
|
|
73
|
+
waterBodyData?: CalculateEnvironmentalImpactRequestWaterBodyData;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the CalculateEnvironmentalImpactRequest interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfCalculateEnvironmentalImpactRequest(value: object): value is CalculateEnvironmentalImpactRequest {
|
|
80
|
+
if (!('analysisId' in value) || value['analysisId'] === undefined) return false;
|
|
81
|
+
if (!('countyFips' in value) || value['countyFips'] === undefined) return false;
|
|
82
|
+
if (!('soilData' in value) || value['soilData'] === undefined) return false;
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function CalculateEnvironmentalImpactRequestFromJSON(json: any): CalculateEnvironmentalImpactRequest {
|
|
87
|
+
return CalculateEnvironmentalImpactRequestFromJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function CalculateEnvironmentalImpactRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalculateEnvironmentalImpactRequest {
|
|
91
|
+
if (json == null) {
|
|
92
|
+
return json;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'analysisId': json['analysis_id'],
|
|
97
|
+
'countyFips': json['county_fips'],
|
|
98
|
+
'soilData': CalculateEnvironmentalImpactRequestSoilDataFromJSON(json['soil_data']),
|
|
99
|
+
'proposedTreatments': json['proposed_treatments'] == null ? undefined : ((json['proposed_treatments'] as Array<any>).map(CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSON)),
|
|
100
|
+
'waterBodyData': json['water_body_data'] == null ? undefined : CalculateEnvironmentalImpactRequestWaterBodyDataFromJSON(json['water_body_data']),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function CalculateEnvironmentalImpactRequestToJSON(json: any): CalculateEnvironmentalImpactRequest {
|
|
105
|
+
return CalculateEnvironmentalImpactRequestToJSONTyped(json, false);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function CalculateEnvironmentalImpactRequestToJSONTyped(value?: CalculateEnvironmentalImpactRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
109
|
+
if (value == null) {
|
|
110
|
+
return value;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'analysis_id': value['analysisId'],
|
|
116
|
+
'county_fips': value['countyFips'],
|
|
117
|
+
'soil_data': CalculateEnvironmentalImpactRequestSoilDataToJSON(value['soilData']),
|
|
118
|
+
'proposed_treatments': value['proposedTreatments'] == null ? undefined : ((value['proposedTreatments'] as Array<any>).map(CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSON)),
|
|
119
|
+
'water_body_data': CalculateEnvironmentalImpactRequestWaterBodyDataToJSON(value['waterBodyData']),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CalculateEnvironmentalImpactRequestProposedTreatmentsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface CalculateEnvironmentalImpactRequestProposedTreatmentsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CalculateEnvironmentalImpactRequestProposedTreatmentsInner
|
|
26
|
+
*/
|
|
27
|
+
type?: CalculateEnvironmentalImpactRequestProposedTreatmentsInnerTypeEnum;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const CalculateEnvironmentalImpactRequestProposedTreatmentsInnerTypeEnum = {
|
|
35
|
+
NitrogenFertilizer: 'nitrogen_fertilizer',
|
|
36
|
+
PhosphorusFertilizer: 'phosphorus_fertilizer',
|
|
37
|
+
Pesticide: 'pesticide'
|
|
38
|
+
} as const;
|
|
39
|
+
export type CalculateEnvironmentalImpactRequestProposedTreatmentsInnerTypeEnum = typeof CalculateEnvironmentalImpactRequestProposedTreatmentsInnerTypeEnum[keyof typeof CalculateEnvironmentalImpactRequestProposedTreatmentsInnerTypeEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the CalculateEnvironmentalImpactRequestProposedTreatmentsInner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfCalculateEnvironmentalImpactRequestProposedTreatmentsInner(value: object): value is CalculateEnvironmentalImpactRequestProposedTreatmentsInner {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSON(json: any): CalculateEnvironmentalImpactRequestProposedTreatmentsInner {
|
|
50
|
+
return CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function CalculateEnvironmentalImpactRequestProposedTreatmentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalculateEnvironmentalImpactRequestProposedTreatmentsInner {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSON(json: any): CalculateEnvironmentalImpactRequestProposedTreatmentsInner {
|
|
64
|
+
return CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CalculateEnvironmentalImpactRequestProposedTreatmentsInnerToJSONTyped(value?: CalculateEnvironmentalImpactRequestProposedTreatmentsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'type': value['type'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|