@azure-rest/agrifood-farming 1.0.0-alpha.20211105.1 → 1.0.0-alpha.20220131.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"farmBeats.js","sourceRoot":"","sources":["../../src/farmBeats.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAmTlC,OAAO,EAAE,SAAS,EAAyB,MAAM,yBAAyB,CAAC;AAoyB3E,MAAM,CAAC,OAAO,UAAU,SAAS,CAC/B,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,GAAG,QAAQ,EAAE,CAAC;IACjD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,oBAAoB,CAAC;IAChE,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,sCAAsC,CAAC;SACjD,GACF,CAAC;IAEF,OAAO,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAwB,CAAC;AACzE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n ApplicationDataListByFarmerIdParameters,\n ApplicationDataListParameters,\n ApplicationDataGetParameters,\n ApplicationDataCreateOrUpdateParameters,\n ApplicationDataDeleteParameters,\n AttachmentsListByFarmerIdParameters,\n AttachmentsGetParameters,\n AttachmentsCreateOrUpdateParameters,\n AttachmentsDeleteParameters,\n AttachmentsDownloadParameters,\n BoundariesListByFarmerIdParameters,\n BoundariesSearchByFarmerIdParameters,\n BoundariesListParameters,\n BoundariesSearchParameters,\n BoundariesGetCascadeDeleteJobDetailsParameters,\n BoundariesCreateCascadeDeleteJobParameters,\n BoundariesGetParameters,\n BoundariesCreateOrUpdateParameters,\n BoundariesDeleteParameters,\n BoundariesGetOverlapParameters,\n CropsListParameters,\n CropsGetParameters,\n CropsCreateOrUpdateParameters,\n CropsDeleteParameters,\n CropVarietiesListByCropIdParameters,\n CropVarietiesListParameters,\n CropVarietiesGetParameters,\n CropVarietiesCreateOrUpdateParameters,\n CropVarietiesDeleteParameters,\n FarmersListParameters,\n FarmersGetParameters,\n FarmersCreateOrUpdateParameters,\n FarmersDeleteParameters,\n FarmersGetCascadeDeleteJobDetailsParameters,\n FarmersCreateCascadeDeleteJobParameters,\n FarmOperationsCreateDataIngestionJobParameters,\n FarmOperationsGetDataIngestionJobDetailsParameters,\n FarmsListByFarmerIdParameters,\n FarmsListParameters,\n FarmsGetParameters,\n FarmsCreateOrUpdateParameters,\n FarmsDeleteParameters,\n FarmsGetCascadeDeleteJobDetailsParameters,\n FarmsCreateCascadeDeleteJobParameters,\n FieldsListByFarmerIdParameters,\n FieldsListParameters,\n FieldsGetParameters,\n FieldsCreateOrUpdateParameters,\n FieldsDeleteParameters,\n FieldsGetCascadeDeleteJobDetailsParameters,\n FieldsCreateCascadeDeleteJobParameters,\n HarvestDataListByFarmerIdParameters,\n HarvestDataListParameters,\n HarvestDataGetParameters,\n HarvestDataCreateOrUpdateParameters,\n HarvestDataDeleteParameters,\n ImageProcessingCreateRasterizeJobParameters,\n ImageProcessingGetRasterizeJobParameters,\n OAuthProvidersListParameters,\n OAuthProvidersGetParameters,\n OAuthProvidersCreateOrUpdateParameters,\n OAuthProvidersDeleteParameters,\n OAuthTokensListParameters,\n OAuthTokensGetOAuthConnectionLinkParameters,\n OAuthTokensGetCascadeDeleteJobDetailsParameters,\n OAuthTokensCreateCascadeDeleteJobParameters,\n PlantingDataListByFarmerIdParameters,\n PlantingDataListParameters,\n PlantingDataGetParameters,\n PlantingDataCreateOrUpdateParameters,\n PlantingDataDeleteParameters,\n ScenesListParameters,\n ScenesCreateSatelliteDataIngestionJobParameters,\n ScenesGetSatelliteDataIngestionJobDetailsParameters,\n ScenesDownloadParameters,\n SeasonalFieldsListByFarmerIdParameters,\n SeasonalFieldsListParameters,\n SeasonalFieldsGetParameters,\n SeasonalFieldsCreateOrUpdateParameters,\n SeasonalFieldsDeleteParameters,\n SeasonalFieldsGetCascadeDeleteJobDetailsParameters,\n SeasonalFieldsCreateCascadeDeleteJobParameters,\n SeasonsListParameters,\n SeasonsGetParameters,\n SeasonsCreateOrUpdateParameters,\n SeasonsDeleteParameters,\n TillageDataListByFarmerIdParameters,\n TillageDataListParameters,\n TillageDataGetParameters,\n TillageDataCreateOrUpdateParameters,\n TillageDataDeleteParameters,\n WeatherListParameters,\n WeatherGetDataIngestionJobDetailsParameters,\n WeatherCreateDataIngestionJobParameters,\n WeatherGetDataDeleteJobDetailsParameters,\n WeatherCreateDataDeleteJobParameters,\n} from \"./parameters\";\nimport {\n ApplicationDataListByFarmerId200Response,\n ApplicationDataListByFarmerIddefaultResponse,\n ApplicationDataList200Response,\n ApplicationDataListdefaultResponse,\n ApplicationDataGet200Response,\n ApplicationDataGetdefaultResponse,\n ApplicationDataCreateOrUpdate200Response,\n ApplicationDataCreateOrUpdate201Response,\n ApplicationDataCreateOrUpdatedefaultResponse,\n ApplicationDataDelete204Response,\n ApplicationDataDeletedefaultResponse,\n AttachmentsListByFarmerId200Response,\n AttachmentsListByFarmerIddefaultResponse,\n AttachmentsGet200Response,\n AttachmentsGetdefaultResponse,\n AttachmentsCreateOrUpdate200Response,\n AttachmentsCreateOrUpdate201Response,\n AttachmentsCreateOrUpdatedefaultResponse,\n AttachmentsDelete204Response,\n AttachmentsDeletedefaultResponse,\n AttachmentsDownload200Response,\n AttachmentsDownloaddefaultResponse,\n BoundariesListByFarmerId200Response,\n BoundariesListByFarmerIddefaultResponse,\n BoundariesSearchByFarmerId200Response,\n BoundariesSearchByFarmerIddefaultResponse,\n BoundariesList200Response,\n BoundariesListdefaultResponse,\n BoundariesSearch200Response,\n BoundariesSearchdefaultResponse,\n BoundariesGetCascadeDeleteJobDetails200Response,\n BoundariesGetCascadeDeleteJobDetailsdefaultResponse,\n BoundariesCreateCascadeDeleteJob202Response,\n BoundariesCreateCascadeDeleteJobdefaultResponse,\n BoundariesGet200Response,\n BoundariesGetdefaultResponse,\n BoundariesCreateOrUpdate200Response,\n BoundariesCreateOrUpdate201Response,\n BoundariesCreateOrUpdatedefaultResponse,\n BoundariesDelete204Response,\n BoundariesDeletedefaultResponse,\n BoundariesGetOverlap200Response,\n BoundariesGetOverlapdefaultResponse,\n CropsList200Response,\n CropsListdefaultResponse,\n CropsGet200Response,\n CropsGetdefaultResponse,\n CropsCreateOrUpdate200Response,\n CropsCreateOrUpdate201Response,\n CropsCreateOrUpdatedefaultResponse,\n CropsDelete204Response,\n CropsDeletedefaultResponse,\n CropVarietiesListByCropId200Response,\n CropVarietiesListByCropIddefaultResponse,\n CropVarietiesList200Response,\n CropVarietiesListdefaultResponse,\n CropVarietiesGet200Response,\n CropVarietiesGetdefaultResponse,\n CropVarietiesCreateOrUpdate200Response,\n CropVarietiesCreateOrUpdate201Response,\n CropVarietiesCreateOrUpdatedefaultResponse,\n CropVarietiesDelete204Response,\n CropVarietiesDeletedefaultResponse,\n FarmersList200Response,\n FarmersListdefaultResponse,\n FarmersGet200Response,\n FarmersGetdefaultResponse,\n FarmersCreateOrUpdate200Response,\n FarmersCreateOrUpdate201Response,\n FarmersCreateOrUpdatedefaultResponse,\n FarmersDelete204Response,\n FarmersDeletedefaultResponse,\n FarmersGetCascadeDeleteJobDetails200Response,\n FarmersGetCascadeDeleteJobDetailsdefaultResponse,\n FarmersCreateCascadeDeleteJob202Response,\n FarmersCreateCascadeDeleteJobdefaultResponse,\n FarmOperationsCreateDataIngestionJob202Response,\n FarmOperationsCreateDataIngestionJobdefaultResponse,\n FarmOperationsGetDataIngestionJobDetails200Response,\n FarmOperationsGetDataIngestionJobDetailsdefaultResponse,\n FarmsListByFarmerId200Response,\n FarmsListByFarmerIddefaultResponse,\n FarmsList200Response,\n FarmsListdefaultResponse,\n FarmsGet200Response,\n FarmsGetdefaultResponse,\n FarmsCreateOrUpdate200Response,\n FarmsCreateOrUpdate201Response,\n FarmsCreateOrUpdatedefaultResponse,\n FarmsDelete204Response,\n FarmsDeletedefaultResponse,\n FarmsGetCascadeDeleteJobDetails200Response,\n FarmsGetCascadeDeleteJobDetailsdefaultResponse,\n FarmsCreateCascadeDeleteJob202Response,\n FarmsCreateCascadeDeleteJobdefaultResponse,\n FieldsListByFarmerId200Response,\n FieldsListByFarmerIddefaultResponse,\n FieldsList200Response,\n FieldsListdefaultResponse,\n FieldsGet200Response,\n FieldsGetdefaultResponse,\n FieldsCreateOrUpdate200Response,\n FieldsCreateOrUpdate201Response,\n FieldsCreateOrUpdatedefaultResponse,\n FieldsDelete204Response,\n FieldsDeletedefaultResponse,\n FieldsGetCascadeDeleteJobDetails200Response,\n FieldsGetCascadeDeleteJobDetailsdefaultResponse,\n FieldsCreateCascadeDeleteJob202Response,\n FieldsCreateCascadeDeleteJobdefaultResponse,\n HarvestDataListByFarmerId200Response,\n HarvestDataListByFarmerIddefaultResponse,\n HarvestDataList200Response,\n HarvestDataListdefaultResponse,\n HarvestDataGet200Response,\n HarvestDataGetdefaultResponse,\n HarvestDataCreateOrUpdate200Response,\n HarvestDataCreateOrUpdate201Response,\n HarvestDataCreateOrUpdatedefaultResponse,\n HarvestDataDelete204Response,\n HarvestDataDeletedefaultResponse,\n ImageProcessingCreateRasterizeJob202Response,\n ImageProcessingCreateRasterizeJobdefaultResponse,\n ImageProcessingGetRasterizeJob200Response,\n OAuthProvidersList200Response,\n OAuthProvidersListdefaultResponse,\n OAuthProvidersGet200Response,\n OAuthProvidersGetdefaultResponse,\n OAuthProvidersCreateOrUpdate200Response,\n OAuthProvidersCreateOrUpdate201Response,\n OAuthProvidersCreateOrUpdatedefaultResponse,\n OAuthProvidersDelete204Response,\n OAuthProvidersDeletedefaultResponse,\n OAuthTokensList200Response,\n OAuthTokensListdefaultResponse,\n OAuthTokensGetOAuthConnectionLink200Response,\n OAuthTokensGetOAuthConnectionLinkdefaultResponse,\n OAuthTokensGetCascadeDeleteJobDetails200Response,\n OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse,\n OAuthTokensCreateCascadeDeleteJob202Response,\n OAuthTokensCreateCascadeDeleteJobdefaultResponse,\n PlantingDataListByFarmerId200Response,\n PlantingDataListByFarmerIddefaultResponse,\n PlantingDataList200Response,\n PlantingDataListdefaultResponse,\n PlantingDataGet200Response,\n PlantingDataGetdefaultResponse,\n PlantingDataCreateOrUpdate200Response,\n PlantingDataCreateOrUpdate201Response,\n PlantingDataCreateOrUpdatedefaultResponse,\n PlantingDataDelete204Response,\n PlantingDataDeletedefaultResponse,\n ScenesList200Response,\n ScenesListdefaultResponse,\n ScenesCreateSatelliteDataIngestionJob202Response,\n ScenesCreateSatelliteDataIngestionJobdefaultResponse,\n ScenesGetSatelliteDataIngestionJobDetails200Response,\n ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse,\n ScenesDownload200Response,\n ScenesDownloaddefaultResponse,\n SeasonalFieldsListByFarmerId200Response,\n SeasonalFieldsListByFarmerIddefaultResponse,\n SeasonalFieldsList200Response,\n SeasonalFieldsListdefaultResponse,\n SeasonalFieldsGet200Response,\n SeasonalFieldsGetdefaultResponse,\n SeasonalFieldsCreateOrUpdate200Response,\n SeasonalFieldsCreateOrUpdate201Response,\n SeasonalFieldsCreateOrUpdatedefaultResponse,\n SeasonalFieldsDelete204Response,\n SeasonalFieldsDeletedefaultResponse,\n SeasonalFieldsGetCascadeDeleteJobDetails200Response,\n SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse,\n SeasonalFieldsCreateCascadeDeleteJob202Response,\n SeasonalFieldsCreateCascadeDeleteJobdefaultResponse,\n SeasonsList200Response,\n SeasonsListdefaultResponse,\n SeasonsGet200Response,\n SeasonsGetdefaultResponse,\n SeasonsCreateOrUpdate200Response,\n SeasonsCreateOrUpdate201Response,\n SeasonsCreateOrUpdatedefaultResponse,\n SeasonsDelete204Response,\n SeasonsDeletedefaultResponse,\n TillageDataListByFarmerId200Response,\n TillageDataListByFarmerIddefaultResponse,\n TillageDataList200Response,\n TillageDataListdefaultResponse,\n TillageDataGet200Response,\n TillageDataGetdefaultResponse,\n TillageDataCreateOrUpdate200Response,\n TillageDataCreateOrUpdate201Response,\n TillageDataCreateOrUpdatedefaultResponse,\n TillageDataDelete204Response,\n TillageDataDeletedefaultResponse,\n WeatherList200Response,\n WeatherListdefaultResponse,\n WeatherGetDataIngestionJobDetails200Response,\n WeatherGetDataIngestionJobDetailsdefaultResponse,\n WeatherCreateDataIngestionJob202Response,\n WeatherCreateDataIngestionJobdefaultResponse,\n WeatherGetDataDeleteJobDetails200Response,\n WeatherGetDataDeleteJobDetailsdefaultResponse,\n WeatherCreateDataDeleteJob202Response,\n WeatherCreateDataDeleteJobdefaultResponse,\n} from \"./responses\";\nimport { getClient, ClientOptions, Client } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface ApplicationDataListByFarmerId {\n /** Returns a paginated list of application data resources under a particular farm. */\n get(\n options?: ApplicationDataListByFarmerIdParameters\n ): Promise<\n ApplicationDataListByFarmerId200Response | ApplicationDataListByFarmerIddefaultResponse\n >;\n}\n\nexport interface ApplicationDataList {\n /** Returns a paginated list of application data resources across all farmers. */\n get(\n options?: ApplicationDataListParameters\n ): Promise<ApplicationDataList200Response | ApplicationDataListdefaultResponse>;\n}\n\nexport interface ApplicationDataDelete {\n /** Get a specified application data resource under a particular farmer. */\n get(\n options?: ApplicationDataGetParameters\n ): Promise<ApplicationDataGet200Response | ApplicationDataGetdefaultResponse>;\n /** Creates or updates an application data resource under a particular farmer. */\n patch(\n options?: ApplicationDataCreateOrUpdateParameters\n ): Promise<\n | ApplicationDataCreateOrUpdate200Response\n | ApplicationDataCreateOrUpdate201Response\n | ApplicationDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified application data resource under a particular farmer. */\n delete(\n options?: ApplicationDataDeleteParameters\n ): Promise<ApplicationDataDelete204Response | ApplicationDataDeletedefaultResponse>;\n}\n\nexport interface AttachmentsListByFarmerId {\n /** Returns a paginated list of attachment resources under a particular farmer. */\n get(\n options?: AttachmentsListByFarmerIdParameters\n ): Promise<AttachmentsListByFarmerId200Response | AttachmentsListByFarmerIddefaultResponse>;\n}\n\nexport interface AttachmentsDelete {\n /** Gets a specified attachment resource under a particular farmer. */\n get(\n options?: AttachmentsGetParameters\n ): Promise<AttachmentsGet200Response | AttachmentsGetdefaultResponse>;\n /** Creates or updates an attachment resource under a particular farmer. */\n patch(\n options?: AttachmentsCreateOrUpdateParameters\n ): Promise<\n | AttachmentsCreateOrUpdate200Response\n | AttachmentsCreateOrUpdate201Response\n | AttachmentsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified attachment resource under a particular farmer. */\n delete(\n options?: AttachmentsDeleteParameters\n ): Promise<AttachmentsDelete204Response | AttachmentsDeletedefaultResponse>;\n}\n\nexport interface AttachmentsDownload {\n /** Downloads and returns attachment as response for the given input filePath. */\n get(\n options?: AttachmentsDownloadParameters\n ): Promise<AttachmentsDownload200Response | AttachmentsDownloaddefaultResponse>;\n}\n\nexport interface BoundariesSearchByFarmerId {\n /** Returns a paginated list of boundary resources under a particular farmer. */\n get(\n options?: BoundariesListByFarmerIdParameters\n ): Promise<BoundariesListByFarmerId200Response | BoundariesListByFarmerIddefaultResponse>;\n /** Search for boundaries by fields and intersecting geometry. */\n post(\n options?: BoundariesSearchByFarmerIdParameters\n ): Promise<BoundariesSearchByFarmerId200Response | BoundariesSearchByFarmerIddefaultResponse>;\n}\n\nexport interface BoundariesSearch {\n /** Returns a paginated list of boundary resources across all farmers. */\n get(\n options?: BoundariesListParameters\n ): Promise<BoundariesList200Response | BoundariesListdefaultResponse>;\n /** Search for boundaries across all farmers by fields and intersecting geometry. */\n post(\n options?: BoundariesSearchParameters\n ): Promise<BoundariesSearch200Response | BoundariesSearchdefaultResponse>;\n}\n\nexport interface BoundariesCreateCascadeDeleteJob {\n /** Get cascade delete job for specified boundary. */\n get(\n options?: BoundariesGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | BoundariesGetCascadeDeleteJobDetails200Response\n | BoundariesGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified boundary. */\n put(\n options?: BoundariesCreateCascadeDeleteJobParameters\n ): Promise<\n BoundariesCreateCascadeDeleteJob202Response | BoundariesCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface BoundariesDelete {\n /** Gets a specified boundary resource under a particular farmer. */\n get(\n options?: BoundariesGetParameters\n ): Promise<BoundariesGet200Response | BoundariesGetdefaultResponse>;\n /** Creates or updates a boundary resource. */\n patch(\n options?: BoundariesCreateOrUpdateParameters\n ): Promise<\n | BoundariesCreateOrUpdate200Response\n | BoundariesCreateOrUpdate201Response\n | BoundariesCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified boundary resource under a particular farmer. */\n delete(\n options?: BoundariesDeleteParameters\n ): Promise<BoundariesDelete204Response | BoundariesDeletedefaultResponse>;\n}\n\nexport interface BoundariesGetOverlap {\n /** Returns overlapping acreage between two boundary Ids. */\n get(\n options?: BoundariesGetOverlapParameters\n ): Promise<BoundariesGetOverlap200Response | BoundariesGetOverlapdefaultResponse>;\n}\n\nexport interface CropsList {\n /** Returns a paginated list of crop resources. */\n get(options?: CropsListParameters): Promise<CropsList200Response | CropsListdefaultResponse>;\n}\n\nexport interface CropsDelete {\n /** Gets a specified crop resource. */\n get(options?: CropsGetParameters): Promise<CropsGet200Response | CropsGetdefaultResponse>;\n /** Creates or updates a crop resource. */\n patch(\n options?: CropsCreateOrUpdateParameters\n ): Promise<\n | CropsCreateOrUpdate200Response\n | CropsCreateOrUpdate201Response\n | CropsCreateOrUpdatedefaultResponse\n >;\n /** Deletes Crop for given crop id. */\n delete(\n options?: CropsDeleteParameters\n ): Promise<CropsDelete204Response | CropsDeletedefaultResponse>;\n}\n\nexport interface CropVarietiesListByCropId {\n /** Returns a paginated list of crop variety resources under a particular crop. */\n get(\n options?: CropVarietiesListByCropIdParameters\n ): Promise<CropVarietiesListByCropId200Response | CropVarietiesListByCropIddefaultResponse>;\n}\n\nexport interface CropVarietiesList {\n /** Returns a paginated list of crop variety resources across all crops. */\n get(\n options?: CropVarietiesListParameters\n ): Promise<CropVarietiesList200Response | CropVarietiesListdefaultResponse>;\n}\n\nexport interface CropVarietiesDelete {\n /** Gets a specified crop variety resource under a particular crop. */\n get(\n options?: CropVarietiesGetParameters\n ): Promise<CropVarietiesGet200Response | CropVarietiesGetdefaultResponse>;\n /** Creates or updates a crop variety resource. */\n patch(\n options?: CropVarietiesCreateOrUpdateParameters\n ): Promise<\n | CropVarietiesCreateOrUpdate200Response\n | CropVarietiesCreateOrUpdate201Response\n | CropVarietiesCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified crop variety resource under a particular crop. */\n delete(\n options?: CropVarietiesDeleteParameters\n ): Promise<CropVarietiesDelete204Response | CropVarietiesDeletedefaultResponse>;\n}\n\nexport interface FarmersList {\n /** Returns a paginated list of farmer resources. */\n get(\n options?: FarmersListParameters\n ): Promise<FarmersList200Response | FarmersListdefaultResponse>;\n}\n\nexport interface FarmersDelete {\n /** Gets a specified farmer resource. */\n get(options?: FarmersGetParameters): Promise<FarmersGet200Response | FarmersGetdefaultResponse>;\n /** Creates or updates a farmer resource. */\n patch(\n options?: FarmersCreateOrUpdateParameters\n ): Promise<\n | FarmersCreateOrUpdate200Response\n | FarmersCreateOrUpdate201Response\n | FarmersCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified farmer resource. */\n delete(\n options?: FarmersDeleteParameters\n ): Promise<FarmersDelete204Response | FarmersDeletedefaultResponse>;\n}\n\nexport interface FarmersCreateCascadeDeleteJob {\n /** Get a cascade delete job for specified farmer. */\n get(\n options?: FarmersGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FarmersGetCascadeDeleteJobDetails200Response | FarmersGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified farmer. */\n put(\n options?: FarmersCreateCascadeDeleteJobParameters\n ): Promise<\n FarmersCreateCascadeDeleteJob202Response | FarmersCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface FarmOperationsGetDataIngestionJobDetails {\n /** Create a farm operation data ingestion job. */\n put(\n options?: FarmOperationsCreateDataIngestionJobParameters\n ): Promise<\n | FarmOperationsCreateDataIngestionJob202Response\n | FarmOperationsCreateDataIngestionJobdefaultResponse\n >;\n /** Get a farm operation data ingestion job. */\n get(\n options?: FarmOperationsGetDataIngestionJobDetailsParameters\n ): Promise<\n | FarmOperationsGetDataIngestionJobDetails200Response\n | FarmOperationsGetDataIngestionJobDetailsdefaultResponse\n >;\n}\n\nexport interface FarmsListByFarmerId {\n /** Returns a paginated list of farm resources under a particular farmer. */\n get(\n options?: FarmsListByFarmerIdParameters\n ): Promise<FarmsListByFarmerId200Response | FarmsListByFarmerIddefaultResponse>;\n}\n\nexport interface FarmsList {\n /** Returns a paginated list of farm resources across all farmers. */\n get(options?: FarmsListParameters): Promise<FarmsList200Response | FarmsListdefaultResponse>;\n}\n\nexport interface FarmsDelete {\n /** Gets a specified farm resource under a particular farmer. */\n get(options?: FarmsGetParameters): Promise<FarmsGet200Response | FarmsGetdefaultResponse>;\n /** Creates or updates a farm resource under a particular farmer. */\n patch(\n options?: FarmsCreateOrUpdateParameters\n ): Promise<\n | FarmsCreateOrUpdate200Response\n | FarmsCreateOrUpdate201Response\n | FarmsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified farm resource under a particular farmer. */\n delete(\n options?: FarmsDeleteParameters\n ): Promise<FarmsDelete204Response | FarmsDeletedefaultResponse>;\n}\n\nexport interface FarmsCreateCascadeDeleteJob {\n /** Get a cascade delete job for specified farm. */\n get(\n options?: FarmsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FarmsGetCascadeDeleteJobDetails200Response | FarmsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified farm. */\n put(\n options?: FarmsCreateCascadeDeleteJobParameters\n ): Promise<FarmsCreateCascadeDeleteJob202Response | FarmsCreateCascadeDeleteJobdefaultResponse>;\n}\n\nexport interface FieldsListByFarmerId {\n /** Returns a paginated list of field resources under a particular farmer. */\n get(\n options?: FieldsListByFarmerIdParameters\n ): Promise<FieldsListByFarmerId200Response | FieldsListByFarmerIddefaultResponse>;\n}\n\nexport interface FieldsList {\n /** Returns a paginated list of field resources across all farmers. */\n get(options?: FieldsListParameters): Promise<FieldsList200Response | FieldsListdefaultResponse>;\n}\n\nexport interface FieldsDelete {\n /** Gets a specified field resource under a particular farmer. */\n get(options?: FieldsGetParameters): Promise<FieldsGet200Response | FieldsGetdefaultResponse>;\n /** Creates or Updates a field resource under a particular farmer. */\n patch(\n options?: FieldsCreateOrUpdateParameters\n ): Promise<\n | FieldsCreateOrUpdate200Response\n | FieldsCreateOrUpdate201Response\n | FieldsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified field resource under a particular farmer. */\n delete(\n options?: FieldsDeleteParameters\n ): Promise<FieldsDelete204Response | FieldsDeletedefaultResponse>;\n}\n\nexport interface FieldsCreateCascadeDeleteJob {\n /** Get a cascade delete job for specified field. */\n get(\n options?: FieldsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FieldsGetCascadeDeleteJobDetails200Response | FieldsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified field. */\n put(\n options?: FieldsCreateCascadeDeleteJobParameters\n ): Promise<FieldsCreateCascadeDeleteJob202Response | FieldsCreateCascadeDeleteJobdefaultResponse>;\n}\n\nexport interface HarvestDataListByFarmerId {\n /** Returns a paginated list of harvest data resources under a particular farm. */\n get(\n options?: HarvestDataListByFarmerIdParameters\n ): Promise<HarvestDataListByFarmerId200Response | HarvestDataListByFarmerIddefaultResponse>;\n}\n\nexport interface HarvestDataList {\n /** Returns a paginated list of harvest data resources across all farmers. */\n get(\n options?: HarvestDataListParameters\n ): Promise<HarvestDataList200Response | HarvestDataListdefaultResponse>;\n}\n\nexport interface HarvestDataDelete {\n /** Get a specified harvest data resource under a particular farmer. */\n get(\n options?: HarvestDataGetParameters\n ): Promise<HarvestDataGet200Response | HarvestDataGetdefaultResponse>;\n /** Creates or updates harvest data resource under a particular farmer. */\n patch(\n options?: HarvestDataCreateOrUpdateParameters\n ): Promise<\n | HarvestDataCreateOrUpdate200Response\n | HarvestDataCreateOrUpdate201Response\n | HarvestDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified harvest data resource under a particular farmer. */\n delete(\n options?: HarvestDataDeleteParameters\n ): Promise<HarvestDataDelete204Response | HarvestDataDeletedefaultResponse>;\n}\n\nexport interface ImageProcessingGetRasterizeJob {\n /** Create a ImageProcessing Rasterize job. */\n put(\n options?: ImageProcessingCreateRasterizeJobParameters\n ): Promise<\n ImageProcessingCreateRasterizeJob202Response | ImageProcessingCreateRasterizeJobdefaultResponse\n >;\n /** Get ImageProcessing Rasterize job's details. */\n get(\n options?: ImageProcessingGetRasterizeJobParameters\n ): Promise<ImageProcessingGetRasterizeJob200Response>;\n}\n\nexport interface OAuthProvidersList {\n /** Returns a paginated list of oauthProvider resources. */\n get(\n options?: OAuthProvidersListParameters\n ): Promise<OAuthProvidersList200Response | OAuthProvidersListdefaultResponse>;\n}\n\nexport interface OAuthProvidersDelete {\n /** Get a specified oauthProvider resource. */\n get(\n options?: OAuthProvidersGetParameters\n ): Promise<OAuthProvidersGet200Response | OAuthProvidersGetdefaultResponse>;\n /** Creates or updates an oauthProvider resource. */\n patch(\n options?: OAuthProvidersCreateOrUpdateParameters\n ): Promise<\n | OAuthProvidersCreateOrUpdate200Response\n | OAuthProvidersCreateOrUpdate201Response\n | OAuthProvidersCreateOrUpdatedefaultResponse\n >;\n /** Deletes an specified oauthProvider resource. */\n delete(\n options?: OAuthProvidersDeleteParameters\n ): Promise<OAuthProvidersDelete204Response | OAuthProvidersDeletedefaultResponse>;\n}\n\nexport interface OAuthTokensList {\n /** Returns a list of OAuthToken documents. */\n get(\n options?: OAuthTokensListParameters\n ): Promise<OAuthTokensList200Response | OAuthTokensListdefaultResponse>;\n}\n\nexport interface OAuthTokensGetOAuthConnectionLink {\n /** Returns Connection link needed in the OAuth flow. */\n post(\n options?: OAuthTokensGetOAuthConnectionLinkParameters\n ): Promise<\n OAuthTokensGetOAuthConnectionLink200Response | OAuthTokensGetOAuthConnectionLinkdefaultResponse\n >;\n}\n\nexport interface OAuthTokensCreateCascadeDeleteJob {\n /** Get cascade delete job details for OAuth tokens for specified job ID. */\n get(\n options?: OAuthTokensGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | OAuthTokensGetCascadeDeleteJobDetails200Response\n | OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for OAuth tokens. */\n put(\n options?: OAuthTokensCreateCascadeDeleteJobParameters\n ): Promise<\n OAuthTokensCreateCascadeDeleteJob202Response | OAuthTokensCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface PlantingDataListByFarmerId {\n /** Returns a paginated list of planting data resources under a particular farm. */\n get(\n options?: PlantingDataListByFarmerIdParameters\n ): Promise<PlantingDataListByFarmerId200Response | PlantingDataListByFarmerIddefaultResponse>;\n}\n\nexport interface PlantingDataList {\n /** Returns a paginated list of planting data resources across all farmers. */\n get(\n options?: PlantingDataListParameters\n ): Promise<PlantingDataList200Response | PlantingDataListdefaultResponse>;\n}\n\nexport interface PlantingDataDelete {\n /** Get a specified planting data resource under a particular farmer. */\n get(\n options?: PlantingDataGetParameters\n ): Promise<PlantingDataGet200Response | PlantingDataGetdefaultResponse>;\n /** Creates or updates an planting data resource under a particular farmer. */\n patch(\n options?: PlantingDataCreateOrUpdateParameters\n ): Promise<\n | PlantingDataCreateOrUpdate200Response\n | PlantingDataCreateOrUpdate201Response\n | PlantingDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified planting data resource under a particular farmer. */\n delete(\n options?: PlantingDataDeleteParameters\n ): Promise<PlantingDataDelete204Response | PlantingDataDeletedefaultResponse>;\n}\n\nexport interface ScenesList {\n /** Returns a paginated list of scene resources. */\n get(options?: ScenesListParameters): Promise<ScenesList200Response | ScenesListdefaultResponse>;\n}\n\nexport interface ScenesGetSatelliteDataIngestionJobDetails {\n /** Create a satellite data ingestion job. */\n put(\n options?: ScenesCreateSatelliteDataIngestionJobParameters\n ): Promise<\n | ScenesCreateSatelliteDataIngestionJob202Response\n | ScenesCreateSatelliteDataIngestionJobdefaultResponse\n >;\n /** Get a satellite data ingestion job. */\n get(\n options?: ScenesGetSatelliteDataIngestionJobDetailsParameters\n ): Promise<\n | ScenesGetSatelliteDataIngestionJobDetails200Response\n | ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse\n >;\n}\n\nexport interface ScenesDownload {\n /** Downloads and returns file stream as response for the given input filePath. */\n get(\n options?: ScenesDownloadParameters\n ): Promise<ScenesDownload200Response | ScenesDownloaddefaultResponse>;\n}\n\nexport interface SeasonalFieldsListByFarmerId {\n /** Returns a paginated list of seasonal field resources under a particular farmer. */\n get(\n options?: SeasonalFieldsListByFarmerIdParameters\n ): Promise<SeasonalFieldsListByFarmerId200Response | SeasonalFieldsListByFarmerIddefaultResponse>;\n}\n\nexport interface SeasonalFieldsList {\n /** Returns a paginated list of seasonal field resources across all farmers. */\n get(\n options?: SeasonalFieldsListParameters\n ): Promise<SeasonalFieldsList200Response | SeasonalFieldsListdefaultResponse>;\n}\n\nexport interface SeasonalFieldsDelete {\n /** Gets a specified seasonal field resource under a particular farmer. */\n get(\n options?: SeasonalFieldsGetParameters\n ): Promise<SeasonalFieldsGet200Response | SeasonalFieldsGetdefaultResponse>;\n /** Creates or Updates a seasonal field resource under a particular farmer. */\n patch(\n options?: SeasonalFieldsCreateOrUpdateParameters\n ): Promise<\n | SeasonalFieldsCreateOrUpdate200Response\n | SeasonalFieldsCreateOrUpdate201Response\n | SeasonalFieldsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified seasonal-field resource under a particular farmer. */\n delete(\n options?: SeasonalFieldsDeleteParameters\n ): Promise<SeasonalFieldsDelete204Response | SeasonalFieldsDeletedefaultResponse>;\n}\n\nexport interface SeasonalFieldsCreateCascadeDeleteJob {\n /** Get cascade delete job for specified seasonal field. */\n get(\n options?: SeasonalFieldsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | SeasonalFieldsGetCascadeDeleteJobDetails200Response\n | SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified seasonal field. */\n put(\n options?: SeasonalFieldsCreateCascadeDeleteJobParameters\n ): Promise<\n | SeasonalFieldsCreateCascadeDeleteJob202Response\n | SeasonalFieldsCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface SeasonsList {\n /** Returns a paginated list of season resources. */\n get(\n options?: SeasonsListParameters\n ): Promise<SeasonsList200Response | SeasonsListdefaultResponse>;\n}\n\nexport interface SeasonsDelete {\n /** Gets a specified season resource. */\n get(options?: SeasonsGetParameters): Promise<SeasonsGet200Response | SeasonsGetdefaultResponse>;\n /** Creates or updates a season resource. */\n patch(\n options?: SeasonsCreateOrUpdateParameters\n ): Promise<\n | SeasonsCreateOrUpdate200Response\n | SeasonsCreateOrUpdate201Response\n | SeasonsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified season resource. */\n delete(\n options?: SeasonsDeleteParameters\n ): Promise<SeasonsDelete204Response | SeasonsDeletedefaultResponse>;\n}\n\nexport interface TillageDataListByFarmerId {\n /** Returns a paginated list of tillage data resources under a particular farm. */\n get(\n options?: TillageDataListByFarmerIdParameters\n ): Promise<TillageDataListByFarmerId200Response | TillageDataListByFarmerIddefaultResponse>;\n}\n\nexport interface TillageDataList {\n /** Returns a paginated list of tillage data resources across all farmers. */\n get(\n options?: TillageDataListParameters\n ): Promise<TillageDataList200Response | TillageDataListdefaultResponse>;\n}\n\nexport interface TillageDataDelete {\n /** Get a specified tillage data resource under a particular farmer. */\n get(\n options?: TillageDataGetParameters\n ): Promise<TillageDataGet200Response | TillageDataGetdefaultResponse>;\n /** Creates or updates an tillage data resource under a particular farmer. */\n patch(\n options?: TillageDataCreateOrUpdateParameters\n ): Promise<\n | TillageDataCreateOrUpdate200Response\n | TillageDataCreateOrUpdate201Response\n | TillageDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified tillage data resource under a particular farmer. */\n delete(\n options?: TillageDataDeleteParameters\n ): Promise<TillageDataDelete204Response | TillageDataDeletedefaultResponse>;\n}\n\nexport interface WeatherList {\n /** Returns a paginated list of weather data. */\n get(\n options?: WeatherListParameters\n ): Promise<WeatherList200Response | WeatherListdefaultResponse>;\n}\n\nexport interface WeatherCreateDataIngestionJob {\n /** Get weather ingestion job. */\n get(\n options?: WeatherGetDataIngestionJobDetailsParameters\n ): Promise<\n WeatherGetDataIngestionJobDetails200Response | WeatherGetDataIngestionJobDetailsdefaultResponse\n >;\n /** Create a weather data ingestion job. */\n put(\n options?: WeatherCreateDataIngestionJobParameters\n ): Promise<\n WeatherCreateDataIngestionJob202Response | WeatherCreateDataIngestionJobdefaultResponse\n >;\n}\n\nexport interface WeatherCreateDataDeleteJob {\n /** Get weather data delete job. */\n get(\n options?: WeatherGetDataDeleteJobDetailsParameters\n ): Promise<\n WeatherGetDataDeleteJobDetails200Response | WeatherGetDataDeleteJobDetailsdefaultResponse\n >;\n /** Create a weather data delete job. */\n put(\n options?: WeatherCreateDataDeleteJobParameters\n ): Promise<WeatherCreateDataDeleteJob202Response | WeatherCreateDataDeleteJobdefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/farmers/\\{farmerId\\}/application-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/application-data\", farmerId: string): ApplicationDataListByFarmerId;\n /** Resource for '/application-data' has methods for the following verbs: get */\n (path: \"/application-data\"): ApplicationDataList;\n /** Resource for '/farmers/\\{farmerId\\}/application-data/\\{applicationDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/application-data/{applicationDataId}\",\n farmerId: string,\n applicationDataId: string\n ): ApplicationDataDelete;\n /** Resource for '/farmers/\\{farmerId\\}/attachments' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/attachments\", farmerId: string): AttachmentsListByFarmerId;\n /** Resource for '/farmers/\\{farmerId\\}/attachments/\\{attachmentId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/attachments/{attachmentId}\",\n farmerId: string,\n attachmentId: string\n ): AttachmentsDelete;\n /** Resource for '/farmers/\\{farmerId\\}/attachments/\\{attachmentId\\}/file' has methods for the following verbs: get */\n (\n path: \"/farmers/{farmerId}/attachments/{attachmentId}/file\",\n farmerId: string,\n attachmentId: string\n ): AttachmentsDownload;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries' has methods for the following verbs: get, post */\n (path: \"/farmers/{farmerId}/boundaries\", farmerId: string): BoundariesSearchByFarmerId;\n /** Resource for '/boundaries' has methods for the following verbs: get, post */\n (path: \"/boundaries\"): BoundariesSearch;\n /** Resource for '/boundaries/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/boundaries/cascade-delete/{jobId}\", jobId: string): BoundariesCreateCascadeDeleteJob;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries/\\{boundaryId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/boundaries/{boundaryId}\",\n farmerId: string,\n boundaryId: string\n ): BoundariesDelete;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries/\\{boundaryId\\}/overlap' has methods for the following verbs: get */\n (\n path: \"/farmers/{farmerId}/boundaries/{boundaryId}/overlap\",\n farmerId: string,\n boundaryId: string\n ): BoundariesGetOverlap;\n /** Resource for '/crops' has methods for the following verbs: get */\n (path: \"/crops\"): CropsList;\n /** Resource for '/crops/\\{cropId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/crops/{cropId}\", cropId: string): CropsDelete;\n /** Resource for '/crops/\\{cropId\\}/crop-varieties' has methods for the following verbs: get */\n (path: \"/crops/{cropId}/crop-varieties\", cropId: string): CropVarietiesListByCropId;\n /** Resource for '/crop-varieties' has methods for the following verbs: get */\n (path: \"/crop-varieties\"): CropVarietiesList;\n /** Resource for '/crops/\\{cropId\\}/crop-varieties/\\{cropVarietyId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/crops/{cropId}/crop-varieties/{cropVarietyId}\",\n cropId: string,\n cropVarietyId: string\n ): CropVarietiesDelete;\n /** Resource for '/farmers' has methods for the following verbs: get */\n (path: \"/farmers\"): FarmersList;\n /** Resource for '/farmers/\\{farmerId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}\", farmerId: string): FarmersDelete;\n /** Resource for '/farmers/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/farmers/cascade-delete/{jobId}\", jobId: string): FarmersCreateCascadeDeleteJob;\n /** Resource for '/farm-operations/ingest-data/\\{jobId\\}' has methods for the following verbs: put, get */\n (\n path: \"/farm-operations/ingest-data/{jobId}\",\n jobId: string\n ): FarmOperationsGetDataIngestionJobDetails;\n /** Resource for '/farmers/\\{farmerId\\}/farms' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/farms\", farmerId: string): FarmsListByFarmerId;\n /** Resource for '/farms' has methods for the following verbs: get */\n (path: \"/farms\"): FarmsList;\n /** Resource for '/farmers/\\{farmerId\\}/farms/\\{farmId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}/farms/{farmId}\", farmerId: string, farmId: string): FarmsDelete;\n /** Resource for '/farms/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/farms/cascade-delete/{jobId}\", jobId: string): FarmsCreateCascadeDeleteJob;\n /** Resource for '/farmers/\\{farmerId\\}/fields' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/fields\", farmerId: string): FieldsListByFarmerId;\n /** Resource for '/fields' has methods for the following verbs: get */\n (path: \"/fields\"): FieldsList;\n /** Resource for '/farmers/\\{farmerId\\}/fields/\\{fieldId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}/fields/{fieldId}\", farmerId: string, fieldId: string): FieldsDelete;\n /** Resource for '/fields/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/fields/cascade-delete/{jobId}\", jobId: string): FieldsCreateCascadeDeleteJob;\n /** Resource for '/farmers/\\{farmerId\\}/harvest-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/harvest-data\", farmerId: string): HarvestDataListByFarmerId;\n /** Resource for '/harvest-data' has methods for the following verbs: get */\n (path: \"/harvest-data\"): HarvestDataList;\n /** Resource for '/farmers/\\{farmerId\\}/harvest-data/\\{harvestDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/harvest-data/{harvestDataId}\",\n farmerId: string,\n harvestDataId: string\n ): HarvestDataDelete;\n /** Resource for '/image-processing/rasterize/\\{jobId\\}' has methods for the following verbs: put, get */\n (path: \"/image-processing/rasterize/{jobId}\", jobId: string): ImageProcessingGetRasterizeJob;\n /** Resource for '/oauth/providers' has methods for the following verbs: get */\n (path: \"/oauth/providers\"): OAuthProvidersList;\n /** Resource for '/oauth/providers/\\{oauthProviderId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/oauth/providers/{oauthProviderId}\", oauthProviderId: string): OAuthProvidersDelete;\n /** Resource for '/oauth/tokens' has methods for the following verbs: get */\n (path: \"/oauth/tokens\"): OAuthTokensList;\n /** Resource for '/oauth/tokens/:connect' has methods for the following verbs: post */\n (path: \"/oauth/tokens/:connect\"): OAuthTokensGetOAuthConnectionLink;\n /** Resource for '/oauth/tokens/remove/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/oauth/tokens/remove/{jobId}\", jobId: string): OAuthTokensCreateCascadeDeleteJob;\n /** Resource for '/farmers/\\{farmerId\\}/planting-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/planting-data\", farmerId: string): PlantingDataListByFarmerId;\n /** Resource for '/planting-data' has methods for the following verbs: get */\n (path: \"/planting-data\"): PlantingDataList;\n /** Resource for '/farmers/\\{farmerId\\}/planting-data/\\{plantingDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/planting-data/{plantingDataId}\",\n farmerId: string,\n plantingDataId: string\n ): PlantingDataDelete;\n /** Resource for '/scenes' has methods for the following verbs: get */\n (path: \"/scenes\"): ScenesList;\n /** Resource for '/scenes/satellite/ingest-data/\\{jobId\\}' has methods for the following verbs: put, get */\n (\n path: \"/scenes/satellite/ingest-data/{jobId}\",\n jobId: string\n ): ScenesGetSatelliteDataIngestionJobDetails;\n /** Resource for '/scenes/downloadFiles' has methods for the following verbs: get */\n (path: \"/scenes/downloadFiles\"): ScenesDownload;\n /** Resource for '/farmers/\\{farmerId\\}/seasonal-fields' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/seasonal-fields\", farmerId: string): SeasonalFieldsListByFarmerId;\n /** Resource for '/seasonal-fields' has methods for the following verbs: get */\n (path: \"/seasonal-fields\"): SeasonalFieldsList;\n /** Resource for '/farmers/\\{farmerId\\}/seasonal-fields/\\{seasonalFieldId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/seasonal-fields/{seasonalFieldId}\",\n farmerId: string,\n seasonalFieldId: string\n ): SeasonalFieldsDelete;\n /** Resource for '/seasonal-fields/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (\n path: \"/seasonal-fields/cascade-delete/{jobId}\",\n jobId: string\n ): SeasonalFieldsCreateCascadeDeleteJob;\n /** Resource for '/seasons' has methods for the following verbs: get */\n (path: \"/seasons\"): SeasonsList;\n /** Resource for '/seasons/\\{seasonId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/seasons/{seasonId}\", seasonId: string): SeasonsDelete;\n /** Resource for '/farmers/\\{farmerId\\}/tillage-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/tillage-data\", farmerId: string): TillageDataListByFarmerId;\n /** Resource for '/tillage-data' has methods for the following verbs: get */\n (path: \"/tillage-data\"): TillageDataList;\n /** Resource for '/farmers/\\{farmerId\\}/tillage-data/\\{tillageDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/tillage-data/{tillageDataId}\",\n farmerId: string,\n tillageDataId: string\n ): TillageDataDelete;\n /** Resource for '/weather' has methods for the following verbs: get */\n (path: \"/weather\"): WeatherList;\n /** Resource for '/weather/ingest-data/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/weather/ingest-data/{jobId}\", jobId: string): WeatherCreateDataIngestionJob;\n /** Resource for '/weather/delete-data/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/weather/delete-data/{jobId}\", jobId: string): WeatherCreateDataDeleteJob;\n}\n\nexport type FarmBeatsRestClient = Client & {\n path: Routes;\n};\n\nexport default function FarmBeats(\n Endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {}\n): FarmBeatsRestClient {\n const baseUrl = options.baseUrl ?? `${Endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2021-03-31-preview\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://farmbeats.azure.net/.default\"],\n },\n };\n\n return getClient(baseUrl, credentials, options) as FarmBeatsRestClient;\n}\n"]}
1
+ {"version":3,"file":"farmBeats.js","sourceRoot":"","sources":["../../src/farmBeats.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAmTlC,OAAO,EAAE,SAAS,EAAyB,MAAM,yBAAyB,CAAC;AAkyB3E,MAAM,CAAC,OAAO,UAAU,SAAS,CAC/B,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,GAAG,QAAQ,EAAE,CAAC;IACjD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,oBAAoB,CAAC;IAChE,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,sCAAsC,CAAC;SACjD,GACF,CAAC;IAEF,OAAO,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAwB,CAAC;AACzE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n ApplicationDataListByFarmerIdParameters,\n ApplicationDataListParameters,\n ApplicationDataGetParameters,\n ApplicationDataCreateOrUpdateParameters,\n ApplicationDataDeleteParameters,\n AttachmentsListByFarmerIdParameters,\n AttachmentsGetParameters,\n AttachmentsCreateOrUpdateParameters,\n AttachmentsDeleteParameters,\n AttachmentsDownloadParameters,\n BoundariesListByFarmerIdParameters,\n BoundariesSearchByFarmerIdParameters,\n BoundariesListParameters,\n BoundariesSearchParameters,\n BoundariesGetCascadeDeleteJobDetailsParameters,\n BoundariesCreateCascadeDeleteJobParameters,\n BoundariesGetParameters,\n BoundariesCreateOrUpdateParameters,\n BoundariesDeleteParameters,\n BoundariesGetOverlapParameters,\n CropsListParameters,\n CropsGetParameters,\n CropsCreateOrUpdateParameters,\n CropsDeleteParameters,\n CropVarietiesListByCropIdParameters,\n CropVarietiesListParameters,\n CropVarietiesGetParameters,\n CropVarietiesCreateOrUpdateParameters,\n CropVarietiesDeleteParameters,\n FarmersListParameters,\n FarmersGetParameters,\n FarmersCreateOrUpdateParameters,\n FarmersDeleteParameters,\n FarmersGetCascadeDeleteJobDetailsParameters,\n FarmersCreateCascadeDeleteJobParameters,\n FarmOperationsCreateDataIngestionJobParameters,\n FarmOperationsGetDataIngestionJobDetailsParameters,\n FarmsListByFarmerIdParameters,\n FarmsListParameters,\n FarmsGetParameters,\n FarmsCreateOrUpdateParameters,\n FarmsDeleteParameters,\n FarmsGetCascadeDeleteJobDetailsParameters,\n FarmsCreateCascadeDeleteJobParameters,\n FieldsListByFarmerIdParameters,\n FieldsListParameters,\n FieldsGetParameters,\n FieldsCreateOrUpdateParameters,\n FieldsDeleteParameters,\n FieldsGetCascadeDeleteJobDetailsParameters,\n FieldsCreateCascadeDeleteJobParameters,\n HarvestDataListByFarmerIdParameters,\n HarvestDataListParameters,\n HarvestDataGetParameters,\n HarvestDataCreateOrUpdateParameters,\n HarvestDataDeleteParameters,\n ImageProcessingCreateRasterizeJobParameters,\n ImageProcessingGetRasterizeJobParameters,\n OAuthProvidersListParameters,\n OAuthProvidersGetParameters,\n OAuthProvidersCreateOrUpdateParameters,\n OAuthProvidersDeleteParameters,\n OAuthTokensListParameters,\n OAuthTokensGetOAuthConnectionLinkParameters,\n OAuthTokensGetCascadeDeleteJobDetailsParameters,\n OAuthTokensCreateCascadeDeleteJobParameters,\n PlantingDataListByFarmerIdParameters,\n PlantingDataListParameters,\n PlantingDataGetParameters,\n PlantingDataCreateOrUpdateParameters,\n PlantingDataDeleteParameters,\n ScenesListParameters,\n ScenesCreateSatelliteDataIngestionJobParameters,\n ScenesGetSatelliteDataIngestionJobDetailsParameters,\n ScenesDownloadParameters,\n SeasonalFieldsListByFarmerIdParameters,\n SeasonalFieldsListParameters,\n SeasonalFieldsGetParameters,\n SeasonalFieldsCreateOrUpdateParameters,\n SeasonalFieldsDeleteParameters,\n SeasonalFieldsGetCascadeDeleteJobDetailsParameters,\n SeasonalFieldsCreateCascadeDeleteJobParameters,\n SeasonsListParameters,\n SeasonsGetParameters,\n SeasonsCreateOrUpdateParameters,\n SeasonsDeleteParameters,\n TillageDataListByFarmerIdParameters,\n TillageDataListParameters,\n TillageDataGetParameters,\n TillageDataCreateOrUpdateParameters,\n TillageDataDeleteParameters,\n WeatherListParameters,\n WeatherGetDataIngestionJobDetailsParameters,\n WeatherCreateDataIngestionJobParameters,\n WeatherGetDataDeleteJobDetailsParameters,\n WeatherCreateDataDeleteJobParameters,\n} from \"./parameters\";\nimport {\n ApplicationDataListByFarmerId200Response,\n ApplicationDataListByFarmerIddefaultResponse,\n ApplicationDataList200Response,\n ApplicationDataListdefaultResponse,\n ApplicationDataGet200Response,\n ApplicationDataGetdefaultResponse,\n ApplicationDataCreateOrUpdate200Response,\n ApplicationDataCreateOrUpdate201Response,\n ApplicationDataCreateOrUpdatedefaultResponse,\n ApplicationDataDelete204Response,\n ApplicationDataDeletedefaultResponse,\n AttachmentsListByFarmerId200Response,\n AttachmentsListByFarmerIddefaultResponse,\n AttachmentsGet200Response,\n AttachmentsGetdefaultResponse,\n AttachmentsCreateOrUpdate200Response,\n AttachmentsCreateOrUpdate201Response,\n AttachmentsCreateOrUpdatedefaultResponse,\n AttachmentsDelete204Response,\n AttachmentsDeletedefaultResponse,\n AttachmentsDownload200Response,\n AttachmentsDownloaddefaultResponse,\n BoundariesListByFarmerId200Response,\n BoundariesListByFarmerIddefaultResponse,\n BoundariesSearchByFarmerId200Response,\n BoundariesSearchByFarmerIddefaultResponse,\n BoundariesList200Response,\n BoundariesListdefaultResponse,\n BoundariesSearch200Response,\n BoundariesSearchdefaultResponse,\n BoundariesGetCascadeDeleteJobDetails200Response,\n BoundariesGetCascadeDeleteJobDetailsdefaultResponse,\n BoundariesCreateCascadeDeleteJob202Response,\n BoundariesCreateCascadeDeleteJobdefaultResponse,\n BoundariesGet200Response,\n BoundariesGetdefaultResponse,\n BoundariesCreateOrUpdate200Response,\n BoundariesCreateOrUpdate201Response,\n BoundariesCreateOrUpdatedefaultResponse,\n BoundariesDelete204Response,\n BoundariesDeletedefaultResponse,\n BoundariesGetOverlap200Response,\n BoundariesGetOverlapdefaultResponse,\n CropsList200Response,\n CropsListdefaultResponse,\n CropsGet200Response,\n CropsGetdefaultResponse,\n CropsCreateOrUpdate200Response,\n CropsCreateOrUpdate201Response,\n CropsCreateOrUpdatedefaultResponse,\n CropsDelete204Response,\n CropsDeletedefaultResponse,\n CropVarietiesListByCropId200Response,\n CropVarietiesListByCropIddefaultResponse,\n CropVarietiesList200Response,\n CropVarietiesListdefaultResponse,\n CropVarietiesGet200Response,\n CropVarietiesGetdefaultResponse,\n CropVarietiesCreateOrUpdate200Response,\n CropVarietiesCreateOrUpdate201Response,\n CropVarietiesCreateOrUpdatedefaultResponse,\n CropVarietiesDelete204Response,\n CropVarietiesDeletedefaultResponse,\n FarmersList200Response,\n FarmersListdefaultResponse,\n FarmersGet200Response,\n FarmersGetdefaultResponse,\n FarmersCreateOrUpdate200Response,\n FarmersCreateOrUpdate201Response,\n FarmersCreateOrUpdatedefaultResponse,\n FarmersDelete204Response,\n FarmersDeletedefaultResponse,\n FarmersGetCascadeDeleteJobDetails200Response,\n FarmersGetCascadeDeleteJobDetailsdefaultResponse,\n FarmersCreateCascadeDeleteJob202Response,\n FarmersCreateCascadeDeleteJobdefaultResponse,\n FarmOperationsCreateDataIngestionJob202Response,\n FarmOperationsCreateDataIngestionJobdefaultResponse,\n FarmOperationsGetDataIngestionJobDetails200Response,\n FarmOperationsGetDataIngestionJobDetailsdefaultResponse,\n FarmsListByFarmerId200Response,\n FarmsListByFarmerIddefaultResponse,\n FarmsList200Response,\n FarmsListdefaultResponse,\n FarmsGet200Response,\n FarmsGetdefaultResponse,\n FarmsCreateOrUpdate200Response,\n FarmsCreateOrUpdate201Response,\n FarmsCreateOrUpdatedefaultResponse,\n FarmsDelete204Response,\n FarmsDeletedefaultResponse,\n FarmsGetCascadeDeleteJobDetails200Response,\n FarmsGetCascadeDeleteJobDetailsdefaultResponse,\n FarmsCreateCascadeDeleteJob202Response,\n FarmsCreateCascadeDeleteJobdefaultResponse,\n FieldsListByFarmerId200Response,\n FieldsListByFarmerIddefaultResponse,\n FieldsList200Response,\n FieldsListdefaultResponse,\n FieldsGet200Response,\n FieldsGetdefaultResponse,\n FieldsCreateOrUpdate200Response,\n FieldsCreateOrUpdate201Response,\n FieldsCreateOrUpdatedefaultResponse,\n FieldsDelete204Response,\n FieldsDeletedefaultResponse,\n FieldsGetCascadeDeleteJobDetails200Response,\n FieldsGetCascadeDeleteJobDetailsdefaultResponse,\n FieldsCreateCascadeDeleteJob202Response,\n FieldsCreateCascadeDeleteJobdefaultResponse,\n HarvestDataListByFarmerId200Response,\n HarvestDataListByFarmerIddefaultResponse,\n HarvestDataList200Response,\n HarvestDataListdefaultResponse,\n HarvestDataGet200Response,\n HarvestDataGetdefaultResponse,\n HarvestDataCreateOrUpdate200Response,\n HarvestDataCreateOrUpdate201Response,\n HarvestDataCreateOrUpdatedefaultResponse,\n HarvestDataDelete204Response,\n HarvestDataDeletedefaultResponse,\n ImageProcessingCreateRasterizeJob202Response,\n ImageProcessingCreateRasterizeJobdefaultResponse,\n ImageProcessingGetRasterizeJob200Response,\n OAuthProvidersList200Response,\n OAuthProvidersListdefaultResponse,\n OAuthProvidersGet200Response,\n OAuthProvidersGetdefaultResponse,\n OAuthProvidersCreateOrUpdate200Response,\n OAuthProvidersCreateOrUpdate201Response,\n OAuthProvidersCreateOrUpdatedefaultResponse,\n OAuthProvidersDelete204Response,\n OAuthProvidersDeletedefaultResponse,\n OAuthTokensList200Response,\n OAuthTokensListdefaultResponse,\n OAuthTokensGetOAuthConnectionLink200Response,\n OAuthTokensGetOAuthConnectionLinkdefaultResponse,\n OAuthTokensGetCascadeDeleteJobDetails200Response,\n OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse,\n OAuthTokensCreateCascadeDeleteJob202Response,\n OAuthTokensCreateCascadeDeleteJobdefaultResponse,\n PlantingDataListByFarmerId200Response,\n PlantingDataListByFarmerIddefaultResponse,\n PlantingDataList200Response,\n PlantingDataListdefaultResponse,\n PlantingDataGet200Response,\n PlantingDataGetdefaultResponse,\n PlantingDataCreateOrUpdate200Response,\n PlantingDataCreateOrUpdate201Response,\n PlantingDataCreateOrUpdatedefaultResponse,\n PlantingDataDelete204Response,\n PlantingDataDeletedefaultResponse,\n ScenesList200Response,\n ScenesListdefaultResponse,\n ScenesCreateSatelliteDataIngestionJob202Response,\n ScenesCreateSatelliteDataIngestionJobdefaultResponse,\n ScenesGetSatelliteDataIngestionJobDetails200Response,\n ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse,\n ScenesDownload200Response,\n ScenesDownloaddefaultResponse,\n SeasonalFieldsListByFarmerId200Response,\n SeasonalFieldsListByFarmerIddefaultResponse,\n SeasonalFieldsList200Response,\n SeasonalFieldsListdefaultResponse,\n SeasonalFieldsGet200Response,\n SeasonalFieldsGetdefaultResponse,\n SeasonalFieldsCreateOrUpdate200Response,\n SeasonalFieldsCreateOrUpdate201Response,\n SeasonalFieldsCreateOrUpdatedefaultResponse,\n SeasonalFieldsDelete204Response,\n SeasonalFieldsDeletedefaultResponse,\n SeasonalFieldsGetCascadeDeleteJobDetails200Response,\n SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse,\n SeasonalFieldsCreateCascadeDeleteJob202Response,\n SeasonalFieldsCreateCascadeDeleteJobdefaultResponse,\n SeasonsList200Response,\n SeasonsListdefaultResponse,\n SeasonsGet200Response,\n SeasonsGetdefaultResponse,\n SeasonsCreateOrUpdate200Response,\n SeasonsCreateOrUpdate201Response,\n SeasonsCreateOrUpdatedefaultResponse,\n SeasonsDelete204Response,\n SeasonsDeletedefaultResponse,\n TillageDataListByFarmerId200Response,\n TillageDataListByFarmerIddefaultResponse,\n TillageDataList200Response,\n TillageDataListdefaultResponse,\n TillageDataGet200Response,\n TillageDataGetdefaultResponse,\n TillageDataCreateOrUpdate200Response,\n TillageDataCreateOrUpdate201Response,\n TillageDataCreateOrUpdatedefaultResponse,\n TillageDataDelete204Response,\n TillageDataDeletedefaultResponse,\n WeatherList200Response,\n WeatherListdefaultResponse,\n WeatherGetDataIngestionJobDetails200Response,\n WeatherGetDataIngestionJobDetailsdefaultResponse,\n WeatherCreateDataIngestionJob202Response,\n WeatherCreateDataIngestionJobdefaultResponse,\n WeatherGetDataDeleteJobDetails200Response,\n WeatherGetDataDeleteJobDetailsdefaultResponse,\n WeatherCreateDataDeleteJob202Response,\n WeatherCreateDataDeleteJobdefaultResponse,\n} from \"./responses\";\nimport { getClient, ClientOptions, Client } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface ApplicationDataListByFarmerId {\n /** Returns a paginated list of application data resources under a particular farm. */\n get(\n options?: ApplicationDataListByFarmerIdParameters\n ): Promise<\n ApplicationDataListByFarmerId200Response | ApplicationDataListByFarmerIddefaultResponse\n >;\n}\n\nexport interface ApplicationDataList {\n /** Returns a paginated list of application data resources across all farmers. */\n get(\n options?: ApplicationDataListParameters\n ): Promise<ApplicationDataList200Response | ApplicationDataListdefaultResponse>;\n}\n\nexport interface ApplicationDataGet {\n /** Get a specified application data resource under a particular farmer. */\n get(\n options?: ApplicationDataGetParameters\n ): Promise<ApplicationDataGet200Response | ApplicationDataGetdefaultResponse>;\n /** Creates or updates an application data resource under a particular farmer. */\n patch(\n options?: ApplicationDataCreateOrUpdateParameters\n ): Promise<\n | ApplicationDataCreateOrUpdate200Response\n | ApplicationDataCreateOrUpdate201Response\n | ApplicationDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified application data resource under a particular farmer. */\n delete(\n options?: ApplicationDataDeleteParameters\n ): Promise<ApplicationDataDelete204Response | ApplicationDataDeletedefaultResponse>;\n}\n\nexport interface AttachmentsListByFarmerId {\n /** Returns a paginated list of attachment resources under a particular farmer. */\n get(\n options?: AttachmentsListByFarmerIdParameters\n ): Promise<AttachmentsListByFarmerId200Response | AttachmentsListByFarmerIddefaultResponse>;\n}\n\nexport interface AttachmentsGet {\n /** Gets a specified attachment resource under a particular farmer. */\n get(\n options?: AttachmentsGetParameters\n ): Promise<AttachmentsGet200Response | AttachmentsGetdefaultResponse>;\n /** Creates or updates an attachment resource under a particular farmer. */\n patch(\n options?: AttachmentsCreateOrUpdateParameters\n ): Promise<\n | AttachmentsCreateOrUpdate200Response\n | AttachmentsCreateOrUpdate201Response\n | AttachmentsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified attachment resource under a particular farmer. */\n delete(\n options?: AttachmentsDeleteParameters\n ): Promise<AttachmentsDelete204Response | AttachmentsDeletedefaultResponse>;\n}\n\nexport interface AttachmentsDownload {\n /** Downloads and returns attachment as response for the given input filePath. */\n get(\n options?: AttachmentsDownloadParameters\n ): Promise<AttachmentsDownload200Response | AttachmentsDownloaddefaultResponse>;\n}\n\nexport interface BoundariesListByFarmerId {\n /** Returns a paginated list of boundary resources under a particular farmer. */\n get(\n options?: BoundariesListByFarmerIdParameters\n ): Promise<BoundariesListByFarmerId200Response | BoundariesListByFarmerIddefaultResponse>;\n /** Search for boundaries by fields and intersecting geometry. */\n post(\n options?: BoundariesSearchByFarmerIdParameters\n ): Promise<BoundariesSearchByFarmerId200Response | BoundariesSearchByFarmerIddefaultResponse>;\n}\n\nexport interface BoundariesList {\n /** Returns a paginated list of boundary resources across all farmers. */\n get(\n options?: BoundariesListParameters\n ): Promise<BoundariesList200Response | BoundariesListdefaultResponse>;\n /** Search for boundaries across all farmers by fields and intersecting geometry. */\n post(\n options?: BoundariesSearchParameters\n ): Promise<BoundariesSearch200Response | BoundariesSearchdefaultResponse>;\n}\n\nexport interface BoundariesGetCascadeDeleteJobDetails {\n /** Get cascade delete job for specified boundary. */\n get(\n options?: BoundariesGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | BoundariesGetCascadeDeleteJobDetails200Response\n | BoundariesGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified boundary. */\n put(\n options: BoundariesCreateCascadeDeleteJobParameters\n ): Promise<\n BoundariesCreateCascadeDeleteJob202Response | BoundariesCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface BoundariesGet {\n /** Gets a specified boundary resource under a particular farmer. */\n get(\n options?: BoundariesGetParameters\n ): Promise<BoundariesGet200Response | BoundariesGetdefaultResponse>;\n /** Creates or updates a boundary resource. */\n patch(\n options?: BoundariesCreateOrUpdateParameters\n ): Promise<\n | BoundariesCreateOrUpdate200Response\n | BoundariesCreateOrUpdate201Response\n | BoundariesCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified boundary resource under a particular farmer. */\n delete(\n options?: BoundariesDeleteParameters\n ): Promise<BoundariesDelete204Response | BoundariesDeletedefaultResponse>;\n}\n\nexport interface BoundariesGetOverlap {\n /** Returns overlapping acreage between two boundary Ids. */\n get(\n options: BoundariesGetOverlapParameters\n ): Promise<BoundariesGetOverlap200Response | BoundariesGetOverlapdefaultResponse>;\n}\n\nexport interface CropsList {\n /** Returns a paginated list of crop resources. */\n get(options?: CropsListParameters): Promise<CropsList200Response | CropsListdefaultResponse>;\n}\n\nexport interface CropsGet {\n /** Gets a specified crop resource. */\n get(options?: CropsGetParameters): Promise<CropsGet200Response | CropsGetdefaultResponse>;\n /** Creates or updates a crop resource. */\n patch(\n options?: CropsCreateOrUpdateParameters\n ): Promise<\n | CropsCreateOrUpdate200Response\n | CropsCreateOrUpdate201Response\n | CropsCreateOrUpdatedefaultResponse\n >;\n /** Deletes Crop for given crop id. */\n delete(\n options?: CropsDeleteParameters\n ): Promise<CropsDelete204Response | CropsDeletedefaultResponse>;\n}\n\nexport interface CropVarietiesListByCropId {\n /** Returns a paginated list of crop variety resources under a particular crop. */\n get(\n options?: CropVarietiesListByCropIdParameters\n ): Promise<CropVarietiesListByCropId200Response | CropVarietiesListByCropIddefaultResponse>;\n}\n\nexport interface CropVarietiesList {\n /** Returns a paginated list of crop variety resources across all crops. */\n get(\n options?: CropVarietiesListParameters\n ): Promise<CropVarietiesList200Response | CropVarietiesListdefaultResponse>;\n}\n\nexport interface CropVarietiesGet {\n /** Gets a specified crop variety resource under a particular crop. */\n get(\n options?: CropVarietiesGetParameters\n ): Promise<CropVarietiesGet200Response | CropVarietiesGetdefaultResponse>;\n /** Creates or updates a crop variety resource. */\n patch(\n options?: CropVarietiesCreateOrUpdateParameters\n ): Promise<\n | CropVarietiesCreateOrUpdate200Response\n | CropVarietiesCreateOrUpdate201Response\n | CropVarietiesCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified crop variety resource under a particular crop. */\n delete(\n options?: CropVarietiesDeleteParameters\n ): Promise<CropVarietiesDelete204Response | CropVarietiesDeletedefaultResponse>;\n}\n\nexport interface FarmersList {\n /** Returns a paginated list of farmer resources. */\n get(\n options?: FarmersListParameters\n ): Promise<FarmersList200Response | FarmersListdefaultResponse>;\n}\n\nexport interface FarmersGet {\n /** Gets a specified farmer resource. */\n get(options?: FarmersGetParameters): Promise<FarmersGet200Response | FarmersGetdefaultResponse>;\n /** Creates or updates a farmer resource. */\n patch(\n options?: FarmersCreateOrUpdateParameters\n ): Promise<\n | FarmersCreateOrUpdate200Response\n | FarmersCreateOrUpdate201Response\n | FarmersCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified farmer resource. */\n delete(\n options?: FarmersDeleteParameters\n ): Promise<FarmersDelete204Response | FarmersDeletedefaultResponse>;\n}\n\nexport interface FarmersGetCascadeDeleteJobDetails {\n /** Get a cascade delete job for specified farmer. */\n get(\n options?: FarmersGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FarmersGetCascadeDeleteJobDetails200Response | FarmersGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified farmer. */\n put(\n options: FarmersCreateCascadeDeleteJobParameters\n ): Promise<\n FarmersCreateCascadeDeleteJob202Response | FarmersCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface FarmOperationsCreateDataIngestionJob {\n /** Create a farm operation data ingestion job. */\n put(\n options?: FarmOperationsCreateDataIngestionJobParameters\n ): Promise<\n | FarmOperationsCreateDataIngestionJob202Response\n | FarmOperationsCreateDataIngestionJobdefaultResponse\n >;\n /** Get a farm operation data ingestion job. */\n get(\n options?: FarmOperationsGetDataIngestionJobDetailsParameters\n ): Promise<\n | FarmOperationsGetDataIngestionJobDetails200Response\n | FarmOperationsGetDataIngestionJobDetailsdefaultResponse\n >;\n}\n\nexport interface FarmsListByFarmerId {\n /** Returns a paginated list of farm resources under a particular farmer. */\n get(\n options?: FarmsListByFarmerIdParameters\n ): Promise<FarmsListByFarmerId200Response | FarmsListByFarmerIddefaultResponse>;\n}\n\nexport interface FarmsList {\n /** Returns a paginated list of farm resources across all farmers. */\n get(options?: FarmsListParameters): Promise<FarmsList200Response | FarmsListdefaultResponse>;\n}\n\nexport interface FarmsGet {\n /** Gets a specified farm resource under a particular farmer. */\n get(options?: FarmsGetParameters): Promise<FarmsGet200Response | FarmsGetdefaultResponse>;\n /** Creates or updates a farm resource under a particular farmer. */\n patch(\n options?: FarmsCreateOrUpdateParameters\n ): Promise<\n | FarmsCreateOrUpdate200Response\n | FarmsCreateOrUpdate201Response\n | FarmsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified farm resource under a particular farmer. */\n delete(\n options?: FarmsDeleteParameters\n ): Promise<FarmsDelete204Response | FarmsDeletedefaultResponse>;\n}\n\nexport interface FarmsGetCascadeDeleteJobDetails {\n /** Get a cascade delete job for specified farm. */\n get(\n options?: FarmsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FarmsGetCascadeDeleteJobDetails200Response | FarmsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified farm. */\n put(\n options: FarmsCreateCascadeDeleteJobParameters\n ): Promise<FarmsCreateCascadeDeleteJob202Response | FarmsCreateCascadeDeleteJobdefaultResponse>;\n}\n\nexport interface FieldsListByFarmerId {\n /** Returns a paginated list of field resources under a particular farmer. */\n get(\n options?: FieldsListByFarmerIdParameters\n ): Promise<FieldsListByFarmerId200Response | FieldsListByFarmerIddefaultResponse>;\n}\n\nexport interface FieldsList {\n /** Returns a paginated list of field resources across all farmers. */\n get(options?: FieldsListParameters): Promise<FieldsList200Response | FieldsListdefaultResponse>;\n}\n\nexport interface FieldsGet {\n /** Gets a specified field resource under a particular farmer. */\n get(options?: FieldsGetParameters): Promise<FieldsGet200Response | FieldsGetdefaultResponse>;\n /** Creates or Updates a field resource under a particular farmer. */\n patch(\n options?: FieldsCreateOrUpdateParameters\n ): Promise<\n | FieldsCreateOrUpdate200Response\n | FieldsCreateOrUpdate201Response\n | FieldsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified field resource under a particular farmer. */\n delete(\n options?: FieldsDeleteParameters\n ): Promise<FieldsDelete204Response | FieldsDeletedefaultResponse>;\n}\n\nexport interface FieldsGetCascadeDeleteJobDetails {\n /** Get a cascade delete job for specified field. */\n get(\n options?: FieldsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n FieldsGetCascadeDeleteJobDetails200Response | FieldsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified field. */\n put(\n options: FieldsCreateCascadeDeleteJobParameters\n ): Promise<FieldsCreateCascadeDeleteJob202Response | FieldsCreateCascadeDeleteJobdefaultResponse>;\n}\n\nexport interface HarvestDataListByFarmerId {\n /** Returns a paginated list of harvest data resources under a particular farm. */\n get(\n options?: HarvestDataListByFarmerIdParameters\n ): Promise<HarvestDataListByFarmerId200Response | HarvestDataListByFarmerIddefaultResponse>;\n}\n\nexport interface HarvestDataList {\n /** Returns a paginated list of harvest data resources across all farmers. */\n get(\n options?: HarvestDataListParameters\n ): Promise<HarvestDataList200Response | HarvestDataListdefaultResponse>;\n}\n\nexport interface HarvestDataGet {\n /** Get a specified harvest data resource under a particular farmer. */\n get(\n options?: HarvestDataGetParameters\n ): Promise<HarvestDataGet200Response | HarvestDataGetdefaultResponse>;\n /** Creates or updates harvest data resource under a particular farmer. */\n patch(\n options?: HarvestDataCreateOrUpdateParameters\n ): Promise<\n | HarvestDataCreateOrUpdate200Response\n | HarvestDataCreateOrUpdate201Response\n | HarvestDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified harvest data resource under a particular farmer. */\n delete(\n options?: HarvestDataDeleteParameters\n ): Promise<HarvestDataDelete204Response | HarvestDataDeletedefaultResponse>;\n}\n\nexport interface ImageProcessingCreateRasterizeJob {\n /** Create a ImageProcessing Rasterize job. */\n put(\n options?: ImageProcessingCreateRasterizeJobParameters\n ): Promise<\n ImageProcessingCreateRasterizeJob202Response | ImageProcessingCreateRasterizeJobdefaultResponse\n >;\n /** Get ImageProcessing Rasterize job's details. */\n get(\n options?: ImageProcessingGetRasterizeJobParameters\n ): Promise<ImageProcessingGetRasterizeJob200Response>;\n}\n\nexport interface OAuthProvidersList {\n /** Returns a paginated list of oauthProvider resources. */\n get(\n options?: OAuthProvidersListParameters\n ): Promise<OAuthProvidersList200Response | OAuthProvidersListdefaultResponse>;\n}\n\nexport interface OAuthProvidersGet {\n /** Get a specified oauthProvider resource. */\n get(\n options?: OAuthProvidersGetParameters\n ): Promise<OAuthProvidersGet200Response | OAuthProvidersGetdefaultResponse>;\n /** Creates or updates an oauthProvider resource. */\n patch(\n options?: OAuthProvidersCreateOrUpdateParameters\n ): Promise<\n | OAuthProvidersCreateOrUpdate200Response\n | OAuthProvidersCreateOrUpdate201Response\n | OAuthProvidersCreateOrUpdatedefaultResponse\n >;\n /** Deletes an specified oauthProvider resource. */\n delete(\n options?: OAuthProvidersDeleteParameters\n ): Promise<OAuthProvidersDelete204Response | OAuthProvidersDeletedefaultResponse>;\n}\n\nexport interface OAuthTokensList {\n /** Returns a list of OAuthToken documents. */\n get(\n options?: OAuthTokensListParameters\n ): Promise<OAuthTokensList200Response | OAuthTokensListdefaultResponse>;\n}\n\nexport interface OAuthTokensGetOAuthConnectionLink {\n /** Returns Connection link needed in the OAuth flow. */\n post(\n options?: OAuthTokensGetOAuthConnectionLinkParameters\n ): Promise<\n OAuthTokensGetOAuthConnectionLink200Response | OAuthTokensGetOAuthConnectionLinkdefaultResponse\n >;\n}\n\nexport interface OAuthTokensGetCascadeDeleteJobDetails {\n /** Get cascade delete job details for OAuth tokens for specified job ID. */\n get(\n options?: OAuthTokensGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | OAuthTokensGetCascadeDeleteJobDetails200Response\n | OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for OAuth tokens. */\n put(\n options: OAuthTokensCreateCascadeDeleteJobParameters\n ): Promise<\n OAuthTokensCreateCascadeDeleteJob202Response | OAuthTokensCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface PlantingDataListByFarmerId {\n /** Returns a paginated list of planting data resources under a particular farm. */\n get(\n options?: PlantingDataListByFarmerIdParameters\n ): Promise<PlantingDataListByFarmerId200Response | PlantingDataListByFarmerIddefaultResponse>;\n}\n\nexport interface PlantingDataList {\n /** Returns a paginated list of planting data resources across all farmers. */\n get(\n options?: PlantingDataListParameters\n ): Promise<PlantingDataList200Response | PlantingDataListdefaultResponse>;\n}\n\nexport interface PlantingDataGet {\n /** Get a specified planting data resource under a particular farmer. */\n get(\n options?: PlantingDataGetParameters\n ): Promise<PlantingDataGet200Response | PlantingDataGetdefaultResponse>;\n /** Creates or updates an planting data resource under a particular farmer. */\n patch(\n options?: PlantingDataCreateOrUpdateParameters\n ): Promise<\n | PlantingDataCreateOrUpdate200Response\n | PlantingDataCreateOrUpdate201Response\n | PlantingDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified planting data resource under a particular farmer. */\n delete(\n options?: PlantingDataDeleteParameters\n ): Promise<PlantingDataDelete204Response | PlantingDataDeletedefaultResponse>;\n}\n\nexport interface ScenesList {\n /** Returns a paginated list of scene resources. */\n get(options: ScenesListParameters): Promise<ScenesList200Response | ScenesListdefaultResponse>;\n}\n\nexport interface ScenesCreateSatelliteDataIngestionJob {\n /** Create a satellite data ingestion job. */\n put(\n options?: ScenesCreateSatelliteDataIngestionJobParameters\n ): Promise<\n | ScenesCreateSatelliteDataIngestionJob202Response\n | ScenesCreateSatelliteDataIngestionJobdefaultResponse\n >;\n /** Get a satellite data ingestion job. */\n get(\n options?: ScenesGetSatelliteDataIngestionJobDetailsParameters\n ): Promise<\n | ScenesGetSatelliteDataIngestionJobDetails200Response\n | ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse\n >;\n}\n\nexport interface ScenesDownload {\n /** Downloads and returns file stream as response for the given input filePath. */\n get(\n options: ScenesDownloadParameters\n ): Promise<ScenesDownload200Response | ScenesDownloaddefaultResponse>;\n}\n\nexport interface SeasonalFieldsListByFarmerId {\n /** Returns a paginated list of seasonal field resources under a particular farmer. */\n get(\n options?: SeasonalFieldsListByFarmerIdParameters\n ): Promise<SeasonalFieldsListByFarmerId200Response | SeasonalFieldsListByFarmerIddefaultResponse>;\n}\n\nexport interface SeasonalFieldsList {\n /** Returns a paginated list of seasonal field resources across all farmers. */\n get(\n options?: SeasonalFieldsListParameters\n ): Promise<SeasonalFieldsList200Response | SeasonalFieldsListdefaultResponse>;\n}\n\nexport interface SeasonalFieldsGet {\n /** Gets a specified seasonal field resource under a particular farmer. */\n get(\n options?: SeasonalFieldsGetParameters\n ): Promise<SeasonalFieldsGet200Response | SeasonalFieldsGetdefaultResponse>;\n /** Creates or Updates a seasonal field resource under a particular farmer. */\n patch(\n options?: SeasonalFieldsCreateOrUpdateParameters\n ): Promise<\n | SeasonalFieldsCreateOrUpdate200Response\n | SeasonalFieldsCreateOrUpdate201Response\n | SeasonalFieldsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified seasonal-field resource under a particular farmer. */\n delete(\n options?: SeasonalFieldsDeleteParameters\n ): Promise<SeasonalFieldsDelete204Response | SeasonalFieldsDeletedefaultResponse>;\n}\n\nexport interface SeasonalFieldsGetCascadeDeleteJobDetails {\n /** Get cascade delete job for specified seasonal field. */\n get(\n options?: SeasonalFieldsGetCascadeDeleteJobDetailsParameters\n ): Promise<\n | SeasonalFieldsGetCascadeDeleteJobDetails200Response\n | SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse\n >;\n /** Create a cascade delete job for specified seasonal field. */\n put(\n options: SeasonalFieldsCreateCascadeDeleteJobParameters\n ): Promise<\n | SeasonalFieldsCreateCascadeDeleteJob202Response\n | SeasonalFieldsCreateCascadeDeleteJobdefaultResponse\n >;\n}\n\nexport interface SeasonsList {\n /** Returns a paginated list of season resources. */\n get(\n options?: SeasonsListParameters\n ): Promise<SeasonsList200Response | SeasonsListdefaultResponse>;\n}\n\nexport interface SeasonsGet {\n /** Gets a specified season resource. */\n get(options?: SeasonsGetParameters): Promise<SeasonsGet200Response | SeasonsGetdefaultResponse>;\n /** Creates or updates a season resource. */\n patch(\n options?: SeasonsCreateOrUpdateParameters\n ): Promise<\n | SeasonsCreateOrUpdate200Response\n | SeasonsCreateOrUpdate201Response\n | SeasonsCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified season resource. */\n delete(\n options?: SeasonsDeleteParameters\n ): Promise<SeasonsDelete204Response | SeasonsDeletedefaultResponse>;\n}\n\nexport interface TillageDataListByFarmerId {\n /** Returns a paginated list of tillage data resources under a particular farm. */\n get(\n options?: TillageDataListByFarmerIdParameters\n ): Promise<TillageDataListByFarmerId200Response | TillageDataListByFarmerIddefaultResponse>;\n}\n\nexport interface TillageDataList {\n /** Returns a paginated list of tillage data resources across all farmers. */\n get(\n options?: TillageDataListParameters\n ): Promise<TillageDataList200Response | TillageDataListdefaultResponse>;\n}\n\nexport interface TillageDataGet {\n /** Get a specified tillage data resource under a particular farmer. */\n get(\n options?: TillageDataGetParameters\n ): Promise<TillageDataGet200Response | TillageDataGetdefaultResponse>;\n /** Creates or updates an tillage data resource under a particular farmer. */\n patch(\n options?: TillageDataCreateOrUpdateParameters\n ): Promise<\n | TillageDataCreateOrUpdate200Response\n | TillageDataCreateOrUpdate201Response\n | TillageDataCreateOrUpdatedefaultResponse\n >;\n /** Deletes a specified tillage data resource under a particular farmer. */\n delete(\n options?: TillageDataDeleteParameters\n ): Promise<TillageDataDelete204Response | TillageDataDeletedefaultResponse>;\n}\n\nexport interface WeatherList {\n /** Returns a paginated list of weather data. */\n get(options: WeatherListParameters): Promise<WeatherList200Response | WeatherListdefaultResponse>;\n}\n\nexport interface WeatherGetDataIngestionJobDetails {\n /** Get weather ingestion job. */\n get(\n options?: WeatherGetDataIngestionJobDetailsParameters\n ): Promise<\n WeatherGetDataIngestionJobDetails200Response | WeatherGetDataIngestionJobDetailsdefaultResponse\n >;\n /** Create a weather data ingestion job. */\n put(\n options?: WeatherCreateDataIngestionJobParameters\n ): Promise<\n WeatherCreateDataIngestionJob202Response | WeatherCreateDataIngestionJobdefaultResponse\n >;\n}\n\nexport interface WeatherGetDataDeleteJobDetails {\n /** Get weather data delete job. */\n get(\n options?: WeatherGetDataDeleteJobDetailsParameters\n ): Promise<\n WeatherGetDataDeleteJobDetails200Response | WeatherGetDataDeleteJobDetailsdefaultResponse\n >;\n /** Create a weather data delete job. */\n put(\n options?: WeatherCreateDataDeleteJobParameters\n ): Promise<WeatherCreateDataDeleteJob202Response | WeatherCreateDataDeleteJobdefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/farmers/\\{farmerId\\}/application-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/application-data\", farmerId: string): ApplicationDataListByFarmerId;\n /** Resource for '/application-data' has methods for the following verbs: get */\n (path: \"/application-data\"): ApplicationDataList;\n /** Resource for '/farmers/\\{farmerId\\}/application-data/\\{applicationDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/application-data/{applicationDataId}\",\n farmerId: string,\n applicationDataId: string\n ): ApplicationDataGet;\n /** Resource for '/farmers/\\{farmerId\\}/attachments' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/attachments\", farmerId: string): AttachmentsListByFarmerId;\n /** Resource for '/farmers/\\{farmerId\\}/attachments/\\{attachmentId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/attachments/{attachmentId}\",\n farmerId: string,\n attachmentId: string\n ): AttachmentsGet;\n /** Resource for '/farmers/\\{farmerId\\}/attachments/\\{attachmentId\\}/file' has methods for the following verbs: get */\n (\n path: \"/farmers/{farmerId}/attachments/{attachmentId}/file\",\n farmerId: string,\n attachmentId: string\n ): AttachmentsDownload;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries' has methods for the following verbs: get, post */\n (path: \"/farmers/{farmerId}/boundaries\", farmerId: string): BoundariesListByFarmerId;\n /** Resource for '/boundaries' has methods for the following verbs: get, post */\n (path: \"/boundaries\"): BoundariesList;\n /** Resource for '/boundaries/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/boundaries/cascade-delete/{jobId}\", jobId: string): BoundariesGetCascadeDeleteJobDetails;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries/\\{boundaryId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/boundaries/{boundaryId}\",\n farmerId: string,\n boundaryId: string\n ): BoundariesGet;\n /** Resource for '/farmers/\\{farmerId\\}/boundaries/\\{boundaryId\\}/overlap' has methods for the following verbs: get */\n (\n path: \"/farmers/{farmerId}/boundaries/{boundaryId}/overlap\",\n farmerId: string,\n boundaryId: string\n ): BoundariesGetOverlap;\n /** Resource for '/crops' has methods for the following verbs: get */\n (path: \"/crops\"): CropsList;\n /** Resource for '/crops/\\{cropId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/crops/{cropId}\", cropId: string): CropsGet;\n /** Resource for '/crops/\\{cropId\\}/crop-varieties' has methods for the following verbs: get */\n (path: \"/crops/{cropId}/crop-varieties\", cropId: string): CropVarietiesListByCropId;\n /** Resource for '/crop-varieties' has methods for the following verbs: get */\n (path: \"/crop-varieties\"): CropVarietiesList;\n /** Resource for '/crops/\\{cropId\\}/crop-varieties/\\{cropVarietyId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/crops/{cropId}/crop-varieties/{cropVarietyId}\",\n cropId: string,\n cropVarietyId: string\n ): CropVarietiesGet;\n /** Resource for '/farmers' has methods for the following verbs: get */\n (path: \"/farmers\"): FarmersList;\n /** Resource for '/farmers/\\{farmerId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}\", farmerId: string): FarmersGet;\n /** Resource for '/farmers/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/farmers/cascade-delete/{jobId}\", jobId: string): FarmersGetCascadeDeleteJobDetails;\n /** Resource for '/farm-operations/ingest-data/\\{jobId\\}' has methods for the following verbs: put, get */\n (\n path: \"/farm-operations/ingest-data/{jobId}\",\n jobId: string\n ): FarmOperationsCreateDataIngestionJob;\n /** Resource for '/farmers/\\{farmerId\\}/farms' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/farms\", farmerId: string): FarmsListByFarmerId;\n /** Resource for '/farms' has methods for the following verbs: get */\n (path: \"/farms\"): FarmsList;\n /** Resource for '/farmers/\\{farmerId\\}/farms/\\{farmId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}/farms/{farmId}\", farmerId: string, farmId: string): FarmsGet;\n /** Resource for '/farms/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/farms/cascade-delete/{jobId}\", jobId: string): FarmsGetCascadeDeleteJobDetails;\n /** Resource for '/farmers/\\{farmerId\\}/fields' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/fields\", farmerId: string): FieldsListByFarmerId;\n /** Resource for '/fields' has methods for the following verbs: get */\n (path: \"/fields\"): FieldsList;\n /** Resource for '/farmers/\\{farmerId\\}/fields/\\{fieldId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/farmers/{farmerId}/fields/{fieldId}\", farmerId: string, fieldId: string): FieldsGet;\n /** Resource for '/fields/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/fields/cascade-delete/{jobId}\", jobId: string): FieldsGetCascadeDeleteJobDetails;\n /** Resource for '/farmers/\\{farmerId\\}/harvest-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/harvest-data\", farmerId: string): HarvestDataListByFarmerId;\n /** Resource for '/harvest-data' has methods for the following verbs: get */\n (path: \"/harvest-data\"): HarvestDataList;\n /** Resource for '/farmers/\\{farmerId\\}/harvest-data/\\{harvestDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/harvest-data/{harvestDataId}\",\n farmerId: string,\n harvestDataId: string\n ): HarvestDataGet;\n /** Resource for '/image-processing/rasterize/\\{jobId\\}' has methods for the following verbs: put, get */\n (path: \"/image-processing/rasterize/{jobId}\", jobId: string): ImageProcessingCreateRasterizeJob;\n /** Resource for '/oauth/providers' has methods for the following verbs: get */\n (path: \"/oauth/providers\"): OAuthProvidersList;\n /** Resource for '/oauth/providers/\\{oauthProviderId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/oauth/providers/{oauthProviderId}\", oauthProviderId: string): OAuthProvidersGet;\n /** Resource for '/oauth/tokens' has methods for the following verbs: get */\n (path: \"/oauth/tokens\"): OAuthTokensList;\n /** Resource for '/oauth/tokens/:connect' has methods for the following verbs: post */\n (path: \"/oauth/tokens/:connect\"): OAuthTokensGetOAuthConnectionLink;\n /** Resource for '/oauth/tokens/remove/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/oauth/tokens/remove/{jobId}\", jobId: string): OAuthTokensGetCascadeDeleteJobDetails;\n /** Resource for '/farmers/\\{farmerId\\}/planting-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/planting-data\", farmerId: string): PlantingDataListByFarmerId;\n /** Resource for '/planting-data' has methods for the following verbs: get */\n (path: \"/planting-data\"): PlantingDataList;\n /** Resource for '/farmers/\\{farmerId\\}/planting-data/\\{plantingDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/planting-data/{plantingDataId}\",\n farmerId: string,\n plantingDataId: string\n ): PlantingDataGet;\n /** Resource for '/scenes' has methods for the following verbs: get */\n (path: \"/scenes\"): ScenesList;\n /** Resource for '/scenes/satellite/ingest-data/\\{jobId\\}' has methods for the following verbs: put, get */\n (\n path: \"/scenes/satellite/ingest-data/{jobId}\",\n jobId: string\n ): ScenesCreateSatelliteDataIngestionJob;\n /** Resource for '/scenes/downloadFiles' has methods for the following verbs: get */\n (path: \"/scenes/downloadFiles\"): ScenesDownload;\n /** Resource for '/farmers/\\{farmerId\\}/seasonal-fields' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/seasonal-fields\", farmerId: string): SeasonalFieldsListByFarmerId;\n /** Resource for '/seasonal-fields' has methods for the following verbs: get */\n (path: \"/seasonal-fields\"): SeasonalFieldsList;\n /** Resource for '/farmers/\\{farmerId\\}/seasonal-fields/\\{seasonalFieldId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/seasonal-fields/{seasonalFieldId}\",\n farmerId: string,\n seasonalFieldId: string\n ): SeasonalFieldsGet;\n /** Resource for '/seasonal-fields/cascade-delete/\\{jobId\\}' has methods for the following verbs: get, put */\n (\n path: \"/seasonal-fields/cascade-delete/{jobId}\",\n jobId: string\n ): SeasonalFieldsGetCascadeDeleteJobDetails;\n /** Resource for '/seasons' has methods for the following verbs: get */\n (path: \"/seasons\"): SeasonsList;\n /** Resource for '/seasons/\\{seasonId\\}' has methods for the following verbs: get, patch, delete */\n (path: \"/seasons/{seasonId}\", seasonId: string): SeasonsGet;\n /** Resource for '/farmers/\\{farmerId\\}/tillage-data' has methods for the following verbs: get */\n (path: \"/farmers/{farmerId}/tillage-data\", farmerId: string): TillageDataListByFarmerId;\n /** Resource for '/tillage-data' has methods for the following verbs: get */\n (path: \"/tillage-data\"): TillageDataList;\n /** Resource for '/farmers/\\{farmerId\\}/tillage-data/\\{tillageDataId\\}' has methods for the following verbs: get, patch, delete */\n (\n path: \"/farmers/{farmerId}/tillage-data/{tillageDataId}\",\n farmerId: string,\n tillageDataId: string\n ): TillageDataGet;\n /** Resource for '/weather' has methods for the following verbs: get */\n (path: \"/weather\"): WeatherList;\n /** Resource for '/weather/ingest-data/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/weather/ingest-data/{jobId}\", jobId: string): WeatherGetDataIngestionJobDetails;\n /** Resource for '/weather/delete-data/\\{jobId\\}' has methods for the following verbs: get, put */\n (path: \"/weather/delete-data/{jobId}\", jobId: string): WeatherGetDataDeleteJobDetails;\n}\n\nexport type FarmBeatsRestClient = Client & {\n path: Routes;\n};\n\nexport default function FarmBeats(\n Endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {}\n): FarmBeatsRestClient {\n const baseUrl = options.baseUrl ?? `${Endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2021-03-31-preview\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://farmbeats.azure.net/.default\"],\n },\n };\n\n return getClient(baseUrl, credentials, options) as FarmBeatsRestClient;\n}\n"]}
@@ -2,10 +2,11 @@
2
2
  // Licensed under the MIT license.
3
3
  import FarmBeats from "./farmBeats";
4
4
  export * from "./farmBeats";
5
- export * from "./models";
6
5
  export * from "./parameters";
7
6
  export * from "./responses";
8
- export { paginate } from "./paging";
9
- export { getPoller } from "./getPoller";
7
+ export * from "./models";
8
+ export * from "./outputModels";
9
+ export * from "./paginateHelper";
10
+ export * from "./pollingHelper";
10
11
  export default FarmBeats;
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAgC,MAAM,UAAU,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAe,SAAS,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport FarmBeats from \"./farmBeats\";\n\nexport * from \"./farmBeats\";\nexport * from \"./models\";\nexport * from \"./parameters\";\nexport * from \"./responses\";\n\nexport { paginate, PaginateReturn, GetArrayType } from \"./paging\";\nexport { getPoller } from \"./getPoller\";\n\nexport default FarmBeats;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAEhC,eAAe,SAAS,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport FarmBeats from \"./farmBeats\";\n\nexport * from \"./farmBeats\";\nexport * from \"./parameters\";\nexport * from \"./responses\";\nexport * from \"./models\";\nexport * from \"./outputModels\";\nexport * from \"./paginateHelper\";\nexport * from \"./pollingHelper\";\n\nexport default FarmBeats;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport interface ApplicationDataListResponse {\n /** List of requested objects. */\n value?: ApplicationData[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface ApplicationData {\n /** Application product details. */\n applicationProductDetails?: ApplicationProductDetail[];\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: ApplicationDataPropertiesDictionary;\n}\n\nexport interface ApplicationProductDetail {\n /** Name of the product applied. */\n productName?: string;\n /** A flag indicating whether product is a carrier for a tank mix. */\n isCarrier?: boolean;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n}\n\nexport interface Measure {\n /** Data unit. */\n unit?: string;\n /** Data value. */\n value?: number;\n}\n\nexport interface ErrorResponse {\n /** An error from the Azure AgPlatform service. */\n error?: Error;\n /** Unique trace ID. */\n traceId?: string;\n}\n\nexport interface Error {\n /** Server-defined set of error codes. */\n code?: string;\n /** Human-readable representation of the error. */\n message?: string;\n /** Target of the error. */\n target?: string;\n /** Array of details about specific errors that led to this reported error. */\n details?: Error[];\n /**\n * Inner error containing list of errors.\n * <see href=\"https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object\">InnerError reference document</see>.\n */\n innererror?: InnerError;\n}\n\nexport type InnerError = InnerErrorBase & InnerErrorDictionary;\n\nexport interface InnerErrorBase {\n /**\n * Specific error code than was provided by the\n * containing error.\n */\n code?: string;\n /**\n * Inner error containing list of errors.\n * <see href=\"https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object\">InnerError reference document</see>.\n */\n innererror?: InnerError;\n}\n\nexport interface AttachmentListResponse {\n /** List of requested objects. */\n value?: Attachment[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Attachment {\n /** Farmer id for this attachment. */\n farmerId?: string;\n /** Associated Resource id for this attachment. */\n resourceId?: string;\n /**\n * Associated Resource type for this attachment\n * i.e. Farmer, Farm, Field, SeasonalField, Boundary, FarmOperationApplicationData, HarvestData, TillageData, PlantingData.\n */\n resourceType?: string;\n /** Original File Name for this attachment. */\n originalFileName?: string;\n /** Unique id. */\n id?: string;\n /** Status of the resource. */\n status?: string;\n /** Date when resource was created. */\n createdDateTime?: Date;\n /** Date when resource was last modified. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of resource. */\n description?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n}\n\nexport interface BoundaryListResponse {\n /** List of requested objects. */\n value?: Boundary[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Boundary {\n /** Farmer ID. */\n farmerId?: string;\n /** ID of the parent(field or seasonalField) it belongs to. */\n parentId?: string;\n /** GeoJSON abstract class. */\n geometry?: GeoJsonObject;\n /** Is the boundary primary. */\n isPrimary?: boolean;\n /** Boundary area in acres. */\n acreage?: number;\n /** Type of the parent it belongs to. */\n parentType?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: BoundaryPropertiesDictionary;\n}\n\nexport type GeoJsonObject = Polygon | MultiPolygon | Point;\n\nexport interface SearchBoundaryQuery {\n /** Ids of the resource. */\n ids?: string[];\n /** Names of the resource. */\n names?: string[];\n /**\n * Filters on key-value pairs within the Properties object.\n * eg. \"{testKey} eq {testValue}\".\n */\n propertyFilters?: string[];\n /** Statuses of the resource. */\n statuses?: string[];\n /** Minimum creation date of resource (inclusive). */\n minCreatedDateTime?: Date;\n /** Maximum creation date of resource (inclusive). */\n maxCreatedDateTime?: Date;\n /** Minimum last modified date of resource (inclusive). */\n minLastModifiedDateTime?: Date;\n /** Maximum last modified date of resource (inclusive). */\n maxLastModifiedDateTime?: Date;\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Skip token for getting next set of results. */\n skipToken?: string;\n /** Is the boundary primary. */\n isPrimary?: boolean;\n /** Type of the parent it belongs to. */\n parentType?: string;\n /** Parent Ids of the resource. */\n parentIds?: string[];\n /** Minimum acreage of the boundary (inclusive). */\n minAcreage?: number;\n /** Maximum acreage of the boundary (inclusive). */\n maxAcreage?: number;\n /** GeoJSON abstract class. */\n intersectsWithGeometry?: GeoJsonObject;\n}\n\nexport interface CascadeDeleteJob {\n /** Farmer ID. */\n farmerId: string;\n /** The id of the resource. */\n resourceId: string;\n /** The type of the resource. */\n resourceType: string;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: CascadeDeleteJobPropertiesDictionary;\n}\n\nexport interface BoundaryOverlapResponse {\n /** Acreage of Main boundary. */\n boundaryAcreage?: number;\n /** Acreage of other boundary. */\n otherBoundaryAcreage?: number;\n /** Acreage of intersecting boundary. */\n intersectingAcreage?: number;\n}\n\nexport interface CropListResponse {\n /** List of requested objects. */\n value?: Crop[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Crop {\n /** Crop phenotype. */\n phenotype?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: CropPropertiesDictionary;\n}\n\nexport interface CropVarietyListResponse {\n /** List of requested objects. */\n value?: CropVariety[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface CropVariety {\n /** ID of the crop it belongs to. */\n cropId?: string;\n /** CropVariety Brand. */\n brand?: string;\n /** CropVariety product. */\n product?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: CropVarietyPropertiesDictionary;\n}\n\nexport interface FarmerListResponse {\n /** List of requested objects. */\n value?: Farmer[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Farmer {\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: FarmerPropertiesDictionary;\n}\n\nexport interface FarmOperationDataIngestionJob {\n /** Farmer ID. */\n farmerId: string;\n /** Authentication provider ID. */\n authProviderId: string;\n /** List of operation types for which data needs to be downloaded. Available values: AllOperations, Application, Planting, Harvest, Tillage. */\n operations?: string[];\n /** Start Year (Minimum = 2000, Maximum = CurrentYear). */\n startYear: number;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: FarmOperationDataIngestionJobPropertiesDictionary;\n}\n\nexport interface FarmListResponse {\n /** List of requested objects. */\n value?: Farm[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Farm {\n /** Farmer ID. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: FarmPropertiesDictionary;\n}\n\nexport interface FieldListResponse {\n /** List of requested objects. */\n value?: Field[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Field {\n /** ID of the associated Farm. */\n farmId?: string;\n /** Farmer ID. */\n farmerId?: string;\n /** Primary boundary id. */\n primaryBoundaryId?: string;\n /** Boundary Ids. */\n boundaryIds?: string[];\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: FieldPropertiesDictionary;\n}\n\nexport interface HarvestDataListResponse {\n /** List of requested objects. */\n value?: HarvestData[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface HarvestData {\n /** Schema for storing measurement reading and unit. */\n totalYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMoisture?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgSpeed?: Measure;\n /** Harvest product details. */\n harvestProductDetails?: HarvestProductDetail[];\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: HarvestDataPropertiesDictionary;\n}\n\nexport interface HarvestProductDetail {\n /** Name of the product. */\n productName?: string;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMoisture?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgWetMass?: Measure;\n}\n\nexport interface ImageProcessingRasterizeJob {\n /** Farmer ID. */\n farmerId: string;\n /** Shapefile attachment ID. */\n shapefileAttachmentId: string;\n /** List of shapefile column names to create raster attachments. */\n shapefileColumnNames: string[];\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: ImageProcessingRasterizeJobPropertiesDictionary;\n}\n\nexport interface OAuthProviderListResponse {\n /** List of requested objects. */\n value?: OAuthProvider[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface OAuthProvider {\n /** OAuth App ID for given OAuth Provider. */\n appId?: string;\n /**\n * OAuth App secret for given Provider.\n * Note: Won't be sent in response.\n */\n appSecret?: string;\n /**\n * OAuth Api key for given Provider.\n * Note: currently Applicable to Climate provider. Won't be sent in response.\n */\n apiKey?: string;\n /**\n * An optional flag to determine if the App is ready to be used for Production scenarios in the provider side or not. (Default value: false)\n * Note: Currently applicable for JohnDeere.\n */\n isProductionApp?: boolean;\n /** Unique OAuth provider ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: OAuthProviderPropertiesDictionary;\n}\n\nexport interface OAuthTokenListResponse {\n /** List of requested objects. */\n value?: OAuthToken[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface OAuthToken {\n /** Farmer ID for this OAuth config. */\n farmerId: string;\n /** ID of the OAuth provider resource containing app information. */\n authProviderId: string;\n /** An optional flag indicating whether the token is a valid or expired (Default value: true). */\n isValid?: boolean;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n}\n\nexport interface OAuthConnectRequest {\n /** ID of the farmer. */\n farmerId: string;\n /** ID of the OAuthProvider. */\n oAuthProviderId: string;\n /** Link to redirect the user to, at the end of the oauth flow. */\n userRedirectLink: string;\n /** State to provide back when redirecting the user, at the end of the oauth flow. */\n userRedirectState?: string;\n}\n\nexport interface PlantingDataListResponse {\n /** List of requested objects. */\n value?: PlantingData[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface PlantingData {\n /** Schema for storing measurement reading and unit. */\n avgPlantingRate?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Planting product details. */\n plantingProductDetails?: PlantingProductDetail[];\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: PlantingDataPropertiesDictionary;\n}\n\nexport interface PlantingProductDetail {\n /** Name of the product. */\n productName?: string;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n}\n\nexport interface SceneListResponse {\n /** List of requested objects. */\n value?: Scene[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Scene {\n /** Date-time of the scene, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n sceneDateTime?: Date;\n /** Data provider of the scene. */\n provider?: string;\n /** Data source of the scene. */\n source?: string;\n /** Collection of image files. */\n imageFiles?: ImageFile[];\n /** Supported image formats for scene resource. */\n imageFormat?: ImageFormat;\n /** Cloud cover percentage of the scene. */\n cloudCoverPercentage?: number;\n /** Dark pixel percentage of the scene. */\n darkPixelPercentage?: number;\n /** Median of NDVI of the scene. */\n ndviMedianValue?: number;\n /** Boundary ID which belongs to the scene. */\n boundaryId?: string;\n /** Farmer ID which belongs to the scene. */\n farmerId?: string;\n /** Unique scene resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n}\n\nexport interface ImageFile {\n /** Link of the image file. */\n fileLink?: string;\n /** Name of the image file. */\n name: string;\n /** Supported image formats for scene resource. */\n imageFormat?: ImageFormat;\n /** Resolution of image file in meters. */\n resolution?: number;\n}\n\nexport interface SatelliteDataIngestionJob {\n /** Farmer ID. */\n farmerId: string;\n /** The id of the boundary object for which satellite data is being fetched. */\n boundaryId: string;\n /** Start Date. */\n startDateTime: Date;\n /** End Date. */\n endDateTime: Date;\n /** Provider of satellite data. */\n provider?: DataProvider;\n /** Source of satellite data. */\n source?: Source;\n /** Data Model for SatelliteIngestionJobRequest. */\n data?: SatelliteData;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: SatelliteDataIngestionJobPropertiesDictionary;\n}\n\nexport interface SatelliteData {\n /** List of ImageNames. */\n imageNames?: string[];\n /** List of ImageFormats. Available value: TIF. */\n imageFormats?: string[];\n /** List of ImageResolutions in meters. Available values: 10, 20, 60. */\n imageResolutions?: number[];\n}\n\nexport interface SeasonalFieldListResponse {\n /** List of requested objects. */\n value?: SeasonalField[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface SeasonalField {\n /** Farmer ID. */\n farmerId?: string;\n /** Primary boundary id. */\n primaryBoundaryId?: string;\n /** Boundary Ids. */\n boundaryIds?: string[];\n /** ID of the associated Farm. */\n farmId?: string;\n /** ID of the associated Field. */\n fieldId?: string;\n /** ID of the season it belongs to. */\n seasonId?: string;\n /** CropVariety ids. */\n cropVarietyIds?: string[];\n /** ID of the crop it belongs to. */\n cropId?: string;\n /** Average yield value of the seasonal field. */\n avgYieldValue?: number;\n /** Unit of the average yield value attribute. */\n avgYieldUnit?: string;\n /** Average seed population value of the seasonal field. */\n avgSeedPopulationValue?: number;\n /** Unit of average seed population value attribute. */\n avgSeedPopulationUnit?: string;\n /** Planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n plantingDateTime?: Date;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: SeasonalFieldPropertiesDictionary;\n}\n\nexport interface SeasonListResponse {\n /** List of requested objects. */\n value?: Season[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface Season {\n /** Season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startDateTime?: Date;\n /** Season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endDateTime?: Date;\n /** Season year. */\n year?: number;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: SeasonPropertiesDictionary;\n}\n\nexport interface TillageDataListResponse {\n /** List of requested objects. */\n value?: TillageData[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface TillageData {\n /** Schema for storing measurement reading and unit. */\n tillageDepth?: Measure;\n /** Schema for storing measurement reading and unit. */\n tillagePressure?: Measure;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: TillageDataPropertiesDictionary;\n}\n\nexport interface WeatherDataListResponse {\n /** List of requested objects. */\n value?: WeatherData[];\n /** Token used in retrieving the next page. If null, there are no additional pages. */\n skipToken?: string;\n /** Continuation link (absolute URI) to the next page of results in the list. */\n nextLink?: string;\n}\n\nexport interface WeatherData {\n /** Farmer ID. */\n farmerId: string;\n /** Boundary ID. */\n boundaryId: string;\n /** ID of the weather extension. */\n extensionId: string;\n /** Location model class. */\n location: Location;\n /** Date-time of the weather data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n dateTime: Date;\n /** Unit System like US/SI etc. */\n unitSystemCode?: string;\n /** Version of the weather data extension. */\n extensionVersion: string;\n /** Type of weather data (forecast/historical). */\n weatherDataType: string;\n /** Granularity of weather data (daily/hourly). */\n granularity: string;\n /** Schema for storing measurement reading and unit. */\n cloudCover?: Measure;\n /** Schema for storing measurement reading and unit. */\n dewPoint?: Measure;\n /** Schema for storing measurement reading and unit. */\n growingDegreeDay?: Measure;\n /** Schema for storing measurement reading and unit. */\n precipitation?: Measure;\n /** Schema for storing measurement reading and unit. */\n pressure?: Measure;\n /** Schema for storing measurement reading and unit. */\n relativeHumidity?: Measure;\n /** Schema for storing measurement reading and unit. */\n soilMoisture?: Measure;\n /** Schema for storing measurement reading and unit. */\n soilTemperature?: Measure;\n /** Schema for storing measurement reading and unit. */\n temperature?: Measure;\n /** Schema for storing measurement reading and unit. */\n visibility?: Measure;\n /** Schema for storing measurement reading and unit. */\n wetBulbTemperature?: Measure;\n /** Schema for storing measurement reading and unit. */\n windChill?: Measure;\n /** Schema for storing measurement reading and unit. */\n windDirection?: Measure;\n /** Schema for storing measurement reading and unit. */\n windGust?: Measure;\n /** Schema for storing measurement reading and unit. */\n windSpeed?: Measure;\n /** Weather data ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: WeatherDataPropertiesDictionary;\n}\n\nexport interface Location {\n /** Latitude of the location. */\n latitude: number;\n /** Longitude of the location. */\n longitude: number;\n}\n\nexport interface WeatherDataIngestionJob {\n /** The id of the boundary object for which weather data is being fetched. */\n boundaryId: string;\n /** The id of the farmer object for which weather data is being fetched. */\n farmerId: string;\n /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */\n extensionId: string;\n /** Extension api name to which request is to be made. */\n extensionApiName: string;\n /** Extension api input dictionary which would be used to feed request query/body/parameter information. */\n extensionApiInput: WeatherDataIngestionJobExtensionApiInputDictionary;\n /** App id of the weather data provider. */\n extensionDataProviderAppId?: string;\n /** Api key of the weather data provider. */\n extensionDataProviderApiKey?: string;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: WeatherDataIngestionJobPropertiesDictionary;\n}\n\nexport interface WeatherDataDeleteJob {\n /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */\n extensionId: string;\n /** The id of the farmer object for which weather data is being fetched. */\n farmerId: string;\n /** The id of the boundary object for which weather data is being fetched. */\n boundaryId: string;\n /** Type of weather data. Possible values include: 'forecast' , 'historical'. */\n weatherDataType?: string;\n /** Granularity of weather data. Possible values include: 'daily' , 'hourly'. */\n granularity?: string;\n /** Weather data start UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startDateTime?: Date;\n /** Weather data end UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endDateTime?: Date;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: WeatherDataDeleteJobPropertiesDictionary;\n}\n\nexport interface MultiPolygonCoordinates {\n /**\n * Gets or sets Coordinates of GeoJSON Object.\n * It must be an array of polygons, each polygon contains list of linear rings.\n * For Polygons with more than one of these rings, the first MUST be the exterior ring,\n * and any others MUST be interior rings.\n */\n coordinates: number[][][][];\n}\n\nexport type MultiPolygon = MultiPolygonBase &\n MultiPolygonCoordinates & {\n type: \"MultiPolygon\";\n };\n\nexport interface MultiPolygonBase {}\n\nexport interface PointCoordinates {\n /**\n * Gets or sets the coordinate of this point.\n * It must be an array of 2 or 3 elements for a 2D or 3D system.\n */\n coordinates: number[];\n}\n\nexport type Point = PointBase &\n PointCoordinates & {\n type: \"Point\";\n };\n\nexport interface PointBase {}\n\nexport interface PolygonCoordinates {\n /**\n * Gets or sets type of the GeoJSON Object.\n * It must be an array of linear ring coordinate arrays.\n * For Polygons with more than one of these rings, the first MUST be the exterior ring,\n * and any others MUST be interior rings.\n */\n coordinates: number[][][];\n}\n\nexport type Polygon = PolygonBase &\n PolygonCoordinates & {\n type: \"Polygon\";\n };\n\nexport interface PolygonBase {}\n\nexport interface Paths1LxjoxzFarmersFarmeridAttachmentsAttachmentidPatchRequestbodyContentMultipartFormDataSchema {\n /** File to be uploaded. */\n file?: string;\n /** Farmer id for this attachment. */\n farmerId?: string;\n /** Associated Resource id for this attachment. */\n resourceId?: string;\n /**\n * Associated Resource type for this attachment\n * i.e. Farmer, Farm, Field, SeasonalField, Boundary, FarmOperationApplicationData, HarvestData, TillageData, PlantingData.\n */\n resourceType?: string;\n /** Original File Name for this attachment. */\n originalFileName?: string;\n /** Unique id. */\n id?: string;\n /** Status of the resource. */\n status?: string;\n /** Date when resource was created. */\n createdDateTime?: string;\n /** Date when resource was last modified. */\n modifiedDateTime?: string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of resource. */\n description?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n}\n\nexport type GeoJsonObjectType = \"Point\" | \"Polygon\" | \"MultiPolygon\";\nexport type ImageFormat = \"TIF\";\nexport type DataProvider = \"Microsoft\";\nexport type Source = \"Sentinel_2_L2A\";\nexport type ApplicationDataPropertiesDictionary = Record<string, unknown>;\nexport type InnerErrorDictionary = Record<string, unknown>;\nexport type BoundaryPropertiesDictionary = Record<string, unknown>;\nexport type CascadeDeleteJobPropertiesDictionary = Record<string, unknown>;\nexport type CropPropertiesDictionary = Record<string, unknown>;\nexport type CropVarietyPropertiesDictionary = Record<string, unknown>;\nexport type FarmerPropertiesDictionary = Record<string, unknown>;\nexport type FarmOperationDataIngestionJobPropertiesDictionary = Record<string, unknown>;\nexport type FarmPropertiesDictionary = Record<string, unknown>;\nexport type FieldPropertiesDictionary = Record<string, unknown>;\nexport type HarvestDataPropertiesDictionary = Record<string, unknown>;\nexport type ImageProcessingRasterizeJobPropertiesDictionary = Record<string, unknown>;\nexport type OAuthProviderPropertiesDictionary = Record<string, unknown>;\nexport type PlantingDataPropertiesDictionary = Record<string, unknown>;\nexport type SatelliteDataIngestionJobPropertiesDictionary = Record<string, unknown>;\nexport type SeasonalFieldPropertiesDictionary = Record<string, unknown>;\nexport type SeasonPropertiesDictionary = Record<string, unknown>;\nexport type TillageDataPropertiesDictionary = Record<string, unknown>;\nexport type WeatherDataPropertiesDictionary = Record<string, unknown>;\nexport type WeatherDataIngestionJobExtensionApiInputDictionary = Record<string, unknown>;\nexport type WeatherDataIngestionJobPropertiesDictionary = Record<string, unknown>;\nexport type WeatherDataDeleteJobPropertiesDictionary = Record<string, unknown>;\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport interface ApplicationData {\n /** Application product details. */\n applicationProductDetails?: Array<ApplicationProductDetail>;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date | string;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date | string;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date | string;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface ApplicationProductDetail {\n /** Name of the product applied. */\n productName?: string;\n /** A flag indicating whether product is a carrier for a tank mix. */\n isCarrier?: boolean;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n}\n\nexport interface Measure {\n /** Data unit. */\n unit?: string;\n /** Data value. */\n value?: number;\n}\n\nexport interface Boundary {\n /** Farmer ID. */\n farmerId?: string;\n /** ID of the parent(field or seasonalField) it belongs to. */\n parentId?: string;\n /** GeoJSON abstract class. */\n geometry?: GeoJsonObject;\n /** Is the boundary primary. */\n isPrimary?: boolean;\n /** Boundary area in acres. */\n acreage?: number;\n /** Type of the parent it belongs to. */\n parentType?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface GeoJsonObjectBase {\n type: \"MultiPolygon\" | \"Point\" | \"Polygon\";\n}\n\nexport interface SearchBoundaryQuery {\n /** Ids of the resource. */\n ids?: Array<string>;\n /** Names of the resource. */\n names?: Array<string>;\n /**\n * Filters on key-value pairs within the Properties object.\n * eg. \"{testKey} eq {testValue}\".\n */\n propertyFilters?: Array<string>;\n /** Statuses of the resource. */\n statuses?: Array<string>;\n /** Minimum creation date of resource (inclusive). */\n minCreatedDateTime?: Date | string;\n /** Maximum creation date of resource (inclusive). */\n maxCreatedDateTime?: Date | string;\n /** Minimum last modified date of resource (inclusive). */\n minLastModifiedDateTime?: Date | string;\n /** Maximum last modified date of resource (inclusive). */\n maxLastModifiedDateTime?: Date | string;\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n $maxPageSize?: number;\n /** Skip token for getting next set of results. */\n $skipToken?: string;\n /** Is the boundary primary. */\n isPrimary?: boolean;\n /** Type of the parent it belongs to. */\n parentType?: string;\n /** Parent Ids of the resource. */\n parentIds?: Array<string>;\n /** Minimum acreage of the boundary (inclusive). */\n minAcreage?: number;\n /** Maximum acreage of the boundary (inclusive). */\n maxAcreage?: number;\n /** GeoJSON abstract class. */\n intersectsWithGeometry?: GeoJsonObject;\n}\n\nexport interface Crop {\n /** Crop phenotype. */\n phenotype?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface CropVariety {\n /** ID of the crop it belongs to. */\n cropId?: string;\n /** CropVariety Brand. */\n brand?: string;\n /** CropVariety product. */\n product?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface Farmer {\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface FarmOperationDataIngestionJob {\n /** Farmer ID. */\n farmerId: string;\n /** Authentication provider ID. */\n authProviderId: string;\n /** List of operation types for which data needs to be downloaded. Available values: AllOperations, Application, Planting, Harvest, Tillage. */\n operations?: Array<string>;\n /** Start Year (Minimum = 2000, Maximum = CurrentYear). */\n startYear: number;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date | string;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date | string;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface Farm {\n /** Farmer ID. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface Field {\n /** ID of the associated Farm. */\n farmId?: string;\n /** Farmer ID. */\n farmerId?: string;\n /** Primary boundary id. */\n primaryBoundaryId?: string;\n /** Boundary Ids. */\n boundaryIds?: Array<string>;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface HarvestData {\n /** Schema for storing measurement reading and unit. */\n totalYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMoisture?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgSpeed?: Measure;\n /** Harvest product details. */\n harvestProductDetails?: Array<HarvestProductDetail>;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date | string;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date | string;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date | string;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface HarvestProductDetail {\n /** Name of the product. */\n productName?: string;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgYield?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMoisture?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalWetMass?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgWetMass?: Measure;\n}\n\nexport interface ImageProcessingRasterizeJob {\n /** Farmer ID. */\n farmerId: string;\n /** Shapefile attachment ID. */\n shapefileAttachmentId: string;\n /** List of shapefile column names to create raster attachments. */\n shapefileColumnNames: Array<string>;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date | string;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date | string;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface OAuthProvider {\n /** OAuth App ID for given OAuth Provider. */\n appId?: string;\n /**\n * OAuth App secret for given Provider.\n * Note: Won't be sent in response.\n */\n appSecret?: string;\n /**\n * OAuth Api key for given Provider.\n * Note: currently Applicable to Climate provider. Won't be sent in response.\n */\n apiKey?: string;\n /**\n * An optional flag to determine if the App is ready to be used for Production scenarios in the provider side or not. (Default value: false)\n * Note: Currently applicable for JohnDeere.\n */\n isProductionApp?: boolean;\n /** Unique OAuth provider ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface OAuthConnectRequest {\n /** ID of the farmer. */\n farmerId: string;\n /** ID of the OAuthProvider. */\n oAuthProviderId: string;\n /** Link to redirect the user to, at the end of the oauth flow. */\n userRedirectLink: string;\n /** State to provide back when redirecting the user, at the end of the oauth flow. */\n userRedirectState?: string;\n}\n\nexport interface PlantingData {\n /** Schema for storing measurement reading and unit. */\n avgPlantingRate?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n /** Planting product details. */\n plantingProductDetails?: Array<PlantingProductDetail>;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date | string;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date | string;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date | string;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface PlantingProductDetail {\n /** Name of the product. */\n productName?: string;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Schema for storing measurement reading and unit. */\n totalMaterial?: Measure;\n /** Schema for storing measurement reading and unit. */\n avgMaterial?: Measure;\n}\n\nexport interface SatelliteDataIngestionJob {\n /** Farmer ID. */\n farmerId: string;\n /** The id of the boundary object for which satellite data is being fetched. */\n boundaryId: string;\n /** Start Date. */\n startDateTime: Date | string;\n /** End Date. */\n endDateTime: Date | string;\n /** Provider of satellite data. */\n provider?: \"Microsoft\";\n /** Source of satellite data. */\n source?: \"Sentinel_2_L2A\";\n /** Data Model for SatelliteIngestionJobRequest. */\n data?: SatelliteData;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date | string;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date | string;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface SatelliteData {\n /** List of ImageNames. */\n imageNames?: Array<string>;\n /** List of ImageFormats. Available value: TIF. */\n imageFormats?: Array<string>;\n /** List of ImageResolutions in meters. Available values: 10, 20, 60. */\n imageResolutions?: Array<number>;\n}\n\nexport interface SeasonalField {\n /** Farmer ID. */\n farmerId?: string;\n /** Primary boundary id. */\n primaryBoundaryId?: string;\n /** Boundary Ids. */\n boundaryIds?: Array<string>;\n /** ID of the associated Farm. */\n farmId?: string;\n /** ID of the associated Field. */\n fieldId?: string;\n /** ID of the season it belongs to. */\n seasonId?: string;\n /** CropVariety ids. */\n cropVarietyIds?: Array<string>;\n /** ID of the crop it belongs to. */\n cropId?: string;\n /** Average yield value of the seasonal field. */\n avgYieldValue?: number;\n /** Unit of the average yield value attribute. */\n avgYieldUnit?: string;\n /** Average seed population value of the seasonal field. */\n avgSeedPopulationValue?: number;\n /** Unit of average seed population value attribute. */\n avgSeedPopulationUnit?: string;\n /** Planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n plantingDateTime?: Date | string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface Season {\n /** Season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startDateTime?: Date | string;\n /** Season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endDateTime?: Date | string;\n /** Season year. */\n year?: number;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface TillageData {\n /** Schema for storing measurement reading and unit. */\n tillageDepth?: Measure;\n /** Schema for storing measurement reading and unit. */\n tillagePressure?: Measure;\n /** Schema for storing measurement reading and unit. */\n area?: Measure;\n /** Source of the operation data. */\n source?: string;\n /**\n * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.\n * Note: this will be specified by the source provider itself.\n */\n operationModifiedDateTime?: Date | string;\n /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationStartDateTime?: Date | string;\n /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n operationEndDateTime?: Date | string;\n /** Link for attachments. */\n attachmentsLink?: string;\n /** Optional boundary ID of the field for which operation was applied. */\n associatedBoundaryId?: string;\n /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */\n operationBoundaryId?: string;\n /** Farmer ID which belongs to the operation data. */\n farmerId?: string;\n /** Unique resource ID. */\n id?: string;\n /** The ETag value to implement optimistic concurrency. */\n eTag?: string;\n /** Status of the resource. */\n status?: string;\n /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */\n modifiedDateTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface WeatherDataIngestionJob {\n /** The id of the boundary object for which weather data is being fetched. */\n boundaryId: string;\n /** The id of the farmer object for which weather data is being fetched. */\n farmerId: string;\n /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */\n extensionId: string;\n /** Extension api name to which request is to be made. */\n extensionApiName: string;\n /** Extension api input dictionary which would be used to feed request query/body/parameter information. */\n extensionApiInput: Record<string, any>;\n /** App id of the weather data provider. */\n extensionDataProviderAppId?: string;\n /** Api key of the weather data provider. */\n extensionDataProviderApiKey?: string;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date | string;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date | string;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface WeatherDataDeleteJob {\n /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */\n extensionId: string;\n /** The id of the farmer object for which weather data is being fetched. */\n farmerId: string;\n /** The id of the boundary object for which weather data is being fetched. */\n boundaryId: string;\n /** Type of weather data. Possible values include: 'forecast' , 'historical'. */\n weatherDataType?: string;\n /** Granularity of weather data. Possible values include: 'daily' , 'hourly'. */\n granularity?: string;\n /** Weather data start UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startDateTime?: Date | string;\n /** Weather data end UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endDateTime?: Date | string;\n /** Unique job id. */\n id?: string;\n /**\n * Status of the job.\n * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.\n */\n status?: string;\n /** Duration of the job in seconds. */\n durationInSeconds?: number;\n /** Status message to capture more details of the job. */\n message?: string;\n /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n createdDateTime?: Date | string;\n /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n lastActionDateTime?: Date | string;\n /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n startTime?: Date | string;\n /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */\n endTime?: Date | string;\n /** Name to identify resource. */\n name?: string;\n /** Textual description of the resource. */\n description?: string;\n /**\n * A collection of key value pairs that belongs to the resource.\n * Each pair must not have a key greater than 50 characters\n * and must not have a value greater than 150 characters.\n * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.\n */\n properties?: Record<string, any>;\n}\n\nexport interface MultiPolygon extends GeoJsonObjectBase, MultiPolygonCoordinates {\n type: \"MultiPolygon\";\n}\n\nexport interface MultiPolygonCoordinates {\n /**\n * Gets or sets Coordinates of GeoJSON Object.\n * It must be an array of polygons, each polygon contains list of linear rings.\n * For Polygons with more than one of these rings, the first MUST be the exterior ring,\n * and any others MUST be interior rings.\n */\n coordinates: Array<Array<Array<Array<number>>>>;\n}\n\nexport interface Point extends GeoJsonObjectBase, PointCoordinates {\n type: \"Point\";\n}\n\nexport interface PointCoordinates {\n /**\n * Gets or sets the coordinate of this point.\n * It must be an array of 2 or 3 elements for a 2D or 3D system.\n */\n coordinates: Array<number>;\n}\n\nexport interface Polygon extends GeoJsonObjectBase, PolygonCoordinates {\n type: \"Polygon\";\n}\n\nexport interface PolygonCoordinates {\n /**\n * Gets or sets type of the GeoJSON Object.\n * It must be an array of linear ring coordinate arrays.\n * For Polygons with more than one of these rings, the first MUST be the exterior ring,\n * and any others MUST be interior rings.\n */\n coordinates: Array<Array<Array<number>>>;\n}\n\nexport type GeoJsonObject = MultiPolygon | Point | Polygon;\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ export {};
4
+ //# sourceMappingURL=outputModels.js.map