@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,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 LeafenginesQueryRequestOptions
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafenginesQueryRequestOptions {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LeafenginesQueryRequestOptions
|
|
26
|
+
*/
|
|
27
|
+
includeSatelliteData?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LeafenginesQueryRequestOptions
|
|
32
|
+
*/
|
|
33
|
+
includeWaterQuality?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LeafenginesQueryRequestOptions
|
|
38
|
+
*/
|
|
39
|
+
includeRecommendations?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeafenginesQueryRequestOptions interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeafenginesQueryRequestOptions(value: object): value is LeafenginesQueryRequestOptions {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function LeafenginesQueryRequestOptionsFromJSON(json: any): LeafenginesQueryRequestOptions {
|
|
50
|
+
return LeafenginesQueryRequestOptionsFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function LeafenginesQueryRequestOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequestOptions {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'includeSatelliteData': json['include_satellite_data'] == null ? undefined : json['include_satellite_data'],
|
|
60
|
+
'includeWaterQuality': json['include_water_quality'] == null ? undefined : json['include_water_quality'],
|
|
61
|
+
'includeRecommendations': json['include_recommendations'] == null ? undefined : json['include_recommendations'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function LeafenginesQueryRequestOptionsToJSON(json: any): LeafenginesQueryRequestOptions {
|
|
66
|
+
return LeafenginesQueryRequestOptionsToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function LeafenginesQueryRequestOptionsToJSONTyped(value?: LeafenginesQueryRequestOptions | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'include_satellite_data': value['includeSatelliteData'],
|
|
77
|
+
'include_water_quality': value['includeWaterQuality'],
|
|
78
|
+
'include_recommendations': value['includeRecommendations'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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
|
+
import type { LeafenginesQueryRequestPlantCareRequirements } from './LeafenginesQueryRequestPlantCareRequirements';
|
|
17
|
+
import {
|
|
18
|
+
LeafenginesQueryRequestPlantCareRequirementsFromJSON,
|
|
19
|
+
LeafenginesQueryRequestPlantCareRequirementsFromJSONTyped,
|
|
20
|
+
LeafenginesQueryRequestPlantCareRequirementsToJSON,
|
|
21
|
+
LeafenginesQueryRequestPlantCareRequirementsToJSONTyped,
|
|
22
|
+
} from './LeafenginesQueryRequestPlantCareRequirements';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeafenginesQueryRequestPlant
|
|
28
|
+
*/
|
|
29
|
+
export interface LeafenginesQueryRequestPlant {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LeafenginesQueryRequestPlant
|
|
34
|
+
*/
|
|
35
|
+
commonName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LeafenginesQueryRequestPlant
|
|
40
|
+
*/
|
|
41
|
+
scientificName?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeafenginesQueryRequestPlant
|
|
46
|
+
*/
|
|
47
|
+
plantId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {LeafenginesQueryRequestPlantCareRequirements}
|
|
51
|
+
* @memberof LeafenginesQueryRequestPlant
|
|
52
|
+
*/
|
|
53
|
+
careRequirements?: LeafenginesQueryRequestPlantCareRequirements;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the LeafenginesQueryRequestPlant interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfLeafenginesQueryRequestPlant(value: object): value is LeafenginesQueryRequestPlant {
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function LeafenginesQueryRequestPlantFromJSON(json: any): LeafenginesQueryRequestPlant {
|
|
64
|
+
return LeafenginesQueryRequestPlantFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function LeafenginesQueryRequestPlantFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequestPlant {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'commonName': json['common_name'] == null ? undefined : json['common_name'],
|
|
74
|
+
'scientificName': json['scientific_name'] == null ? undefined : json['scientific_name'],
|
|
75
|
+
'plantId': json['plant_id'] == null ? undefined : json['plant_id'],
|
|
76
|
+
'careRequirements': json['care_requirements'] == null ? undefined : LeafenginesQueryRequestPlantCareRequirementsFromJSON(json['care_requirements']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function LeafenginesQueryRequestPlantToJSON(json: any): LeafenginesQueryRequestPlant {
|
|
81
|
+
return LeafenginesQueryRequestPlantToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function LeafenginesQueryRequestPlantToJSONTyped(value?: LeafenginesQueryRequestPlant | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'common_name': value['commonName'],
|
|
92
|
+
'scientific_name': value['scientificName'],
|
|
93
|
+
'plant_id': value['plantId'],
|
|
94
|
+
'care_requirements': LeafenginesQueryRequestPlantCareRequirementsToJSON(value['careRequirements']),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SoilSidekick Pro API
|
|
5
|
+
* Agricultural intelligence and soil analysis API with tier-based access control. ## Authentication All endpoints require an API key passed via the `Authorization` header: ``` Authorization: Bearer ss_prod_your_api_key_here ``` ## Rate Limiting Rate limits are enforced based on your subscription tier: - **Free**: 10 req/min, 100 req/hour, 1,000 req/day - **Starter**: 30 req/min, 500 req/hour, 5,000 req/day - **Pro**: 100 req/min, 2,000 req/hour, 25,000 req/day - **Enterprise**: 500 req/min, 10,000 req/hour, 100,000 req/day Rate limit information is returned in response headers: - `X-RateLimit-Limit`: Maximum requests in window - `X-RateLimit-Remaining`: Remaining requests in window - `X-RateLimit-Reset`: Unix timestamp when limit resets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0
|
|
8
|
+
* Contact: support@soilsidekick.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeafenginesQueryRequestPlantCareRequirementsSoilPhRange } from './LeafenginesQueryRequestPlantCareRequirementsSoilPhRange';
|
|
17
|
+
import {
|
|
18
|
+
LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSON,
|
|
19
|
+
LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSONTyped,
|
|
20
|
+
LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSON,
|
|
21
|
+
LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSONTyped,
|
|
22
|
+
} from './LeafenginesQueryRequestPlantCareRequirementsSoilPhRange';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeafenginesQueryRequestPlantCareRequirements
|
|
28
|
+
*/
|
|
29
|
+
export interface LeafenginesQueryRequestPlantCareRequirements {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LeafenginesQueryRequestPlantCareRequirements
|
|
34
|
+
*/
|
|
35
|
+
sunExposure?: LeafenginesQueryRequestPlantCareRequirementsSunExposureEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LeafenginesQueryRequestPlantCareRequirements
|
|
40
|
+
*/
|
|
41
|
+
waterNeeds?: LeafenginesQueryRequestPlantCareRequirementsWaterNeedsEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {LeafenginesQueryRequestPlantCareRequirementsSoilPhRange}
|
|
45
|
+
* @memberof LeafenginesQueryRequestPlantCareRequirements
|
|
46
|
+
*/
|
|
47
|
+
soilPhRange?: LeafenginesQueryRequestPlantCareRequirementsSoilPhRange;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export const LeafenginesQueryRequestPlantCareRequirementsSunExposureEnum = {
|
|
55
|
+
FullSun: 'full_sun',
|
|
56
|
+
PartialShade: 'partial_shade',
|
|
57
|
+
FullShade: 'full_shade'
|
|
58
|
+
} as const;
|
|
59
|
+
export type LeafenginesQueryRequestPlantCareRequirementsSunExposureEnum = typeof LeafenginesQueryRequestPlantCareRequirementsSunExposureEnum[keyof typeof LeafenginesQueryRequestPlantCareRequirementsSunExposureEnum];
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const LeafenginesQueryRequestPlantCareRequirementsWaterNeedsEnum = {
|
|
65
|
+
Low: 'low',
|
|
66
|
+
Medium: 'medium',
|
|
67
|
+
High: 'high'
|
|
68
|
+
} as const;
|
|
69
|
+
export type LeafenginesQueryRequestPlantCareRequirementsWaterNeedsEnum = typeof LeafenginesQueryRequestPlantCareRequirementsWaterNeedsEnum[keyof typeof LeafenginesQueryRequestPlantCareRequirementsWaterNeedsEnum];
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the LeafenginesQueryRequestPlantCareRequirements interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfLeafenginesQueryRequestPlantCareRequirements(value: object): value is LeafenginesQueryRequestPlantCareRequirements {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function LeafenginesQueryRequestPlantCareRequirementsFromJSON(json: any): LeafenginesQueryRequestPlantCareRequirements {
|
|
80
|
+
return LeafenginesQueryRequestPlantCareRequirementsFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function LeafenginesQueryRequestPlantCareRequirementsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequestPlantCareRequirements {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'sunExposure': json['sun_exposure'] == null ? undefined : json['sun_exposure'],
|
|
90
|
+
'waterNeeds': json['water_needs'] == null ? undefined : json['water_needs'],
|
|
91
|
+
'soilPhRange': json['soil_ph_range'] == null ? undefined : LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSON(json['soil_ph_range']),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function LeafenginesQueryRequestPlantCareRequirementsToJSON(json: any): LeafenginesQueryRequestPlantCareRequirements {
|
|
96
|
+
return LeafenginesQueryRequestPlantCareRequirementsToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function LeafenginesQueryRequestPlantCareRequirementsToJSONTyped(value?: LeafenginesQueryRequestPlantCareRequirements | null, ignoreDiscriminator: boolean = false): any {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'sun_exposure': value['sunExposure'],
|
|
107
|
+
'water_needs': value['waterNeeds'],
|
|
108
|
+
'soil_ph_range': LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSON(value['soilPhRange']),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -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 LeafenginesQueryRequestPlantCareRequirementsSoilPhRange
|
|
20
|
+
*/
|
|
21
|
+
export interface LeafenginesQueryRequestPlantCareRequirementsSoilPhRange {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeafenginesQueryRequestPlantCareRequirementsSoilPhRange
|
|
26
|
+
*/
|
|
27
|
+
min?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LeafenginesQueryRequestPlantCareRequirementsSoilPhRange
|
|
32
|
+
*/
|
|
33
|
+
max?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the LeafenginesQueryRequestPlantCareRequirementsSoilPhRange interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfLeafenginesQueryRequestPlantCareRequirementsSoilPhRange(value: object): value is LeafenginesQueryRequestPlantCareRequirementsSoilPhRange {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSON(json: any): LeafenginesQueryRequestPlantCareRequirementsSoilPhRange {
|
|
44
|
+
return LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeafenginesQueryRequestPlantCareRequirementsSoilPhRange {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'min': json['min'] == null ? undefined : json['min'],
|
|
54
|
+
'max': json['max'] == null ? undefined : json['max'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSON(json: any): LeafenginesQueryRequestPlantCareRequirementsSoilPhRange {
|
|
59
|
+
return LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function LeafenginesQueryRequestPlantCareRequirementsSoilPhRangeToJSONTyped(value?: LeafenginesQueryRequestPlantCareRequirementsSoilPhRange | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'min': value['min'],
|
|
70
|
+
'max': value['max'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
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 { LiveAgriculturalDataData } from './LiveAgriculturalDataData';
|
|
17
|
+
import {
|
|
18
|
+
LiveAgriculturalDataDataFromJSON,
|
|
19
|
+
LiveAgriculturalDataDataFromJSONTyped,
|
|
20
|
+
LiveAgriculturalDataDataToJSON,
|
|
21
|
+
LiveAgriculturalDataDataToJSONTyped,
|
|
22
|
+
} from './LiveAgriculturalDataData';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LiveAgriculturalData
|
|
28
|
+
*/
|
|
29
|
+
export interface LiveAgriculturalData {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LiveAgriculturalData
|
|
34
|
+
*/
|
|
35
|
+
countyFips?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LiveAgriculturalData
|
|
40
|
+
*/
|
|
41
|
+
countyName?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LiveAgriculturalData
|
|
46
|
+
*/
|
|
47
|
+
stateCode?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {LiveAgriculturalDataData}
|
|
51
|
+
* @memberof LiveAgriculturalData
|
|
52
|
+
*/
|
|
53
|
+
data?: LiveAgriculturalDataData;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof LiveAgriculturalData
|
|
58
|
+
*/
|
|
59
|
+
sources?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof LiveAgriculturalData
|
|
64
|
+
*/
|
|
65
|
+
timestamp?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof LiveAgriculturalData
|
|
70
|
+
*/
|
|
71
|
+
cacheStatus?: LiveAgriculturalDataCacheStatusEnum;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export const LiveAgriculturalDataCacheStatusEnum = {
|
|
79
|
+
Updated: 'updated',
|
|
80
|
+
Fallback: 'fallback'
|
|
81
|
+
} as const;
|
|
82
|
+
export type LiveAgriculturalDataCacheStatusEnum = typeof LiveAgriculturalDataCacheStatusEnum[keyof typeof LiveAgriculturalDataCacheStatusEnum];
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the LiveAgriculturalData interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfLiveAgriculturalData(value: object): value is LiveAgriculturalData {
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function LiveAgriculturalDataFromJSON(json: any): LiveAgriculturalData {
|
|
93
|
+
return LiveAgriculturalDataFromJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function LiveAgriculturalDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiveAgriculturalData {
|
|
97
|
+
if (json == null) {
|
|
98
|
+
return json;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'countyFips': json['county_fips'] == null ? undefined : json['county_fips'],
|
|
103
|
+
'countyName': json['county_name'] == null ? undefined : json['county_name'],
|
|
104
|
+
'stateCode': json['state_code'] == null ? undefined : json['state_code'],
|
|
105
|
+
'data': json['data'] == null ? undefined : LiveAgriculturalDataDataFromJSON(json['data']),
|
|
106
|
+
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
107
|
+
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
108
|
+
'cacheStatus': json['cache_status'] == null ? undefined : json['cache_status'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function LiveAgriculturalDataToJSON(json: any): LiveAgriculturalData {
|
|
113
|
+
return LiveAgriculturalDataToJSONTyped(json, false);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function LiveAgriculturalDataToJSONTyped(value?: LiveAgriculturalData | null, ignoreDiscriminator: boolean = false): any {
|
|
117
|
+
if (value == null) {
|
|
118
|
+
return value;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'county_fips': value['countyFips'],
|
|
124
|
+
'county_name': value['countyName'],
|
|
125
|
+
'state_code': value['stateCode'],
|
|
126
|
+
'data': LiveAgriculturalDataDataToJSON(value['data']),
|
|
127
|
+
'sources': value['sources'],
|
|
128
|
+
'timestamp': value['timestamp'] == null ? value['timestamp'] : value['timestamp'].toISOString(),
|
|
129
|
+
'cache_status': value['cacheStatus'],
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -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 LiveAgriculturalDataData
|
|
20
|
+
*/
|
|
21
|
+
export interface LiveAgriculturalDataData {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof LiveAgriculturalDataData
|
|
26
|
+
*/
|
|
27
|
+
weather?: object;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof LiveAgriculturalDataData
|
|
32
|
+
*/
|
|
33
|
+
soil?: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof LiveAgriculturalDataData
|
|
38
|
+
*/
|
|
39
|
+
crop?: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {object}
|
|
43
|
+
* @memberof LiveAgriculturalDataData
|
|
44
|
+
*/
|
|
45
|
+
environmental?: object;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LiveAgriculturalDataData interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLiveAgriculturalDataData(value: object): value is LiveAgriculturalDataData {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LiveAgriculturalDataDataFromJSON(json: any): LiveAgriculturalDataData {
|
|
56
|
+
return LiveAgriculturalDataDataFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function LiveAgriculturalDataDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LiveAgriculturalDataData {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'weather': json['weather'] == null ? undefined : json['weather'],
|
|
66
|
+
'soil': json['soil'] == null ? undefined : json['soil'],
|
|
67
|
+
'crop': json['crop'] == null ? undefined : json['crop'],
|
|
68
|
+
'environmental': json['environmental'] == null ? undefined : json['environmental'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LiveAgriculturalDataDataToJSON(json: any): LiveAgriculturalDataData {
|
|
73
|
+
return LiveAgriculturalDataDataToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function LiveAgriculturalDataDataToJSONTyped(value?: LiveAgriculturalDataData | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'weather': value['weather'],
|
|
84
|
+
'soil': value['soil'],
|
|
85
|
+
'crop': value['crop'],
|
|
86
|
+
'environmental': value['environmental'],
|
|
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 ModelError
|
|
20
|
+
*/
|
|
21
|
+
export interface ModelError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ModelError
|
|
26
|
+
*/
|
|
27
|
+
error?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ModelError
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ModelError
|
|
38
|
+
*/
|
|
39
|
+
code?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ModelError interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfModelError(value: object): value is ModelError {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ModelErrorFromJSON(json: any): ModelError {
|
|
50
|
+
return ModelErrorFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
60
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
61
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ModelErrorToJSON(json: any): ModelError {
|
|
66
|
+
return ModelErrorToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'error': value['error'],
|
|
77
|
+
'message': value['message'],
|
|
78
|
+
'code': value['code'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|