@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,148 @@
|
|
|
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 { LeafEnginesCompatibilityDataMetadata } from './LeafEnginesCompatibilityDataMetadata';
|
|
17
|
+
import {
|
|
18
|
+
LeafEnginesCompatibilityDataMetadataFromJSON,
|
|
19
|
+
LeafEnginesCompatibilityDataMetadataFromJSONTyped,
|
|
20
|
+
LeafEnginesCompatibilityDataMetadataToJSON,
|
|
21
|
+
LeafEnginesCompatibilityDataMetadataToJSONTyped,
|
|
22
|
+
} from './LeafEnginesCompatibilityDataMetadata';
|
|
23
|
+
import type { LeafEnginesCompatibilityDataBreakdown } from './LeafEnginesCompatibilityDataBreakdown';
|
|
24
|
+
import {
|
|
25
|
+
LeafEnginesCompatibilityDataBreakdownFromJSON,
|
|
26
|
+
LeafEnginesCompatibilityDataBreakdownFromJSONTyped,
|
|
27
|
+
LeafEnginesCompatibilityDataBreakdownToJSON,
|
|
28
|
+
LeafEnginesCompatibilityDataBreakdownToJSONTyped,
|
|
29
|
+
} from './LeafEnginesCompatibilityDataBreakdown';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface LeafEnginesCompatibilityData
|
|
35
|
+
*/
|
|
36
|
+
export interface LeafEnginesCompatibilityData {
|
|
37
|
+
/**
|
|
38
|
+
* Overall compatibility score (0-100)
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof LeafEnginesCompatibilityData
|
|
41
|
+
*/
|
|
42
|
+
overallScore?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof LeafEnginesCompatibilityData
|
|
47
|
+
*/
|
|
48
|
+
soilCompatibility?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof LeafEnginesCompatibilityData
|
|
53
|
+
*/
|
|
54
|
+
waterCompatibility?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof LeafEnginesCompatibilityData
|
|
59
|
+
*/
|
|
60
|
+
climateCompatibility?: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {LeafEnginesCompatibilityDataBreakdown}
|
|
64
|
+
* @memberof LeafEnginesCompatibilityData
|
|
65
|
+
*/
|
|
66
|
+
breakdown?: LeafEnginesCompatibilityDataBreakdown;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof LeafEnginesCompatibilityData
|
|
71
|
+
*/
|
|
72
|
+
recommendations?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof LeafEnginesCompatibilityData
|
|
77
|
+
*/
|
|
78
|
+
riskLevel?: LeafEnginesCompatibilityDataRiskLevelEnum;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {LeafEnginesCompatibilityDataMetadata}
|
|
82
|
+
* @memberof LeafEnginesCompatibilityData
|
|
83
|
+
*/
|
|
84
|
+
metadata?: LeafEnginesCompatibilityDataMetadata;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export const LeafEnginesCompatibilityDataRiskLevelEnum = {
|
|
92
|
+
Low: 'low',
|
|
93
|
+
Medium: 'medium',
|
|
94
|
+
High: 'high'
|
|
95
|
+
} as const;
|
|
96
|
+
export type LeafEnginesCompatibilityDataRiskLevelEnum = typeof LeafEnginesCompatibilityDataRiskLevelEnum[keyof typeof LeafEnginesCompatibilityDataRiskLevelEnum];
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given object implements the LeafEnginesCompatibilityData interface.
|
|
101
|
+
*/
|
|
102
|
+
export function instanceOfLeafEnginesCompatibilityData(value: object): value is LeafEnginesCompatibilityData {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function LeafEnginesCompatibilityDataFromJSON(json: any): LeafEnginesCompatibilityData {
|
|
107
|
+
return LeafEnginesCompatibilityDataFromJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function LeafEnginesCompatibilityDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafEnginesCompatibilityData {
|
|
111
|
+
if (json == null) {
|
|
112
|
+
return json;
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
|
|
116
|
+
'overallScore': json['overall_score'] == null ? undefined : json['overall_score'],
|
|
117
|
+
'soilCompatibility': json['soil_compatibility'] == null ? undefined : json['soil_compatibility'],
|
|
118
|
+
'waterCompatibility': json['water_compatibility'] == null ? undefined : json['water_compatibility'],
|
|
119
|
+
'climateCompatibility': json['climate_compatibility'] == null ? undefined : json['climate_compatibility'],
|
|
120
|
+
'breakdown': json['breakdown'] == null ? undefined : LeafEnginesCompatibilityDataBreakdownFromJSON(json['breakdown']),
|
|
121
|
+
'recommendations': json['recommendations'] == null ? undefined : json['recommendations'],
|
|
122
|
+
'riskLevel': json['risk_level'] == null ? undefined : json['risk_level'],
|
|
123
|
+
'metadata': json['metadata'] == null ? undefined : LeafEnginesCompatibilityDataMetadataFromJSON(json['metadata']),
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function LeafEnginesCompatibilityDataToJSON(json: any): LeafEnginesCompatibilityData {
|
|
128
|
+
return LeafEnginesCompatibilityDataToJSONTyped(json, false);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function LeafEnginesCompatibilityDataToJSONTyped(value?: LeafEnginesCompatibilityData | null, ignoreDiscriminator: boolean = false): any {
|
|
132
|
+
if (value == null) {
|
|
133
|
+
return value;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
|
|
138
|
+
'overall_score': value['overallScore'],
|
|
139
|
+
'soil_compatibility': value['soilCompatibility'],
|
|
140
|
+
'water_compatibility': value['waterCompatibility'],
|
|
141
|
+
'climate_compatibility': value['climateCompatibility'],
|
|
142
|
+
'breakdown': LeafEnginesCompatibilityDataBreakdownToJSON(value['breakdown']),
|
|
143
|
+
'recommendations': value['recommendations'],
|
|
144
|
+
'risk_level': value['riskLevel'],
|
|
145
|
+
'metadata': LeafEnginesCompatibilityDataMetadataToJSON(value['metadata']),
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
@@ -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 { LeafEnginesCompatibilityDataBreakdownSoil } from './LeafEnginesCompatibilityDataBreakdownSoil';
|
|
17
|
+
import {
|
|
18
|
+
LeafEnginesCompatibilityDataBreakdownSoilFromJSON,
|
|
19
|
+
LeafEnginesCompatibilityDataBreakdownSoilFromJSONTyped,
|
|
20
|
+
LeafEnginesCompatibilityDataBreakdownSoilToJSON,
|
|
21
|
+
LeafEnginesCompatibilityDataBreakdownSoilToJSONTyped,
|
|
22
|
+
} from './LeafEnginesCompatibilityDataBreakdownSoil';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeafEnginesCompatibilityDataBreakdown
|
|
28
|
+
*/
|
|
29
|
+
export interface LeafEnginesCompatibilityDataBreakdown {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {LeafEnginesCompatibilityDataBreakdownSoil}
|
|
33
|
+
* @memberof LeafEnginesCompatibilityDataBreakdown
|
|
34
|
+
*/
|
|
35
|
+
soil?: LeafEnginesCompatibilityDataBreakdownSoil;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof LeafEnginesCompatibilityDataBreakdown
|
|
40
|
+
*/
|
|
41
|
+
water?: object;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof LeafEnginesCompatibilityDataBreakdown
|
|
46
|
+
*/
|
|
47
|
+
climate?: object;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the LeafEnginesCompatibilityDataBreakdown interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfLeafEnginesCompatibilityDataBreakdown(value: object): value is LeafEnginesCompatibilityDataBreakdown {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function LeafEnginesCompatibilityDataBreakdownFromJSON(json: any): LeafEnginesCompatibilityDataBreakdown {
|
|
58
|
+
return LeafEnginesCompatibilityDataBreakdownFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LeafEnginesCompatibilityDataBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafEnginesCompatibilityDataBreakdown {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'soil': json['soil'] == null ? undefined : LeafEnginesCompatibilityDataBreakdownSoilFromJSON(json['soil']),
|
|
68
|
+
'water': json['water'] == null ? undefined : json['water'],
|
|
69
|
+
'climate': json['climate'] == null ? undefined : json['climate'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function LeafEnginesCompatibilityDataBreakdownToJSON(json: any): LeafEnginesCompatibilityDataBreakdown {
|
|
74
|
+
return LeafEnginesCompatibilityDataBreakdownToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function LeafEnginesCompatibilityDataBreakdownToJSONTyped(value?: LeafEnginesCompatibilityDataBreakdown | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'soil': LeafEnginesCompatibilityDataBreakdownSoilToJSON(value['soil']),
|
|
85
|
+
'water': value['water'],
|
|
86
|
+
'climate': value['climate'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 LeafEnginesCompatibilityDataBreakdownSoil
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafEnginesCompatibilityDataBreakdownSoil {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeafEnginesCompatibilityDataBreakdownSoil
|
|
26
|
+
*/
|
|
27
|
+
score?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof LeafEnginesCompatibilityDataBreakdownSoil
|
|
32
|
+
*/
|
|
33
|
+
factors?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof LeafEnginesCompatibilityDataBreakdownSoil
|
|
38
|
+
*/
|
|
39
|
+
concerns?: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeafEnginesCompatibilityDataBreakdownSoil interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeafEnginesCompatibilityDataBreakdownSoil(value: object): value is LeafEnginesCompatibilityDataBreakdownSoil {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function LeafEnginesCompatibilityDataBreakdownSoilFromJSON(json: any): LeafEnginesCompatibilityDataBreakdownSoil {
|
|
50
|
+
return LeafEnginesCompatibilityDataBreakdownSoilFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function LeafEnginesCompatibilityDataBreakdownSoilFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafEnginesCompatibilityDataBreakdownSoil {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'score': json['score'] == null ? undefined : json['score'],
|
|
60
|
+
'factors': json['factors'] == null ? undefined : json['factors'],
|
|
61
|
+
'concerns': json['concerns'] == null ? undefined : json['concerns'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function LeafEnginesCompatibilityDataBreakdownSoilToJSON(json: any): LeafEnginesCompatibilityDataBreakdownSoil {
|
|
66
|
+
return LeafEnginesCompatibilityDataBreakdownSoilToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function LeafEnginesCompatibilityDataBreakdownSoilToJSONTyped(value?: LeafEnginesCompatibilityDataBreakdownSoil | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'score': value['score'],
|
|
77
|
+
'factors': value['factors'],
|
|
78
|
+
'concerns': value['concerns'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 LeafEnginesCompatibilityDataMetadata
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafEnginesCompatibilityDataMetadata {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LeafEnginesCompatibilityDataMetadata
|
|
26
|
+
*/
|
|
27
|
+
location?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof LeafEnginesCompatibilityDataMetadata
|
|
32
|
+
*/
|
|
33
|
+
timestamp?: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof LeafEnginesCompatibilityDataMetadata
|
|
38
|
+
*/
|
|
39
|
+
dataSources?: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeafEnginesCompatibilityDataMetadata interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeafEnginesCompatibilityDataMetadata(value: object): value is LeafEnginesCompatibilityDataMetadata {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function LeafEnginesCompatibilityDataMetadataFromJSON(json: any): LeafEnginesCompatibilityDataMetadata {
|
|
50
|
+
return LeafEnginesCompatibilityDataMetadataFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function LeafEnginesCompatibilityDataMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafEnginesCompatibilityDataMetadata {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
60
|
+
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
61
|
+
'dataSources': json['data_sources'] == null ? undefined : json['data_sources'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function LeafEnginesCompatibilityDataMetadataToJSON(json: any): LeafEnginesCompatibilityDataMetadata {
|
|
66
|
+
return LeafEnginesCompatibilityDataMetadataToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function LeafEnginesCompatibilityDataMetadataToJSONTyped(value?: LeafEnginesCompatibilityDataMetadata | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'location': value['location'],
|
|
77
|
+
'timestamp': value['timestamp'] == null ? value['timestamp'] : value['timestamp'].toISOString(),
|
|
78
|
+
'data_sources': value['dataSources'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 LeafEnginesCompatibilityUsage
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafEnginesCompatibilityUsage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeafEnginesCompatibilityUsage
|
|
26
|
+
*/
|
|
27
|
+
creditsUsed?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LeafEnginesCompatibilityUsage
|
|
32
|
+
*/
|
|
33
|
+
responseTimeMs?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the LeafEnginesCompatibilityUsage interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfLeafEnginesCompatibilityUsage(value: object): value is LeafEnginesCompatibilityUsage {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function LeafEnginesCompatibilityUsageFromJSON(json: any): LeafEnginesCompatibilityUsage {
|
|
44
|
+
return LeafEnginesCompatibilityUsageFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function LeafEnginesCompatibilityUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafEnginesCompatibilityUsage {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'creditsUsed': json['credits_used'] == null ? undefined : json['credits_used'],
|
|
54
|
+
'responseTimeMs': json['response_time_ms'] == null ? undefined : json['response_time_ms'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function LeafEnginesCompatibilityUsageToJSON(json: any): LeafEnginesCompatibilityUsage {
|
|
59
|
+
return LeafEnginesCompatibilityUsageToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function LeafEnginesCompatibilityUsageToJSONTyped(value?: LeafEnginesCompatibilityUsage | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'credits_used': value['creditsUsed'],
|
|
70
|
+
'response_time_ms': value['responseTimeMs'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { LeafenginesQueryRequestLocation } from './LeafenginesQueryRequestLocation';
|
|
17
|
+
import {
|
|
18
|
+
LeafenginesQueryRequestLocationFromJSON,
|
|
19
|
+
LeafenginesQueryRequestLocationFromJSONTyped,
|
|
20
|
+
LeafenginesQueryRequestLocationToJSON,
|
|
21
|
+
LeafenginesQueryRequestLocationToJSONTyped,
|
|
22
|
+
} from './LeafenginesQueryRequestLocation';
|
|
23
|
+
import type { LeafenginesQueryRequestPlant } from './LeafenginesQueryRequestPlant';
|
|
24
|
+
import {
|
|
25
|
+
LeafenginesQueryRequestPlantFromJSON,
|
|
26
|
+
LeafenginesQueryRequestPlantFromJSONTyped,
|
|
27
|
+
LeafenginesQueryRequestPlantToJSON,
|
|
28
|
+
LeafenginesQueryRequestPlantToJSONTyped,
|
|
29
|
+
} from './LeafenginesQueryRequestPlant';
|
|
30
|
+
import type { LeafenginesQueryRequestOptions } from './LeafenginesQueryRequestOptions';
|
|
31
|
+
import {
|
|
32
|
+
LeafenginesQueryRequestOptionsFromJSON,
|
|
33
|
+
LeafenginesQueryRequestOptionsFromJSONTyped,
|
|
34
|
+
LeafenginesQueryRequestOptionsToJSON,
|
|
35
|
+
LeafenginesQueryRequestOptionsToJSONTyped,
|
|
36
|
+
} from './LeafenginesQueryRequestOptions';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface LeafenginesQueryRequest
|
|
42
|
+
*/
|
|
43
|
+
export interface LeafenginesQueryRequest {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {LeafenginesQueryRequestLocation}
|
|
47
|
+
* @memberof LeafenginesQueryRequest
|
|
48
|
+
*/
|
|
49
|
+
location: LeafenginesQueryRequestLocation;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {LeafenginesQueryRequestPlant}
|
|
53
|
+
* @memberof LeafenginesQueryRequest
|
|
54
|
+
*/
|
|
55
|
+
plant: LeafenginesQueryRequestPlant;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {LeafenginesQueryRequestOptions}
|
|
59
|
+
* @memberof LeafenginesQueryRequest
|
|
60
|
+
*/
|
|
61
|
+
options?: LeafenginesQueryRequestOptions;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the LeafenginesQueryRequest interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfLeafenginesQueryRequest(value: object): value is LeafenginesQueryRequest {
|
|
68
|
+
if (!('location' in value) || value['location'] === undefined) return false;
|
|
69
|
+
if (!('plant' in value) || value['plant'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function LeafenginesQueryRequestFromJSON(json: any): LeafenginesQueryRequest {
|
|
74
|
+
return LeafenginesQueryRequestFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function LeafenginesQueryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequest {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'location': LeafenginesQueryRequestLocationFromJSON(json['location']),
|
|
84
|
+
'plant': LeafenginesQueryRequestPlantFromJSON(json['plant']),
|
|
85
|
+
'options': json['options'] == null ? undefined : LeafenginesQueryRequestOptionsFromJSON(json['options']),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function LeafenginesQueryRequestToJSON(json: any): LeafenginesQueryRequest {
|
|
90
|
+
return LeafenginesQueryRequestToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function LeafenginesQueryRequestToJSONTyped(value?: LeafenginesQueryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'location': LeafenginesQueryRequestLocationToJSON(value['location']),
|
|
101
|
+
'plant': LeafenginesQueryRequestPlantToJSON(value['plant']),
|
|
102
|
+
'options': LeafenginesQueryRequestOptionsToJSON(value['options']),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LeafenginesQueryRequestLocation
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafenginesQueryRequestLocation {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeafenginesQueryRequestLocation
|
|
26
|
+
*/
|
|
27
|
+
latitude?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LeafenginesQueryRequestLocation
|
|
32
|
+
*/
|
|
33
|
+
longitude?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeafenginesQueryRequestLocation
|
|
38
|
+
*/
|
|
39
|
+
address?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof LeafenginesQueryRequestLocation
|
|
44
|
+
*/
|
|
45
|
+
countyFips?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LeafenginesQueryRequestLocation interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLeafenginesQueryRequestLocation(value: object): value is LeafenginesQueryRequestLocation {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LeafenginesQueryRequestLocationFromJSON(json: any): LeafenginesQueryRequestLocation {
|
|
56
|
+
return LeafenginesQueryRequestLocationFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function LeafenginesQueryRequestLocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequestLocation {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
66
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
67
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
68
|
+
'countyFips': json['county_fips'] == null ? undefined : json['county_fips'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeafenginesQueryRequestLocationToJSON(json: any): LeafenginesQueryRequestLocation {
|
|
73
|
+
return LeafenginesQueryRequestLocationToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function LeafenginesQueryRequestLocationToJSONTyped(value?: LeafenginesQueryRequestLocation | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'latitude': value['latitude'],
|
|
84
|
+
'longitude': value['longitude'],
|
|
85
|
+
'address': value['address'],
|
|
86
|
+
'county_fips': value['countyFips'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|