@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,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 EnvironmentalImpactDetailedAnalysisRunoffRisk
|
|
20
|
+
*/
|
|
21
|
+
export interface EnvironmentalImpactDetailedAnalysisRunoffRisk {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof EnvironmentalImpactDetailedAnalysisRunoffRisk
|
|
26
|
+
*/
|
|
27
|
+
score?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof EnvironmentalImpactDetailedAnalysisRunoffRisk
|
|
32
|
+
*/
|
|
33
|
+
riskLevel?: EnvironmentalImpactDetailedAnalysisRunoffRiskRiskLevelEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof EnvironmentalImpactDetailedAnalysisRunoffRisk
|
|
38
|
+
*/
|
|
39
|
+
contributingFactors?: object;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const EnvironmentalImpactDetailedAnalysisRunoffRiskRiskLevelEnum = {
|
|
47
|
+
Low: 'low',
|
|
48
|
+
Medium: 'medium',
|
|
49
|
+
High: 'high'
|
|
50
|
+
} as const;
|
|
51
|
+
export type EnvironmentalImpactDetailedAnalysisRunoffRiskRiskLevelEnum = typeof EnvironmentalImpactDetailedAnalysisRunoffRiskRiskLevelEnum[keyof typeof EnvironmentalImpactDetailedAnalysisRunoffRiskRiskLevelEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the EnvironmentalImpactDetailedAnalysisRunoffRisk interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfEnvironmentalImpactDetailedAnalysisRunoffRisk(value: object): value is EnvironmentalImpactDetailedAnalysisRunoffRisk {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function EnvironmentalImpactDetailedAnalysisRunoffRiskFromJSON(json: any): EnvironmentalImpactDetailedAnalysisRunoffRisk {
|
|
62
|
+
return EnvironmentalImpactDetailedAnalysisRunoffRiskFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function EnvironmentalImpactDetailedAnalysisRunoffRiskFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentalImpactDetailedAnalysisRunoffRisk {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'score': json['score'] == null ? undefined : json['score'],
|
|
72
|
+
'riskLevel': json['risk_level'] == null ? undefined : json['risk_level'],
|
|
73
|
+
'contributingFactors': json['contributing_factors'] == null ? undefined : json['contributing_factors'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function EnvironmentalImpactDetailedAnalysisRunoffRiskToJSON(json: any): EnvironmentalImpactDetailedAnalysisRunoffRisk {
|
|
78
|
+
return EnvironmentalImpactDetailedAnalysisRunoffRiskToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function EnvironmentalImpactDetailedAnalysisRunoffRiskToJSONTyped(value?: EnvironmentalImpactDetailedAnalysisRunoffRisk | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'score': value['score'],
|
|
89
|
+
'risk_level': value['riskLevel'],
|
|
90
|
+
'contributing_factors': value['contributingFactors'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
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 EnvironmentalImpactImpactAssessment
|
|
20
|
+
*/
|
|
21
|
+
export interface EnvironmentalImpactImpactAssessment {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof EnvironmentalImpactImpactAssessment
|
|
26
|
+
*/
|
|
27
|
+
runoffRiskScore?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof EnvironmentalImpactImpactAssessment
|
|
32
|
+
*/
|
|
33
|
+
waterBodyProximity?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof EnvironmentalImpactImpactAssessment
|
|
38
|
+
*/
|
|
39
|
+
contaminationRisk?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof EnvironmentalImpactImpactAssessment
|
|
44
|
+
*/
|
|
45
|
+
carbonFootprintScore?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof EnvironmentalImpactImpactAssessment
|
|
50
|
+
*/
|
|
51
|
+
biodiversityImpact?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the EnvironmentalImpactImpactAssessment interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfEnvironmentalImpactImpactAssessment(value: object): value is EnvironmentalImpactImpactAssessment {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function EnvironmentalImpactImpactAssessmentFromJSON(json: any): EnvironmentalImpactImpactAssessment {
|
|
62
|
+
return EnvironmentalImpactImpactAssessmentFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function EnvironmentalImpactImpactAssessmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentalImpactImpactAssessment {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'runoffRiskScore': json['runoff_risk_score'] == null ? undefined : json['runoff_risk_score'],
|
|
72
|
+
'waterBodyProximity': json['water_body_proximity'] == null ? undefined : json['water_body_proximity'],
|
|
73
|
+
'contaminationRisk': json['contamination_risk'] == null ? undefined : json['contamination_risk'],
|
|
74
|
+
'carbonFootprintScore': json['carbon_footprint_score'] == null ? undefined : json['carbon_footprint_score'],
|
|
75
|
+
'biodiversityImpact': json['biodiversity_impact'] == null ? undefined : json['biodiversity_impact'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function EnvironmentalImpactImpactAssessmentToJSON(json: any): EnvironmentalImpactImpactAssessment {
|
|
80
|
+
return EnvironmentalImpactImpactAssessmentToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function EnvironmentalImpactImpactAssessmentToJSONTyped(value?: EnvironmentalImpactImpactAssessment | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'runoff_risk_score': value['runoffRiskScore'],
|
|
91
|
+
'water_body_proximity': value['waterBodyProximity'],
|
|
92
|
+
'contamination_risk': value['contaminationRisk'],
|
|
93
|
+
'carbon_footprint_score': value['carbonFootprintScore'],
|
|
94
|
+
'biodiversity_impact': value['biodiversityImpact'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 GenerateSmartReportSummaryRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GenerateSmartReportSummaryRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GenerateSmartReportSummaryRequest
|
|
26
|
+
*/
|
|
27
|
+
reportType: GenerateSmartReportSummaryRequestReportTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
* Report data to summarize
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof GenerateSmartReportSummaryRequest
|
|
32
|
+
*/
|
|
33
|
+
reportData: object;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const GenerateSmartReportSummaryRequestReportTypeEnum = {
|
|
41
|
+
Soil: 'soil',
|
|
42
|
+
WaterQuality: 'water_quality'
|
|
43
|
+
} as const;
|
|
44
|
+
export type GenerateSmartReportSummaryRequestReportTypeEnum = typeof GenerateSmartReportSummaryRequestReportTypeEnum[keyof typeof GenerateSmartReportSummaryRequestReportTypeEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the GenerateSmartReportSummaryRequest interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfGenerateSmartReportSummaryRequest(value: object): value is GenerateSmartReportSummaryRequest {
|
|
51
|
+
if (!('reportType' in value) || value['reportType'] === undefined) return false;
|
|
52
|
+
if (!('reportData' in value) || value['reportData'] === undefined) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GenerateSmartReportSummaryRequestFromJSON(json: any): GenerateSmartReportSummaryRequest {
|
|
57
|
+
return GenerateSmartReportSummaryRequestFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function GenerateSmartReportSummaryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateSmartReportSummaryRequest {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'reportType': json['reportType'],
|
|
67
|
+
'reportData': json['reportData'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GenerateSmartReportSummaryRequestToJSON(json: any): GenerateSmartReportSummaryRequest {
|
|
72
|
+
return GenerateSmartReportSummaryRequestToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function GenerateSmartReportSummaryRequestToJSONTyped(value?: GenerateSmartReportSummaryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'reportType': value['reportType'],
|
|
83
|
+
'reportData': value['reportData'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
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 GenerateVRTPrescriptionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GenerateVRTPrescriptionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GenerateVRTPrescriptionRequest
|
|
26
|
+
*/
|
|
27
|
+
fieldId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GenerateVRTPrescriptionRequest
|
|
32
|
+
*/
|
|
33
|
+
applicationType: GenerateVRTPrescriptionRequestApplicationTypeEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GenerateVRTPrescriptionRequest
|
|
38
|
+
*/
|
|
39
|
+
soilAnalysisId?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const GenerateVRTPrescriptionRequestApplicationTypeEnum = {
|
|
47
|
+
Fertilizer: 'fertilizer',
|
|
48
|
+
Seed: 'seed',
|
|
49
|
+
Pesticide: 'pesticide'
|
|
50
|
+
} as const;
|
|
51
|
+
export type GenerateVRTPrescriptionRequestApplicationTypeEnum = typeof GenerateVRTPrescriptionRequestApplicationTypeEnum[keyof typeof GenerateVRTPrescriptionRequestApplicationTypeEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the GenerateVRTPrescriptionRequest interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfGenerateVRTPrescriptionRequest(value: object): value is GenerateVRTPrescriptionRequest {
|
|
58
|
+
if (!('fieldId' in value) || value['fieldId'] === undefined) return false;
|
|
59
|
+
if (!('applicationType' in value) || value['applicationType'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function GenerateVRTPrescriptionRequestFromJSON(json: any): GenerateVRTPrescriptionRequest {
|
|
64
|
+
return GenerateVRTPrescriptionRequestFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function GenerateVRTPrescriptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateVRTPrescriptionRequest {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'fieldId': json['field_id'],
|
|
74
|
+
'applicationType': json['application_type'],
|
|
75
|
+
'soilAnalysisId': json['soil_analysis_id'] == null ? undefined : json['soil_analysis_id'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function GenerateVRTPrescriptionRequestToJSON(json: any): GenerateVRTPrescriptionRequest {
|
|
80
|
+
return GenerateVRTPrescriptionRequestToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function GenerateVRTPrescriptionRequestToJSONTyped(value?: GenerateVRTPrescriptionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'field_id': value['fieldId'],
|
|
91
|
+
'application_type': value['applicationType'],
|
|
92
|
+
'soil_analysis_id': value['soilAnalysisId'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
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 GetAgriculturalIntelligenceRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAgriculturalIntelligenceRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetAgriculturalIntelligenceRequest
|
|
26
|
+
*/
|
|
27
|
+
countyFips: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetAgriculturalIntelligenceRequest
|
|
32
|
+
*/
|
|
33
|
+
analysisType: GetAgriculturalIntelligenceRequestAnalysisTypeEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const GetAgriculturalIntelligenceRequestAnalysisTypeEnum = {
|
|
41
|
+
CropRecommendation: 'crop_recommendation',
|
|
42
|
+
YieldPrediction: 'yield_prediction',
|
|
43
|
+
PestAnalysis: 'pest_analysis'
|
|
44
|
+
} as const;
|
|
45
|
+
export type GetAgriculturalIntelligenceRequestAnalysisTypeEnum = typeof GetAgriculturalIntelligenceRequestAnalysisTypeEnum[keyof typeof GetAgriculturalIntelligenceRequestAnalysisTypeEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the GetAgriculturalIntelligenceRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfGetAgriculturalIntelligenceRequest(value: object): value is GetAgriculturalIntelligenceRequest {
|
|
52
|
+
if (!('countyFips' in value) || value['countyFips'] === undefined) return false;
|
|
53
|
+
if (!('analysisType' in value) || value['analysisType'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function GetAgriculturalIntelligenceRequestFromJSON(json: any): GetAgriculturalIntelligenceRequest {
|
|
58
|
+
return GetAgriculturalIntelligenceRequestFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function GetAgriculturalIntelligenceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAgriculturalIntelligenceRequest {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'countyFips': json['county_fips'],
|
|
68
|
+
'analysisType': json['analysis_type'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function GetAgriculturalIntelligenceRequestToJSON(json: any): GetAgriculturalIntelligenceRequest {
|
|
73
|
+
return GetAgriculturalIntelligenceRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function GetAgriculturalIntelligenceRequestToJSONTyped(value?: GetAgriculturalIntelligenceRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'county_fips': value['countyFips'],
|
|
84
|
+
'analysis_type': value['analysisType'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 GetLiveAgriculturalDataRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GetLiveAgriculturalDataRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetLiveAgriculturalDataRequest
|
|
26
|
+
*/
|
|
27
|
+
countyFips: string;
|
|
28
|
+
/**
|
|
29
|
+
* Types of data to fetch
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof GetLiveAgriculturalDataRequest
|
|
32
|
+
*/
|
|
33
|
+
dataTypes: Array<GetLiveAgriculturalDataRequestDataTypesEnum>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GetLiveAgriculturalDataRequest
|
|
38
|
+
*/
|
|
39
|
+
stateCode: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GetLiveAgriculturalDataRequest
|
|
44
|
+
*/
|
|
45
|
+
countyName: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export const GetLiveAgriculturalDataRequestDataTypesEnum = {
|
|
53
|
+
Weather: 'weather',
|
|
54
|
+
Soil: 'soil',
|
|
55
|
+
Crop: 'crop',
|
|
56
|
+
Environmental: 'environmental'
|
|
57
|
+
} as const;
|
|
58
|
+
export type GetLiveAgriculturalDataRequestDataTypesEnum = typeof GetLiveAgriculturalDataRequestDataTypesEnum[keyof typeof GetLiveAgriculturalDataRequestDataTypesEnum];
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the GetLiveAgriculturalDataRequest interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfGetLiveAgriculturalDataRequest(value: object): value is GetLiveAgriculturalDataRequest {
|
|
65
|
+
if (!('countyFips' in value) || value['countyFips'] === undefined) return false;
|
|
66
|
+
if (!('dataTypes' in value) || value['dataTypes'] === undefined) return false;
|
|
67
|
+
if (!('stateCode' in value) || value['stateCode'] === undefined) return false;
|
|
68
|
+
if (!('countyName' in value) || value['countyName'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function GetLiveAgriculturalDataRequestFromJSON(json: any): GetLiveAgriculturalDataRequest {
|
|
73
|
+
return GetLiveAgriculturalDataRequestFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function GetLiveAgriculturalDataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLiveAgriculturalDataRequest {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'countyFips': json['county_fips'],
|
|
83
|
+
'dataTypes': json['data_types'],
|
|
84
|
+
'stateCode': json['state_code'],
|
|
85
|
+
'countyName': json['county_name'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function GetLiveAgriculturalDataRequestToJSON(json: any): GetLiveAgriculturalDataRequest {
|
|
90
|
+
return GetLiveAgriculturalDataRequestToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function GetLiveAgriculturalDataRequestToJSONTyped(value?: GetLiveAgriculturalDataRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'county_fips': value['countyFips'],
|
|
101
|
+
'data_types': value['dataTypes'],
|
|
102
|
+
'state_code': value['stateCode'],
|
|
103
|
+
'county_name': value['countyName'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 GetPlantingCalendarRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GetPlantingCalendarRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetPlantingCalendarRequest
|
|
26
|
+
*/
|
|
27
|
+
countyFips: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetPlantingCalendarRequest
|
|
32
|
+
*/
|
|
33
|
+
cropType: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the GetPlantingCalendarRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfGetPlantingCalendarRequest(value: object): value is GetPlantingCalendarRequest {
|
|
40
|
+
if (!('countyFips' in value) || value['countyFips'] === undefined) return false;
|
|
41
|
+
if (!('cropType' in value) || value['cropType'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function GetPlantingCalendarRequestFromJSON(json: any): GetPlantingCalendarRequest {
|
|
46
|
+
return GetPlantingCalendarRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function GetPlantingCalendarRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPlantingCalendarRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'countyFips': json['county_fips'],
|
|
56
|
+
'cropType': json['crop_type'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function GetPlantingCalendarRequestToJSON(json: any): GetPlantingCalendarRequest {
|
|
61
|
+
return GetPlantingCalendarRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function GetPlantingCalendarRequestToJSONTyped(value?: GetPlantingCalendarRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'county_fips': value['countyFips'],
|
|
72
|
+
'crop_type': value['cropType'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|