@azure-rest/agrifood-farming 1.0.0-beta.1 → 1.0.0-beta.3

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.
Files changed (213) hide show
  1. package/README.md +54 -64
  2. package/dist/browser/clientDefinitions.d.ts +862 -0
  3. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  4. package/dist/browser/clientDefinitions.js +4 -0
  5. package/dist/browser/clientDefinitions.js.map +1 -0
  6. package/dist/browser/farmBeats.d.ts +16 -0
  7. package/dist/browser/farmBeats.d.ts.map +1 -0
  8. package/dist/browser/farmBeats.js +43 -0
  9. package/dist/browser/farmBeats.js.map +1 -0
  10. package/dist/browser/index.d.ts +13 -0
  11. package/dist/browser/index.d.ts.map +1 -0
  12. package/dist/browser/index.js +15 -0
  13. package/dist/browser/index.js.map +1 -0
  14. package/dist/browser/isUnexpected.d.ts +199 -0
  15. package/dist/browser/isUnexpected.d.ts.map +1 -0
  16. package/dist/browser/isUnexpected.js +269 -0
  17. package/dist/browser/isUnexpected.js.map +1 -0
  18. package/dist/browser/logger.d.ts +2 -0
  19. package/dist/browser/logger.d.ts.map +1 -0
  20. package/dist/browser/logger.js +5 -0
  21. package/dist/browser/logger.js.map +1 -0
  22. package/dist/browser/models.d.ts +1301 -0
  23. package/dist/browser/models.d.ts.map +1 -0
  24. package/dist/browser/models.js +4 -0
  25. package/dist/browser/models.js.map +1 -0
  26. package/dist/browser/outputModels.d.ts +2620 -0
  27. package/dist/browser/outputModels.d.ts.map +1 -0
  28. package/dist/browser/outputModels.js +4 -0
  29. package/dist/browser/outputModels.js.map +1 -0
  30. package/dist/browser/package.json +3 -0
  31. package/dist/browser/paginateHelper.d.ts +68 -0
  32. package/dist/browser/paginateHelper.d.ts.map +1 -0
  33. package/dist/browser/paginateHelper.js +167 -0
  34. package/dist/browser/paginateHelper.js.map +1 -0
  35. package/dist/browser/parameters.d.ts +2749 -0
  36. package/dist/browser/parameters.d.ts.map +1 -0
  37. package/dist/browser/parameters.js +4 -0
  38. package/dist/browser/parameters.js.map +1 -0
  39. package/dist/browser/pollingHelper.d.ts +76 -0
  40. package/dist/browser/pollingHelper.d.ts.map +1 -0
  41. package/dist/browser/pollingHelper.js +104 -0
  42. package/dist/browser/pollingHelper.js.map +1 -0
  43. package/dist/browser/responses.d.ts +2890 -0
  44. package/dist/browser/responses.d.ts.map +1 -0
  45. package/dist/browser/responses.js +4 -0
  46. package/dist/browser/responses.js.map +1 -0
  47. package/dist/browser/serializeHelper.d.ts +2 -0
  48. package/dist/browser/serializeHelper.d.ts.map +1 -0
  49. package/dist/browser/serializeHelper.js +13 -0
  50. package/dist/browser/serializeHelper.js.map +1 -0
  51. package/dist/commonjs/clientDefinitions.d.ts +862 -0
  52. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  53. package/dist/commonjs/clientDefinitions.js +5 -0
  54. package/dist/commonjs/clientDefinitions.js.map +1 -0
  55. package/dist/commonjs/farmBeats.d.ts +16 -0
  56. package/dist/commonjs/farmBeats.d.ts.map +1 -0
  57. package/dist/commonjs/farmBeats.js +46 -0
  58. package/dist/commonjs/farmBeats.js.map +1 -0
  59. package/dist/commonjs/index.d.ts +13 -0
  60. package/dist/commonjs/index.d.ts.map +1 -0
  61. package/dist/commonjs/index.js +18 -0
  62. package/dist/commonjs/index.js.map +1 -0
  63. package/dist/commonjs/isUnexpected.d.ts +199 -0
  64. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  65. package/dist/commonjs/isUnexpected.js +272 -0
  66. package/dist/commonjs/isUnexpected.js.map +1 -0
  67. package/dist/commonjs/logger.d.ts +2 -0
  68. package/dist/commonjs/logger.d.ts.map +1 -0
  69. package/dist/commonjs/logger.js +8 -0
  70. package/dist/commonjs/logger.js.map +1 -0
  71. package/dist/commonjs/models.d.ts +1301 -0
  72. package/dist/commonjs/models.d.ts.map +1 -0
  73. package/dist/commonjs/models.js +5 -0
  74. package/dist/commonjs/models.js.map +1 -0
  75. package/dist/commonjs/outputModels.d.ts +2620 -0
  76. package/dist/commonjs/outputModels.d.ts.map +1 -0
  77. package/dist/commonjs/outputModels.js +5 -0
  78. package/dist/commonjs/outputModels.js.map +1 -0
  79. package/dist/commonjs/package.json +3 -0
  80. package/dist/commonjs/paginateHelper.d.ts +68 -0
  81. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  82. package/dist/commonjs/paginateHelper.js +170 -0
  83. package/dist/commonjs/paginateHelper.js.map +1 -0
  84. package/dist/commonjs/parameters.d.ts +2749 -0
  85. package/dist/commonjs/parameters.d.ts.map +1 -0
  86. package/dist/commonjs/parameters.js +5 -0
  87. package/dist/commonjs/parameters.js.map +1 -0
  88. package/dist/commonjs/pollingHelper.d.ts +76 -0
  89. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  90. package/dist/commonjs/pollingHelper.js +107 -0
  91. package/dist/commonjs/pollingHelper.js.map +1 -0
  92. package/dist/commonjs/responses.d.ts +2890 -0
  93. package/dist/commonjs/responses.d.ts.map +1 -0
  94. package/dist/commonjs/responses.js +5 -0
  95. package/dist/commonjs/responses.js.map +1 -0
  96. package/dist/commonjs/serializeHelper.d.ts +2 -0
  97. package/dist/commonjs/serializeHelper.d.ts.map +1 -0
  98. package/dist/commonjs/serializeHelper.js +16 -0
  99. package/dist/commonjs/serializeHelper.js.map +1 -0
  100. package/dist/commonjs/tsdoc-metadata.json +11 -0
  101. package/dist/esm/clientDefinitions.d.ts +862 -0
  102. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  103. package/dist/esm/clientDefinitions.js +4 -0
  104. package/dist/esm/clientDefinitions.js.map +1 -0
  105. package/dist/esm/farmBeats.d.ts +16 -0
  106. package/dist/esm/farmBeats.d.ts.map +1 -0
  107. package/dist/esm/farmBeats.js +43 -0
  108. package/dist/esm/farmBeats.js.map +1 -0
  109. package/dist/esm/index.d.ts +13 -0
  110. package/dist/esm/index.d.ts.map +1 -0
  111. package/dist/esm/index.js +15 -0
  112. package/dist/esm/index.js.map +1 -0
  113. package/dist/esm/isUnexpected.d.ts +199 -0
  114. package/dist/esm/isUnexpected.d.ts.map +1 -0
  115. package/dist/esm/isUnexpected.js +269 -0
  116. package/dist/esm/isUnexpected.js.map +1 -0
  117. package/dist/esm/logger.d.ts +2 -0
  118. package/dist/esm/logger.d.ts.map +1 -0
  119. package/dist/esm/logger.js +5 -0
  120. package/dist/esm/logger.js.map +1 -0
  121. package/dist/esm/models.d.ts +1301 -0
  122. package/dist/esm/models.d.ts.map +1 -0
  123. package/dist/esm/models.js +4 -0
  124. package/dist/esm/models.js.map +1 -0
  125. package/dist/esm/outputModels.d.ts +2620 -0
  126. package/dist/esm/outputModels.d.ts.map +1 -0
  127. package/dist/esm/outputModels.js +4 -0
  128. package/dist/esm/outputModels.js.map +1 -0
  129. package/dist/esm/package.json +3 -0
  130. package/dist/esm/paginateHelper.d.ts +68 -0
  131. package/dist/esm/paginateHelper.d.ts.map +1 -0
  132. package/dist/esm/paginateHelper.js +167 -0
  133. package/dist/esm/paginateHelper.js.map +1 -0
  134. package/dist/esm/parameters.d.ts +2749 -0
  135. package/dist/esm/parameters.d.ts.map +1 -0
  136. package/dist/esm/parameters.js +4 -0
  137. package/dist/esm/parameters.js.map +1 -0
  138. package/dist/esm/pollingHelper.d.ts +76 -0
  139. package/dist/esm/pollingHelper.d.ts.map +1 -0
  140. package/dist/esm/pollingHelper.js +104 -0
  141. package/dist/esm/pollingHelper.js.map +1 -0
  142. package/dist/esm/responses.d.ts +2890 -0
  143. package/dist/esm/responses.d.ts.map +1 -0
  144. package/dist/esm/responses.js +4 -0
  145. package/dist/esm/responses.js.map +1 -0
  146. package/dist/esm/serializeHelper.d.ts +2 -0
  147. package/dist/esm/serializeHelper.d.ts.map +1 -0
  148. package/dist/esm/serializeHelper.js +13 -0
  149. package/dist/esm/serializeHelper.js.map +1 -0
  150. package/dist/react-native/clientDefinitions.d.ts +862 -0
  151. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  152. package/dist/react-native/clientDefinitions.js +4 -0
  153. package/dist/react-native/clientDefinitions.js.map +1 -0
  154. package/dist/react-native/farmBeats.d.ts +16 -0
  155. package/dist/react-native/farmBeats.d.ts.map +1 -0
  156. package/dist/react-native/farmBeats.js +43 -0
  157. package/dist/react-native/farmBeats.js.map +1 -0
  158. package/dist/react-native/index.d.ts +13 -0
  159. package/dist/react-native/index.d.ts.map +1 -0
  160. package/dist/react-native/index.js +15 -0
  161. package/dist/react-native/index.js.map +1 -0
  162. package/dist/react-native/isUnexpected.d.ts +199 -0
  163. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  164. package/dist/react-native/isUnexpected.js +269 -0
  165. package/dist/react-native/isUnexpected.js.map +1 -0
  166. package/dist/react-native/logger.d.ts +2 -0
  167. package/dist/react-native/logger.d.ts.map +1 -0
  168. package/dist/react-native/logger.js +5 -0
  169. package/dist/react-native/logger.js.map +1 -0
  170. package/dist/react-native/models.d.ts +1301 -0
  171. package/dist/react-native/models.d.ts.map +1 -0
  172. package/dist/react-native/models.js +4 -0
  173. package/dist/react-native/models.js.map +1 -0
  174. package/dist/react-native/outputModels.d.ts +2620 -0
  175. package/dist/react-native/outputModels.d.ts.map +1 -0
  176. package/dist/react-native/outputModels.js +4 -0
  177. package/dist/react-native/outputModels.js.map +1 -0
  178. package/dist/react-native/package.json +3 -0
  179. package/dist/react-native/paginateHelper.d.ts +68 -0
  180. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  181. package/dist/react-native/paginateHelper.js +167 -0
  182. package/dist/react-native/paginateHelper.js.map +1 -0
  183. package/dist/react-native/parameters.d.ts +2749 -0
  184. package/dist/react-native/parameters.d.ts.map +1 -0
  185. package/dist/react-native/parameters.js +4 -0
  186. package/dist/react-native/parameters.js.map +1 -0
  187. package/dist/react-native/pollingHelper.d.ts +76 -0
  188. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  189. package/dist/react-native/pollingHelper.js +104 -0
  190. package/dist/react-native/pollingHelper.js.map +1 -0
  191. package/dist/react-native/responses.d.ts +2890 -0
  192. package/dist/react-native/responses.d.ts.map +1 -0
  193. package/dist/react-native/responses.js +4 -0
  194. package/dist/react-native/responses.js.map +1 -0
  195. package/dist/react-native/serializeHelper.d.ts +2 -0
  196. package/dist/react-native/serializeHelper.d.ts.map +1 -0
  197. package/dist/react-native/serializeHelper.js +13 -0
  198. package/dist/react-native/serializeHelper.js.map +1 -0
  199. package/package.json +84 -70
  200. package/CHANGELOG.md +0 -5
  201. package/dist/index.js +0 -19
  202. package/dist/index.js.map +0 -1
  203. package/dist-esm/src/farmBeats.js +0 -13
  204. package/dist-esm/src/farmBeats.js.map +0 -1
  205. package/dist-esm/src/index.js +0 -9
  206. package/dist-esm/src/index.js.map +0 -1
  207. package/dist-esm/src/models.js +0 -4
  208. package/dist-esm/src/models.js.map +0 -1
  209. package/dist-esm/src/parameters.js +0 -4
  210. package/dist-esm/src/parameters.js.map +0 -1
  211. package/dist-esm/src/responses.js +0 -4
  212. package/dist-esm/src/responses.js.map +0 -1
  213. package/types/agrifood-farming-rest.d.ts +0 -4656
@@ -1,4656 +0,0 @@
1
- import { Client } from '@azure-rest/core-client';
2
- import { ClientOptions } from '@azure-rest/core-client';
3
- import { HttpResponse } from '@azure-rest/core-client';
4
- import { RequestParameters } from '@azure-rest/core-client';
5
- import { TokenCredential } from '@azure/core-auth';
6
-
7
- export declare interface ApplicationData {
8
- /** Application product details. */
9
- applicationProductDetails?: ApplicationProductDetail[];
10
- /** Schema for storing measurement reading and unit. */
11
- avgMaterial?: Measure;
12
- /** Schema for storing measurement reading and unit. */
13
- totalMaterial?: Measure;
14
- /** Schema for storing measurement reading and unit. */
15
- area?: Measure;
16
- /** Source of the operation data. */
17
- source?: string;
18
- /**
19
- * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.
20
- * Note: this will be specified by the source provider itself.
21
- */
22
- operationModifiedDateTime?: Date;
23
- /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
24
- operationStartDateTime?: Date;
25
- /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
26
- operationEndDateTime?: Date;
27
- /** Link for attachments. */
28
- attachmentsLink?: string;
29
- /** Optional boundary ID of the field for which operation was applied. */
30
- associatedBoundaryId?: string;
31
- /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */
32
- operationBoundaryId?: string;
33
- /** Farmer ID which belongs to the operation data. */
34
- farmerId?: string;
35
- /** Unique resource ID. */
36
- id?: string;
37
- /** The ETag value to implement optimistic concurrency. */
38
- eTag?: string;
39
- /** Status of the resource. */
40
- status?: string;
41
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
42
- createdDateTime?: Date;
43
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
44
- modifiedDateTime?: Date;
45
- /** Name to identify resource. */
46
- name?: string;
47
- /** Textual description of the resource. */
48
- description?: string;
49
- /**
50
- * A collection of key value pairs that belongs to the resource.
51
- * Each pair must not have a key greater than 50 characters
52
- * and must not have a value greater than 150 characters.
53
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
54
- */
55
- properties?: ApplicationDataPropertiesDictionary;
56
- }
57
-
58
- /** Creates or updates an application data resource under a particular farmer. */
59
- export declare interface ApplicationDataCreateOrUpdate200Response extends HttpResponse {
60
- status: "200";
61
- body: ApplicationData;
62
- }
63
-
64
- /** Creates or updates an application data resource under a particular farmer. */
65
- export declare interface ApplicationDataCreateOrUpdate201Response extends HttpResponse {
66
- status: "201";
67
- body: ApplicationData;
68
- }
69
-
70
- export declare interface ApplicationDataCreateOrUpdateBodyParam {
71
- body?: ApplicationData;
72
- }
73
-
74
- /** Creates or updates an application data resource under a particular farmer. */
75
- export declare interface ApplicationDataCreateOrUpdatedefaultResponse extends HttpResponse {
76
- status: "500";
77
- body: ErrorResponse;
78
- }
79
-
80
- export declare type ApplicationDataCreateOrUpdateParameters = RequestParameters & ApplicationDataCreateOrUpdateBodyParam;
81
-
82
- export declare interface ApplicationDataDelete {
83
- /** Get a specified application data resource under a particular farmer. */
84
- get(options?: ApplicationDataGetParameters): Promise<ApplicationDataGet200Response | ApplicationDataGetdefaultResponse>;
85
- /** Creates or updates an application data resource under a particular farmer. */
86
- patch(options?: ApplicationDataCreateOrUpdateParameters): Promise<ApplicationDataCreateOrUpdate200Response | ApplicationDataCreateOrUpdate201Response | ApplicationDataCreateOrUpdatedefaultResponse>;
87
- /** Deletes a specified application data resource under a particular farmer. */
88
- delete(options?: ApplicationDataDeleteParameters): Promise<ApplicationDataDelete204Response | ApplicationDataDeletedefaultResponse>;
89
- }
90
-
91
- /** Deletes a specified application data resource under a particular farmer. */
92
- export declare interface ApplicationDataDelete204Response extends HttpResponse {
93
- status: "204";
94
- }
95
-
96
- /** Deletes a specified application data resource under a particular farmer. */
97
- export declare interface ApplicationDataDeletedefaultResponse extends HttpResponse {
98
- status: "500";
99
- body: ErrorResponse;
100
- }
101
-
102
- export declare type ApplicationDataDeleteParameters = RequestParameters;
103
-
104
- /** Get a specified application data resource under a particular farmer. */
105
- export declare interface ApplicationDataGet200Response extends HttpResponse {
106
- status: "200";
107
- body: ApplicationData;
108
- }
109
-
110
- /** Get a specified application data resource under a particular farmer. */
111
- export declare interface ApplicationDataGetdefaultResponse extends HttpResponse {
112
- status: "500";
113
- body: ErrorResponse;
114
- }
115
-
116
- export declare type ApplicationDataGetParameters = RequestParameters;
117
-
118
- export declare interface ApplicationDataList {
119
- /** Returns a paginated list of application data resources across all farmers. */
120
- get(options?: ApplicationDataListParameters): Promise<ApplicationDataList200Response | ApplicationDataListdefaultResponse>;
121
- }
122
-
123
- /** Returns a paginated list of application data resources across all farmers. */
124
- export declare interface ApplicationDataList200Response extends HttpResponse {
125
- status: "200";
126
- body: ApplicationDataListResponse;
127
- }
128
-
129
- export declare interface ApplicationDataListByFarmerId {
130
- /** Returns a paginated list of application data resources under a particular farm. */
131
- get(options?: ApplicationDataListByFarmerIdParameters): Promise<ApplicationDataListByFarmerId200Response | ApplicationDataListByFarmerIddefaultResponse>;
132
- }
133
-
134
- /** Returns a paginated list of application data resources under a particular farm. */
135
- export declare interface ApplicationDataListByFarmerId200Response extends HttpResponse {
136
- status: "200";
137
- body: ApplicationDataListResponse;
138
- }
139
-
140
- /** Returns a paginated list of application data resources under a particular farm. */
141
- export declare interface ApplicationDataListByFarmerIddefaultResponse extends HttpResponse {
142
- status: "500";
143
- body: ErrorResponse;
144
- }
145
-
146
- export declare type ApplicationDataListByFarmerIdParameters = RequestParameters & ApplicationDataListByFarmerIdQueryParam;
147
-
148
- export declare interface ApplicationDataListByFarmerIdQueryParam {
149
- queryParameters?: ApplicationDataListByFarmerIdQueryParamProperties;
150
- }
151
-
152
- export declare interface ApplicationDataListByFarmerIdQueryParamProperties {
153
- /** Minimum average amount of material applied during the application (inclusive). */
154
- minAvgMaterial?: number;
155
- /** Maximum average amount of material applied during the application (inclusive). */
156
- maxAvgMaterial?: number;
157
- /** Minimum total amount of material applied during the application (inclusive). */
158
- minTotalMaterial?: number;
159
- /** Maximum total amount of material applied during the application (inclusive). */
160
- maxTotalMaterial?: number;
161
- /** Sources of the operation data. */
162
- sources?: string[];
163
- /** Boundary IDs associated with operation data. */
164
- associatedBoundaryIds?: string[];
165
- /** Operation boundary IDs associated with operation data. */
166
- operationBoundaryIds?: string[];
167
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
168
- minOperationStartDateTime?: Date;
169
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
170
- maxOperationStartDateTime?: Date;
171
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
172
- minOperationEndDateTime?: Date;
173
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
174
- maxOperationEndDateTime?: Date;
175
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
176
- minOperationModifiedDateTime?: Date;
177
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
178
- maxOperationModifiedDateTime?: Date;
179
- /** Minimum area for which operation was applied (inclusive). */
180
- minArea?: number;
181
- /** Maximum area for which operation was applied (inclusive). */
182
- maxArea?: number;
183
- /** Ids of the resource. */
184
- ids?: string[];
185
- /** Names of the resource. */
186
- names?: string[];
187
- /**
188
- * Filters on key-value pairs within the Properties object.
189
- * eg. "\{testKey\} eq \{testValue\}".
190
- */
191
- propertyFilters?: string[];
192
- /** Statuses of the resource. */
193
- statuses?: string[];
194
- /** Minimum creation date of resource (inclusive). */
195
- minCreatedDateTime?: Date;
196
- /** Maximum creation date of resource (inclusive). */
197
- maxCreatedDateTime?: Date;
198
- /** Minimum last modified date of resource (inclusive). */
199
- minLastModifiedDateTime?: Date;
200
- /** Maximum last modified date of resource (inclusive). */
201
- maxLastModifiedDateTime?: Date;
202
- /**
203
- * Maximum number of items needed (inclusive).
204
- * Minimum = 10, Maximum = 1000, Default value = 50.
205
- */
206
- $maxPageSize?: number;
207
- /** Skip token for getting next set of results. */
208
- $skipToken?: string;
209
- }
210
-
211
- /** Returns a paginated list of application data resources across all farmers. */
212
- export declare interface ApplicationDataListdefaultResponse extends HttpResponse {
213
- status: "500";
214
- body: ErrorResponse;
215
- }
216
-
217
- export declare type ApplicationDataListParameters = RequestParameters & ApplicationDataListQueryParam;
218
-
219
- export declare interface ApplicationDataListQueryParam {
220
- queryParameters?: ApplicationDataListQueryParamProperties;
221
- }
222
-
223
- export declare interface ApplicationDataListQueryParamProperties {
224
- /** Minimum average amount of material applied during the application (inclusive). */
225
- minAvgMaterial?: number;
226
- /** Maximum average amount of material applied during the application (inclusive). */
227
- maxAvgMaterial?: number;
228
- /** Minimum total amount of material applied during the application (inclusive). */
229
- minTotalMaterial?: number;
230
- /** Maximum total amount of material applied during the application (inclusive). */
231
- maxTotalMaterial?: number;
232
- /** Sources of the operation data. */
233
- sources?: string[];
234
- /** Boundary IDs associated with operation data. */
235
- associatedBoundaryIds?: string[];
236
- /** Operation boundary IDs associated with operation data. */
237
- operationBoundaryIds?: string[];
238
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
239
- minOperationStartDateTime?: Date;
240
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
241
- maxOperationStartDateTime?: Date;
242
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
243
- minOperationEndDateTime?: Date;
244
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
245
- maxOperationEndDateTime?: Date;
246
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
247
- minOperationModifiedDateTime?: Date;
248
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
249
- maxOperationModifiedDateTime?: Date;
250
- /** Minimum area for which operation was applied (inclusive). */
251
- minArea?: number;
252
- /** Maximum area for which operation was applied (inclusive). */
253
- maxArea?: number;
254
- /** Ids of the resource. */
255
- ids?: string[];
256
- /** Names of the resource. */
257
- names?: string[];
258
- /**
259
- * Filters on key-value pairs within the Properties object.
260
- * eg. "\{testKey\} eq \{testValue\}".
261
- */
262
- propertyFilters?: string[];
263
- /** Statuses of the resource. */
264
- statuses?: string[];
265
- /** Minimum creation date of resource (inclusive). */
266
- minCreatedDateTime?: Date;
267
- /** Maximum creation date of resource (inclusive). */
268
- maxCreatedDateTime?: Date;
269
- /** Minimum last modified date of resource (inclusive). */
270
- minLastModifiedDateTime?: Date;
271
- /** Maximum last modified date of resource (inclusive). */
272
- maxLastModifiedDateTime?: Date;
273
- /**
274
- * Maximum number of items needed (inclusive).
275
- * Minimum = 10, Maximum = 1000, Default value = 50.
276
- */
277
- $maxPageSize?: number;
278
- /** Skip token for getting next set of results. */
279
- $skipToken?: string;
280
- }
281
-
282
- export declare interface ApplicationDataListResponse {
283
- /** List of requested objects. */
284
- value?: ApplicationData[];
285
- /** Token used in retrieving the next page. If null, there are no additional pages. */
286
- skipToken?: string;
287
- /** Continuation link (absolute URI) to the next page of results in the list. */
288
- nextLink?: string;
289
- }
290
-
291
- export declare type ApplicationDataPropertiesDictionary = Record<string, unknown>;
292
-
293
- export declare interface ApplicationProductDetail {
294
- /** Name of the product applied. */
295
- productName?: string;
296
- /** A flag indicating whether product is a carrier for a tank mix. */
297
- isCarrier?: boolean;
298
- /** Schema for storing measurement reading and unit. */
299
- avgMaterial?: Measure;
300
- /** Schema for storing measurement reading and unit. */
301
- totalMaterial?: Measure;
302
- }
303
-
304
- export declare interface Attachment {
305
- /** Farmer id for this attachment. */
306
- farmerId?: string;
307
- /** Associated Resource id for this attachment. */
308
- resourceId?: string;
309
- /**
310
- * Associated Resource type for this attachment
311
- * i.e. Farmer, Farm, Field, SeasonalField, Boundary, FarmOperationApplicationData, HarvestData, TillageData, PlantingData.
312
- */
313
- resourceType?: string;
314
- /** Original File Name for this attachment. */
315
- originalFileName?: string;
316
- /** Unique id. */
317
- id?: string;
318
- /** Status of the resource. */
319
- status?: string;
320
- /** Date when resource was created. */
321
- createdDateTime?: Date;
322
- /** Date when resource was last modified. */
323
- modifiedDateTime?: Date;
324
- /** Name to identify resource. */
325
- name?: string;
326
- /** Textual description of resource. */
327
- description?: string;
328
- /** The ETag value to implement optimistic concurrency. */
329
- eTag?: string;
330
- }
331
-
332
- export declare interface AttachmentListResponse {
333
- /** List of requested objects. */
334
- value?: Attachment[];
335
- /** Token used in retrieving the next page. If null, there are no additional pages. */
336
- skipToken?: string;
337
- /** Continuation link (absolute URI) to the next page of results in the list. */
338
- nextLink?: string;
339
- }
340
-
341
- /** Creates or updates an attachment resource under a particular farmer. */
342
- export declare interface AttachmentsCreateOrUpdate200Response extends HttpResponse {
343
- status: "200";
344
- body: Attachment;
345
- }
346
-
347
- /** Creates or updates an attachment resource under a particular farmer. */
348
- export declare interface AttachmentsCreateOrUpdate201Response extends HttpResponse {
349
- status: "201";
350
- body: Attachment;
351
- }
352
-
353
- export declare interface AttachmentsCreateOrUpdateBodyParam {
354
- body?: string;
355
- }
356
-
357
- /** Creates or updates an attachment resource under a particular farmer. */
358
- export declare interface AttachmentsCreateOrUpdatedefaultResponse extends HttpResponse {
359
- status: "500";
360
- body: ErrorResponse;
361
- }
362
-
363
- export declare type AttachmentsCreateOrUpdateParameters = RequestParameters & AttachmentsCreateOrUpdateBodyParam;
364
-
365
- export declare interface AttachmentsDelete {
366
- /** Gets a specified attachment resource under a particular farmer. */
367
- get(options?: AttachmentsGetParameters): Promise<AttachmentsGet200Response | AttachmentsGetdefaultResponse>;
368
- /** Creates or updates an attachment resource under a particular farmer. */
369
- patch(options?: AttachmentsCreateOrUpdateParameters): Promise<AttachmentsCreateOrUpdate200Response | AttachmentsCreateOrUpdate201Response | AttachmentsCreateOrUpdatedefaultResponse>;
370
- /** Deletes a specified attachment resource under a particular farmer. */
371
- delete(options?: AttachmentsDeleteParameters): Promise<AttachmentsDelete204Response | AttachmentsDeletedefaultResponse>;
372
- }
373
-
374
- /** Deletes a specified attachment resource under a particular farmer. */
375
- export declare interface AttachmentsDelete204Response extends HttpResponse {
376
- status: "204";
377
- }
378
-
379
- /** Deletes a specified attachment resource under a particular farmer. */
380
- export declare interface AttachmentsDeletedefaultResponse extends HttpResponse {
381
- status: "500";
382
- body: ErrorResponse;
383
- }
384
-
385
- export declare type AttachmentsDeleteParameters = RequestParameters;
386
-
387
- export declare interface AttachmentsDownload {
388
- /** Downloads and returns attachment as response for the given input filePath. */
389
- get(options?: AttachmentsDownloadParameters): Promise<AttachmentsDownload200Response | AttachmentsDownloaddefaultResponse>;
390
- }
391
-
392
- /** Downloads and returns attachment as response for the given input filePath. */
393
- export declare interface AttachmentsDownload200Response extends HttpResponse {
394
- status: "200";
395
- }
396
-
397
- /** Downloads and returns attachment as response for the given input filePath. */
398
- export declare interface AttachmentsDownloaddefaultResponse extends HttpResponse {
399
- status: "500";
400
- body: ErrorResponse;
401
- }
402
-
403
- export declare type AttachmentsDownloadParameters = RequestParameters;
404
-
405
- /** Gets a specified attachment resource under a particular farmer. */
406
- export declare interface AttachmentsGet200Response extends HttpResponse {
407
- status: "200";
408
- body: Attachment;
409
- }
410
-
411
- /** Gets a specified attachment resource under a particular farmer. */
412
- export declare interface AttachmentsGetdefaultResponse extends HttpResponse {
413
- status: "500";
414
- body: ErrorResponse;
415
- }
416
-
417
- export declare type AttachmentsGetParameters = RequestParameters;
418
-
419
- export declare interface AttachmentsListByFarmerId {
420
- /** Returns a paginated list of attachment resources under a particular farmer. */
421
- get(options?: AttachmentsListByFarmerIdParameters): Promise<AttachmentsListByFarmerId200Response | AttachmentsListByFarmerIddefaultResponse>;
422
- }
423
-
424
- /** Returns a paginated list of attachment resources under a particular farmer. */
425
- export declare interface AttachmentsListByFarmerId200Response extends HttpResponse {
426
- status: "200";
427
- body: AttachmentListResponse;
428
- }
429
-
430
- /** Returns a paginated list of attachment resources under a particular farmer. */
431
- export declare interface AttachmentsListByFarmerIddefaultResponse extends HttpResponse {
432
- status: "500";
433
- body: ErrorResponse;
434
- }
435
-
436
- export declare type AttachmentsListByFarmerIdParameters = RequestParameters & AttachmentsListByFarmerIdQueryParam;
437
-
438
- export declare interface AttachmentsListByFarmerIdQueryParam {
439
- queryParameters?: AttachmentsListByFarmerIdQueryParamProperties;
440
- }
441
-
442
- export declare interface AttachmentsListByFarmerIdQueryParamProperties {
443
- /** Resource Ids of the resource. */
444
- resourceIds?: string[];
445
- /** Resource Types of the resource. */
446
- resourceTypes?: string[];
447
- /** Ids of the resource. */
448
- ids?: string[];
449
- /** Names of the resource. */
450
- names?: string[];
451
- /**
452
- * Filters on key-value pairs within the Properties object.
453
- * eg. "\{testKey\} eq \{testValue\}".
454
- */
455
- propertyFilters?: string[];
456
- /** Statuses of the resource. */
457
- statuses?: string[];
458
- /** Minimum creation date of resource (inclusive). */
459
- minCreatedDateTime?: Date;
460
- /** Maximum creation date of resource (inclusive). */
461
- maxCreatedDateTime?: Date;
462
- /** Minimum last modified date of resource (inclusive). */
463
- minLastModifiedDateTime?: Date;
464
- /** Maximum last modified date of resource (inclusive). */
465
- maxLastModifiedDateTime?: Date;
466
- /**
467
- * Maximum number of items needed (inclusive).
468
- * Minimum = 10, Maximum = 1000, Default value = 50.
469
- */
470
- $maxPageSize?: number;
471
- /** Skip token for getting next set of results. */
472
- $skipToken?: string;
473
- }
474
-
475
- export declare interface BoundariesCreateCascadeDeleteJob {
476
- /** Get cascade delete job for specified boundary. */
477
- get(options?: BoundariesGetCascadeDeleteJobDetailsParameters): Promise<BoundariesGetCascadeDeleteJobDetails200Response | BoundariesGetCascadeDeleteJobDetailsdefaultResponse>;
478
- /** Create a cascade delete job for specified boundary. */
479
- put(options?: BoundariesCreateCascadeDeleteJobParameters): Promise<BoundariesCreateCascadeDeleteJob202Response | BoundariesCreateCascadeDeleteJobdefaultResponse>;
480
- }
481
-
482
- /** Create a cascade delete job for specified boundary. */
483
- export declare interface BoundariesCreateCascadeDeleteJob202Response extends HttpResponse {
484
- status: "202";
485
- body: CascadeDeleteJob;
486
- }
487
-
488
- /** Create a cascade delete job for specified boundary. */
489
- export declare interface BoundariesCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
490
- status: "500";
491
- body: ErrorResponse;
492
- }
493
-
494
- export declare type BoundariesCreateCascadeDeleteJobParameters = RequestParameters & BoundariesCreateCascadeDeleteJobQueryParam;
495
-
496
- export declare interface BoundariesCreateCascadeDeleteJobQueryParam {
497
- queryParameters: BoundariesCreateCascadeDeleteJobQueryParamProperties;
498
- }
499
-
500
- export declare interface BoundariesCreateCascadeDeleteJobQueryParamProperties {
501
- /** ID of the associated farmer. */
502
- farmerId: string;
503
- /** ID of the boundary to be deleted. */
504
- boundaryId: string;
505
- }
506
-
507
- /** Creates or updates a boundary resource. */
508
- export declare interface BoundariesCreateOrUpdate200Response extends HttpResponse {
509
- status: "200";
510
- body: Boundary;
511
- }
512
-
513
- /** Creates or updates a boundary resource. */
514
- export declare interface BoundariesCreateOrUpdate201Response extends HttpResponse {
515
- status: "201";
516
- body: Boundary;
517
- }
518
-
519
- export declare interface BoundariesCreateOrUpdateBodyParam {
520
- body?: Boundary;
521
- }
522
-
523
- /** Creates or updates a boundary resource. */
524
- export declare interface BoundariesCreateOrUpdatedefaultResponse extends HttpResponse {
525
- status: "500";
526
- body: ErrorResponse;
527
- }
528
-
529
- export declare type BoundariesCreateOrUpdateParameters = RequestParameters & BoundariesCreateOrUpdateBodyParam;
530
-
531
- export declare interface BoundariesDelete {
532
- /** Gets a specified boundary resource under a particular farmer. */
533
- get(options?: BoundariesGetParameters): Promise<BoundariesGet200Response | BoundariesGetdefaultResponse>;
534
- /** Creates or updates a boundary resource. */
535
- patch(options?: BoundariesCreateOrUpdateParameters): Promise<BoundariesCreateOrUpdate200Response | BoundariesCreateOrUpdate201Response | BoundariesCreateOrUpdatedefaultResponse>;
536
- /** Deletes a specified boundary resource under a particular farmer. */
537
- delete(options?: BoundariesDeleteParameters): Promise<BoundariesDelete204Response | BoundariesDeletedefaultResponse>;
538
- }
539
-
540
- /** Deletes a specified boundary resource under a particular farmer. */
541
- export declare interface BoundariesDelete204Response extends HttpResponse {
542
- status: "204";
543
- }
544
-
545
- /** Deletes a specified boundary resource under a particular farmer. */
546
- export declare interface BoundariesDeletedefaultResponse extends HttpResponse {
547
- status: "500";
548
- body: ErrorResponse;
549
- }
550
-
551
- export declare type BoundariesDeleteParameters = RequestParameters;
552
-
553
- /** Gets a specified boundary resource under a particular farmer. */
554
- export declare interface BoundariesGet200Response extends HttpResponse {
555
- status: "200";
556
- body: Boundary;
557
- }
558
-
559
- /** Get cascade delete job for specified boundary. */
560
- export declare interface BoundariesGetCascadeDeleteJobDetails200Response extends HttpResponse {
561
- status: "200";
562
- body: CascadeDeleteJob;
563
- }
564
-
565
- /** Get cascade delete job for specified boundary. */
566
- export declare interface BoundariesGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
567
- status: "500";
568
- body: ErrorResponse;
569
- }
570
-
571
- export declare type BoundariesGetCascadeDeleteJobDetailsParameters = RequestParameters;
572
-
573
- /** Gets a specified boundary resource under a particular farmer. */
574
- export declare interface BoundariesGetdefaultResponse extends HttpResponse {
575
- status: "500";
576
- body: ErrorResponse;
577
- }
578
-
579
- export declare interface BoundariesGetOverlap {
580
- /** Returns overlapping acreage between two boundary Ids. */
581
- get(options?: BoundariesGetOverlapParameters): Promise<BoundariesGetOverlap200Response | BoundariesGetOverlapdefaultResponse>;
582
- }
583
-
584
- /** Returns overlapping acreage between two boundary Ids. */
585
- export declare interface BoundariesGetOverlap200Response extends HttpResponse {
586
- status: "200";
587
- body: BoundaryOverlapResponse;
588
- }
589
-
590
- /** Returns overlapping acreage between two boundary Ids. */
591
- export declare interface BoundariesGetOverlapdefaultResponse extends HttpResponse {
592
- status: "500";
593
- body: ErrorResponse;
594
- }
595
-
596
- export declare type BoundariesGetOverlapParameters = RequestParameters & BoundariesGetOverlapQueryParam;
597
-
598
- export declare interface BoundariesGetOverlapQueryParam {
599
- queryParameters: BoundariesGetOverlapQueryParamProperties;
600
- }
601
-
602
- export declare interface BoundariesGetOverlapQueryParamProperties {
603
- /** FarmerId of the other field. */
604
- otherFarmerId: string;
605
- /** ID of the other boundary. */
606
- otherBoundaryId: string;
607
- }
608
-
609
- export declare type BoundariesGetParameters = RequestParameters;
610
-
611
- /** Returns a paginated list of boundary resources across all farmers. */
612
- export declare interface BoundariesList200Response extends HttpResponse {
613
- status: "200";
614
- body: BoundaryListResponse;
615
- }
616
-
617
- /** Returns a paginated list of boundary resources under a particular farmer. */
618
- export declare interface BoundariesListByFarmerId200Response extends HttpResponse {
619
- status: "200";
620
- body: BoundaryListResponse;
621
- }
622
-
623
- /** Returns a paginated list of boundary resources under a particular farmer. */
624
- export declare interface BoundariesListByFarmerIddefaultResponse extends HttpResponse {
625
- status: "500";
626
- body: ErrorResponse;
627
- }
628
-
629
- export declare type BoundariesListByFarmerIdParameters = RequestParameters & BoundariesListByFarmerIdQueryParam;
630
-
631
- export declare interface BoundariesListByFarmerIdQueryParam {
632
- queryParameters?: BoundariesListByFarmerIdQueryParamProperties;
633
- }
634
-
635
- export declare interface BoundariesListByFarmerIdQueryParamProperties {
636
- /** Is the boundary primary. */
637
- isPrimary?: boolean;
638
- /** Type of the parent it belongs to. */
639
- parentType?: string;
640
- /** Parent Ids of the resource. */
641
- parentIds?: string[];
642
- /** Minimum acreage of the boundary (inclusive). */
643
- minAcreage?: number;
644
- /** Maximum acreage of the boundary (inclusive). */
645
- maxAcreage?: number;
646
- /** Ids of the resource. */
647
- ids?: string[];
648
- /** Names of the resource. */
649
- names?: string[];
650
- /**
651
- * Filters on key-value pairs within the Properties object.
652
- * eg. "\{testKey\} eq \{testValue\}".
653
- */
654
- propertyFilters?: string[];
655
- /** Statuses of the resource. */
656
- statuses?: string[];
657
- /** Minimum creation date of resource (inclusive). */
658
- minCreatedDateTime?: Date;
659
- /** Maximum creation date of resource (inclusive). */
660
- maxCreatedDateTime?: Date;
661
- /** Minimum last modified date of resource (inclusive). */
662
- minLastModifiedDateTime?: Date;
663
- /** Maximum last modified date of resource (inclusive). */
664
- maxLastModifiedDateTime?: Date;
665
- /**
666
- * Maximum number of items needed (inclusive).
667
- * Minimum = 10, Maximum = 1000, Default value = 50.
668
- */
669
- $maxPageSize?: number;
670
- /** Skip token for getting next set of results. */
671
- $skipToken?: string;
672
- }
673
-
674
- /** Returns a paginated list of boundary resources across all farmers. */
675
- export declare interface BoundariesListdefaultResponse extends HttpResponse {
676
- status: "500";
677
- body: ErrorResponse;
678
- }
679
-
680
- export declare type BoundariesListParameters = RequestParameters & BoundariesListQueryParam;
681
-
682
- export declare interface BoundariesListQueryParam {
683
- queryParameters?: BoundariesListQueryParamProperties;
684
- }
685
-
686
- export declare interface BoundariesListQueryParamProperties {
687
- /** Is the boundary primary. */
688
- isPrimary?: boolean;
689
- /** Type of the parent it belongs to. */
690
- parentType?: string;
691
- /** Parent Ids of the resource. */
692
- parentIds?: string[];
693
- /** Minimum acreage of the boundary (inclusive). */
694
- minAcreage?: number;
695
- /** Maximum acreage of the boundary (inclusive). */
696
- maxAcreage?: number;
697
- /** Ids of the resource. */
698
- ids?: string[];
699
- /** Names of the resource. */
700
- names?: string[];
701
- /**
702
- * Filters on key-value pairs within the Properties object.
703
- * eg. "\{testKey\} eq \{testValue\}".
704
- */
705
- propertyFilters?: string[];
706
- /** Statuses of the resource. */
707
- statuses?: string[];
708
- /** Minimum creation date of resource (inclusive). */
709
- minCreatedDateTime?: Date;
710
- /** Maximum creation date of resource (inclusive). */
711
- maxCreatedDateTime?: Date;
712
- /** Minimum last modified date of resource (inclusive). */
713
- minLastModifiedDateTime?: Date;
714
- /** Maximum last modified date of resource (inclusive). */
715
- maxLastModifiedDateTime?: Date;
716
- /**
717
- * Maximum number of items needed (inclusive).
718
- * Minimum = 10, Maximum = 1000, Default value = 50.
719
- */
720
- $maxPageSize?: number;
721
- /** Skip token for getting next set of results. */
722
- $skipToken?: string;
723
- }
724
-
725
- export declare interface BoundariesSearch {
726
- /** Returns a paginated list of boundary resources across all farmers. */
727
- get(options?: BoundariesListParameters): Promise<BoundariesList200Response | BoundariesListdefaultResponse>;
728
- /** Search for boundaries across all farmers by fields and intersecting geometry. */
729
- post(options?: BoundariesSearchParameters): Promise<BoundariesSearch200Response | BoundariesSearchdefaultResponse>;
730
- }
731
-
732
- /** Search for boundaries across all farmers by fields and intersecting geometry. */
733
- export declare interface BoundariesSearch200Response extends HttpResponse {
734
- status: "200";
735
- body: BoundaryListResponse;
736
- }
737
-
738
- export declare interface BoundariesSearchBodyParam {
739
- body?: SearchBoundaryQuery;
740
- }
741
-
742
- export declare interface BoundariesSearchByFarmerId {
743
- /** Returns a paginated list of boundary resources under a particular farmer. */
744
- get(options?: BoundariesListByFarmerIdParameters): Promise<BoundariesListByFarmerId200Response | BoundariesListByFarmerIddefaultResponse>;
745
- /** Search for boundaries by fields and intersecting geometry. */
746
- post(options?: BoundariesSearchByFarmerIdParameters): Promise<BoundariesSearchByFarmerId200Response | BoundariesSearchByFarmerIddefaultResponse>;
747
- }
748
-
749
- /** Search for boundaries by fields and intersecting geometry. */
750
- export declare interface BoundariesSearchByFarmerId200Response extends HttpResponse {
751
- status: "200";
752
- body: BoundaryListResponse;
753
- }
754
-
755
- export declare interface BoundariesSearchByFarmerIdBodyParam {
756
- body?: SearchBoundaryQuery;
757
- }
758
-
759
- /** Search for boundaries by fields and intersecting geometry. */
760
- export declare interface BoundariesSearchByFarmerIddefaultResponse extends HttpResponse {
761
- status: "500";
762
- body: ErrorResponse;
763
- }
764
-
765
- export declare type BoundariesSearchByFarmerIdParameters = RequestParameters & BoundariesSearchByFarmerIdBodyParam;
766
-
767
- /** Search for boundaries across all farmers by fields and intersecting geometry. */
768
- export declare interface BoundariesSearchdefaultResponse extends HttpResponse {
769
- status: "500";
770
- body: ErrorResponse;
771
- }
772
-
773
- export declare type BoundariesSearchParameters = RequestParameters & BoundariesSearchBodyParam;
774
-
775
- export declare interface Boundary {
776
- /** Farmer ID. */
777
- farmerId?: string;
778
- /** ID of the parent(field or seasonalField) it belongs to. */
779
- parentId?: string;
780
- /** GeoJSON abstract class. */
781
- geometry?: GeoJsonObject;
782
- /** Is the boundary primary. */
783
- isPrimary?: boolean;
784
- /** Boundary area in acres. */
785
- acreage?: number;
786
- /** Type of the parent it belongs to. */
787
- parentType?: string;
788
- /** Unique resource ID. */
789
- id?: string;
790
- /** The ETag value to implement optimistic concurrency. */
791
- eTag?: string;
792
- /** Status of the resource. */
793
- status?: string;
794
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
795
- createdDateTime?: Date;
796
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
797
- modifiedDateTime?: Date;
798
- /** Name to identify resource. */
799
- name?: string;
800
- /** Textual description of the resource. */
801
- description?: string;
802
- /**
803
- * A collection of key value pairs that belongs to the resource.
804
- * Each pair must not have a key greater than 50 characters
805
- * and must not have a value greater than 150 characters.
806
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
807
- */
808
- properties?: BoundaryPropertiesDictionary;
809
- }
810
-
811
- export declare interface BoundaryListResponse {
812
- /** List of requested objects. */
813
- value?: Boundary[];
814
- /** Token used in retrieving the next page. If null, there are no additional pages. */
815
- skipToken?: string;
816
- /** Continuation link (absolute URI) to the next page of results in the list. */
817
- nextLink?: string;
818
- }
819
-
820
- export declare interface BoundaryOverlapResponse {
821
- /** Acreage of Main boundary. */
822
- boundaryAcreage?: number;
823
- /** Acreage of other boundary. */
824
- otherBoundaryAcreage?: number;
825
- /** Acreage of intersecting boundary. */
826
- intersectingAcreage?: number;
827
- }
828
-
829
- export declare type BoundaryPropertiesDictionary = Record<string, unknown>;
830
-
831
- export declare interface CascadeDeleteJob {
832
- /** Farmer ID. */
833
- farmerId: string;
834
- /** The id of the resource. */
835
- resourceId: string;
836
- /** The type of the resource. */
837
- resourceType: string;
838
- /** Unique job id. */
839
- id?: string;
840
- /**
841
- * Status of the job.
842
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
843
- */
844
- status?: string;
845
- /** Duration of the job in seconds. */
846
- durationInSeconds?: number;
847
- /** Status message to capture more details of the job. */
848
- message?: string;
849
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
850
- createdDateTime?: Date;
851
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
852
- lastActionDateTime?: Date;
853
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
854
- startTime?: Date;
855
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
856
- endTime?: Date;
857
- /** Name to identify resource. */
858
- name?: string;
859
- /** Textual description of the resource. */
860
- description?: string;
861
- /**
862
- * A collection of key value pairs that belongs to the resource.
863
- * Each pair must not have a key greater than 50 characters
864
- * and must not have a value greater than 150 characters.
865
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
866
- */
867
- properties?: CascadeDeleteJobPropertiesDictionary;
868
- }
869
-
870
- export declare type CascadeDeleteJobPropertiesDictionary = Record<string, unknown>;
871
-
872
- export declare interface Crop {
873
- /** Crop phenotype. */
874
- phenotype?: string;
875
- /** Unique resource ID. */
876
- id?: string;
877
- /** The ETag value to implement optimistic concurrency. */
878
- eTag?: string;
879
- /** Status of the resource. */
880
- status?: string;
881
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
882
- createdDateTime?: Date;
883
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
884
- modifiedDateTime?: Date;
885
- /** Name to identify resource. */
886
- name?: string;
887
- /** Textual description of the resource. */
888
- description?: string;
889
- /**
890
- * A collection of key value pairs that belongs to the resource.
891
- * Each pair must not have a key greater than 50 characters
892
- * and must not have a value greater than 150 characters.
893
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
894
- */
895
- properties?: CropPropertiesDictionary;
896
- }
897
-
898
- export declare interface CropListResponse {
899
- /** List of requested objects. */
900
- value?: Crop[];
901
- /** Token used in retrieving the next page. If null, there are no additional pages. */
902
- skipToken?: string;
903
- /** Continuation link (absolute URI) to the next page of results in the list. */
904
- nextLink?: string;
905
- }
906
-
907
- export declare type CropPropertiesDictionary = Record<string, unknown>;
908
-
909
- /** Creates or updates a crop resource. */
910
- export declare interface CropsCreateOrUpdate200Response extends HttpResponse {
911
- status: "200";
912
- body: Crop;
913
- }
914
-
915
- /** Creates or updates a crop resource. */
916
- export declare interface CropsCreateOrUpdate201Response extends HttpResponse {
917
- status: "201";
918
- body: Crop;
919
- }
920
-
921
- export declare interface CropsCreateOrUpdateBodyParam {
922
- body?: Crop;
923
- }
924
-
925
- /** Creates or updates a crop resource. */
926
- export declare interface CropsCreateOrUpdatedefaultResponse extends HttpResponse {
927
- status: "500";
928
- body: ErrorResponse;
929
- }
930
-
931
- export declare type CropsCreateOrUpdateParameters = RequestParameters & CropsCreateOrUpdateBodyParam;
932
-
933
- export declare interface CropsDelete {
934
- /** Gets a specified crop resource. */
935
- get(options?: CropsGetParameters): Promise<CropsGet200Response | CropsGetdefaultResponse>;
936
- /** Creates or updates a crop resource. */
937
- patch(options?: CropsCreateOrUpdateParameters): Promise<CropsCreateOrUpdate200Response | CropsCreateOrUpdate201Response | CropsCreateOrUpdatedefaultResponse>;
938
- /** Deletes Crop for given crop id. */
939
- delete(options?: CropsDeleteParameters): Promise<CropsDelete204Response | CropsDeletedefaultResponse>;
940
- }
941
-
942
- /** Deletes Crop for given crop id. */
943
- export declare interface CropsDelete204Response extends HttpResponse {
944
- status: "204";
945
- }
946
-
947
- /** Deletes Crop for given crop id. */
948
- export declare interface CropsDeletedefaultResponse extends HttpResponse {
949
- status: "500";
950
- body: ErrorResponse;
951
- }
952
-
953
- export declare type CropsDeleteParameters = RequestParameters;
954
-
955
- /** Gets a specified crop resource. */
956
- export declare interface CropsGet200Response extends HttpResponse {
957
- status: "200";
958
- body: Crop;
959
- }
960
-
961
- /** Gets a specified crop resource. */
962
- export declare interface CropsGetdefaultResponse extends HttpResponse {
963
- status: "500";
964
- body: ErrorResponse;
965
- }
966
-
967
- export declare type CropsGetParameters = RequestParameters;
968
-
969
- export declare interface CropsList {
970
- /** Returns a paginated list of crop resources. */
971
- get(options?: CropsListParameters): Promise<CropsList200Response | CropsListdefaultResponse>;
972
- }
973
-
974
- /** Returns a paginated list of crop resources. */
975
- export declare interface CropsList200Response extends HttpResponse {
976
- status: "200";
977
- body: CropListResponse;
978
- }
979
-
980
- /** Returns a paginated list of crop resources. */
981
- export declare interface CropsListdefaultResponse extends HttpResponse {
982
- status: "500";
983
- body: ErrorResponse;
984
- }
985
-
986
- export declare type CropsListParameters = RequestParameters & CropsListQueryParam;
987
-
988
- export declare interface CropsListQueryParam {
989
- queryParameters?: CropsListQueryParamProperties;
990
- }
991
-
992
- export declare interface CropsListQueryParamProperties {
993
- /** Crop phenotypes of the resource. */
994
- phenotypes?: string[];
995
- /** Ids of the resource. */
996
- ids?: string[];
997
- /** Names of the resource. */
998
- names?: string[];
999
- /**
1000
- * Filters on key-value pairs within the Properties object.
1001
- * eg. "\{testKey\} eq \{testValue\}".
1002
- */
1003
- propertyFilters?: string[];
1004
- /** Statuses of the resource. */
1005
- statuses?: string[];
1006
- /** Minimum creation date of resource (inclusive). */
1007
- minCreatedDateTime?: Date;
1008
- /** Maximum creation date of resource (inclusive). */
1009
- maxCreatedDateTime?: Date;
1010
- /** Minimum last modified date of resource (inclusive). */
1011
- minLastModifiedDateTime?: Date;
1012
- /** Maximum last modified date of resource (inclusive). */
1013
- maxLastModifiedDateTime?: Date;
1014
- /**
1015
- * Maximum number of items needed (inclusive).
1016
- * Minimum = 10, Maximum = 1000, Default value = 50.
1017
- */
1018
- $maxPageSize?: number;
1019
- /** Skip token for getting next set of results. */
1020
- $skipToken?: string;
1021
- }
1022
-
1023
- /** Creates or updates a crop variety resource. */
1024
- export declare interface CropVarietiesCreateOrUpdate200Response extends HttpResponse {
1025
- status: "200";
1026
- body: CropVariety;
1027
- }
1028
-
1029
- /** Creates or updates a crop variety resource. */
1030
- export declare interface CropVarietiesCreateOrUpdate201Response extends HttpResponse {
1031
- status: "201";
1032
- body: CropVariety;
1033
- }
1034
-
1035
- export declare interface CropVarietiesCreateOrUpdateBodyParam {
1036
- body?: CropVariety;
1037
- }
1038
-
1039
- /** Creates or updates a crop variety resource. */
1040
- export declare interface CropVarietiesCreateOrUpdatedefaultResponse extends HttpResponse {
1041
- status: "500";
1042
- body: ErrorResponse;
1043
- }
1044
-
1045
- export declare type CropVarietiesCreateOrUpdateParameters = RequestParameters & CropVarietiesCreateOrUpdateBodyParam;
1046
-
1047
- export declare interface CropVarietiesDelete {
1048
- /** Gets a specified crop variety resource under a particular crop. */
1049
- get(options?: CropVarietiesGetParameters): Promise<CropVarietiesGet200Response | CropVarietiesGetdefaultResponse>;
1050
- /** Creates or updates a crop variety resource. */
1051
- patch(options?: CropVarietiesCreateOrUpdateParameters): Promise<CropVarietiesCreateOrUpdate200Response | CropVarietiesCreateOrUpdate201Response | CropVarietiesCreateOrUpdatedefaultResponse>;
1052
- /** Deletes a specified crop variety resource under a particular crop. */
1053
- delete(options?: CropVarietiesDeleteParameters): Promise<CropVarietiesDelete204Response | CropVarietiesDeletedefaultResponse>;
1054
- }
1055
-
1056
- /** Deletes a specified crop variety resource under a particular crop. */
1057
- export declare interface CropVarietiesDelete204Response extends HttpResponse {
1058
- status: "204";
1059
- }
1060
-
1061
- /** Deletes a specified crop variety resource under a particular crop. */
1062
- export declare interface CropVarietiesDeletedefaultResponse extends HttpResponse {
1063
- status: "500";
1064
- body: ErrorResponse;
1065
- }
1066
-
1067
- export declare type CropVarietiesDeleteParameters = RequestParameters;
1068
-
1069
- /** Gets a specified crop variety resource under a particular crop. */
1070
- export declare interface CropVarietiesGet200Response extends HttpResponse {
1071
- status: "200";
1072
- body: CropVariety;
1073
- }
1074
-
1075
- /** Gets a specified crop variety resource under a particular crop. */
1076
- export declare interface CropVarietiesGetdefaultResponse extends HttpResponse {
1077
- status: "500";
1078
- body: ErrorResponse;
1079
- }
1080
-
1081
- export declare type CropVarietiesGetParameters = RequestParameters;
1082
-
1083
- export declare interface CropVarietiesList {
1084
- /** Returns a paginated list of crop variety resources across all crops. */
1085
- get(options?: CropVarietiesListParameters): Promise<CropVarietiesList200Response | CropVarietiesListdefaultResponse>;
1086
- }
1087
-
1088
- /** Returns a paginated list of crop variety resources across all crops. */
1089
- export declare interface CropVarietiesList200Response extends HttpResponse {
1090
- status: "200";
1091
- body: CropVarietyListResponse;
1092
- }
1093
-
1094
- export declare interface CropVarietiesListByCropId {
1095
- /** Returns a paginated list of crop variety resources under a particular crop. */
1096
- get(options?: CropVarietiesListByCropIdParameters): Promise<CropVarietiesListByCropId200Response | CropVarietiesListByCropIddefaultResponse>;
1097
- }
1098
-
1099
- /** Returns a paginated list of crop variety resources under a particular crop. */
1100
- export declare interface CropVarietiesListByCropId200Response extends HttpResponse {
1101
- status: "200";
1102
- body: CropVarietyListResponse;
1103
- }
1104
-
1105
- /** Returns a paginated list of crop variety resources under a particular crop. */
1106
- export declare interface CropVarietiesListByCropIddefaultResponse extends HttpResponse {
1107
- status: "500";
1108
- body: ErrorResponse;
1109
- }
1110
-
1111
- export declare type CropVarietiesListByCropIdParameters = RequestParameters & CropVarietiesListByCropIdQueryParam;
1112
-
1113
- export declare interface CropVarietiesListByCropIdQueryParam {
1114
- queryParameters?: CropVarietiesListByCropIdQueryParamProperties;
1115
- }
1116
-
1117
- export declare interface CropVarietiesListByCropIdQueryParamProperties {
1118
- /** CropIds of the resource. */
1119
- cropIds?: string[];
1120
- /** Brands of the resource. */
1121
- brands?: string[];
1122
- /** Products of the resource. */
1123
- products?: string[];
1124
- /** Ids of the resource. */
1125
- ids?: string[];
1126
- /** Names of the resource. */
1127
- names?: string[];
1128
- /**
1129
- * Filters on key-value pairs within the Properties object.
1130
- * eg. "\{testKey\} eq \{testValue\}".
1131
- */
1132
- propertyFilters?: string[];
1133
- /** Statuses of the resource. */
1134
- statuses?: string[];
1135
- /** Minimum creation date of resource (inclusive). */
1136
- minCreatedDateTime?: Date;
1137
- /** Maximum creation date of resource (inclusive). */
1138
- maxCreatedDateTime?: Date;
1139
- /** Minimum last modified date of resource (inclusive). */
1140
- minLastModifiedDateTime?: Date;
1141
- /** Maximum last modified date of resource (inclusive). */
1142
- maxLastModifiedDateTime?: Date;
1143
- /**
1144
- * Maximum number of items needed (inclusive).
1145
- * Minimum = 10, Maximum = 1000, Default value = 50.
1146
- */
1147
- $maxPageSize?: number;
1148
- /** Skip token for getting next set of results. */
1149
- $skipToken?: string;
1150
- }
1151
-
1152
- /** Returns a paginated list of crop variety resources across all crops. */
1153
- export declare interface CropVarietiesListdefaultResponse extends HttpResponse {
1154
- status: "500";
1155
- body: ErrorResponse;
1156
- }
1157
-
1158
- export declare type CropVarietiesListParameters = RequestParameters & CropVarietiesListQueryParam;
1159
-
1160
- export declare interface CropVarietiesListQueryParam {
1161
- queryParameters?: CropVarietiesListQueryParamProperties;
1162
- }
1163
-
1164
- export declare interface CropVarietiesListQueryParamProperties {
1165
- /** CropIds of the resource. */
1166
- cropIds?: string[];
1167
- /** Brands of the resource. */
1168
- brands?: string[];
1169
- /** Products of the resource. */
1170
- products?: string[];
1171
- /** Ids of the resource. */
1172
- ids?: string[];
1173
- /** Names of the resource. */
1174
- names?: string[];
1175
- /**
1176
- * Filters on key-value pairs within the Properties object.
1177
- * eg. "\{testKey\} eq \{testValue\}".
1178
- */
1179
- propertyFilters?: string[];
1180
- /** Statuses of the resource. */
1181
- statuses?: string[];
1182
- /** Minimum creation date of resource (inclusive). */
1183
- minCreatedDateTime?: Date;
1184
- /** Maximum creation date of resource (inclusive). */
1185
- maxCreatedDateTime?: Date;
1186
- /** Minimum last modified date of resource (inclusive). */
1187
- minLastModifiedDateTime?: Date;
1188
- /** Maximum last modified date of resource (inclusive). */
1189
- maxLastModifiedDateTime?: Date;
1190
- /**
1191
- * Maximum number of items needed (inclusive).
1192
- * Minimum = 10, Maximum = 1000, Default value = 50.
1193
- */
1194
- $maxPageSize?: number;
1195
- /** Skip token for getting next set of results. */
1196
- $skipToken?: string;
1197
- }
1198
-
1199
- export declare interface CropVariety {
1200
- /** ID of the crop it belongs to. */
1201
- cropId?: string;
1202
- /** CropVariety Brand. */
1203
- brand?: string;
1204
- /** CropVariety product. */
1205
- product?: string;
1206
- /** Unique resource ID. */
1207
- id?: string;
1208
- /** The ETag value to implement optimistic concurrency. */
1209
- eTag?: string;
1210
- /** Status of the resource. */
1211
- status?: string;
1212
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1213
- createdDateTime?: Date;
1214
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1215
- modifiedDateTime?: Date;
1216
- /** Name to identify resource. */
1217
- name?: string;
1218
- /** Textual description of the resource. */
1219
- description?: string;
1220
- /**
1221
- * A collection of key value pairs that belongs to the resource.
1222
- * Each pair must not have a key greater than 50 characters
1223
- * and must not have a value greater than 150 characters.
1224
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
1225
- */
1226
- properties?: CropVarietyPropertiesDictionary;
1227
- }
1228
-
1229
- export declare interface CropVarietyListResponse {
1230
- /** List of requested objects. */
1231
- value?: CropVariety[];
1232
- /** Token used in retrieving the next page. If null, there are no additional pages. */
1233
- skipToken?: string;
1234
- /** Continuation link (absolute URI) to the next page of results in the list. */
1235
- nextLink?: string;
1236
- }
1237
-
1238
- export declare type CropVarietyPropertiesDictionary = Record<string, unknown>;
1239
-
1240
- export declare type DataProvider = "Microsoft";
1241
-
1242
- declare interface Error_2 {
1243
- /** Server-defined set of error codes. */
1244
- code?: string;
1245
- /** Human-readable representation of the error. */
1246
- message?: string;
1247
- /** Target of the error. */
1248
- target?: string;
1249
- /** Array of details about specific errors that led to this reported error. */
1250
- details?: Error_2[];
1251
- /**
1252
- * Inner error containing list of errors.
1253
- * <see href="https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object">InnerError reference document</see>.
1254
- */
1255
- innererror?: InnerError;
1256
- }
1257
- export { Error_2 as Error }
1258
-
1259
- export declare interface ErrorResponse {
1260
- /** An error from the Azure AgPlatform service. */
1261
- error?: Error_2;
1262
- /** Unique trace ID. */
1263
- traceId?: string;
1264
- }
1265
-
1266
- export declare interface Farm {
1267
- /** Farmer ID. */
1268
- farmerId?: string;
1269
- /** Unique resource ID. */
1270
- id?: string;
1271
- /** The ETag value to implement optimistic concurrency. */
1272
- eTag?: string;
1273
- /** Status of the resource. */
1274
- status?: string;
1275
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1276
- createdDateTime?: Date;
1277
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1278
- modifiedDateTime?: Date;
1279
- /** Name to identify resource. */
1280
- name?: string;
1281
- /** Textual description of the resource. */
1282
- description?: string;
1283
- /**
1284
- * A collection of key value pairs that belongs to the resource.
1285
- * Each pair must not have a key greater than 50 characters
1286
- * and must not have a value greater than 150 characters.
1287
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
1288
- */
1289
- properties?: FarmPropertiesDictionary;
1290
- }
1291
-
1292
- declare function FarmBeats(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): FarmBeatsRestClient;
1293
- export default FarmBeats;
1294
-
1295
- export declare type FarmBeatsRestClient = Client & {
1296
- path: Routes;
1297
- };
1298
-
1299
- export declare interface Farmer {
1300
- /** Unique resource ID. */
1301
- id?: string;
1302
- /** The ETag value to implement optimistic concurrency. */
1303
- eTag?: string;
1304
- /** Status of the resource. */
1305
- status?: string;
1306
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1307
- createdDateTime?: Date;
1308
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1309
- modifiedDateTime?: Date;
1310
- /** Name to identify resource. */
1311
- name?: string;
1312
- /** Textual description of the resource. */
1313
- description?: string;
1314
- /**
1315
- * A collection of key value pairs that belongs to the resource.
1316
- * Each pair must not have a key greater than 50 characters
1317
- * and must not have a value greater than 150 characters.
1318
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
1319
- */
1320
- properties?: FarmerPropertiesDictionary;
1321
- }
1322
-
1323
- export declare interface FarmerListResponse {
1324
- /** List of requested objects. */
1325
- value?: Farmer[];
1326
- /** Token used in retrieving the next page. If null, there are no additional pages. */
1327
- skipToken?: string;
1328
- /** Continuation link (absolute URI) to the next page of results in the list. */
1329
- nextLink?: string;
1330
- }
1331
-
1332
- export declare type FarmerPropertiesDictionary = Record<string, unknown>;
1333
-
1334
- export declare interface FarmersCreateCascadeDeleteJob {
1335
- /** Get a cascade delete job for specified farmer. */
1336
- get(options?: FarmersGetCascadeDeleteJobDetailsParameters): Promise<FarmersGetCascadeDeleteJobDetails200Response | FarmersGetCascadeDeleteJobDetailsdefaultResponse>;
1337
- /** Create a cascade delete job for specified farmer. */
1338
- put(options?: FarmersCreateCascadeDeleteJobParameters): Promise<FarmersCreateCascadeDeleteJob202Response | FarmersCreateCascadeDeleteJobdefaultResponse>;
1339
- }
1340
-
1341
- /** Create a cascade delete job for specified farmer. */
1342
- export declare interface FarmersCreateCascadeDeleteJob202Response extends HttpResponse {
1343
- status: "202";
1344
- body: CascadeDeleteJob;
1345
- }
1346
-
1347
- /** Create a cascade delete job for specified farmer. */
1348
- export declare interface FarmersCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
1349
- status: "500";
1350
- body: ErrorResponse;
1351
- }
1352
-
1353
- export declare type FarmersCreateCascadeDeleteJobParameters = RequestParameters & FarmersCreateCascadeDeleteJobQueryParam;
1354
-
1355
- export declare interface FarmersCreateCascadeDeleteJobQueryParam {
1356
- queryParameters: FarmersCreateCascadeDeleteJobQueryParamProperties;
1357
- }
1358
-
1359
- export declare interface FarmersCreateCascadeDeleteJobQueryParamProperties {
1360
- /** ID of the farmer to be deleted. */
1361
- farmerId: string;
1362
- }
1363
-
1364
- /** Creates or updates a farmer resource. */
1365
- export declare interface FarmersCreateOrUpdate200Response extends HttpResponse {
1366
- status: "200";
1367
- body: Farmer;
1368
- }
1369
-
1370
- /** Creates or updates a farmer resource. */
1371
- export declare interface FarmersCreateOrUpdate201Response extends HttpResponse {
1372
- status: "201";
1373
- body: Farmer;
1374
- }
1375
-
1376
- export declare interface FarmersCreateOrUpdateBodyParam {
1377
- body?: Farmer;
1378
- }
1379
-
1380
- /** Creates or updates a farmer resource. */
1381
- export declare interface FarmersCreateOrUpdatedefaultResponse extends HttpResponse {
1382
- status: "500";
1383
- body: ErrorResponse;
1384
- }
1385
-
1386
- export declare type FarmersCreateOrUpdateParameters = RequestParameters & FarmersCreateOrUpdateBodyParam;
1387
-
1388
- export declare interface FarmersDelete {
1389
- /** Gets a specified farmer resource. */
1390
- get(options?: FarmersGetParameters): Promise<FarmersGet200Response | FarmersGetdefaultResponse>;
1391
- /** Creates or updates a farmer resource. */
1392
- patch(options?: FarmersCreateOrUpdateParameters): Promise<FarmersCreateOrUpdate200Response | FarmersCreateOrUpdate201Response | FarmersCreateOrUpdatedefaultResponse>;
1393
- /** Deletes a specified farmer resource. */
1394
- delete(options?: FarmersDeleteParameters): Promise<FarmersDelete204Response | FarmersDeletedefaultResponse>;
1395
- }
1396
-
1397
- /** Deletes a specified farmer resource. */
1398
- export declare interface FarmersDelete204Response extends HttpResponse {
1399
- status: "204";
1400
- }
1401
-
1402
- /** Deletes a specified farmer resource. */
1403
- export declare interface FarmersDeletedefaultResponse extends HttpResponse {
1404
- status: "500";
1405
- body: ErrorResponse;
1406
- }
1407
-
1408
- export declare type FarmersDeleteParameters = RequestParameters;
1409
-
1410
- /** Gets a specified farmer resource. */
1411
- export declare interface FarmersGet200Response extends HttpResponse {
1412
- status: "200";
1413
- body: Farmer;
1414
- }
1415
-
1416
- /** Get a cascade delete job for specified farmer. */
1417
- export declare interface FarmersGetCascadeDeleteJobDetails200Response extends HttpResponse {
1418
- status: "200";
1419
- body: CascadeDeleteJob;
1420
- }
1421
-
1422
- /** Get a cascade delete job for specified farmer. */
1423
- export declare interface FarmersGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
1424
- status: "500";
1425
- body: ErrorResponse;
1426
- }
1427
-
1428
- export declare type FarmersGetCascadeDeleteJobDetailsParameters = RequestParameters;
1429
-
1430
- /** Gets a specified farmer resource. */
1431
- export declare interface FarmersGetdefaultResponse extends HttpResponse {
1432
- status: "500";
1433
- body: ErrorResponse;
1434
- }
1435
-
1436
- export declare type FarmersGetParameters = RequestParameters;
1437
-
1438
- export declare interface FarmersList {
1439
- /** Returns a paginated list of farmer resources. */
1440
- get(options?: FarmersListParameters): Promise<FarmersList200Response | FarmersListdefaultResponse>;
1441
- }
1442
-
1443
- /** Returns a paginated list of farmer resources. */
1444
- export declare interface FarmersList200Response extends HttpResponse {
1445
- status: "200";
1446
- body: FarmerListResponse;
1447
- }
1448
-
1449
- /** Returns a paginated list of farmer resources. */
1450
- export declare interface FarmersListdefaultResponse extends HttpResponse {
1451
- status: "500";
1452
- body: ErrorResponse;
1453
- }
1454
-
1455
- export declare type FarmersListParameters = RequestParameters & FarmersListQueryParam;
1456
-
1457
- export declare interface FarmersListQueryParam {
1458
- queryParameters?: FarmersListQueryParamProperties;
1459
- }
1460
-
1461
- export declare interface FarmersListQueryParamProperties {
1462
- /** Ids of the resource. */
1463
- ids?: string[];
1464
- /** Names of the resource. */
1465
- names?: string[];
1466
- /**
1467
- * Filters on key-value pairs within the Properties object.
1468
- * eg. "\{testKey\} eq \{testValue\}".
1469
- */
1470
- propertyFilters?: string[];
1471
- /** Statuses of the resource. */
1472
- statuses?: string[];
1473
- /** Minimum creation date of resource (inclusive). */
1474
- minCreatedDateTime?: Date;
1475
- /** Maximum creation date of resource (inclusive). */
1476
- maxCreatedDateTime?: Date;
1477
- /** Minimum last modified date of resource (inclusive). */
1478
- minLastModifiedDateTime?: Date;
1479
- /** Maximum last modified date of resource (inclusive). */
1480
- maxLastModifiedDateTime?: Date;
1481
- /**
1482
- * Maximum number of items needed (inclusive).
1483
- * Minimum = 10, Maximum = 1000, Default value = 50.
1484
- */
1485
- $maxPageSize?: number;
1486
- /** Skip token for getting next set of results. */
1487
- $skipToken?: string;
1488
- }
1489
-
1490
- export declare interface FarmListResponse {
1491
- /** List of requested objects. */
1492
- value?: Farm[];
1493
- /** Token used in retrieving the next page. If null, there are no additional pages. */
1494
- skipToken?: string;
1495
- /** Continuation link (absolute URI) to the next page of results in the list. */
1496
- nextLink?: string;
1497
- }
1498
-
1499
- export declare interface FarmOperationDataIngestionJob {
1500
- /** Farmer ID. */
1501
- farmerId: string;
1502
- /** Authentication provider ID. */
1503
- authProviderId: string;
1504
- /** List of operation types for which data needs to be downloaded. Available values: AllOperations, Application, Planting, Harvest, Tillage. */
1505
- operations?: string[];
1506
- /** Start Year (Minimum = 2000, Maximum = CurrentYear). */
1507
- startYear: number;
1508
- /** Unique job id. */
1509
- id?: string;
1510
- /**
1511
- * Status of the job.
1512
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
1513
- */
1514
- status?: string;
1515
- /** Duration of the job in seconds. */
1516
- durationInSeconds?: number;
1517
- /** Status message to capture more details of the job. */
1518
- message?: string;
1519
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
1520
- createdDateTime?: Date;
1521
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
1522
- lastActionDateTime?: Date;
1523
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
1524
- startTime?: Date;
1525
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
1526
- endTime?: Date;
1527
- /** Name to identify resource. */
1528
- name?: string;
1529
- /** Textual description of the resource. */
1530
- description?: string;
1531
- /**
1532
- * A collection of key value pairs that belongs to the resource.
1533
- * Each pair must not have a key greater than 50 characters
1534
- * and must not have a value greater than 150 characters.
1535
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
1536
- */
1537
- properties?: FarmOperationDataIngestionJobPropertiesDictionary;
1538
- }
1539
-
1540
- export declare type FarmOperationDataIngestionJobPropertiesDictionary = Record<string, unknown>;
1541
-
1542
- /** Create a farm operation data ingestion job. */
1543
- export declare interface FarmOperationsCreateDataIngestionJob202Response extends HttpResponse {
1544
- status: "202";
1545
- body: FarmOperationDataIngestionJob;
1546
- }
1547
-
1548
- export declare interface FarmOperationsCreateDataIngestionJobBodyParam {
1549
- body?: FarmOperationDataIngestionJob;
1550
- }
1551
-
1552
- /** Create a farm operation data ingestion job. */
1553
- export declare interface FarmOperationsCreateDataIngestionJobdefaultResponse extends HttpResponse {
1554
- status: "500";
1555
- body: ErrorResponse;
1556
- }
1557
-
1558
- export declare type FarmOperationsCreateDataIngestionJobParameters = RequestParameters & FarmOperationsCreateDataIngestionJobBodyParam;
1559
-
1560
- export declare interface FarmOperationsGetDataIngestionJobDetails {
1561
- /** Create a farm operation data ingestion job. */
1562
- put(options?: FarmOperationsCreateDataIngestionJobParameters): Promise<FarmOperationsCreateDataIngestionJob202Response | FarmOperationsCreateDataIngestionJobdefaultResponse>;
1563
- /** Get a farm operation data ingestion job. */
1564
- get(options?: FarmOperationsGetDataIngestionJobDetailsParameters): Promise<FarmOperationsGetDataIngestionJobDetails200Response | FarmOperationsGetDataIngestionJobDetailsdefaultResponse>;
1565
- }
1566
-
1567
- /** Get a farm operation data ingestion job. */
1568
- export declare interface FarmOperationsGetDataIngestionJobDetails200Response extends HttpResponse {
1569
- status: "200";
1570
- body: FarmOperationDataIngestionJob;
1571
- }
1572
-
1573
- /** Get a farm operation data ingestion job. */
1574
- export declare interface FarmOperationsGetDataIngestionJobDetailsdefaultResponse extends HttpResponse {
1575
- status: "500";
1576
- body: ErrorResponse;
1577
- }
1578
-
1579
- export declare type FarmOperationsGetDataIngestionJobDetailsParameters = RequestParameters;
1580
-
1581
- export declare type FarmPropertiesDictionary = Record<string, unknown>;
1582
-
1583
- export declare interface FarmsCreateCascadeDeleteJob {
1584
- /** Get a cascade delete job for specified farm. */
1585
- get(options?: FarmsGetCascadeDeleteJobDetailsParameters): Promise<FarmsGetCascadeDeleteJobDetails200Response | FarmsGetCascadeDeleteJobDetailsdefaultResponse>;
1586
- /** Create a cascade delete job for specified farm. */
1587
- put(options?: FarmsCreateCascadeDeleteJobParameters): Promise<FarmsCreateCascadeDeleteJob202Response | FarmsCreateCascadeDeleteJobdefaultResponse>;
1588
- }
1589
-
1590
- /** Create a cascade delete job for specified farm. */
1591
- export declare interface FarmsCreateCascadeDeleteJob202Response extends HttpResponse {
1592
- status: "202";
1593
- body: CascadeDeleteJob;
1594
- }
1595
-
1596
- /** Create a cascade delete job for specified farm. */
1597
- export declare interface FarmsCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
1598
- status: "500";
1599
- body: ErrorResponse;
1600
- }
1601
-
1602
- export declare type FarmsCreateCascadeDeleteJobParameters = RequestParameters & FarmsCreateCascadeDeleteJobQueryParam;
1603
-
1604
- export declare interface FarmsCreateCascadeDeleteJobQueryParam {
1605
- queryParameters: FarmsCreateCascadeDeleteJobQueryParamProperties;
1606
- }
1607
-
1608
- export declare interface FarmsCreateCascadeDeleteJobQueryParamProperties {
1609
- /** ID of the associated farmer. */
1610
- farmerId: string;
1611
- /** ID of the farm to be deleted. */
1612
- farmId: string;
1613
- }
1614
-
1615
- /** Creates or updates a farm resource under a particular farmer. */
1616
- export declare interface FarmsCreateOrUpdate200Response extends HttpResponse {
1617
- status: "200";
1618
- body: Farm;
1619
- }
1620
-
1621
- /** Creates or updates a farm resource under a particular farmer. */
1622
- export declare interface FarmsCreateOrUpdate201Response extends HttpResponse {
1623
- status: "201";
1624
- body: Farm;
1625
- }
1626
-
1627
- export declare interface FarmsCreateOrUpdateBodyParam {
1628
- body?: Farm;
1629
- }
1630
-
1631
- /** Creates or updates a farm resource under a particular farmer. */
1632
- export declare interface FarmsCreateOrUpdatedefaultResponse extends HttpResponse {
1633
- status: "500";
1634
- body: ErrorResponse;
1635
- }
1636
-
1637
- export declare type FarmsCreateOrUpdateParameters = RequestParameters & FarmsCreateOrUpdateBodyParam;
1638
-
1639
- export declare interface FarmsDelete {
1640
- /** Gets a specified farm resource under a particular farmer. */
1641
- get(options?: FarmsGetParameters): Promise<FarmsGet200Response | FarmsGetdefaultResponse>;
1642
- /** Creates or updates a farm resource under a particular farmer. */
1643
- patch(options?: FarmsCreateOrUpdateParameters): Promise<FarmsCreateOrUpdate200Response | FarmsCreateOrUpdate201Response | FarmsCreateOrUpdatedefaultResponse>;
1644
- /** Deletes a specified farm resource under a particular farmer. */
1645
- delete(options?: FarmsDeleteParameters): Promise<FarmsDelete204Response | FarmsDeletedefaultResponse>;
1646
- }
1647
-
1648
- /** Deletes a specified farm resource under a particular farmer. */
1649
- export declare interface FarmsDelete204Response extends HttpResponse {
1650
- status: "204";
1651
- }
1652
-
1653
- /** Deletes a specified farm resource under a particular farmer. */
1654
- export declare interface FarmsDeletedefaultResponse extends HttpResponse {
1655
- status: "500";
1656
- body: ErrorResponse;
1657
- }
1658
-
1659
- export declare type FarmsDeleteParameters = RequestParameters;
1660
-
1661
- /** Gets a specified farm resource under a particular farmer. */
1662
- export declare interface FarmsGet200Response extends HttpResponse {
1663
- status: "200";
1664
- body: Farm;
1665
- }
1666
-
1667
- /** Get a cascade delete job for specified farm. */
1668
- export declare interface FarmsGetCascadeDeleteJobDetails200Response extends HttpResponse {
1669
- status: "200";
1670
- body: CascadeDeleteJob;
1671
- }
1672
-
1673
- /** Get a cascade delete job for specified farm. */
1674
- export declare interface FarmsGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
1675
- status: "500";
1676
- body: ErrorResponse;
1677
- }
1678
-
1679
- export declare type FarmsGetCascadeDeleteJobDetailsParameters = RequestParameters;
1680
-
1681
- /** Gets a specified farm resource under a particular farmer. */
1682
- export declare interface FarmsGetdefaultResponse extends HttpResponse {
1683
- status: "500";
1684
- body: ErrorResponse;
1685
- }
1686
-
1687
- export declare type FarmsGetParameters = RequestParameters;
1688
-
1689
- export declare interface FarmsList {
1690
- /** Returns a paginated list of farm resources across all farmers. */
1691
- get(options?: FarmsListParameters): Promise<FarmsList200Response | FarmsListdefaultResponse>;
1692
- }
1693
-
1694
- /** Returns a paginated list of farm resources across all farmers. */
1695
- export declare interface FarmsList200Response extends HttpResponse {
1696
- status: "200";
1697
- body: FarmListResponse;
1698
- }
1699
-
1700
- export declare interface FarmsListByFarmerId {
1701
- /** Returns a paginated list of farm resources under a particular farmer. */
1702
- get(options?: FarmsListByFarmerIdParameters): Promise<FarmsListByFarmerId200Response | FarmsListByFarmerIddefaultResponse>;
1703
- }
1704
-
1705
- /** Returns a paginated list of farm resources under a particular farmer. */
1706
- export declare interface FarmsListByFarmerId200Response extends HttpResponse {
1707
- status: "200";
1708
- body: FarmListResponse;
1709
- }
1710
-
1711
- /** Returns a paginated list of farm resources under a particular farmer. */
1712
- export declare interface FarmsListByFarmerIddefaultResponse extends HttpResponse {
1713
- status: "500";
1714
- body: ErrorResponse;
1715
- }
1716
-
1717
- export declare type FarmsListByFarmerIdParameters = RequestParameters & FarmsListByFarmerIdQueryParam;
1718
-
1719
- export declare interface FarmsListByFarmerIdQueryParam {
1720
- queryParameters?: FarmsListByFarmerIdQueryParamProperties;
1721
- }
1722
-
1723
- export declare interface FarmsListByFarmerIdQueryParamProperties {
1724
- /** Ids of the resource. */
1725
- ids?: string[];
1726
- /** Names of the resource. */
1727
- names?: string[];
1728
- /**
1729
- * Filters on key-value pairs within the Properties object.
1730
- * eg. "\{testKey\} eq \{testValue\}".
1731
- */
1732
- propertyFilters?: string[];
1733
- /** Statuses of the resource. */
1734
- statuses?: string[];
1735
- /** Minimum creation date of resource (inclusive). */
1736
- minCreatedDateTime?: Date;
1737
- /** Maximum creation date of resource (inclusive). */
1738
- maxCreatedDateTime?: Date;
1739
- /** Minimum last modified date of resource (inclusive). */
1740
- minLastModifiedDateTime?: Date;
1741
- /** Maximum last modified date of resource (inclusive). */
1742
- maxLastModifiedDateTime?: Date;
1743
- /**
1744
- * Maximum number of items needed (inclusive).
1745
- * Minimum = 10, Maximum = 1000, Default value = 50.
1746
- */
1747
- $maxPageSize?: number;
1748
- /** Skip token for getting next set of results. */
1749
- $skipToken?: string;
1750
- }
1751
-
1752
- /** Returns a paginated list of farm resources across all farmers. */
1753
- export declare interface FarmsListdefaultResponse extends HttpResponse {
1754
- status: "500";
1755
- body: ErrorResponse;
1756
- }
1757
-
1758
- export declare type FarmsListParameters = RequestParameters & FarmsListQueryParam;
1759
-
1760
- export declare interface FarmsListQueryParam {
1761
- queryParameters?: FarmsListQueryParamProperties;
1762
- }
1763
-
1764
- export declare interface FarmsListQueryParamProperties {
1765
- /** Ids of the resource. */
1766
- ids?: string[];
1767
- /** Names of the resource. */
1768
- names?: string[];
1769
- /**
1770
- * Filters on key-value pairs within the Properties object.
1771
- * eg. "\{testKey\} eq \{testValue\}".
1772
- */
1773
- propertyFilters?: string[];
1774
- /** Statuses of the resource. */
1775
- statuses?: string[];
1776
- /** Minimum creation date of resource (inclusive). */
1777
- minCreatedDateTime?: Date;
1778
- /** Maximum creation date of resource (inclusive). */
1779
- maxCreatedDateTime?: Date;
1780
- /** Minimum last modified date of resource (inclusive). */
1781
- minLastModifiedDateTime?: Date;
1782
- /** Maximum last modified date of resource (inclusive). */
1783
- maxLastModifiedDateTime?: Date;
1784
- /**
1785
- * Maximum number of items needed (inclusive).
1786
- * Minimum = 10, Maximum = 1000, Default value = 50.
1787
- */
1788
- $maxPageSize?: number;
1789
- /** Skip token for getting next set of results. */
1790
- $skipToken?: string;
1791
- }
1792
-
1793
- export declare interface Field {
1794
- /** ID of the associated Farm. */
1795
- farmId?: string;
1796
- /** Farmer ID. */
1797
- farmerId?: string;
1798
- /** Primary boundary id. */
1799
- primaryBoundaryId?: string;
1800
- /** Boundary Ids. */
1801
- boundaryIds?: string[];
1802
- /** Unique resource ID. */
1803
- id?: string;
1804
- /** The ETag value to implement optimistic concurrency. */
1805
- eTag?: string;
1806
- /** Status of the resource. */
1807
- status?: string;
1808
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1809
- createdDateTime?: Date;
1810
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
1811
- modifiedDateTime?: Date;
1812
- /** Name to identify resource. */
1813
- name?: string;
1814
- /** Textual description of the resource. */
1815
- description?: string;
1816
- /**
1817
- * A collection of key value pairs that belongs to the resource.
1818
- * Each pair must not have a key greater than 50 characters
1819
- * and must not have a value greater than 150 characters.
1820
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
1821
- */
1822
- properties?: FieldPropertiesDictionary;
1823
- }
1824
-
1825
- export declare interface FieldListResponse {
1826
- /** List of requested objects. */
1827
- value?: Field[];
1828
- /** Token used in retrieving the next page. If null, there are no additional pages. */
1829
- skipToken?: string;
1830
- /** Continuation link (absolute URI) to the next page of results in the list. */
1831
- nextLink?: string;
1832
- }
1833
-
1834
- export declare type FieldPropertiesDictionary = Record<string, unknown>;
1835
-
1836
- export declare interface FieldsCreateCascadeDeleteJob {
1837
- /** Get a cascade delete job for specified field. */
1838
- get(options?: FieldsGetCascadeDeleteJobDetailsParameters): Promise<FieldsGetCascadeDeleteJobDetails200Response | FieldsGetCascadeDeleteJobDetailsdefaultResponse>;
1839
- /** Create a cascade delete job for specified field. */
1840
- put(options?: FieldsCreateCascadeDeleteJobParameters): Promise<FieldsCreateCascadeDeleteJob202Response | FieldsCreateCascadeDeleteJobdefaultResponse>;
1841
- }
1842
-
1843
- /** Create a cascade delete job for specified field. */
1844
- export declare interface FieldsCreateCascadeDeleteJob202Response extends HttpResponse {
1845
- status: "202";
1846
- body: CascadeDeleteJob;
1847
- }
1848
-
1849
- /** Create a cascade delete job for specified field. */
1850
- export declare interface FieldsCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
1851
- status: "500";
1852
- body: ErrorResponse;
1853
- }
1854
-
1855
- export declare type FieldsCreateCascadeDeleteJobParameters = RequestParameters & FieldsCreateCascadeDeleteJobQueryParam;
1856
-
1857
- export declare interface FieldsCreateCascadeDeleteJobQueryParam {
1858
- queryParameters: FieldsCreateCascadeDeleteJobQueryParamProperties;
1859
- }
1860
-
1861
- export declare interface FieldsCreateCascadeDeleteJobQueryParamProperties {
1862
- /** ID of the associated farmer. */
1863
- farmerId: string;
1864
- /** ID of the field to be deleted. */
1865
- fieldId: string;
1866
- }
1867
-
1868
- /** Creates or Updates a field resource under a particular farmer. */
1869
- export declare interface FieldsCreateOrUpdate200Response extends HttpResponse {
1870
- status: "200";
1871
- body: Field;
1872
- }
1873
-
1874
- /** Creates or Updates a field resource under a particular farmer. */
1875
- export declare interface FieldsCreateOrUpdate201Response extends HttpResponse {
1876
- status: "201";
1877
- body: Field;
1878
- }
1879
-
1880
- export declare interface FieldsCreateOrUpdateBodyParam {
1881
- body?: Field;
1882
- }
1883
-
1884
- /** Creates or Updates a field resource under a particular farmer. */
1885
- export declare interface FieldsCreateOrUpdatedefaultResponse extends HttpResponse {
1886
- status: "500";
1887
- body: ErrorResponse;
1888
- }
1889
-
1890
- export declare type FieldsCreateOrUpdateParameters = RequestParameters & FieldsCreateOrUpdateBodyParam;
1891
-
1892
- export declare interface FieldsDelete {
1893
- /** Gets a specified field resource under a particular farmer. */
1894
- get(options?: FieldsGetParameters): Promise<FieldsGet200Response | FieldsGetdefaultResponse>;
1895
- /** Creates or Updates a field resource under a particular farmer. */
1896
- patch(options?: FieldsCreateOrUpdateParameters): Promise<FieldsCreateOrUpdate200Response | FieldsCreateOrUpdate201Response | FieldsCreateOrUpdatedefaultResponse>;
1897
- /** Deletes a specified field resource under a particular farmer. */
1898
- delete(options?: FieldsDeleteParameters): Promise<FieldsDelete204Response | FieldsDeletedefaultResponse>;
1899
- }
1900
-
1901
- /** Deletes a specified field resource under a particular farmer. */
1902
- export declare interface FieldsDelete204Response extends HttpResponse {
1903
- status: "204";
1904
- }
1905
-
1906
- /** Deletes a specified field resource under a particular farmer. */
1907
- export declare interface FieldsDeletedefaultResponse extends HttpResponse {
1908
- status: "500";
1909
- body: ErrorResponse;
1910
- }
1911
-
1912
- export declare type FieldsDeleteParameters = RequestParameters;
1913
-
1914
- /** Gets a specified field resource under a particular farmer. */
1915
- export declare interface FieldsGet200Response extends HttpResponse {
1916
- status: "200";
1917
- body: Field;
1918
- }
1919
-
1920
- /** Get a cascade delete job for specified field. */
1921
- export declare interface FieldsGetCascadeDeleteJobDetails200Response extends HttpResponse {
1922
- status: "200";
1923
- body: CascadeDeleteJob;
1924
- }
1925
-
1926
- /** Get a cascade delete job for specified field. */
1927
- export declare interface FieldsGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
1928
- status: "500";
1929
- body: ErrorResponse;
1930
- }
1931
-
1932
- export declare type FieldsGetCascadeDeleteJobDetailsParameters = RequestParameters;
1933
-
1934
- /** Gets a specified field resource under a particular farmer. */
1935
- export declare interface FieldsGetdefaultResponse extends HttpResponse {
1936
- status: "500";
1937
- body: ErrorResponse;
1938
- }
1939
-
1940
- export declare type FieldsGetParameters = RequestParameters;
1941
-
1942
- export declare interface FieldsList {
1943
- /** Returns a paginated list of field resources across all farmers. */
1944
- get(options?: FieldsListParameters): Promise<FieldsList200Response | FieldsListdefaultResponse>;
1945
- }
1946
-
1947
- /** Returns a paginated list of field resources across all farmers. */
1948
- export declare interface FieldsList200Response extends HttpResponse {
1949
- status: "200";
1950
- body: FieldListResponse;
1951
- }
1952
-
1953
- export declare interface FieldsListByFarmerId {
1954
- /** Returns a paginated list of field resources under a particular farmer. */
1955
- get(options?: FieldsListByFarmerIdParameters): Promise<FieldsListByFarmerId200Response | FieldsListByFarmerIddefaultResponse>;
1956
- }
1957
-
1958
- /** Returns a paginated list of field resources under a particular farmer. */
1959
- export declare interface FieldsListByFarmerId200Response extends HttpResponse {
1960
- status: "200";
1961
- body: FieldListResponse;
1962
- }
1963
-
1964
- /** Returns a paginated list of field resources under a particular farmer. */
1965
- export declare interface FieldsListByFarmerIddefaultResponse extends HttpResponse {
1966
- status: "500";
1967
- body: ErrorResponse;
1968
- }
1969
-
1970
- export declare type FieldsListByFarmerIdParameters = RequestParameters & FieldsListByFarmerIdQueryParam;
1971
-
1972
- export declare interface FieldsListByFarmerIdQueryParam {
1973
- queryParameters?: FieldsListByFarmerIdQueryParamProperties;
1974
- }
1975
-
1976
- export declare interface FieldsListByFarmerIdQueryParamProperties {
1977
- /** Farm Ids of the resource. */
1978
- farmIds?: string[];
1979
- /** Ids of the resource. */
1980
- ids?: string[];
1981
- /** Names of the resource. */
1982
- names?: string[];
1983
- /**
1984
- * Filters on key-value pairs within the Properties object.
1985
- * eg. "\{testKey\} eq \{testValue\}".
1986
- */
1987
- propertyFilters?: string[];
1988
- /** Statuses of the resource. */
1989
- statuses?: string[];
1990
- /** Minimum creation date of resource (inclusive). */
1991
- minCreatedDateTime?: Date;
1992
- /** Maximum creation date of resource (inclusive). */
1993
- maxCreatedDateTime?: Date;
1994
- /** Minimum last modified date of resource (inclusive). */
1995
- minLastModifiedDateTime?: Date;
1996
- /** Maximum last modified date of resource (inclusive). */
1997
- maxLastModifiedDateTime?: Date;
1998
- /**
1999
- * Maximum number of items needed (inclusive).
2000
- * Minimum = 10, Maximum = 1000, Default value = 50.
2001
- */
2002
- $maxPageSize?: number;
2003
- /** Skip token for getting next set of results. */
2004
- $skipToken?: string;
2005
- }
2006
-
2007
- /** Returns a paginated list of field resources across all farmers. */
2008
- export declare interface FieldsListdefaultResponse extends HttpResponse {
2009
- status: "500";
2010
- body: ErrorResponse;
2011
- }
2012
-
2013
- export declare type FieldsListParameters = RequestParameters & FieldsListQueryParam;
2014
-
2015
- export declare interface FieldsListQueryParam {
2016
- queryParameters?: FieldsListQueryParamProperties;
2017
- }
2018
-
2019
- export declare interface FieldsListQueryParamProperties {
2020
- /** Farm Ids of the resource. */
2021
- farmIds?: string[];
2022
- /** Ids of the resource. */
2023
- ids?: string[];
2024
- /** Names of the resource. */
2025
- names?: string[];
2026
- /**
2027
- * Filters on key-value pairs within the Properties object.
2028
- * eg. "\{testKey\} eq \{testValue\}".
2029
- */
2030
- propertyFilters?: string[];
2031
- /** Statuses of the resource. */
2032
- statuses?: string[];
2033
- /** Minimum creation date of resource (inclusive). */
2034
- minCreatedDateTime?: Date;
2035
- /** Maximum creation date of resource (inclusive). */
2036
- maxCreatedDateTime?: Date;
2037
- /** Minimum last modified date of resource (inclusive). */
2038
- minLastModifiedDateTime?: Date;
2039
- /** Maximum last modified date of resource (inclusive). */
2040
- maxLastModifiedDateTime?: Date;
2041
- /**
2042
- * Maximum number of items needed (inclusive).
2043
- * Minimum = 10, Maximum = 1000, Default value = 50.
2044
- */
2045
- $maxPageSize?: number;
2046
- /** Skip token for getting next set of results. */
2047
- $skipToken?: string;
2048
- }
2049
-
2050
- export declare type GeoJsonObject = Polygon | MultiPolygon | Point;
2051
-
2052
- export declare type GeoJsonObjectType = "Point" | "Polygon" | "MultiPolygon";
2053
-
2054
- export declare interface HarvestData {
2055
- /** Schema for storing measurement reading and unit. */
2056
- totalYield?: Measure;
2057
- /** Schema for storing measurement reading and unit. */
2058
- avgYield?: Measure;
2059
- /** Schema for storing measurement reading and unit. */
2060
- totalWetMass?: Measure;
2061
- /** Schema for storing measurement reading and unit. */
2062
- avgWetMass?: Measure;
2063
- /** Schema for storing measurement reading and unit. */
2064
- avgMoisture?: Measure;
2065
- /** Schema for storing measurement reading and unit. */
2066
- avgSpeed?: Measure;
2067
- /** Harvest product details. */
2068
- harvestProductDetails?: HarvestProductDetail[];
2069
- /** Schema for storing measurement reading and unit. */
2070
- area?: Measure;
2071
- /** Source of the operation data. */
2072
- source?: string;
2073
- /**
2074
- * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.
2075
- * Note: this will be specified by the source provider itself.
2076
- */
2077
- operationModifiedDateTime?: Date;
2078
- /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2079
- operationStartDateTime?: Date;
2080
- /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2081
- operationEndDateTime?: Date;
2082
- /** Link for attachments. */
2083
- attachmentsLink?: string;
2084
- /** Optional boundary ID of the field for which operation was applied. */
2085
- associatedBoundaryId?: string;
2086
- /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */
2087
- operationBoundaryId?: string;
2088
- /** Farmer ID which belongs to the operation data. */
2089
- farmerId?: string;
2090
- /** Unique resource ID. */
2091
- id?: string;
2092
- /** The ETag value to implement optimistic concurrency. */
2093
- eTag?: string;
2094
- /** Status of the resource. */
2095
- status?: string;
2096
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2097
- createdDateTime?: Date;
2098
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2099
- modifiedDateTime?: Date;
2100
- /** Name to identify resource. */
2101
- name?: string;
2102
- /** Textual description of the resource. */
2103
- description?: string;
2104
- /**
2105
- * A collection of key value pairs that belongs to the resource.
2106
- * Each pair must not have a key greater than 50 characters
2107
- * and must not have a value greater than 150 characters.
2108
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
2109
- */
2110
- properties?: HarvestDataPropertiesDictionary;
2111
- }
2112
-
2113
- /** Creates or updates harvest data resource under a particular farmer. */
2114
- export declare interface HarvestDataCreateOrUpdate200Response extends HttpResponse {
2115
- status: "200";
2116
- body: HarvestData;
2117
- }
2118
-
2119
- /** Creates or updates harvest data resource under a particular farmer. */
2120
- export declare interface HarvestDataCreateOrUpdate201Response extends HttpResponse {
2121
- status: "201";
2122
- body: HarvestData;
2123
- }
2124
-
2125
- export declare interface HarvestDataCreateOrUpdateBodyParam {
2126
- body?: HarvestData;
2127
- }
2128
-
2129
- /** Creates or updates harvest data resource under a particular farmer. */
2130
- export declare interface HarvestDataCreateOrUpdatedefaultResponse extends HttpResponse {
2131
- status: "500";
2132
- body: ErrorResponse;
2133
- }
2134
-
2135
- export declare type HarvestDataCreateOrUpdateParameters = RequestParameters & HarvestDataCreateOrUpdateBodyParam;
2136
-
2137
- export declare interface HarvestDataDelete {
2138
- /** Get a specified harvest data resource under a particular farmer. */
2139
- get(options?: HarvestDataGetParameters): Promise<HarvestDataGet200Response | HarvestDataGetdefaultResponse>;
2140
- /** Creates or updates harvest data resource under a particular farmer. */
2141
- patch(options?: HarvestDataCreateOrUpdateParameters): Promise<HarvestDataCreateOrUpdate200Response | HarvestDataCreateOrUpdate201Response | HarvestDataCreateOrUpdatedefaultResponse>;
2142
- /** Deletes a specified harvest data resource under a particular farmer. */
2143
- delete(options?: HarvestDataDeleteParameters): Promise<HarvestDataDelete204Response | HarvestDataDeletedefaultResponse>;
2144
- }
2145
-
2146
- /** Deletes a specified harvest data resource under a particular farmer. */
2147
- export declare interface HarvestDataDelete204Response extends HttpResponse {
2148
- status: "204";
2149
- }
2150
-
2151
- /** Deletes a specified harvest data resource under a particular farmer. */
2152
- export declare interface HarvestDataDeletedefaultResponse extends HttpResponse {
2153
- status: "500";
2154
- body: ErrorResponse;
2155
- }
2156
-
2157
- export declare type HarvestDataDeleteParameters = RequestParameters;
2158
-
2159
- /** Get a specified harvest data resource under a particular farmer. */
2160
- export declare interface HarvestDataGet200Response extends HttpResponse {
2161
- status: "200";
2162
- body: HarvestData;
2163
- }
2164
-
2165
- /** Get a specified harvest data resource under a particular farmer. */
2166
- export declare interface HarvestDataGetdefaultResponse extends HttpResponse {
2167
- status: "500";
2168
- body: ErrorResponse;
2169
- }
2170
-
2171
- export declare type HarvestDataGetParameters = RequestParameters;
2172
-
2173
- export declare interface HarvestDataList {
2174
- /** Returns a paginated list of harvest data resources across all farmers. */
2175
- get(options?: HarvestDataListParameters): Promise<HarvestDataList200Response | HarvestDataListdefaultResponse>;
2176
- }
2177
-
2178
- /** Returns a paginated list of harvest data resources across all farmers. */
2179
- export declare interface HarvestDataList200Response extends HttpResponse {
2180
- status: "200";
2181
- body: HarvestDataListResponse;
2182
- }
2183
-
2184
- export declare interface HarvestDataListByFarmerId {
2185
- /** Returns a paginated list of harvest data resources under a particular farm. */
2186
- get(options?: HarvestDataListByFarmerIdParameters): Promise<HarvestDataListByFarmerId200Response | HarvestDataListByFarmerIddefaultResponse>;
2187
- }
2188
-
2189
- /** Returns a paginated list of harvest data resources under a particular farm. */
2190
- export declare interface HarvestDataListByFarmerId200Response extends HttpResponse {
2191
- status: "200";
2192
- body: HarvestDataListResponse;
2193
- }
2194
-
2195
- /** Returns a paginated list of harvest data resources under a particular farm. */
2196
- export declare interface HarvestDataListByFarmerIddefaultResponse extends HttpResponse {
2197
- status: "500";
2198
- body: ErrorResponse;
2199
- }
2200
-
2201
- export declare type HarvestDataListByFarmerIdParameters = RequestParameters & HarvestDataListByFarmerIdQueryParam;
2202
-
2203
- export declare interface HarvestDataListByFarmerIdQueryParam {
2204
- queryParameters?: HarvestDataListByFarmerIdQueryParamProperties;
2205
- }
2206
-
2207
- export declare interface HarvestDataListByFarmerIdQueryParamProperties {
2208
- /** Minimum Yield value(inclusive). */
2209
- minTotalYield?: number;
2210
- /** Maximum Yield value (inclusive). */
2211
- maxTotalYield?: number;
2212
- /** Minimum AvgYield value(inclusive). */
2213
- minAvgYield?: number;
2214
- /** Maximum AvgYield value (inclusive). */
2215
- maxAvgYield?: number;
2216
- /** Minimum Total WetMass value(inclusive). */
2217
- minTotalWetMass?: number;
2218
- /** Maximum Total WetMass value (inclusive). */
2219
- maxTotalWetMass?: number;
2220
- /** Minimum AvgWetMass value(inclusive). */
2221
- minAvgWetMass?: number;
2222
- /** Maximum AvgWetMass value (inclusive). */
2223
- maxAvgWetMass?: number;
2224
- /** Minimum AvgMoisture value(inclusive). */
2225
- minAvgMoisture?: number;
2226
- /** Maximum AvgMoisture value (inclusive). */
2227
- maxAvgMoisture?: number;
2228
- /** Minimum AvgSpeed value(inclusive). */
2229
- minAvgSpeed?: number;
2230
- /** Maximum AvgSpeed value (inclusive). */
2231
- maxAvgSpeed?: number;
2232
- /** Sources of the operation data. */
2233
- sources?: string[];
2234
- /** Boundary IDs associated with operation data. */
2235
- associatedBoundaryIds?: string[];
2236
- /** Operation boundary IDs associated with operation data. */
2237
- operationBoundaryIds?: string[];
2238
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2239
- minOperationStartDateTime?: Date;
2240
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2241
- maxOperationStartDateTime?: Date;
2242
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2243
- minOperationEndDateTime?: Date;
2244
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2245
- maxOperationEndDateTime?: Date;
2246
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2247
- minOperationModifiedDateTime?: Date;
2248
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2249
- maxOperationModifiedDateTime?: Date;
2250
- /** Minimum area for which operation was applied (inclusive). */
2251
- minArea?: number;
2252
- /** Maximum area for which operation was applied (inclusive). */
2253
- maxArea?: number;
2254
- /** Ids of the resource. */
2255
- ids?: string[];
2256
- /** Names of the resource. */
2257
- names?: string[];
2258
- /**
2259
- * Filters on key-value pairs within the Properties object.
2260
- * eg. "\{testKey\} eq \{testValue\}".
2261
- */
2262
- propertyFilters?: string[];
2263
- /** Statuses of the resource. */
2264
- statuses?: string[];
2265
- /** Minimum creation date of resource (inclusive). */
2266
- minCreatedDateTime?: Date;
2267
- /** Maximum creation date of resource (inclusive). */
2268
- maxCreatedDateTime?: Date;
2269
- /** Minimum last modified date of resource (inclusive). */
2270
- minLastModifiedDateTime?: Date;
2271
- /** Maximum last modified date of resource (inclusive). */
2272
- maxLastModifiedDateTime?: Date;
2273
- /**
2274
- * Maximum number of items needed (inclusive).
2275
- * Minimum = 10, Maximum = 1000, Default value = 50.
2276
- */
2277
- $maxPageSize?: number;
2278
- /** Skip token for getting next set of results. */
2279
- $skipToken?: string;
2280
- }
2281
-
2282
- /** Returns a paginated list of harvest data resources across all farmers. */
2283
- export declare interface HarvestDataListdefaultResponse extends HttpResponse {
2284
- status: "500";
2285
- body: ErrorResponse;
2286
- }
2287
-
2288
- export declare type HarvestDataListParameters = RequestParameters & HarvestDataListQueryParam;
2289
-
2290
- export declare interface HarvestDataListQueryParam {
2291
- queryParameters?: HarvestDataListQueryParamProperties;
2292
- }
2293
-
2294
- export declare interface HarvestDataListQueryParamProperties {
2295
- /** Minimum Yield value(inclusive). */
2296
- minTotalYield?: number;
2297
- /** Maximum Yield value (inclusive). */
2298
- maxTotalYield?: number;
2299
- /** Minimum AvgYield value(inclusive). */
2300
- minAvgYield?: number;
2301
- /** Maximum AvgYield value (inclusive). */
2302
- maxAvgYield?: number;
2303
- /** Minimum Total WetMass value(inclusive). */
2304
- minTotalWetMass?: number;
2305
- /** Maximum Total WetMass value (inclusive). */
2306
- maxTotalWetMass?: number;
2307
- /** Minimum AvgWetMass value(inclusive). */
2308
- minAvgWetMass?: number;
2309
- /** Maximum AvgWetMass value (inclusive). */
2310
- maxAvgWetMass?: number;
2311
- /** Minimum AvgMoisture value(inclusive). */
2312
- minAvgMoisture?: number;
2313
- /** Maximum AvgMoisture value (inclusive). */
2314
- maxAvgMoisture?: number;
2315
- /** Minimum AvgSpeed value(inclusive). */
2316
- minAvgSpeed?: number;
2317
- /** Maximum AvgSpeed value (inclusive). */
2318
- maxAvgSpeed?: number;
2319
- /** Sources of the operation data. */
2320
- sources?: string[];
2321
- /** Boundary IDs associated with operation data. */
2322
- associatedBoundaryIds?: string[];
2323
- /** Operation boundary IDs associated with operation data. */
2324
- operationBoundaryIds?: string[];
2325
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2326
- minOperationStartDateTime?: Date;
2327
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2328
- maxOperationStartDateTime?: Date;
2329
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2330
- minOperationEndDateTime?: Date;
2331
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2332
- maxOperationEndDateTime?: Date;
2333
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2334
- minOperationModifiedDateTime?: Date;
2335
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
2336
- maxOperationModifiedDateTime?: Date;
2337
- /** Minimum area for which operation was applied (inclusive). */
2338
- minArea?: number;
2339
- /** Maximum area for which operation was applied (inclusive). */
2340
- maxArea?: number;
2341
- /** Ids of the resource. */
2342
- ids?: string[];
2343
- /** Names of the resource. */
2344
- names?: string[];
2345
- /**
2346
- * Filters on key-value pairs within the Properties object.
2347
- * eg. "\{testKey\} eq \{testValue\}".
2348
- */
2349
- propertyFilters?: string[];
2350
- /** Statuses of the resource. */
2351
- statuses?: string[];
2352
- /** Minimum creation date of resource (inclusive). */
2353
- minCreatedDateTime?: Date;
2354
- /** Maximum creation date of resource (inclusive). */
2355
- maxCreatedDateTime?: Date;
2356
- /** Minimum last modified date of resource (inclusive). */
2357
- minLastModifiedDateTime?: Date;
2358
- /** Maximum last modified date of resource (inclusive). */
2359
- maxLastModifiedDateTime?: Date;
2360
- /**
2361
- * Maximum number of items needed (inclusive).
2362
- * Minimum = 10, Maximum = 1000, Default value = 50.
2363
- */
2364
- $maxPageSize?: number;
2365
- /** Skip token for getting next set of results. */
2366
- $skipToken?: string;
2367
- }
2368
-
2369
- export declare interface HarvestDataListResponse {
2370
- /** List of requested objects. */
2371
- value?: HarvestData[];
2372
- /** Token used in retrieving the next page. If null, there are no additional pages. */
2373
- skipToken?: string;
2374
- /** Continuation link (absolute URI) to the next page of results in the list. */
2375
- nextLink?: string;
2376
- }
2377
-
2378
- export declare type HarvestDataPropertiesDictionary = Record<string, unknown>;
2379
-
2380
- export declare interface HarvestProductDetail {
2381
- /** Name of the product. */
2382
- productName?: string;
2383
- /** Schema for storing measurement reading and unit. */
2384
- area?: Measure;
2385
- /** Schema for storing measurement reading and unit. */
2386
- totalYield?: Measure;
2387
- /** Schema for storing measurement reading and unit. */
2388
- avgYield?: Measure;
2389
- /** Schema for storing measurement reading and unit. */
2390
- avgMoisture?: Measure;
2391
- /** Schema for storing measurement reading and unit. */
2392
- totalWetMass?: Measure;
2393
- /** Schema for storing measurement reading and unit. */
2394
- avgWetMass?: Measure;
2395
- }
2396
-
2397
- export declare interface ImageFile {
2398
- /** Link of the image file. */
2399
- fileLink?: string;
2400
- /** Name of the image file. */
2401
- name: string;
2402
- /** Supported image formats for scene resource. */
2403
- imageFormat?: ImageFormat;
2404
- /** Resolution of image file in meters. */
2405
- resolution?: number;
2406
- }
2407
-
2408
- export declare type ImageFormat = "TIF";
2409
-
2410
- /** Create a ImageProcessing Rasterize job. */
2411
- export declare interface ImageProcessingCreateRasterizeJob202Response extends HttpResponse {
2412
- status: "202";
2413
- body: ImageProcessingRasterizeJob;
2414
- }
2415
-
2416
- export declare interface ImageProcessingCreateRasterizeJobBodyParam {
2417
- body?: ImageProcessingRasterizeJob;
2418
- }
2419
-
2420
- /** Create a ImageProcessing Rasterize job. */
2421
- export declare interface ImageProcessingCreateRasterizeJobdefaultResponse extends HttpResponse {
2422
- status: "500";
2423
- }
2424
-
2425
- export declare type ImageProcessingCreateRasterizeJobParameters = RequestParameters & ImageProcessingCreateRasterizeJobBodyParam;
2426
-
2427
- export declare interface ImageProcessingGetRasterizeJob {
2428
- /** Create a ImageProcessing Rasterize job. */
2429
- put(options?: ImageProcessingCreateRasterizeJobParameters): Promise<ImageProcessingCreateRasterizeJob202Response | ImageProcessingCreateRasterizeJobdefaultResponse>;
2430
- /** Get ImageProcessing Rasterize job's details. */
2431
- get(options?: ImageProcessingGetRasterizeJobParameters): Promise<ImageProcessingGetRasterizeJob200Response>;
2432
- }
2433
-
2434
- /** Get ImageProcessing Rasterize job's details. */
2435
- export declare interface ImageProcessingGetRasterizeJob200Response extends HttpResponse {
2436
- status: "200";
2437
- body: ImageProcessingRasterizeJob;
2438
- }
2439
-
2440
- export declare type ImageProcessingGetRasterizeJobParameters = RequestParameters;
2441
-
2442
- export declare interface ImageProcessingRasterizeJob {
2443
- /** Farmer ID. */
2444
- farmerId: string;
2445
- /** Shapefile attachment ID. */
2446
- shapefileAttachmentId: string;
2447
- /** List of shapefile column names to create raster attachments. */
2448
- shapefileColumnNames: string[];
2449
- /** Unique job id. */
2450
- id?: string;
2451
- /**
2452
- * Status of the job.
2453
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
2454
- */
2455
- status?: string;
2456
- /** Duration of the job in seconds. */
2457
- durationInSeconds?: number;
2458
- /** Status message to capture more details of the job. */
2459
- message?: string;
2460
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
2461
- createdDateTime?: Date;
2462
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
2463
- lastActionDateTime?: Date;
2464
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
2465
- startTime?: Date;
2466
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
2467
- endTime?: Date;
2468
- /** Name to identify resource. */
2469
- name?: string;
2470
- /** Textual description of the resource. */
2471
- description?: string;
2472
- /**
2473
- * A collection of key value pairs that belongs to the resource.
2474
- * Each pair must not have a key greater than 50 characters
2475
- * and must not have a value greater than 150 characters.
2476
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
2477
- */
2478
- properties?: ImageProcessingRasterizeJobPropertiesDictionary;
2479
- }
2480
-
2481
- export declare type ImageProcessingRasterizeJobPropertiesDictionary = Record<string, unknown>;
2482
-
2483
- export declare type InnerError = InnerErrorBase & InnerErrorDictionary;
2484
-
2485
- export declare interface InnerErrorBase {
2486
- /**
2487
- * Specific error code than was provided by the
2488
- * containing error.
2489
- */
2490
- code?: string;
2491
- /**
2492
- * Inner error containing list of errors.
2493
- * <see href="https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object">InnerError reference document</see>.
2494
- */
2495
- innererror?: InnerError;
2496
- }
2497
-
2498
- export declare type InnerErrorDictionary = Record<string, unknown>;
2499
-
2500
- export declare interface Location {
2501
- /** Latitude of the location. */
2502
- latitude: number;
2503
- /** Longitude of the location. */
2504
- longitude: number;
2505
- }
2506
-
2507
- export declare interface Measure {
2508
- /** Data unit. */
2509
- unit?: string;
2510
- /** Data value. */
2511
- value?: number;
2512
- }
2513
-
2514
- export declare type MultiPolygon = MultiPolygonBase & MultiPolygonCoordinates & {
2515
- type: "MultiPolygon";
2516
- };
2517
-
2518
- export declare interface MultiPolygonBase {
2519
- }
2520
-
2521
- export declare interface MultiPolygonCoordinates {
2522
- /**
2523
- * Gets or sets Coordinates of GeoJSON Object.
2524
- * It must be an array of polygons, each polygon contains list of linear rings.
2525
- * For Polygons with more than one of these rings, the first MUST be the exterior ring,
2526
- * and any others MUST be interior rings.
2527
- */
2528
- coordinates: number[][][][];
2529
- }
2530
-
2531
- export declare interface OAuthConnectRequest {
2532
- /** ID of the farmer. */
2533
- farmerId: string;
2534
- /** ID of the OAuthProvider. */
2535
- oAuthProviderId: string;
2536
- /** Link to redirect the user to, at the end of the oauth flow. */
2537
- userRedirectLink: string;
2538
- /** State to provide back when redirecting the user, at the end of the oauth flow. */
2539
- userRedirectState?: string;
2540
- }
2541
-
2542
- export declare interface OAuthProvider {
2543
- /** OAuth App ID for given OAuth Provider. */
2544
- appId?: string;
2545
- /**
2546
- * OAuth App secret for given Provider.
2547
- * Note: Won't be sent in response.
2548
- */
2549
- appSecret?: string;
2550
- /**
2551
- * OAuth Api key for given Provider.
2552
- * Note: currently Applicable to Climate provider. Won't be sent in response.
2553
- */
2554
- apiKey?: string;
2555
- /**
2556
- * 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)
2557
- * Note: Currently applicable for JohnDeere.
2558
- */
2559
- isProductionApp?: boolean;
2560
- /** Unique OAuth provider ID. */
2561
- id?: string;
2562
- /** The ETag value to implement optimistic concurrency. */
2563
- eTag?: string;
2564
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2565
- createdDateTime?: Date;
2566
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2567
- modifiedDateTime?: Date;
2568
- /** Name to identify resource. */
2569
- name?: string;
2570
- /** Textual description of the resource. */
2571
- description?: string;
2572
- /**
2573
- * A collection of key value pairs that belongs to the resource.
2574
- * Each pair must not have a key greater than 50 characters
2575
- * and must not have a value greater than 150 characters.
2576
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
2577
- */
2578
- properties?: OAuthProviderPropertiesDictionary;
2579
- }
2580
-
2581
- export declare interface OAuthProviderListResponse {
2582
- /** List of requested objects. */
2583
- value?: OAuthProvider[];
2584
- /** Token used in retrieving the next page. If null, there are no additional pages. */
2585
- skipToken?: string;
2586
- /** Continuation link (absolute URI) to the next page of results in the list. */
2587
- nextLink?: string;
2588
- }
2589
-
2590
- export declare type OAuthProviderPropertiesDictionary = Record<string, unknown>;
2591
-
2592
- /** Creates or updates an oauthProvider resource. */
2593
- export declare interface OAuthProvidersCreateOrUpdate200Response extends HttpResponse {
2594
- status: "200";
2595
- body: OAuthProvider;
2596
- }
2597
-
2598
- /** Creates or updates an oauthProvider resource. */
2599
- export declare interface OAuthProvidersCreateOrUpdate201Response extends HttpResponse {
2600
- status: "201";
2601
- body: OAuthProvider;
2602
- }
2603
-
2604
- export declare interface OAuthProvidersCreateOrUpdateBodyParam {
2605
- body?: OAuthProvider;
2606
- }
2607
-
2608
- /** Creates or updates an oauthProvider resource. */
2609
- export declare interface OAuthProvidersCreateOrUpdatedefaultResponse extends HttpResponse {
2610
- status: "500";
2611
- body: ErrorResponse;
2612
- }
2613
-
2614
- export declare type OAuthProvidersCreateOrUpdateParameters = RequestParameters & OAuthProvidersCreateOrUpdateBodyParam;
2615
-
2616
- export declare interface OAuthProvidersDelete {
2617
- /** Get a specified oauthProvider resource. */
2618
- get(options?: OAuthProvidersGetParameters): Promise<OAuthProvidersGet200Response | OAuthProvidersGetdefaultResponse>;
2619
- /** Creates or updates an oauthProvider resource. */
2620
- patch(options?: OAuthProvidersCreateOrUpdateParameters): Promise<OAuthProvidersCreateOrUpdate200Response | OAuthProvidersCreateOrUpdate201Response | OAuthProvidersCreateOrUpdatedefaultResponse>;
2621
- /** Deletes an specified oauthProvider resource. */
2622
- delete(options?: OAuthProvidersDeleteParameters): Promise<OAuthProvidersDelete204Response | OAuthProvidersDeletedefaultResponse>;
2623
- }
2624
-
2625
- /** Deletes an specified oauthProvider resource. */
2626
- export declare interface OAuthProvidersDelete204Response extends HttpResponse {
2627
- status: "204";
2628
- }
2629
-
2630
- /** Deletes an specified oauthProvider resource. */
2631
- export declare interface OAuthProvidersDeletedefaultResponse extends HttpResponse {
2632
- status: "500";
2633
- body: ErrorResponse;
2634
- }
2635
-
2636
- export declare type OAuthProvidersDeleteParameters = RequestParameters;
2637
-
2638
- /** Get a specified oauthProvider resource. */
2639
- export declare interface OAuthProvidersGet200Response extends HttpResponse {
2640
- status: "200";
2641
- body: OAuthProvider;
2642
- }
2643
-
2644
- /** Get a specified oauthProvider resource. */
2645
- export declare interface OAuthProvidersGetdefaultResponse extends HttpResponse {
2646
- status: "500";
2647
- body: ErrorResponse;
2648
- }
2649
-
2650
- export declare type OAuthProvidersGetParameters = RequestParameters;
2651
-
2652
- export declare interface OAuthProvidersList {
2653
- /** Returns a paginated list of oauthProvider resources. */
2654
- get(options?: OAuthProvidersListParameters): Promise<OAuthProvidersList200Response | OAuthProvidersListdefaultResponse>;
2655
- }
2656
-
2657
- /** Returns a paginated list of oauthProvider resources. */
2658
- export declare interface OAuthProvidersList200Response extends HttpResponse {
2659
- status: "200";
2660
- body: OAuthProviderListResponse;
2661
- }
2662
-
2663
- /** Returns a paginated list of oauthProvider resources. */
2664
- export declare interface OAuthProvidersListdefaultResponse extends HttpResponse {
2665
- status: "500";
2666
- body: ErrorResponse;
2667
- }
2668
-
2669
- export declare type OAuthProvidersListParameters = RequestParameters & OAuthProvidersListQueryParam;
2670
-
2671
- export declare interface OAuthProvidersListQueryParam {
2672
- queryParameters?: OAuthProvidersListQueryParamProperties;
2673
- }
2674
-
2675
- export declare interface OAuthProvidersListQueryParamProperties {
2676
- /** Ids of the resource. */
2677
- ids?: string[];
2678
- /** Names of the resource. */
2679
- names?: string[];
2680
- /**
2681
- * Filters on key-value pairs within the Properties object.
2682
- * eg. "\{testKey\} eq \{testValue\}".
2683
- */
2684
- propertyFilters?: string[];
2685
- /** Statuses of the resource. */
2686
- statuses?: string[];
2687
- /** Minimum creation date of resource (inclusive). */
2688
- minCreatedDateTime?: Date;
2689
- /** Maximum creation date of resource (inclusive). */
2690
- maxCreatedDateTime?: Date;
2691
- /** Minimum last modified date of resource (inclusive). */
2692
- minLastModifiedDateTime?: Date;
2693
- /** Maximum last modified date of resource (inclusive). */
2694
- maxLastModifiedDateTime?: Date;
2695
- /**
2696
- * Maximum number of items needed (inclusive).
2697
- * Minimum = 10, Maximum = 1000, Default value = 50.
2698
- */
2699
- $maxPageSize?: number;
2700
- /** Skip token for getting next set of results. */
2701
- $skipToken?: string;
2702
- }
2703
-
2704
- export declare interface OAuthToken {
2705
- /** Farmer ID for this OAuth config. */
2706
- farmerId: string;
2707
- /** ID of the OAuth provider resource containing app information. */
2708
- authProviderId: string;
2709
- /** An optional flag indicating whether the token is a valid or expired (Default value: true). */
2710
- isValid?: boolean;
2711
- /** The ETag value to implement optimistic concurrency. */
2712
- eTag?: string;
2713
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2714
- createdDateTime?: Date;
2715
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2716
- modifiedDateTime?: Date;
2717
- }
2718
-
2719
- export declare interface OAuthTokenListResponse {
2720
- /** List of requested objects. */
2721
- value?: OAuthToken[];
2722
- /** Token used in retrieving the next page. If null, there are no additional pages. */
2723
- skipToken?: string;
2724
- /** Continuation link (absolute URI) to the next page of results in the list. */
2725
- nextLink?: string;
2726
- }
2727
-
2728
- export declare interface OAuthTokensCreateCascadeDeleteJob {
2729
- /** Get cascade delete job details for OAuth tokens for specified job ID. */
2730
- get(options?: OAuthTokensGetCascadeDeleteJobDetailsParameters): Promise<OAuthTokensGetCascadeDeleteJobDetails200Response | OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse>;
2731
- /** Create a cascade delete job for OAuth tokens. */
2732
- put(options?: OAuthTokensCreateCascadeDeleteJobParameters): Promise<OAuthTokensCreateCascadeDeleteJob202Response | OAuthTokensCreateCascadeDeleteJobdefaultResponse>;
2733
- }
2734
-
2735
- /** Create a cascade delete job for OAuth tokens. */
2736
- export declare interface OAuthTokensCreateCascadeDeleteJob202Response extends HttpResponse {
2737
- status: "202";
2738
- body: CascadeDeleteJob;
2739
- }
2740
-
2741
- /** Create a cascade delete job for OAuth tokens. */
2742
- export declare interface OAuthTokensCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
2743
- status: "500";
2744
- body: ErrorResponse;
2745
- }
2746
-
2747
- export declare type OAuthTokensCreateCascadeDeleteJobParameters = RequestParameters & OAuthTokensCreateCascadeDeleteJobQueryParam;
2748
-
2749
- export declare interface OAuthTokensCreateCascadeDeleteJobQueryParam {
2750
- queryParameters: OAuthTokensCreateCascadeDeleteJobQueryParamProperties;
2751
- }
2752
-
2753
- export declare interface OAuthTokensCreateCascadeDeleteJobQueryParamProperties {
2754
- /** ID of the farmer. */
2755
- farmerId: string;
2756
- /** ID of the OAuthProvider. */
2757
- oauthProviderId: string;
2758
- }
2759
-
2760
- /** Get cascade delete job details for OAuth tokens for specified job ID. */
2761
- export declare interface OAuthTokensGetCascadeDeleteJobDetails200Response extends HttpResponse {
2762
- status: "200";
2763
- body: CascadeDeleteJob;
2764
- }
2765
-
2766
- /** Get cascade delete job details for OAuth tokens for specified job ID. */
2767
- export declare interface OAuthTokensGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
2768
- status: "500";
2769
- body: ErrorResponse;
2770
- }
2771
-
2772
- export declare type OAuthTokensGetCascadeDeleteJobDetailsParameters = RequestParameters;
2773
-
2774
- export declare interface OAuthTokensGetOAuthConnectionLink {
2775
- /** Returns Connection link needed in the OAuth flow. */
2776
- post(options?: OAuthTokensGetOAuthConnectionLinkParameters): Promise<OAuthTokensGetOAuthConnectionLink200Response | OAuthTokensGetOAuthConnectionLinkdefaultResponse>;
2777
- }
2778
-
2779
- /** Returns Connection link needed in the OAuth flow. */
2780
- export declare interface OAuthTokensGetOAuthConnectionLink200Response extends HttpResponse {
2781
- status: "200";
2782
- body: string;
2783
- }
2784
-
2785
- export declare interface OAuthTokensGetOAuthConnectionLinkBodyParam {
2786
- body?: OAuthConnectRequest;
2787
- }
2788
-
2789
- /** Returns Connection link needed in the OAuth flow. */
2790
- export declare interface OAuthTokensGetOAuthConnectionLinkdefaultResponse extends HttpResponse {
2791
- status: "500";
2792
- body: ErrorResponse;
2793
- }
2794
-
2795
- export declare type OAuthTokensGetOAuthConnectionLinkParameters = RequestParameters & OAuthTokensGetOAuthConnectionLinkBodyParam;
2796
-
2797
- export declare interface OAuthTokensList {
2798
- /** Returns a list of OAuthToken documents. */
2799
- get(options?: OAuthTokensListParameters): Promise<OAuthTokensList200Response | OAuthTokensListdefaultResponse>;
2800
- }
2801
-
2802
- /** Returns a list of OAuthToken documents. */
2803
- export declare interface OAuthTokensList200Response extends HttpResponse {
2804
- status: "200";
2805
- body: OAuthTokenListResponse;
2806
- }
2807
-
2808
- /** Returns a list of OAuthToken documents. */
2809
- export declare interface OAuthTokensListdefaultResponse extends HttpResponse {
2810
- status: "500";
2811
- body: ErrorResponse;
2812
- }
2813
-
2814
- export declare type OAuthTokensListParameters = RequestParameters & OAuthTokensListQueryParam;
2815
-
2816
- export declare interface OAuthTokensListQueryParam {
2817
- queryParameters?: OAuthTokensListQueryParamProperties;
2818
- }
2819
-
2820
- export declare interface OAuthTokensListQueryParamProperties {
2821
- /** Name of AuthProvider. */
2822
- authProviderIds?: string[];
2823
- /** List of farmers. */
2824
- farmerIds?: string[];
2825
- /** If the token object is valid. */
2826
- isValid?: boolean;
2827
- /** Minimum creation date of resource (inclusive). */
2828
- minCreatedDateTime?: Date;
2829
- /** Maximum creation date of resource (inclusive). */
2830
- maxCreatedDateTime?: Date;
2831
- /** Minimum last modified date of resource (inclusive). */
2832
- minLastModifiedDateTime?: Date;
2833
- /** Maximum last modified date of resource (inclusive). */
2834
- maxLastModifiedDateTime?: Date;
2835
- /**
2836
- * Maximum number of items needed (inclusive).
2837
- * Minimum = 10, Maximum = 1000, Default value = 50.
2838
- */
2839
- $maxPageSize?: number;
2840
- /** Skip token for getting next set of results. */
2841
- $skipToken?: string;
2842
- }
2843
-
2844
- export declare interface Paths1LxjoxzFarmersFarmeridAttachmentsAttachmentidPatchRequestbodyContentMultipartFormDataSchema {
2845
- /** File to be uploaded. */
2846
- file?: string;
2847
- /** Farmer id for this attachment. */
2848
- farmerId?: string;
2849
- /** Associated Resource id for this attachment. */
2850
- resourceId?: string;
2851
- /**
2852
- * Associated Resource type for this attachment
2853
- * i.e. Farmer, Farm, Field, SeasonalField, Boundary, FarmOperationApplicationData, HarvestData, TillageData, PlantingData.
2854
- */
2855
- resourceType?: string;
2856
- /** Original File Name for this attachment. */
2857
- originalFileName?: string;
2858
- /** Unique id. */
2859
- id?: string;
2860
- /** Status of the resource. */
2861
- status?: string;
2862
- /** Date when resource was created. */
2863
- createdDateTime?: string;
2864
- /** Date when resource was last modified. */
2865
- modifiedDateTime?: string;
2866
- /** Name to identify resource. */
2867
- name?: string;
2868
- /** Textual description of resource. */
2869
- description?: string;
2870
- /** The ETag value to implement optimistic concurrency. */
2871
- eTag?: string;
2872
- }
2873
-
2874
- export declare interface PlantingData {
2875
- /** Schema for storing measurement reading and unit. */
2876
- avgPlantingRate?: Measure;
2877
- /** Schema for storing measurement reading and unit. */
2878
- totalMaterial?: Measure;
2879
- /** Schema for storing measurement reading and unit. */
2880
- avgMaterial?: Measure;
2881
- /** Planting product details. */
2882
- plantingProductDetails?: PlantingProductDetail[];
2883
- /** Schema for storing measurement reading and unit. */
2884
- area?: Measure;
2885
- /** Source of the operation data. */
2886
- source?: string;
2887
- /**
2888
- * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.
2889
- * Note: this will be specified by the source provider itself.
2890
- */
2891
- operationModifiedDateTime?: Date;
2892
- /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2893
- operationStartDateTime?: Date;
2894
- /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2895
- operationEndDateTime?: Date;
2896
- /** Link for attachments. */
2897
- attachmentsLink?: string;
2898
- /** Optional boundary ID of the field for which operation was applied. */
2899
- associatedBoundaryId?: string;
2900
- /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */
2901
- operationBoundaryId?: string;
2902
- /** Farmer ID which belongs to the operation data. */
2903
- farmerId?: string;
2904
- /** Unique resource ID. */
2905
- id?: string;
2906
- /** The ETag value to implement optimistic concurrency. */
2907
- eTag?: string;
2908
- /** Status of the resource. */
2909
- status?: string;
2910
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2911
- createdDateTime?: Date;
2912
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
2913
- modifiedDateTime?: Date;
2914
- /** Name to identify resource. */
2915
- name?: string;
2916
- /** Textual description of the resource. */
2917
- description?: string;
2918
- /**
2919
- * A collection of key value pairs that belongs to the resource.
2920
- * Each pair must not have a key greater than 50 characters
2921
- * and must not have a value greater than 150 characters.
2922
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
2923
- */
2924
- properties?: PlantingDataPropertiesDictionary;
2925
- }
2926
-
2927
- /** Creates or updates an planting data resource under a particular farmer. */
2928
- export declare interface PlantingDataCreateOrUpdate200Response extends HttpResponse {
2929
- status: "200";
2930
- body: PlantingData;
2931
- }
2932
-
2933
- /** Creates or updates an planting data resource under a particular farmer. */
2934
- export declare interface PlantingDataCreateOrUpdate201Response extends HttpResponse {
2935
- status: "201";
2936
- body: PlantingData;
2937
- }
2938
-
2939
- export declare interface PlantingDataCreateOrUpdateBodyParam {
2940
- body?: PlantingData;
2941
- }
2942
-
2943
- /** Creates or updates an planting data resource under a particular farmer. */
2944
- export declare interface PlantingDataCreateOrUpdatedefaultResponse extends HttpResponse {
2945
- status: "500";
2946
- body: ErrorResponse;
2947
- }
2948
-
2949
- export declare type PlantingDataCreateOrUpdateParameters = RequestParameters & PlantingDataCreateOrUpdateBodyParam;
2950
-
2951
- export declare interface PlantingDataDelete {
2952
- /** Get a specified planting data resource under a particular farmer. */
2953
- get(options?: PlantingDataGetParameters): Promise<PlantingDataGet200Response | PlantingDataGetdefaultResponse>;
2954
- /** Creates or updates an planting data resource under a particular farmer. */
2955
- patch(options?: PlantingDataCreateOrUpdateParameters): Promise<PlantingDataCreateOrUpdate200Response | PlantingDataCreateOrUpdate201Response | PlantingDataCreateOrUpdatedefaultResponse>;
2956
- /** Deletes a specified planting data resource under a particular farmer. */
2957
- delete(options?: PlantingDataDeleteParameters): Promise<PlantingDataDelete204Response | PlantingDataDeletedefaultResponse>;
2958
- }
2959
-
2960
- /** Deletes a specified planting data resource under a particular farmer. */
2961
- export declare interface PlantingDataDelete204Response extends HttpResponse {
2962
- status: "204";
2963
- }
2964
-
2965
- /** Deletes a specified planting data resource under a particular farmer. */
2966
- export declare interface PlantingDataDeletedefaultResponse extends HttpResponse {
2967
- status: "500";
2968
- body: ErrorResponse;
2969
- }
2970
-
2971
- export declare type PlantingDataDeleteParameters = RequestParameters;
2972
-
2973
- /** Get a specified planting data resource under a particular farmer. */
2974
- export declare interface PlantingDataGet200Response extends HttpResponse {
2975
- status: "200";
2976
- body: PlantingData;
2977
- }
2978
-
2979
- /** Get a specified planting data resource under a particular farmer. */
2980
- export declare interface PlantingDataGetdefaultResponse extends HttpResponse {
2981
- status: "500";
2982
- body: ErrorResponse;
2983
- }
2984
-
2985
- export declare type PlantingDataGetParameters = RequestParameters;
2986
-
2987
- export declare interface PlantingDataList {
2988
- /** Returns a paginated list of planting data resources across all farmers. */
2989
- get(options?: PlantingDataListParameters): Promise<PlantingDataList200Response | PlantingDataListdefaultResponse>;
2990
- }
2991
-
2992
- /** Returns a paginated list of planting data resources across all farmers. */
2993
- export declare interface PlantingDataList200Response extends HttpResponse {
2994
- status: "200";
2995
- body: PlantingDataListResponse;
2996
- }
2997
-
2998
- export declare interface PlantingDataListByFarmerId {
2999
- /** Returns a paginated list of planting data resources under a particular farm. */
3000
- get(options?: PlantingDataListByFarmerIdParameters): Promise<PlantingDataListByFarmerId200Response | PlantingDataListByFarmerIddefaultResponse>;
3001
- }
3002
-
3003
- /** Returns a paginated list of planting data resources under a particular farm. */
3004
- export declare interface PlantingDataListByFarmerId200Response extends HttpResponse {
3005
- status: "200";
3006
- body: PlantingDataListResponse;
3007
- }
3008
-
3009
- /** Returns a paginated list of planting data resources under a particular farm. */
3010
- export declare interface PlantingDataListByFarmerIddefaultResponse extends HttpResponse {
3011
- status: "500";
3012
- body: ErrorResponse;
3013
- }
3014
-
3015
- export declare type PlantingDataListByFarmerIdParameters = RequestParameters & PlantingDataListByFarmerIdQueryParam;
3016
-
3017
- export declare interface PlantingDataListByFarmerIdQueryParam {
3018
- queryParameters?: PlantingDataListByFarmerIdQueryParamProperties;
3019
- }
3020
-
3021
- export declare interface PlantingDataListByFarmerIdQueryParamProperties {
3022
- /** Minimum AvgPlantingRate value(inclusive). */
3023
- minAvgPlantingRate?: number;
3024
- /** Maximum AvgPlantingRate value (inclusive). */
3025
- maxAvgPlantingRate?: number;
3026
- /** Minimum TotalMaterial value(inclusive). */
3027
- minTotalMaterial?: number;
3028
- /** Maximum TotalMaterial value (inclusive). */
3029
- maxTotalMaterial?: number;
3030
- /** Minimum AvgMaterial value(inclusive). */
3031
- minAvgMaterial?: number;
3032
- /** Maximum AvgMaterial value (inclusive). */
3033
- maxAvgMaterial?: number;
3034
- /** Sources of the operation data. */
3035
- sources?: string[];
3036
- /** Boundary IDs associated with operation data. */
3037
- associatedBoundaryIds?: string[];
3038
- /** Operation boundary IDs associated with operation data. */
3039
- operationBoundaryIds?: string[];
3040
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3041
- minOperationStartDateTime?: Date;
3042
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3043
- maxOperationStartDateTime?: Date;
3044
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3045
- minOperationEndDateTime?: Date;
3046
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3047
- maxOperationEndDateTime?: Date;
3048
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3049
- minOperationModifiedDateTime?: Date;
3050
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3051
- maxOperationModifiedDateTime?: Date;
3052
- /** Minimum area for which operation was applied (inclusive). */
3053
- minArea?: number;
3054
- /** Maximum area for which operation was applied (inclusive). */
3055
- maxArea?: number;
3056
- /** Ids of the resource. */
3057
- ids?: string[];
3058
- /** Names of the resource. */
3059
- names?: string[];
3060
- /**
3061
- * Filters on key-value pairs within the Properties object.
3062
- * eg. "\{testKey\} eq \{testValue\}".
3063
- */
3064
- propertyFilters?: string[];
3065
- /** Statuses of the resource. */
3066
- statuses?: string[];
3067
- /** Minimum creation date of resource (inclusive). */
3068
- minCreatedDateTime?: Date;
3069
- /** Maximum creation date of resource (inclusive). */
3070
- maxCreatedDateTime?: Date;
3071
- /** Minimum last modified date of resource (inclusive). */
3072
- minLastModifiedDateTime?: Date;
3073
- /** Maximum last modified date of resource (inclusive). */
3074
- maxLastModifiedDateTime?: Date;
3075
- /**
3076
- * Maximum number of items needed (inclusive).
3077
- * Minimum = 10, Maximum = 1000, Default value = 50.
3078
- */
3079
- $maxPageSize?: number;
3080
- /** Skip token for getting next set of results. */
3081
- $skipToken?: string;
3082
- }
3083
-
3084
- /** Returns a paginated list of planting data resources across all farmers. */
3085
- export declare interface PlantingDataListdefaultResponse extends HttpResponse {
3086
- status: "500";
3087
- body: ErrorResponse;
3088
- }
3089
-
3090
- export declare type PlantingDataListParameters = RequestParameters & PlantingDataListQueryParam;
3091
-
3092
- export declare interface PlantingDataListQueryParam {
3093
- queryParameters?: PlantingDataListQueryParamProperties;
3094
- }
3095
-
3096
- export declare interface PlantingDataListQueryParamProperties {
3097
- /** Minimum AvgPlantingRate value(inclusive). */
3098
- minAvgPlantingRate?: number;
3099
- /** Maximum AvgPlantingRate value (inclusive). */
3100
- maxAvgPlantingRate?: number;
3101
- /** Minimum TotalMaterial value(inclusive). */
3102
- minTotalMaterial?: number;
3103
- /** Maximum TotalMaterial value (inclusive). */
3104
- maxTotalMaterial?: number;
3105
- /** Minimum AvgMaterial value(inclusive). */
3106
- minAvgMaterial?: number;
3107
- /** Maximum AvgMaterial value (inclusive). */
3108
- maxAvgMaterial?: number;
3109
- /** Sources of the operation data. */
3110
- sources?: string[];
3111
- /** Boundary IDs associated with operation data. */
3112
- associatedBoundaryIds?: string[];
3113
- /** Operation boundary IDs associated with operation data. */
3114
- operationBoundaryIds?: string[];
3115
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3116
- minOperationStartDateTime?: Date;
3117
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3118
- maxOperationStartDateTime?: Date;
3119
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3120
- minOperationEndDateTime?: Date;
3121
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3122
- maxOperationEndDateTime?: Date;
3123
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3124
- minOperationModifiedDateTime?: Date;
3125
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
3126
- maxOperationModifiedDateTime?: Date;
3127
- /** Minimum area for which operation was applied (inclusive). */
3128
- minArea?: number;
3129
- /** Maximum area for which operation was applied (inclusive). */
3130
- maxArea?: number;
3131
- /** Ids of the resource. */
3132
- ids?: string[];
3133
- /** Names of the resource. */
3134
- names?: string[];
3135
- /**
3136
- * Filters on key-value pairs within the Properties object.
3137
- * eg. "\{testKey\} eq \{testValue\}".
3138
- */
3139
- propertyFilters?: string[];
3140
- /** Statuses of the resource. */
3141
- statuses?: string[];
3142
- /** Minimum creation date of resource (inclusive). */
3143
- minCreatedDateTime?: Date;
3144
- /** Maximum creation date of resource (inclusive). */
3145
- maxCreatedDateTime?: Date;
3146
- /** Minimum last modified date of resource (inclusive). */
3147
- minLastModifiedDateTime?: Date;
3148
- /** Maximum last modified date of resource (inclusive). */
3149
- maxLastModifiedDateTime?: Date;
3150
- /**
3151
- * Maximum number of items needed (inclusive).
3152
- * Minimum = 10, Maximum = 1000, Default value = 50.
3153
- */
3154
- $maxPageSize?: number;
3155
- /** Skip token for getting next set of results. */
3156
- $skipToken?: string;
3157
- }
3158
-
3159
- export declare interface PlantingDataListResponse {
3160
- /** List of requested objects. */
3161
- value?: PlantingData[];
3162
- /** Token used in retrieving the next page. If null, there are no additional pages. */
3163
- skipToken?: string;
3164
- /** Continuation link (absolute URI) to the next page of results in the list. */
3165
- nextLink?: string;
3166
- }
3167
-
3168
- export declare type PlantingDataPropertiesDictionary = Record<string, unknown>;
3169
-
3170
- export declare interface PlantingProductDetail {
3171
- /** Name of the product. */
3172
- productName?: string;
3173
- /** Schema for storing measurement reading and unit. */
3174
- area?: Measure;
3175
- /** Schema for storing measurement reading and unit. */
3176
- totalMaterial?: Measure;
3177
- /** Schema for storing measurement reading and unit. */
3178
- avgMaterial?: Measure;
3179
- }
3180
-
3181
- export declare type Point = PointBase & PointCoordinates & {
3182
- type: "Point";
3183
- };
3184
-
3185
- export declare interface PointBase {
3186
- }
3187
-
3188
- export declare interface PointCoordinates {
3189
- /**
3190
- * Gets or sets the coordinate of this point.
3191
- * It must be an array of 2 or 3 elements for a 2D or 3D system.
3192
- */
3193
- coordinates: number[];
3194
- }
3195
-
3196
- export declare type Polygon = PolygonBase & PolygonCoordinates & {
3197
- type: "Polygon";
3198
- };
3199
-
3200
- export declare interface PolygonBase {
3201
- }
3202
-
3203
- export declare interface PolygonCoordinates {
3204
- /**
3205
- * Gets or sets type of the GeoJSON Object.
3206
- * It must be an array of linear ring coordinate arrays.
3207
- * For Polygons with more than one of these rings, the first MUST be the exterior ring,
3208
- * and any others MUST be interior rings.
3209
- */
3210
- coordinates: number[][][];
3211
- }
3212
-
3213
- export declare interface Routes {
3214
- /** Resource for '/farmers/\{farmerId\}/application-data' has methods for the following verbs: get */
3215
- (path: "/farmers/{farmerId}/application-data", farmerId: string): ApplicationDataListByFarmerId;
3216
- /** Resource for '/application-data' has methods for the following verbs: get */
3217
- (path: "/application-data"): ApplicationDataList;
3218
- /** Resource for '/farmers/\{farmerId\}/application-data/\{applicationDataId\}' has methods for the following verbs: get, patch, delete */
3219
- (path: "/farmers/{farmerId}/application-data/{applicationDataId}", farmerId: string, applicationDataId: string): ApplicationDataDelete;
3220
- /** Resource for '/farmers/\{farmerId\}/attachments' has methods for the following verbs: get */
3221
- (path: "/farmers/{farmerId}/attachments", farmerId: string): AttachmentsListByFarmerId;
3222
- /** Resource for '/farmers/\{farmerId\}/attachments/\{attachmentId\}' has methods for the following verbs: get, patch, delete */
3223
- (path: "/farmers/{farmerId}/attachments/{attachmentId}", farmerId: string, attachmentId: string): AttachmentsDelete;
3224
- /** Resource for '/farmers/\{farmerId\}/attachments/\{attachmentId\}/file' has methods for the following verbs: get */
3225
- (path: "/farmers/{farmerId}/attachments/{attachmentId}/file", farmerId: string, attachmentId: string): AttachmentsDownload;
3226
- /** Resource for '/farmers/\{farmerId\}/boundaries' has methods for the following verbs: get, post */
3227
- (path: "/farmers/{farmerId}/boundaries", farmerId: string): BoundariesSearchByFarmerId;
3228
- /** Resource for '/boundaries' has methods for the following verbs: get, post */
3229
- (path: "/boundaries"): BoundariesSearch;
3230
- /** Resource for '/boundaries/cascade-delete/\{jobId\}' has methods for the following verbs: get, put */
3231
- (path: "/boundaries/cascade-delete/{jobId}", jobId: string): BoundariesCreateCascadeDeleteJob;
3232
- /** Resource for '/farmers/\{farmerId\}/boundaries/\{boundaryId\}' has methods for the following verbs: get, patch, delete */
3233
- (path: "/farmers/{farmerId}/boundaries/{boundaryId}", farmerId: string, boundaryId: string): BoundariesDelete;
3234
- /** Resource for '/farmers/\{farmerId\}/boundaries/\{boundaryId\}/overlap' has methods for the following verbs: get */
3235
- (path: "/farmers/{farmerId}/boundaries/{boundaryId}/overlap", farmerId: string, boundaryId: string): BoundariesGetOverlap;
3236
- /** Resource for '/crops' has methods for the following verbs: get */
3237
- (path: "/crops"): CropsList;
3238
- /** Resource for '/crops/\{cropId\}' has methods for the following verbs: get, patch, delete */
3239
- (path: "/crops/{cropId}", cropId: string): CropsDelete;
3240
- /** Resource for '/crops/\{cropId\}/crop-varieties' has methods for the following verbs: get */
3241
- (path: "/crops/{cropId}/crop-varieties", cropId: string): CropVarietiesListByCropId;
3242
- /** Resource for '/crop-varieties' has methods for the following verbs: get */
3243
- (path: "/crop-varieties"): CropVarietiesList;
3244
- /** Resource for '/crops/\{cropId\}/crop-varieties/\{cropVarietyId\}' has methods for the following verbs: get, patch, delete */
3245
- (path: "/crops/{cropId}/crop-varieties/{cropVarietyId}", cropId: string, cropVarietyId: string): CropVarietiesDelete;
3246
- /** Resource for '/farmers' has methods for the following verbs: get */
3247
- (path: "/farmers"): FarmersList;
3248
- /** Resource for '/farmers/\{farmerId\}' has methods for the following verbs: get, patch, delete */
3249
- (path: "/farmers/{farmerId}", farmerId: string): FarmersDelete;
3250
- /** Resource for '/farmers/cascade-delete/\{jobId\}' has methods for the following verbs: get, put */
3251
- (path: "/farmers/cascade-delete/{jobId}", jobId: string): FarmersCreateCascadeDeleteJob;
3252
- /** Resource for '/farm-operations/ingest-data/\{jobId\}' has methods for the following verbs: put, get */
3253
- (path: "/farm-operations/ingest-data/{jobId}", jobId: string): FarmOperationsGetDataIngestionJobDetails;
3254
- /** Resource for '/farmers/\{farmerId\}/farms' has methods for the following verbs: get */
3255
- (path: "/farmers/{farmerId}/farms", farmerId: string): FarmsListByFarmerId;
3256
- /** Resource for '/farms' has methods for the following verbs: get */
3257
- (path: "/farms"): FarmsList;
3258
- /** Resource for '/farmers/\{farmerId\}/farms/\{farmId\}' has methods for the following verbs: get, patch, delete */
3259
- (path: "/farmers/{farmerId}/farms/{farmId}", farmerId: string, farmId: string): FarmsDelete;
3260
- /** Resource for '/farms/cascade-delete/\{jobId\}' has methods for the following verbs: get, put */
3261
- (path: "/farms/cascade-delete/{jobId}", jobId: string): FarmsCreateCascadeDeleteJob;
3262
- /** Resource for '/farmers/\{farmerId\}/fields' has methods for the following verbs: get */
3263
- (path: "/farmers/{farmerId}/fields", farmerId: string): FieldsListByFarmerId;
3264
- /** Resource for '/fields' has methods for the following verbs: get */
3265
- (path: "/fields"): FieldsList;
3266
- /** Resource for '/farmers/\{farmerId\}/fields/\{fieldId\}' has methods for the following verbs: get, patch, delete */
3267
- (path: "/farmers/{farmerId}/fields/{fieldId}", farmerId: string, fieldId: string): FieldsDelete;
3268
- /** Resource for '/fields/cascade-delete/\{jobId\}' has methods for the following verbs: get, put */
3269
- (path: "/fields/cascade-delete/{jobId}", jobId: string): FieldsCreateCascadeDeleteJob;
3270
- /** Resource for '/farmers/\{farmerId\}/harvest-data' has methods for the following verbs: get */
3271
- (path: "/farmers/{farmerId}/harvest-data", farmerId: string): HarvestDataListByFarmerId;
3272
- /** Resource for '/harvest-data' has methods for the following verbs: get */
3273
- (path: "/harvest-data"): HarvestDataList;
3274
- /** Resource for '/farmers/\{farmerId\}/harvest-data/\{harvestDataId\}' has methods for the following verbs: get, patch, delete */
3275
- (path: "/farmers/{farmerId}/harvest-data/{harvestDataId}", farmerId: string, harvestDataId: string): HarvestDataDelete;
3276
- /** Resource for '/image-processing/rasterize/\{jobId\}' has methods for the following verbs: put, get */
3277
- (path: "/image-processing/rasterize/{jobId}", jobId: string): ImageProcessingGetRasterizeJob;
3278
- /** Resource for '/oauth/providers' has methods for the following verbs: get */
3279
- (path: "/oauth/providers"): OAuthProvidersList;
3280
- /** Resource for '/oauth/providers/\{oauthProviderId\}' has methods for the following verbs: get, patch, delete */
3281
- (path: "/oauth/providers/{oauthProviderId}", oauthProviderId: string): OAuthProvidersDelete;
3282
- /** Resource for '/oauth/tokens' has methods for the following verbs: get */
3283
- (path: "/oauth/tokens"): OAuthTokensList;
3284
- /** Resource for '/oauth/tokens/:connect' has methods for the following verbs: post */
3285
- (path: "/oauth/tokens/:connect"): OAuthTokensGetOAuthConnectionLink;
3286
- /** Resource for '/oauth/tokens/remove/\{jobId\}' has methods for the following verbs: get, put */
3287
- (path: "/oauth/tokens/remove/{jobId}", jobId: string): OAuthTokensCreateCascadeDeleteJob;
3288
- /** Resource for '/farmers/\{farmerId\}/planting-data' has methods for the following verbs: get */
3289
- (path: "/farmers/{farmerId}/planting-data", farmerId: string): PlantingDataListByFarmerId;
3290
- /** Resource for '/planting-data' has methods for the following verbs: get */
3291
- (path: "/planting-data"): PlantingDataList;
3292
- /** Resource for '/farmers/\{farmerId\}/planting-data/\{plantingDataId\}' has methods for the following verbs: get, patch, delete */
3293
- (path: "/farmers/{farmerId}/planting-data/{plantingDataId}", farmerId: string, plantingDataId: string): PlantingDataDelete;
3294
- /** Resource for '/scenes' has methods for the following verbs: get */
3295
- (path: "/scenes"): ScenesList;
3296
- /** Resource for '/scenes/satellite/ingest-data/\{jobId\}' has methods for the following verbs: put, get */
3297
- (path: "/scenes/satellite/ingest-data/{jobId}", jobId: string): ScenesGetSatelliteDataIngestionJobDetails;
3298
- /** Resource for '/scenes/downloadFiles' has methods for the following verbs: get */
3299
- (path: "/scenes/downloadFiles"): ScenesDownload;
3300
- /** Resource for '/farmers/\{farmerId\}/seasonal-fields' has methods for the following verbs: get */
3301
- (path: "/farmers/{farmerId}/seasonal-fields", farmerId: string): SeasonalFieldsListByFarmerId;
3302
- /** Resource for '/seasonal-fields' has methods for the following verbs: get */
3303
- (path: "/seasonal-fields"): SeasonalFieldsList;
3304
- /** Resource for '/farmers/\{farmerId\}/seasonal-fields/\{seasonalFieldId\}' has methods for the following verbs: get, patch, delete */
3305
- (path: "/farmers/{farmerId}/seasonal-fields/{seasonalFieldId}", farmerId: string, seasonalFieldId: string): SeasonalFieldsDelete;
3306
- /** Resource for '/seasonal-fields/cascade-delete/\{jobId\}' has methods for the following verbs: get, put */
3307
- (path: "/seasonal-fields/cascade-delete/{jobId}", jobId: string): SeasonalFieldsCreateCascadeDeleteJob;
3308
- /** Resource for '/seasons' has methods for the following verbs: get */
3309
- (path: "/seasons"): SeasonsList;
3310
- /** Resource for '/seasons/\{seasonId\}' has methods for the following verbs: get, patch, delete */
3311
- (path: "/seasons/{seasonId}", seasonId: string): SeasonsDelete;
3312
- /** Resource for '/farmers/\{farmerId\}/tillage-data' has methods for the following verbs: get */
3313
- (path: "/farmers/{farmerId}/tillage-data", farmerId: string): TillageDataListByFarmerId;
3314
- /** Resource for '/tillage-data' has methods for the following verbs: get */
3315
- (path: "/tillage-data"): TillageDataList;
3316
- /** Resource for '/farmers/\{farmerId\}/tillage-data/\{tillageDataId\}' has methods for the following verbs: get, patch, delete */
3317
- (path: "/farmers/{farmerId}/tillage-data/{tillageDataId}", farmerId: string, tillageDataId: string): TillageDataDelete;
3318
- /** Resource for '/weather' has methods for the following verbs: get */
3319
- (path: "/weather"): WeatherList;
3320
- /** Resource for '/weather/ingest-data/\{jobId\}' has methods for the following verbs: get, put */
3321
- (path: "/weather/ingest-data/{jobId}", jobId: string): WeatherCreateDataIngestionJob;
3322
- /** Resource for '/weather/delete-data/\{jobId\}' has methods for the following verbs: get, put */
3323
- (path: "/weather/delete-data/{jobId}", jobId: string): WeatherCreateDataDeleteJob;
3324
- }
3325
-
3326
- export declare interface SatelliteData {
3327
- /** List of ImageNames. */
3328
- imageNames?: string[];
3329
- /** List of ImageFormats. Available value: TIF. */
3330
- imageFormats?: string[];
3331
- /** List of ImageResolutions in meters. Available values: 10, 20, 60. */
3332
- imageResolutions?: number[];
3333
- }
3334
-
3335
- export declare interface SatelliteDataIngestionJob {
3336
- /** Farmer ID. */
3337
- farmerId: string;
3338
- /** The id of the boundary object for which satellite data is being fetched. */
3339
- boundaryId: string;
3340
- /** Start Date. */
3341
- startDateTime: Date;
3342
- /** End Date. */
3343
- endDateTime: Date;
3344
- /** Provider of satellite data. */
3345
- provider?: DataProvider;
3346
- /** Source of satellite data. */
3347
- source?: Source;
3348
- /** Data Model for SatelliteIngestionJobRequest. */
3349
- data?: SatelliteData;
3350
- /** Unique job id. */
3351
- id?: string;
3352
- /**
3353
- * Status of the job.
3354
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
3355
- */
3356
- status?: string;
3357
- /** Duration of the job in seconds. */
3358
- durationInSeconds?: number;
3359
- /** Status message to capture more details of the job. */
3360
- message?: string;
3361
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
3362
- createdDateTime?: Date;
3363
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
3364
- lastActionDateTime?: Date;
3365
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
3366
- startTime?: Date;
3367
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
3368
- endTime?: Date;
3369
- /** Name to identify resource. */
3370
- name?: string;
3371
- /** Textual description of the resource. */
3372
- description?: string;
3373
- /**
3374
- * A collection of key value pairs that belongs to the resource.
3375
- * Each pair must not have a key greater than 50 characters
3376
- * and must not have a value greater than 150 characters.
3377
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
3378
- */
3379
- properties?: SatelliteDataIngestionJobPropertiesDictionary;
3380
- }
3381
-
3382
- export declare type SatelliteDataIngestionJobPropertiesDictionary = Record<string, unknown>;
3383
-
3384
- export declare interface Scene {
3385
- /** Date-time of the scene, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3386
- sceneDateTime?: Date;
3387
- /** Data provider of the scene. */
3388
- provider?: string;
3389
- /** Data source of the scene. */
3390
- source?: string;
3391
- /** Collection of image files. */
3392
- imageFiles?: ImageFile[];
3393
- /** Supported image formats for scene resource. */
3394
- imageFormat?: ImageFormat;
3395
- /** Cloud cover percentage of the scene. */
3396
- cloudCoverPercentage?: number;
3397
- /** Dark pixel percentage of the scene. */
3398
- darkPixelPercentage?: number;
3399
- /** Median of NDVI of the scene. */
3400
- ndviMedianValue?: number;
3401
- /** Boundary ID which belongs to the scene. */
3402
- boundaryId?: string;
3403
- /** Farmer ID which belongs to the scene. */
3404
- farmerId?: string;
3405
- /** Unique scene resource ID. */
3406
- id?: string;
3407
- /** The ETag value to implement optimistic concurrency. */
3408
- eTag?: string;
3409
- }
3410
-
3411
- export declare interface SceneListResponse {
3412
- /** List of requested objects. */
3413
- value?: Scene[];
3414
- /** Token used in retrieving the next page. If null, there are no additional pages. */
3415
- skipToken?: string;
3416
- /** Continuation link (absolute URI) to the next page of results in the list. */
3417
- nextLink?: string;
3418
- }
3419
-
3420
- /** Create a satellite data ingestion job. */
3421
- export declare interface ScenesCreateSatelliteDataIngestionJob202Response extends HttpResponse {
3422
- status: "202";
3423
- body: SatelliteDataIngestionJob;
3424
- }
3425
-
3426
- export declare interface ScenesCreateSatelliteDataIngestionJobBodyParam {
3427
- body?: SatelliteDataIngestionJob;
3428
- }
3429
-
3430
- /** Create a satellite data ingestion job. */
3431
- export declare interface ScenesCreateSatelliteDataIngestionJobdefaultResponse extends HttpResponse {
3432
- status: "500";
3433
- body: ErrorResponse;
3434
- }
3435
-
3436
- export declare type ScenesCreateSatelliteDataIngestionJobParameters = RequestParameters & ScenesCreateSatelliteDataIngestionJobBodyParam;
3437
-
3438
- export declare interface ScenesDownload {
3439
- /** Downloads and returns file stream as response for the given input filePath. */
3440
- get(options?: ScenesDownloadParameters): Promise<ScenesDownload200Response | ScenesDownloaddefaultResponse>;
3441
- }
3442
-
3443
- /** Downloads and returns file stream as response for the given input filePath. */
3444
- export declare interface ScenesDownload200Response extends HttpResponse {
3445
- status: "200";
3446
- }
3447
-
3448
- /** Downloads and returns file stream as response for the given input filePath. */
3449
- export declare interface ScenesDownloaddefaultResponse extends HttpResponse {
3450
- status: "500";
3451
- body: ErrorResponse;
3452
- }
3453
-
3454
- export declare type ScenesDownloadParameters = RequestParameters & ScenesDownloadQueryParam;
3455
-
3456
- export declare interface ScenesDownloadQueryParam {
3457
- queryParameters: ScenesDownloadQueryParamProperties;
3458
- }
3459
-
3460
- export declare interface ScenesDownloadQueryParamProperties {
3461
- /** cloud storage path of scene file. */
3462
- filePath: string;
3463
- }
3464
-
3465
- export declare interface ScenesGetSatelliteDataIngestionJobDetails {
3466
- /** Create a satellite data ingestion job. */
3467
- put(options?: ScenesCreateSatelliteDataIngestionJobParameters): Promise<ScenesCreateSatelliteDataIngestionJob202Response | ScenesCreateSatelliteDataIngestionJobdefaultResponse>;
3468
- /** Get a satellite data ingestion job. */
3469
- get(options?: ScenesGetSatelliteDataIngestionJobDetailsParameters): Promise<ScenesGetSatelliteDataIngestionJobDetails200Response | ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse>;
3470
- }
3471
-
3472
- /** Get a satellite data ingestion job. */
3473
- export declare interface ScenesGetSatelliteDataIngestionJobDetails200Response extends HttpResponse {
3474
- status: "200";
3475
- body: SatelliteDataIngestionJob;
3476
- }
3477
-
3478
- /** Get a satellite data ingestion job. */
3479
- export declare interface ScenesGetSatelliteDataIngestionJobDetailsdefaultResponse extends HttpResponse {
3480
- status: "500";
3481
- body: ErrorResponse;
3482
- }
3483
-
3484
- export declare type ScenesGetSatelliteDataIngestionJobDetailsParameters = RequestParameters;
3485
-
3486
- export declare interface ScenesList {
3487
- /** Returns a paginated list of scene resources. */
3488
- get(options?: ScenesListParameters): Promise<ScenesList200Response | ScenesListdefaultResponse>;
3489
- }
3490
-
3491
- /** Returns a paginated list of scene resources. */
3492
- export declare interface ScenesList200Response extends HttpResponse {
3493
- status: "200";
3494
- body: SceneListResponse;
3495
- }
3496
-
3497
- /** Returns a paginated list of scene resources. */
3498
- export declare interface ScenesListdefaultResponse extends HttpResponse {
3499
- status: "500";
3500
- body: ErrorResponse;
3501
- }
3502
-
3503
- export declare type ScenesListParameters = RequestParameters & ScenesListQueryParam;
3504
-
3505
- export declare interface ScenesListQueryParam {
3506
- queryParameters: ScenesListQueryParamProperties;
3507
- }
3508
-
3509
- export declare interface ScenesListQueryParamProperties {
3510
- /** Provider name of scene data. */
3511
- provider: string;
3512
- /** FarmerId. */
3513
- farmerId: string;
3514
- /** BoundaryId. */
3515
- boundaryId: string;
3516
- /** Source name of scene data, default value Sentinel_2_L2A (Sentinel 2 L2A). */
3517
- source?: string;
3518
- /** Scene start UTC datetime (inclusive), sample format: yyyy-MM-ddThh:mm:ssZ. */
3519
- startDateTime?: Date;
3520
- /** Scene end UTC datetime (inclusive), sample format: yyyy-MM-dThh:mm:ssZ. */
3521
- endDateTime?: Date;
3522
- /** Filter scenes with cloud coverage percentage less than max value. Range [0 to 100.0]. */
3523
- maxCloudCoveragePercentage?: number;
3524
- /** Filter scenes with dark pixel coverage percentage less than max value. Range [0 to 100.0]. */
3525
- maxDarkPixelCoveragePercentage?: number;
3526
- /** List of image names to be filtered. */
3527
- imageNames?: string[];
3528
- /** List of image resolutions in meters to be filtered. */
3529
- imageResolutions?: number[];
3530
- /** List of image formats to be filtered. */
3531
- imageFormats?: string[];
3532
- /**
3533
- * Maximum number of items needed (inclusive).
3534
- * Minimum = 10, Maximum = 1000, Default value = 50.
3535
- */
3536
- $maxPageSize?: number;
3537
- /** Skip token for getting next set of results. */
3538
- $skipToken?: string;
3539
- }
3540
-
3541
- export declare interface SearchBoundaryQuery {
3542
- /** Ids of the resource. */
3543
- ids?: string[];
3544
- /** Names of the resource. */
3545
- names?: string[];
3546
- /**
3547
- * Filters on key-value pairs within the Properties object.
3548
- * eg. "{testKey} eq {testValue}".
3549
- */
3550
- propertyFilters?: string[];
3551
- /** Statuses of the resource. */
3552
- statuses?: string[];
3553
- /** Minimum creation date of resource (inclusive). */
3554
- minCreatedDateTime?: Date;
3555
- /** Maximum creation date of resource (inclusive). */
3556
- maxCreatedDateTime?: Date;
3557
- /** Minimum last modified date of resource (inclusive). */
3558
- minLastModifiedDateTime?: Date;
3559
- /** Maximum last modified date of resource (inclusive). */
3560
- maxLastModifiedDateTime?: Date;
3561
- /**
3562
- * Maximum number of items needed (inclusive).
3563
- * Minimum = 10, Maximum = 1000, Default value = 50.
3564
- */
3565
- maxPageSize?: number;
3566
- /** Skip token for getting next set of results. */
3567
- skipToken?: string;
3568
- /** Is the boundary primary. */
3569
- isPrimary?: boolean;
3570
- /** Type of the parent it belongs to. */
3571
- parentType?: string;
3572
- /** Parent Ids of the resource. */
3573
- parentIds?: string[];
3574
- /** Minimum acreage of the boundary (inclusive). */
3575
- minAcreage?: number;
3576
- /** Maximum acreage of the boundary (inclusive). */
3577
- maxAcreage?: number;
3578
- /** GeoJSON abstract class. */
3579
- intersectsWithGeometry?: GeoJsonObject;
3580
- }
3581
-
3582
- export declare interface Season {
3583
- /** Season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3584
- startDateTime?: Date;
3585
- /** Season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3586
- endDateTime?: Date;
3587
- /** Season year. */
3588
- year?: number;
3589
- /** Unique resource ID. */
3590
- id?: string;
3591
- /** The ETag value to implement optimistic concurrency. */
3592
- eTag?: string;
3593
- /** Status of the resource. */
3594
- status?: string;
3595
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3596
- createdDateTime?: Date;
3597
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3598
- modifiedDateTime?: Date;
3599
- /** Name to identify resource. */
3600
- name?: string;
3601
- /** Textual description of the resource. */
3602
- description?: string;
3603
- /**
3604
- * A collection of key value pairs that belongs to the resource.
3605
- * Each pair must not have a key greater than 50 characters
3606
- * and must not have a value greater than 150 characters.
3607
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
3608
- */
3609
- properties?: SeasonPropertiesDictionary;
3610
- }
3611
-
3612
- export declare interface SeasonalField {
3613
- /** Farmer ID. */
3614
- farmerId?: string;
3615
- /** Primary boundary id. */
3616
- primaryBoundaryId?: string;
3617
- /** Boundary Ids. */
3618
- boundaryIds?: string[];
3619
- /** ID of the associated Farm. */
3620
- farmId?: string;
3621
- /** ID of the associated Field. */
3622
- fieldId?: string;
3623
- /** ID of the season it belongs to. */
3624
- seasonId?: string;
3625
- /** CropVariety ids. */
3626
- cropVarietyIds?: string[];
3627
- /** ID of the crop it belongs to. */
3628
- cropId?: string;
3629
- /** Average yield value of the seasonal field. */
3630
- avgYieldValue?: number;
3631
- /** Unit of the average yield value attribute. */
3632
- avgYieldUnit?: string;
3633
- /** Average seed population value of the seasonal field. */
3634
- avgSeedPopulationValue?: number;
3635
- /** Unit of average seed population value attribute. */
3636
- avgSeedPopulationUnit?: string;
3637
- /** Planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3638
- plantingDateTime?: Date;
3639
- /** Unique resource ID. */
3640
- id?: string;
3641
- /** The ETag value to implement optimistic concurrency. */
3642
- eTag?: string;
3643
- /** Status of the resource. */
3644
- status?: string;
3645
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3646
- createdDateTime?: Date;
3647
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3648
- modifiedDateTime?: Date;
3649
- /** Name to identify resource. */
3650
- name?: string;
3651
- /** Textual description of the resource. */
3652
- description?: string;
3653
- /**
3654
- * A collection of key value pairs that belongs to the resource.
3655
- * Each pair must not have a key greater than 50 characters
3656
- * and must not have a value greater than 150 characters.
3657
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
3658
- */
3659
- properties?: SeasonalFieldPropertiesDictionary;
3660
- }
3661
-
3662
- export declare interface SeasonalFieldListResponse {
3663
- /** List of requested objects. */
3664
- value?: SeasonalField[];
3665
- /** Token used in retrieving the next page. If null, there are no additional pages. */
3666
- skipToken?: string;
3667
- /** Continuation link (absolute URI) to the next page of results in the list. */
3668
- nextLink?: string;
3669
- }
3670
-
3671
- export declare type SeasonalFieldPropertiesDictionary = Record<string, unknown>;
3672
-
3673
- export declare interface SeasonalFieldsCreateCascadeDeleteJob {
3674
- /** Get cascade delete job for specified seasonal field. */
3675
- get(options?: SeasonalFieldsGetCascadeDeleteJobDetailsParameters): Promise<SeasonalFieldsGetCascadeDeleteJobDetails200Response | SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse>;
3676
- /** Create a cascade delete job for specified seasonal field. */
3677
- put(options?: SeasonalFieldsCreateCascadeDeleteJobParameters): Promise<SeasonalFieldsCreateCascadeDeleteJob202Response | SeasonalFieldsCreateCascadeDeleteJobdefaultResponse>;
3678
- }
3679
-
3680
- /** Create a cascade delete job for specified seasonal field. */
3681
- export declare interface SeasonalFieldsCreateCascadeDeleteJob202Response extends HttpResponse {
3682
- status: "202";
3683
- body: CascadeDeleteJob;
3684
- }
3685
-
3686
- /** Create a cascade delete job for specified seasonal field. */
3687
- export declare interface SeasonalFieldsCreateCascadeDeleteJobdefaultResponse extends HttpResponse {
3688
- status: "500";
3689
- body: ErrorResponse;
3690
- }
3691
-
3692
- export declare type SeasonalFieldsCreateCascadeDeleteJobParameters = RequestParameters & SeasonalFieldsCreateCascadeDeleteJobQueryParam;
3693
-
3694
- export declare interface SeasonalFieldsCreateCascadeDeleteJobQueryParam {
3695
- queryParameters: SeasonalFieldsCreateCascadeDeleteJobQueryParamProperties;
3696
- }
3697
-
3698
- export declare interface SeasonalFieldsCreateCascadeDeleteJobQueryParamProperties {
3699
- /** ID of the associated farmer. */
3700
- farmerId: string;
3701
- /** ID of the seasonalField to be deleted. */
3702
- seasonalFieldId: string;
3703
- }
3704
-
3705
- /** Creates or Updates a seasonal field resource under a particular farmer. */
3706
- export declare interface SeasonalFieldsCreateOrUpdate200Response extends HttpResponse {
3707
- status: "200";
3708
- body: SeasonalField;
3709
- }
3710
-
3711
- /** Creates or Updates a seasonal field resource under a particular farmer. */
3712
- export declare interface SeasonalFieldsCreateOrUpdate201Response extends HttpResponse {
3713
- status: "201";
3714
- body: SeasonalField;
3715
- }
3716
-
3717
- export declare interface SeasonalFieldsCreateOrUpdateBodyParam {
3718
- body?: SeasonalField;
3719
- }
3720
-
3721
- /** Creates or Updates a seasonal field resource under a particular farmer. */
3722
- export declare interface SeasonalFieldsCreateOrUpdatedefaultResponse extends HttpResponse {
3723
- status: "500";
3724
- body: ErrorResponse;
3725
- }
3726
-
3727
- export declare type SeasonalFieldsCreateOrUpdateParameters = RequestParameters & SeasonalFieldsCreateOrUpdateBodyParam;
3728
-
3729
- export declare interface SeasonalFieldsDelete {
3730
- /** Gets a specified seasonal field resource under a particular farmer. */
3731
- get(options?: SeasonalFieldsGetParameters): Promise<SeasonalFieldsGet200Response | SeasonalFieldsGetdefaultResponse>;
3732
- /** Creates or Updates a seasonal field resource under a particular farmer. */
3733
- patch(options?: SeasonalFieldsCreateOrUpdateParameters): Promise<SeasonalFieldsCreateOrUpdate200Response | SeasonalFieldsCreateOrUpdate201Response | SeasonalFieldsCreateOrUpdatedefaultResponse>;
3734
- /** Deletes a specified seasonal-field resource under a particular farmer. */
3735
- delete(options?: SeasonalFieldsDeleteParameters): Promise<SeasonalFieldsDelete204Response | SeasonalFieldsDeletedefaultResponse>;
3736
- }
3737
-
3738
- /** Deletes a specified seasonal-field resource under a particular farmer. */
3739
- export declare interface SeasonalFieldsDelete204Response extends HttpResponse {
3740
- status: "204";
3741
- }
3742
-
3743
- /** Deletes a specified seasonal-field resource under a particular farmer. */
3744
- export declare interface SeasonalFieldsDeletedefaultResponse extends HttpResponse {
3745
- status: "500";
3746
- body: ErrorResponse;
3747
- }
3748
-
3749
- export declare type SeasonalFieldsDeleteParameters = RequestParameters;
3750
-
3751
- /** Gets a specified seasonal field resource under a particular farmer. */
3752
- export declare interface SeasonalFieldsGet200Response extends HttpResponse {
3753
- status: "200";
3754
- body: SeasonalField;
3755
- }
3756
-
3757
- /** Get cascade delete job for specified seasonal field. */
3758
- export declare interface SeasonalFieldsGetCascadeDeleteJobDetails200Response extends HttpResponse {
3759
- status: "200";
3760
- body: CascadeDeleteJob;
3761
- }
3762
-
3763
- /** Get cascade delete job for specified seasonal field. */
3764
- export declare interface SeasonalFieldsGetCascadeDeleteJobDetailsdefaultResponse extends HttpResponse {
3765
- status: "500";
3766
- body: ErrorResponse;
3767
- }
3768
-
3769
- export declare type SeasonalFieldsGetCascadeDeleteJobDetailsParameters = RequestParameters;
3770
-
3771
- /** Gets a specified seasonal field resource under a particular farmer. */
3772
- export declare interface SeasonalFieldsGetdefaultResponse extends HttpResponse {
3773
- status: "500";
3774
- body: ErrorResponse;
3775
- }
3776
-
3777
- export declare type SeasonalFieldsGetParameters = RequestParameters;
3778
-
3779
- export declare interface SeasonalFieldsList {
3780
- /** Returns a paginated list of seasonal field resources across all farmers. */
3781
- get(options?: SeasonalFieldsListParameters): Promise<SeasonalFieldsList200Response | SeasonalFieldsListdefaultResponse>;
3782
- }
3783
-
3784
- /** Returns a paginated list of seasonal field resources across all farmers. */
3785
- export declare interface SeasonalFieldsList200Response extends HttpResponse {
3786
- status: "200";
3787
- body: SeasonalFieldListResponse;
3788
- }
3789
-
3790
- export declare interface SeasonalFieldsListByFarmerId {
3791
- /** Returns a paginated list of seasonal field resources under a particular farmer. */
3792
- get(options?: SeasonalFieldsListByFarmerIdParameters): Promise<SeasonalFieldsListByFarmerId200Response | SeasonalFieldsListByFarmerIddefaultResponse>;
3793
- }
3794
-
3795
- /** Returns a paginated list of seasonal field resources under a particular farmer. */
3796
- export declare interface SeasonalFieldsListByFarmerId200Response extends HttpResponse {
3797
- status: "200";
3798
- body: SeasonalFieldListResponse;
3799
- }
3800
-
3801
- /** Returns a paginated list of seasonal field resources under a particular farmer. */
3802
- export declare interface SeasonalFieldsListByFarmerIddefaultResponse extends HttpResponse {
3803
- status: "500";
3804
- body: ErrorResponse;
3805
- }
3806
-
3807
- export declare type SeasonalFieldsListByFarmerIdParameters = RequestParameters & SeasonalFieldsListByFarmerIdQueryParam;
3808
-
3809
- export declare interface SeasonalFieldsListByFarmerIdQueryParam {
3810
- queryParameters?: SeasonalFieldsListByFarmerIdQueryParamProperties;
3811
- }
3812
-
3813
- export declare interface SeasonalFieldsListByFarmerIdQueryParamProperties {
3814
- /** Farm Ids of the resource. */
3815
- farmIds?: string[];
3816
- /** Field Ids of the resource. */
3817
- fieldIds?: string[];
3818
- /** Season Ids of the resource. */
3819
- seasonIds?: string[];
3820
- /** CropVarietyIds of the resource. */
3821
- cropVarietyIds?: string[];
3822
- /** Ids of the crop it belongs to. */
3823
- cropIds?: string[];
3824
- /** Minimum average yield value of the seasonal field(inclusive). */
3825
- minAvgYieldValue?: number;
3826
- /** Maximum average yield value of the seasonal field(inclusive). */
3827
- maxAvgYieldValue?: number;
3828
- /** Unit of the average yield value attribute. */
3829
- avgYieldUnit?: string;
3830
- /** Minimum average seed population value of the seasonal field(inclusive). */
3831
- minAvgSeedPopulationValue?: number;
3832
- /** Maximum average seed population value of the seasonal field(inclusive). */
3833
- maxAvgSeedPopulationValue?: number;
3834
- /** Unit of average seed population value attribute. */
3835
- avgSeedPopulationUnit?: string;
3836
- /** Minimum planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3837
- minPlantingDateTime?: Date;
3838
- /** Maximum planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3839
- maxPlantingDateTime?: Date;
3840
- /** Ids of the resource. */
3841
- ids?: string[];
3842
- /** Names of the resource. */
3843
- names?: string[];
3844
- /**
3845
- * Filters on key-value pairs within the Properties object.
3846
- * eg. "\{testKey\} eq \{testValue\}".
3847
- */
3848
- propertyFilters?: string[];
3849
- /** Statuses of the resource. */
3850
- statuses?: string[];
3851
- /** Minimum creation date of resource (inclusive). */
3852
- minCreatedDateTime?: Date;
3853
- /** Maximum creation date of resource (inclusive). */
3854
- maxCreatedDateTime?: Date;
3855
- /** Minimum last modified date of resource (inclusive). */
3856
- minLastModifiedDateTime?: Date;
3857
- /** Maximum last modified date of resource (inclusive). */
3858
- maxLastModifiedDateTime?: Date;
3859
- /**
3860
- * Maximum number of items needed (inclusive).
3861
- * Minimum = 10, Maximum = 1000, Default value = 50.
3862
- */
3863
- $maxPageSize?: number;
3864
- /** Skip token for getting next set of results. */
3865
- $skipToken?: string;
3866
- }
3867
-
3868
- /** Returns a paginated list of seasonal field resources across all farmers. */
3869
- export declare interface SeasonalFieldsListdefaultResponse extends HttpResponse {
3870
- status: "500";
3871
- body: ErrorResponse;
3872
- }
3873
-
3874
- export declare type SeasonalFieldsListParameters = RequestParameters & SeasonalFieldsListQueryParam;
3875
-
3876
- export declare interface SeasonalFieldsListQueryParam {
3877
- queryParameters?: SeasonalFieldsListQueryParamProperties;
3878
- }
3879
-
3880
- export declare interface SeasonalFieldsListQueryParamProperties {
3881
- /** Farm Ids of the resource. */
3882
- farmIds?: string[];
3883
- /** Field Ids of the resource. */
3884
- fieldIds?: string[];
3885
- /** Season Ids of the resource. */
3886
- seasonIds?: string[];
3887
- /** CropVarietyIds of the resource. */
3888
- cropVarietyIds?: string[];
3889
- /** Ids of the crop it belongs to. */
3890
- cropIds?: string[];
3891
- /** Minimum average yield value of the seasonal field(inclusive). */
3892
- minAvgYieldValue?: number;
3893
- /** Maximum average yield value of the seasonal field(inclusive). */
3894
- maxAvgYieldValue?: number;
3895
- /** Unit of the average yield value attribute. */
3896
- avgYieldUnit?: string;
3897
- /** Minimum average seed population value of the seasonal field(inclusive). */
3898
- minAvgSeedPopulationValue?: number;
3899
- /** Maximum average seed population value of the seasonal field(inclusive). */
3900
- maxAvgSeedPopulationValue?: number;
3901
- /** Unit of average seed population value attribute. */
3902
- avgSeedPopulationUnit?: string;
3903
- /** Minimum planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3904
- minPlantingDateTime?: Date;
3905
- /** Maximum planting datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
3906
- maxPlantingDateTime?: Date;
3907
- /** Ids of the resource. */
3908
- ids?: string[];
3909
- /** Names of the resource. */
3910
- names?: string[];
3911
- /**
3912
- * Filters on key-value pairs within the Properties object.
3913
- * eg. "\{testKey\} eq \{testValue\}".
3914
- */
3915
- propertyFilters?: string[];
3916
- /** Statuses of the resource. */
3917
- statuses?: string[];
3918
- /** Minimum creation date of resource (inclusive). */
3919
- minCreatedDateTime?: Date;
3920
- /** Maximum creation date of resource (inclusive). */
3921
- maxCreatedDateTime?: Date;
3922
- /** Minimum last modified date of resource (inclusive). */
3923
- minLastModifiedDateTime?: Date;
3924
- /** Maximum last modified date of resource (inclusive). */
3925
- maxLastModifiedDateTime?: Date;
3926
- /**
3927
- * Maximum number of items needed (inclusive).
3928
- * Minimum = 10, Maximum = 1000, Default value = 50.
3929
- */
3930
- $maxPageSize?: number;
3931
- /** Skip token for getting next set of results. */
3932
- $skipToken?: string;
3933
- }
3934
-
3935
- export declare interface SeasonListResponse {
3936
- /** List of requested objects. */
3937
- value?: Season[];
3938
- /** Token used in retrieving the next page. If null, there are no additional pages. */
3939
- skipToken?: string;
3940
- /** Continuation link (absolute URI) to the next page of results in the list. */
3941
- nextLink?: string;
3942
- }
3943
-
3944
- export declare type SeasonPropertiesDictionary = Record<string, unknown>;
3945
-
3946
- /** Creates or updates a season resource. */
3947
- export declare interface SeasonsCreateOrUpdate200Response extends HttpResponse {
3948
- status: "200";
3949
- body: Season;
3950
- }
3951
-
3952
- /** Creates or updates a season resource. */
3953
- export declare interface SeasonsCreateOrUpdate201Response extends HttpResponse {
3954
- status: "201";
3955
- body: Season;
3956
- }
3957
-
3958
- export declare interface SeasonsCreateOrUpdateBodyParam {
3959
- body?: Season;
3960
- }
3961
-
3962
- /** Creates or updates a season resource. */
3963
- export declare interface SeasonsCreateOrUpdatedefaultResponse extends HttpResponse {
3964
- status: "500";
3965
- body: ErrorResponse;
3966
- }
3967
-
3968
- export declare type SeasonsCreateOrUpdateParameters = RequestParameters & SeasonsCreateOrUpdateBodyParam;
3969
-
3970
- export declare interface SeasonsDelete {
3971
- /** Gets a specified season resource. */
3972
- get(options?: SeasonsGetParameters): Promise<SeasonsGet200Response | SeasonsGetdefaultResponse>;
3973
- /** Creates or updates a season resource. */
3974
- patch(options?: SeasonsCreateOrUpdateParameters): Promise<SeasonsCreateOrUpdate200Response | SeasonsCreateOrUpdate201Response | SeasonsCreateOrUpdatedefaultResponse>;
3975
- /** Deletes a specified season resource. */
3976
- delete(options?: SeasonsDeleteParameters): Promise<SeasonsDelete204Response | SeasonsDeletedefaultResponse>;
3977
- }
3978
-
3979
- /** Deletes a specified season resource. */
3980
- export declare interface SeasonsDelete204Response extends HttpResponse {
3981
- status: "204";
3982
- }
3983
-
3984
- /** Deletes a specified season resource. */
3985
- export declare interface SeasonsDeletedefaultResponse extends HttpResponse {
3986
- status: "500";
3987
- body: ErrorResponse;
3988
- }
3989
-
3990
- export declare type SeasonsDeleteParameters = RequestParameters;
3991
-
3992
- /** Gets a specified season resource. */
3993
- export declare interface SeasonsGet200Response extends HttpResponse {
3994
- status: "200";
3995
- body: Season;
3996
- }
3997
-
3998
- /** Gets a specified season resource. */
3999
- export declare interface SeasonsGetdefaultResponse extends HttpResponse {
4000
- status: "500";
4001
- body: ErrorResponse;
4002
- }
4003
-
4004
- export declare type SeasonsGetParameters = RequestParameters;
4005
-
4006
- export declare interface SeasonsList {
4007
- /** Returns a paginated list of season resources. */
4008
- get(options?: SeasonsListParameters): Promise<SeasonsList200Response | SeasonsListdefaultResponse>;
4009
- }
4010
-
4011
- /** Returns a paginated list of season resources. */
4012
- export declare interface SeasonsList200Response extends HttpResponse {
4013
- status: "200";
4014
- body: SeasonListResponse;
4015
- }
4016
-
4017
- /** Returns a paginated list of season resources. */
4018
- export declare interface SeasonsListdefaultResponse extends HttpResponse {
4019
- status: "500";
4020
- body: ErrorResponse;
4021
- }
4022
-
4023
- export declare type SeasonsListParameters = RequestParameters & SeasonsListQueryParam;
4024
-
4025
- export declare interface SeasonsListQueryParam {
4026
- queryParameters?: SeasonsListQueryParamProperties;
4027
- }
4028
-
4029
- export declare interface SeasonsListQueryParamProperties {
4030
- /** Minimum season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4031
- minStartDateTime?: Date;
4032
- /** Maximum season start datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4033
- maxStartDateTime?: Date;
4034
- /** Minimum season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4035
- minEndDateTime?: Date;
4036
- /** Maximum season end datetime, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4037
- maxEndDateTime?: Date;
4038
- /** Years of the resource. */
4039
- years?: number[];
4040
- /** Ids of the resource. */
4041
- ids?: string[];
4042
- /** Names of the resource. */
4043
- names?: string[];
4044
- /**
4045
- * Filters on key-value pairs within the Properties object.
4046
- * eg. "\{testKey\} eq \{testValue\}".
4047
- */
4048
- propertyFilters?: string[];
4049
- /** Statuses of the resource. */
4050
- statuses?: string[];
4051
- /** Minimum creation date of resource (inclusive). */
4052
- minCreatedDateTime?: Date;
4053
- /** Maximum creation date of resource (inclusive). */
4054
- maxCreatedDateTime?: Date;
4055
- /** Minimum last modified date of resource (inclusive). */
4056
- minLastModifiedDateTime?: Date;
4057
- /** Maximum last modified date of resource (inclusive). */
4058
- maxLastModifiedDateTime?: Date;
4059
- /**
4060
- * Maximum number of items needed (inclusive).
4061
- * Minimum = 10, Maximum = 1000, Default value = 50.
4062
- */
4063
- $maxPageSize?: number;
4064
- /** Skip token for getting next set of results. */
4065
- $skipToken?: string;
4066
- }
4067
-
4068
- export declare type Source = "Sentinel_2_L2A";
4069
-
4070
- export declare interface TillageData {
4071
- /** Schema for storing measurement reading and unit. */
4072
- tillageDepth?: Measure;
4073
- /** Schema for storing measurement reading and unit. */
4074
- tillagePressure?: Measure;
4075
- /** Schema for storing measurement reading and unit. */
4076
- area?: Measure;
4077
- /** Source of the operation data. */
4078
- source?: string;
4079
- /**
4080
- * Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.
4081
- * Note: this will be specified by the source provider itself.
4082
- */
4083
- operationModifiedDateTime?: Date;
4084
- /** Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4085
- operationStartDateTime?: Date;
4086
- /** End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4087
- operationEndDateTime?: Date;
4088
- /** Link for attachments. */
4089
- attachmentsLink?: string;
4090
- /** Optional boundary ID of the field for which operation was applied. */
4091
- associatedBoundaryId?: string;
4092
- /** Optional boundary ID of the actual area for which operation was applied inside the specified field. */
4093
- operationBoundaryId?: string;
4094
- /** Farmer ID which belongs to the operation data. */
4095
- farmerId?: string;
4096
- /** Unique resource ID. */
4097
- id?: string;
4098
- /** The ETag value to implement optimistic concurrency. */
4099
- eTag?: string;
4100
- /** Status of the resource. */
4101
- status?: string;
4102
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4103
- createdDateTime?: Date;
4104
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4105
- modifiedDateTime?: Date;
4106
- /** Name to identify resource. */
4107
- name?: string;
4108
- /** Textual description of the resource. */
4109
- description?: string;
4110
- /**
4111
- * A collection of key value pairs that belongs to the resource.
4112
- * Each pair must not have a key greater than 50 characters
4113
- * and must not have a value greater than 150 characters.
4114
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
4115
- */
4116
- properties?: TillageDataPropertiesDictionary;
4117
- }
4118
-
4119
- /** Creates or updates an tillage data resource under a particular farmer. */
4120
- export declare interface TillageDataCreateOrUpdate200Response extends HttpResponse {
4121
- status: "200";
4122
- body: TillageData;
4123
- }
4124
-
4125
- /** Creates or updates an tillage data resource under a particular farmer. */
4126
- export declare interface TillageDataCreateOrUpdate201Response extends HttpResponse {
4127
- status: "201";
4128
- body: TillageData;
4129
- }
4130
-
4131
- export declare interface TillageDataCreateOrUpdateBodyParam {
4132
- body?: TillageData;
4133
- }
4134
-
4135
- /** Creates or updates an tillage data resource under a particular farmer. */
4136
- export declare interface TillageDataCreateOrUpdatedefaultResponse extends HttpResponse {
4137
- status: "500";
4138
- body: ErrorResponse;
4139
- }
4140
-
4141
- export declare type TillageDataCreateOrUpdateParameters = RequestParameters & TillageDataCreateOrUpdateBodyParam;
4142
-
4143
- export declare interface TillageDataDelete {
4144
- /** Get a specified tillage data resource under a particular farmer. */
4145
- get(options?: TillageDataGetParameters): Promise<TillageDataGet200Response | TillageDataGetdefaultResponse>;
4146
- /** Creates or updates an tillage data resource under a particular farmer. */
4147
- patch(options?: TillageDataCreateOrUpdateParameters): Promise<TillageDataCreateOrUpdate200Response | TillageDataCreateOrUpdate201Response | TillageDataCreateOrUpdatedefaultResponse>;
4148
- /** Deletes a specified tillage data resource under a particular farmer. */
4149
- delete(options?: TillageDataDeleteParameters): Promise<TillageDataDelete204Response | TillageDataDeletedefaultResponse>;
4150
- }
4151
-
4152
- /** Deletes a specified tillage data resource under a particular farmer. */
4153
- export declare interface TillageDataDelete204Response extends HttpResponse {
4154
- status: "204";
4155
- }
4156
-
4157
- /** Deletes a specified tillage data resource under a particular farmer. */
4158
- export declare interface TillageDataDeletedefaultResponse extends HttpResponse {
4159
- status: "500";
4160
- body: ErrorResponse;
4161
- }
4162
-
4163
- export declare type TillageDataDeleteParameters = RequestParameters;
4164
-
4165
- /** Get a specified tillage data resource under a particular farmer. */
4166
- export declare interface TillageDataGet200Response extends HttpResponse {
4167
- status: "200";
4168
- body: TillageData;
4169
- }
4170
-
4171
- /** Get a specified tillage data resource under a particular farmer. */
4172
- export declare interface TillageDataGetdefaultResponse extends HttpResponse {
4173
- status: "500";
4174
- body: ErrorResponse;
4175
- }
4176
-
4177
- export declare type TillageDataGetParameters = RequestParameters;
4178
-
4179
- export declare interface TillageDataList {
4180
- /** Returns a paginated list of tillage data resources across all farmers. */
4181
- get(options?: TillageDataListParameters): Promise<TillageDataList200Response | TillageDataListdefaultResponse>;
4182
- }
4183
-
4184
- /** Returns a paginated list of tillage data resources across all farmers. */
4185
- export declare interface TillageDataList200Response extends HttpResponse {
4186
- status: "200";
4187
- body: TillageDataListResponse;
4188
- }
4189
-
4190
- export declare interface TillageDataListByFarmerId {
4191
- /** Returns a paginated list of tillage data resources under a particular farm. */
4192
- get(options?: TillageDataListByFarmerIdParameters): Promise<TillageDataListByFarmerId200Response | TillageDataListByFarmerIddefaultResponse>;
4193
- }
4194
-
4195
- /** Returns a paginated list of tillage data resources under a particular farm. */
4196
- export declare interface TillageDataListByFarmerId200Response extends HttpResponse {
4197
- status: "200";
4198
- body: TillageDataListResponse;
4199
- }
4200
-
4201
- /** Returns a paginated list of tillage data resources under a particular farm. */
4202
- export declare interface TillageDataListByFarmerIddefaultResponse extends HttpResponse {
4203
- status: "500";
4204
- body: ErrorResponse;
4205
- }
4206
-
4207
- export declare type TillageDataListByFarmerIdParameters = RequestParameters & TillageDataListByFarmerIdQueryParam;
4208
-
4209
- export declare interface TillageDataListByFarmerIdQueryParam {
4210
- queryParameters?: TillageDataListByFarmerIdQueryParamProperties;
4211
- }
4212
-
4213
- export declare interface TillageDataListByFarmerIdQueryParamProperties {
4214
- /** Minimum measured tillage depth (inclusive). */
4215
- minTillageDepth?: number;
4216
- /** Maximum measured tillage depth (inclusive). */
4217
- maxTillageDepth?: number;
4218
- /** Minimum pressure applied by a tillage implement (inclusive). */
4219
- minTillagePressure?: number;
4220
- /** Maximum pressure applied by a tillage implement (inclusive). */
4221
- maxTillagePressure?: number;
4222
- /** Sources of the operation data. */
4223
- sources?: string[];
4224
- /** Boundary IDs associated with operation data. */
4225
- associatedBoundaryIds?: string[];
4226
- /** Operation boundary IDs associated with operation data. */
4227
- operationBoundaryIds?: string[];
4228
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4229
- minOperationStartDateTime?: Date;
4230
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4231
- maxOperationStartDateTime?: Date;
4232
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4233
- minOperationEndDateTime?: Date;
4234
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4235
- maxOperationEndDateTime?: Date;
4236
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4237
- minOperationModifiedDateTime?: Date;
4238
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4239
- maxOperationModifiedDateTime?: Date;
4240
- /** Minimum area for which operation was applied (inclusive). */
4241
- minArea?: number;
4242
- /** Maximum area for which operation was applied (inclusive). */
4243
- maxArea?: number;
4244
- /** Ids of the resource. */
4245
- ids?: string[];
4246
- /** Names of the resource. */
4247
- names?: string[];
4248
- /**
4249
- * Filters on key-value pairs within the Properties object.
4250
- * eg. "\{testKey\} eq \{testValue\}".
4251
- */
4252
- propertyFilters?: string[];
4253
- /** Statuses of the resource. */
4254
- statuses?: string[];
4255
- /** Minimum creation date of resource (inclusive). */
4256
- minCreatedDateTime?: Date;
4257
- /** Maximum creation date of resource (inclusive). */
4258
- maxCreatedDateTime?: Date;
4259
- /** Minimum last modified date of resource (inclusive). */
4260
- minLastModifiedDateTime?: Date;
4261
- /** Maximum last modified date of resource (inclusive). */
4262
- maxLastModifiedDateTime?: Date;
4263
- /**
4264
- * Maximum number of items needed (inclusive).
4265
- * Minimum = 10, Maximum = 1000, Default value = 50.
4266
- */
4267
- $maxPageSize?: number;
4268
- /** Skip token for getting next set of results. */
4269
- $skipToken?: string;
4270
- }
4271
-
4272
- /** Returns a paginated list of tillage data resources across all farmers. */
4273
- export declare interface TillageDataListdefaultResponse extends HttpResponse {
4274
- status: "500";
4275
- body: ErrorResponse;
4276
- }
4277
-
4278
- export declare type TillageDataListParameters = RequestParameters & TillageDataListQueryParam;
4279
-
4280
- export declare interface TillageDataListQueryParam {
4281
- queryParameters?: TillageDataListQueryParamProperties;
4282
- }
4283
-
4284
- export declare interface TillageDataListQueryParamProperties {
4285
- /** Minimum measured tillage depth (inclusive). */
4286
- minTillageDepth?: number;
4287
- /** Maximum measured tillage depth (inclusive). */
4288
- maxTillageDepth?: number;
4289
- /** Minimum pressure applied by a tillage implement (inclusive). */
4290
- minTillagePressure?: number;
4291
- /** Maximum pressure applied by a tillage implement (inclusive). */
4292
- maxTillagePressure?: number;
4293
- /** Sources of the operation data. */
4294
- sources?: string[];
4295
- /** Boundary IDs associated with operation data. */
4296
- associatedBoundaryIds?: string[];
4297
- /** Operation boundary IDs associated with operation data. */
4298
- operationBoundaryIds?: string[];
4299
- /** Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4300
- minOperationStartDateTime?: Date;
4301
- /** Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4302
- maxOperationStartDateTime?: Date;
4303
- /** Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4304
- minOperationEndDateTime?: Date;
4305
- /** Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4306
- maxOperationEndDateTime?: Date;
4307
- /** Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4308
- minOperationModifiedDateTime?: Date;
4309
- /** Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). */
4310
- maxOperationModifiedDateTime?: Date;
4311
- /** Minimum area for which operation was applied (inclusive). */
4312
- minArea?: number;
4313
- /** Maximum area for which operation was applied (inclusive). */
4314
- maxArea?: number;
4315
- /** Ids of the resource. */
4316
- ids?: string[];
4317
- /** Names of the resource. */
4318
- names?: string[];
4319
- /**
4320
- * Filters on key-value pairs within the Properties object.
4321
- * eg. "\{testKey\} eq \{testValue\}".
4322
- */
4323
- propertyFilters?: string[];
4324
- /** Statuses of the resource. */
4325
- statuses?: string[];
4326
- /** Minimum creation date of resource (inclusive). */
4327
- minCreatedDateTime?: Date;
4328
- /** Maximum creation date of resource (inclusive). */
4329
- maxCreatedDateTime?: Date;
4330
- /** Minimum last modified date of resource (inclusive). */
4331
- minLastModifiedDateTime?: Date;
4332
- /** Maximum last modified date of resource (inclusive). */
4333
- maxLastModifiedDateTime?: Date;
4334
- /**
4335
- * Maximum number of items needed (inclusive).
4336
- * Minimum = 10, Maximum = 1000, Default value = 50.
4337
- */
4338
- $maxPageSize?: number;
4339
- /** Skip token for getting next set of results. */
4340
- $skipToken?: string;
4341
- }
4342
-
4343
- export declare interface TillageDataListResponse {
4344
- /** List of requested objects. */
4345
- value?: TillageData[];
4346
- /** Token used in retrieving the next page. If null, there are no additional pages. */
4347
- skipToken?: string;
4348
- /** Continuation link (absolute URI) to the next page of results in the list. */
4349
- nextLink?: string;
4350
- }
4351
-
4352
- export declare type TillageDataPropertiesDictionary = Record<string, unknown>;
4353
-
4354
- export declare interface WeatherCreateDataDeleteJob {
4355
- /** Get weather data delete job. */
4356
- get(options?: WeatherGetDataDeleteJobDetailsParameters): Promise<WeatherGetDataDeleteJobDetails200Response | WeatherGetDataDeleteJobDetailsdefaultResponse>;
4357
- /** Create a weather data delete job. */
4358
- put(options?: WeatherCreateDataDeleteJobParameters): Promise<WeatherCreateDataDeleteJob202Response | WeatherCreateDataDeleteJobdefaultResponse>;
4359
- }
4360
-
4361
- /** Create a weather data delete job. */
4362
- export declare interface WeatherCreateDataDeleteJob202Response extends HttpResponse {
4363
- status: "202";
4364
- body: WeatherDataDeleteJob;
4365
- }
4366
-
4367
- export declare interface WeatherCreateDataDeleteJobBodyParam {
4368
- body?: WeatherDataDeleteJob;
4369
- }
4370
-
4371
- /** Create a weather data delete job. */
4372
- export declare interface WeatherCreateDataDeleteJobdefaultResponse extends HttpResponse {
4373
- status: "500";
4374
- body: ErrorResponse;
4375
- }
4376
-
4377
- export declare type WeatherCreateDataDeleteJobParameters = RequestParameters & WeatherCreateDataDeleteJobBodyParam;
4378
-
4379
- export declare interface WeatherCreateDataIngestionJob {
4380
- /** Get weather ingestion job. */
4381
- get(options?: WeatherGetDataIngestionJobDetailsParameters): Promise<WeatherGetDataIngestionJobDetails200Response | WeatherGetDataIngestionJobDetailsdefaultResponse>;
4382
- /** Create a weather data ingestion job. */
4383
- put(options?: WeatherCreateDataIngestionJobParameters): Promise<WeatherCreateDataIngestionJob202Response | WeatherCreateDataIngestionJobdefaultResponse>;
4384
- }
4385
-
4386
- /** Create a weather data ingestion job. */
4387
- export declare interface WeatherCreateDataIngestionJob202Response extends HttpResponse {
4388
- status: "202";
4389
- body: WeatherDataIngestionJob;
4390
- }
4391
-
4392
- export declare interface WeatherCreateDataIngestionJobBodyParam {
4393
- body?: WeatherDataIngestionJob;
4394
- }
4395
-
4396
- /** Create a weather data ingestion job. */
4397
- export declare interface WeatherCreateDataIngestionJobdefaultResponse extends HttpResponse {
4398
- status: "500";
4399
- body: ErrorResponse;
4400
- }
4401
-
4402
- export declare type WeatherCreateDataIngestionJobParameters = RequestParameters & WeatherCreateDataIngestionJobBodyParam;
4403
-
4404
- export declare interface WeatherData {
4405
- /** Farmer ID. */
4406
- farmerId: string;
4407
- /** Boundary ID. */
4408
- boundaryId: string;
4409
- /** ID of the weather extension. */
4410
- extensionId: string;
4411
- /** Location model class. */
4412
- location: Location;
4413
- /** Date-time of the weather data, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4414
- dateTime: Date;
4415
- /** Unit System like US/SI etc. */
4416
- unitSystemCode?: string;
4417
- /** Version of the weather data extension. */
4418
- extensionVersion: string;
4419
- /** Type of weather data (forecast/historical). */
4420
- weatherDataType: string;
4421
- /** Granularity of weather data (daily/hourly). */
4422
- granularity: string;
4423
- /** Schema for storing measurement reading and unit. */
4424
- cloudCover?: Measure;
4425
- /** Schema for storing measurement reading and unit. */
4426
- dewPoint?: Measure;
4427
- /** Schema for storing measurement reading and unit. */
4428
- growingDegreeDay?: Measure;
4429
- /** Schema for storing measurement reading and unit. */
4430
- precipitation?: Measure;
4431
- /** Schema for storing measurement reading and unit. */
4432
- pressure?: Measure;
4433
- /** Schema for storing measurement reading and unit. */
4434
- relativeHumidity?: Measure;
4435
- /** Schema for storing measurement reading and unit. */
4436
- soilMoisture?: Measure;
4437
- /** Schema for storing measurement reading and unit. */
4438
- soilTemperature?: Measure;
4439
- /** Schema for storing measurement reading and unit. */
4440
- temperature?: Measure;
4441
- /** Schema for storing measurement reading and unit. */
4442
- visibility?: Measure;
4443
- /** Schema for storing measurement reading and unit. */
4444
- wetBulbTemperature?: Measure;
4445
- /** Schema for storing measurement reading and unit. */
4446
- windChill?: Measure;
4447
- /** Schema for storing measurement reading and unit. */
4448
- windDirection?: Measure;
4449
- /** Schema for storing measurement reading and unit. */
4450
- windGust?: Measure;
4451
- /** Schema for storing measurement reading and unit. */
4452
- windSpeed?: Measure;
4453
- /** Weather data ID. */
4454
- id?: string;
4455
- /** The ETag value to implement optimistic concurrency. */
4456
- eTag?: string;
4457
- /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4458
- createdDateTime?: Date;
4459
- /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */
4460
- modifiedDateTime?: Date;
4461
- /**
4462
- * A collection of key value pairs that belongs to the resource.
4463
- * Each pair must not have a key greater than 50 characters
4464
- * and must not have a value greater than 150 characters.
4465
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
4466
- */
4467
- properties?: WeatherDataPropertiesDictionary;
4468
- }
4469
-
4470
- export declare interface WeatherDataDeleteJob {
4471
- /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */
4472
- extensionId: string;
4473
- /** The id of the farmer object for which weather data is being fetched. */
4474
- farmerId: string;
4475
- /** The id of the boundary object for which weather data is being fetched. */
4476
- boundaryId: string;
4477
- /** Type of weather data. Possible values include: 'forecast' , 'historical'. */
4478
- weatherDataType?: string;
4479
- /** Granularity of weather data. Possible values include: 'daily' , 'hourly'. */
4480
- granularity?: string;
4481
- /** Weather data start UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */
4482
- startDateTime?: Date;
4483
- /** Weather data end UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */
4484
- endDateTime?: Date;
4485
- /** Unique job id. */
4486
- id?: string;
4487
- /**
4488
- * Status of the job.
4489
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
4490
- */
4491
- status?: string;
4492
- /** Duration of the job in seconds. */
4493
- durationInSeconds?: number;
4494
- /** Status message to capture more details of the job. */
4495
- message?: string;
4496
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4497
- createdDateTime?: Date;
4498
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4499
- lastActionDateTime?: Date;
4500
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4501
- startTime?: Date;
4502
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4503
- endTime?: Date;
4504
- /** Name to identify resource. */
4505
- name?: string;
4506
- /** Textual description of the resource. */
4507
- description?: string;
4508
- /**
4509
- * A collection of key value pairs that belongs to the resource.
4510
- * Each pair must not have a key greater than 50 characters
4511
- * and must not have a value greater than 150 characters.
4512
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
4513
- */
4514
- properties?: WeatherDataDeleteJobPropertiesDictionary;
4515
- }
4516
-
4517
- export declare type WeatherDataDeleteJobPropertiesDictionary = Record<string, unknown>;
4518
-
4519
- export declare interface WeatherDataIngestionJob {
4520
- /** The id of the boundary object for which weather data is being fetched. */
4521
- boundaryId: string;
4522
- /** The id of the farmer object for which weather data is being fetched. */
4523
- farmerId: string;
4524
- /** ID of the extension to be used for the providerInput. eg. DTN.ClearAg. */
4525
- extensionId: string;
4526
- /** Extension api name to which request is to be made. */
4527
- extensionApiName: string;
4528
- /** Extension api input dictionary which would be used to feed request query/body/parameter information. */
4529
- extensionApiInput: WeatherDataIngestionJobExtensionApiInputDictionary;
4530
- /** App id of the weather data provider. */
4531
- extensionDataProviderAppId?: string;
4532
- /** Api key of the weather data provider. */
4533
- extensionDataProviderApiKey?: string;
4534
- /** Unique job id. */
4535
- id?: string;
4536
- /**
4537
- * Status of the job.
4538
- * Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.
4539
- */
4540
- status?: string;
4541
- /** Duration of the job in seconds. */
4542
- durationInSeconds?: number;
4543
- /** Status message to capture more details of the job. */
4544
- message?: string;
4545
- /** Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4546
- createdDateTime?: Date;
4547
- /** Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4548
- lastActionDateTime?: Date;
4549
- /** Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4550
- startTime?: Date;
4551
- /** Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ. */
4552
- endTime?: Date;
4553
- /** Name to identify resource. */
4554
- name?: string;
4555
- /** Textual description of the resource. */
4556
- description?: string;
4557
- /**
4558
- * A collection of key value pairs that belongs to the resource.
4559
- * Each pair must not have a key greater than 50 characters
4560
- * and must not have a value greater than 150 characters.
4561
- * Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.
4562
- */
4563
- properties?: WeatherDataIngestionJobPropertiesDictionary;
4564
- }
4565
-
4566
- export declare type WeatherDataIngestionJobExtensionApiInputDictionary = Record<string, unknown>;
4567
-
4568
- export declare type WeatherDataIngestionJobPropertiesDictionary = Record<string, unknown>;
4569
-
4570
- export declare interface WeatherDataListResponse {
4571
- /** List of requested objects. */
4572
- value?: WeatherData[];
4573
- /** Token used in retrieving the next page. If null, there are no additional pages. */
4574
- skipToken?: string;
4575
- /** Continuation link (absolute URI) to the next page of results in the list. */
4576
- nextLink?: string;
4577
- }
4578
-
4579
- export declare type WeatherDataPropertiesDictionary = Record<string, unknown>;
4580
-
4581
- /** Get weather data delete job. */
4582
- export declare interface WeatherGetDataDeleteJobDetails200Response extends HttpResponse {
4583
- status: "200";
4584
- body: WeatherDataDeleteJob;
4585
- }
4586
-
4587
- /** Get weather data delete job. */
4588
- export declare interface WeatherGetDataDeleteJobDetailsdefaultResponse extends HttpResponse {
4589
- status: "500";
4590
- body: ErrorResponse;
4591
- }
4592
-
4593
- export declare type WeatherGetDataDeleteJobDetailsParameters = RequestParameters;
4594
-
4595
- /** Get weather ingestion job. */
4596
- export declare interface WeatherGetDataIngestionJobDetails200Response extends HttpResponse {
4597
- status: "200";
4598
- body: WeatherDataIngestionJob;
4599
- }
4600
-
4601
- /** Get weather ingestion job. */
4602
- export declare interface WeatherGetDataIngestionJobDetailsdefaultResponse extends HttpResponse {
4603
- status: "500";
4604
- body: ErrorResponse;
4605
- }
4606
-
4607
- export declare type WeatherGetDataIngestionJobDetailsParameters = RequestParameters;
4608
-
4609
- export declare interface WeatherList {
4610
- /** Returns a paginated list of weather data. */
4611
- get(options?: WeatherListParameters): Promise<WeatherList200Response | WeatherListdefaultResponse>;
4612
- }
4613
-
4614
- /** Returns a paginated list of weather data. */
4615
- export declare interface WeatherList200Response extends HttpResponse {
4616
- status: "200";
4617
- body: WeatherDataListResponse;
4618
- }
4619
-
4620
- /** Returns a paginated list of weather data. */
4621
- export declare interface WeatherListdefaultResponse extends HttpResponse {
4622
- status: "500";
4623
- body: ErrorResponse;
4624
- }
4625
-
4626
- export declare type WeatherListParameters = RequestParameters & WeatherListQueryParam;
4627
-
4628
- export declare interface WeatherListQueryParam {
4629
- queryParameters: WeatherListQueryParamProperties;
4630
- }
4631
-
4632
- export declare interface WeatherListQueryParamProperties {
4633
- /** Farmer ID. */
4634
- farmerId: string;
4635
- /** Boundary ID. */
4636
- boundaryId: string;
4637
- /** ID of the weather extension. */
4638
- extensionId: string;
4639
- /** Type of weather data (forecast/historical). */
4640
- weatherDataType: string;
4641
- /** Granularity of weather data (daily/hourly). */
4642
- granularity: string;
4643
- /** Weather data start UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */
4644
- startDateTime?: Date;
4645
- /** Weather data end UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ. */
4646
- endDateTime?: Date;
4647
- /**
4648
- * Maximum number of items needed (inclusive).
4649
- * Minimum = 10, Maximum = 1000, Default value = 50.
4650
- */
4651
- $maxPageSize?: number;
4652
- /** Skip token for getting next set of results. */
4653
- $skipToken?: string;
4654
- }
4655
-
4656
- export { }