@samsarahq/samsara 13.0.0 → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.d.ts +1 -0
  3. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.js +1 -0
  4. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.d.ts +1 -0
  5. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.js +1 -0
  6. package/dist/cjs/api/resources/assets/client/Client.js +2 -1
  7. package/dist/cjs/api/resources/assets/client/requests/ListAssetsRequest.d.ts +2 -0
  8. package/dist/cjs/api/resources/betaApIs/client/Client.d.ts +95 -5
  9. package/dist/cjs/api/resources/betaApIs/client/Client.js +275 -12
  10. package/dist/cjs/api/resources/betaApIs/client/requests/DeleteRidershipRouteSetupRequest.d.ts +1 -1
  11. package/dist/cjs/api/resources/betaApIs/client/requests/FunctionsStorageCreateFunctionStorageFileRequestBody.d.ts +10 -0
  12. package/dist/cjs/api/resources/betaApIs/client/requests/FunctionsStorageCreateFunctionStorageFileRequestBody.js +3 -0
  13. package/dist/cjs/api/resources/betaApIs/client/requests/GetFunctionStorageFileRequest.d.ts +10 -0
  14. package/dist/cjs/api/resources/betaApIs/client/requests/GetFunctionStorageFileRequest.js +3 -0
  15. package/dist/cjs/api/resources/betaApIs/client/requests/GetRidershipRouteSetupRequest.d.ts +1 -1
  16. package/dist/cjs/api/resources/betaApIs/client/requests/RidershipRouteSetupsCreateRidershipRouteSetupRequestBody.d.ts +1 -1
  17. package/dist/cjs/api/resources/betaApIs/client/requests/RidershipRouteSetupsUpdateRidershipRouteSetupRequestBody.d.ts +1 -1
  18. package/dist/cjs/api/resources/betaApIs/client/requests/UpdateFunctionStorageFileRequest.d.ts +10 -0
  19. package/dist/cjs/api/resources/betaApIs/client/requests/UpdateFunctionStorageFileRequest.js +3 -0
  20. package/dist/cjs/api/resources/betaApIs/client/requests/index.d.ts +3 -0
  21. package/dist/cjs/api/resources/issues/client/Client.js +2 -1
  22. package/dist/cjs/api/resources/issues/client/requests/GetIssuesStreamRequest.d.ts +3 -1
  23. package/dist/cjs/api/resources/issues/client/requests/IssuesPatchIssueRequestBody.d.ts +15 -0
  24. package/dist/cjs/api/resources/issues/client/requests/IssuesPatchIssueRequestBody.js +6 -0
  25. package/dist/cjs/api/resources/routes/client/Client.js +3 -1
  26. package/dist/cjs/api/resources/routes/client/requests/FetchRoutesRequest.d.ts +4 -0
  27. package/dist/cjs/api/types/Address.d.ts +1 -0
  28. package/dist/cjs/api/types/Address.js +1 -0
  29. package/dist/cjs/api/types/AssetResponseBody.d.ts +2 -0
  30. package/dist/cjs/api/types/CreateFunctionStorageFileDetailResponseBody.d.ts +9 -0
  31. package/dist/cjs/api/types/CreateFunctionStorageFileDetailResponseBody.js +3 -0
  32. package/dist/cjs/api/types/FormTemplateResponseObjectResponseBody.d.ts +3 -2
  33. package/dist/cjs/api/types/FormTemplateResponseObjectResponseBody.js +2 -1
  34. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileBadGatewayErrorResponseBody.d.ts +9 -0
  35. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileBadGatewayErrorResponseBody.js +3 -0
  36. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileGatewayTimeoutErrorResponseBody.d.ts +9 -0
  37. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileGatewayTimeoutErrorResponseBody.js +3 -0
  38. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileInternalServerErrorResponseBody.d.ts +9 -0
  39. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileInternalServerErrorResponseBody.js +3 -0
  40. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileMethodNotAllowedErrorResponseBody.d.ts +9 -0
  41. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileMethodNotAllowedErrorResponseBody.js +3 -0
  42. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileNotFoundErrorResponseBody.d.ts +9 -0
  43. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileNotFoundErrorResponseBody.js +3 -0
  44. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileNotImplementedErrorResponseBody.d.ts +9 -0
  45. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileNotImplementedErrorResponseBody.js +3 -0
  46. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileResponseBody.d.ts +4 -0
  47. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileResponseBody.js +3 -0
  48. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileServiceUnavailableErrorResponseBody.d.ts +9 -0
  49. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileServiceUnavailableErrorResponseBody.js +3 -0
  50. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileTooManyRequestsErrorResponseBody.d.ts +9 -0
  51. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileTooManyRequestsErrorResponseBody.js +3 -0
  52. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileUnauthorizedErrorResponseBody.d.ts +9 -0
  53. package/dist/cjs/api/types/FunctionsStorageCreateFunctionStorageFileUnauthorizedErrorResponseBody.js +3 -0
  54. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileBadGatewayErrorResponseBody.d.ts +9 -0
  55. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileBadGatewayErrorResponseBody.js +3 -0
  56. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileGatewayTimeoutErrorResponseBody.d.ts +9 -0
  57. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileGatewayTimeoutErrorResponseBody.js +3 -0
  58. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileInternalServerErrorResponseBody.d.ts +9 -0
  59. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileInternalServerErrorResponseBody.js +3 -0
  60. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileMethodNotAllowedErrorResponseBody.d.ts +9 -0
  61. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileMethodNotAllowedErrorResponseBody.js +3 -0
  62. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileNotFoundErrorResponseBody.d.ts +9 -0
  63. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileNotFoundErrorResponseBody.js +3 -0
  64. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileNotImplementedErrorResponseBody.d.ts +9 -0
  65. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileNotImplementedErrorResponseBody.js +3 -0
  66. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileResponseBody.d.ts +4 -0
  67. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileResponseBody.js +3 -0
  68. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileServiceUnavailableErrorResponseBody.d.ts +9 -0
  69. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileServiceUnavailableErrorResponseBody.js +3 -0
  70. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileTooManyRequestsErrorResponseBody.d.ts +9 -0
  71. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileTooManyRequestsErrorResponseBody.js +3 -0
  72. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileUnauthorizedErrorResponseBody.d.ts +9 -0
  73. package/dist/cjs/api/types/FunctionsStorageGetFunctionStorageFileUnauthorizedErrorResponseBody.js +3 -0
  74. package/dist/cjs/api/types/FunctionsStorageSignedUrlOfTypeResponseBody.d.ts +9 -0
  75. package/dist/cjs/api/types/FunctionsStorageSignedUrlOfTypeResponseBody.js +3 -0
  76. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileBadGatewayErrorResponseBody.d.ts +9 -0
  77. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileBadGatewayErrorResponseBody.js +3 -0
  78. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileGatewayTimeoutErrorResponseBody.d.ts +9 -0
  79. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileGatewayTimeoutErrorResponseBody.js +3 -0
  80. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileInternalServerErrorResponseBody.d.ts +9 -0
  81. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileInternalServerErrorResponseBody.js +3 -0
  82. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileMethodNotAllowedErrorResponseBody.d.ts +9 -0
  83. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileMethodNotAllowedErrorResponseBody.js +3 -0
  84. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileNotFoundErrorResponseBody.d.ts +9 -0
  85. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileNotFoundErrorResponseBody.js +3 -0
  86. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileNotImplementedErrorResponseBody.d.ts +9 -0
  87. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileNotImplementedErrorResponseBody.js +3 -0
  88. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileResponseBody.d.ts +4 -0
  89. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileResponseBody.js +3 -0
  90. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileServiceUnavailableErrorResponseBody.d.ts +9 -0
  91. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileServiceUnavailableErrorResponseBody.js +3 -0
  92. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileTooManyRequestsErrorResponseBody.d.ts +9 -0
  93. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileTooManyRequestsErrorResponseBody.js +3 -0
  94. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileUnauthorizedErrorResponseBody.d.ts +9 -0
  95. package/dist/cjs/api/types/FunctionsStorageUpdateFunctionStorageFileUnauthorizedErrorResponseBody.js +3 -0
  96. package/dist/cjs/api/types/GetFunctionStorageFileDetailResponseBody.d.ts +9 -0
  97. package/dist/cjs/api/types/GetFunctionStorageFileDetailResponseBody.js +3 -0
  98. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.d.ts +2 -1
  99. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.js +2 -1
  100. package/dist/cjs/api/types/LocationObjectRequestBody.d.ts +2 -1
  101. package/dist/cjs/api/types/LocationObjectRequestBody.js +2 -1
  102. package/dist/cjs/api/types/LocationObjectResponseBody.d.ts +2 -1
  103. package/dist/cjs/api/types/LocationObjectResponseBody.js +2 -1
  104. package/dist/cjs/api/types/OutOfSequenceStopArrivalDataResponseBody.d.ts +12 -0
  105. package/dist/cjs/api/types/OutOfSequenceStopArrivalDataResponseBody.js +3 -0
  106. package/dist/cjs/api/types/RidershipRouteSetupPassengerInputRequestBody.d.ts +3 -3
  107. package/dist/cjs/api/types/SignatoryUserObjectResponseBody.d.ts +2 -0
  108. package/dist/cjs/api/types/UpdateFunctionStorageFileDetailResponseBody.d.ts +9 -0
  109. package/dist/cjs/api/types/UpdateFunctionStorageFileDetailResponseBody.js +3 -0
  110. package/dist/cjs/api/types/WorkflowIncidentDetailsObjectResponseBody.d.ts +1 -0
  111. package/dist/cjs/api/types/index.d.ts +35 -0
  112. package/dist/cjs/api/types/index.js +35 -0
  113. package/dist/cjs/version.d.ts +1 -1
  114. package/dist/cjs/version.js +1 -1
  115. package/dist/esm/BaseClient.mjs +2 -2
  116. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.d.mts +1 -0
  117. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.mjs +1 -0
  118. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.d.mts +1 -0
  119. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.mjs +1 -0
  120. package/dist/esm/api/resources/assets/client/Client.mjs +2 -1
  121. package/dist/esm/api/resources/assets/client/requests/ListAssetsRequest.d.mts +2 -0
  122. package/dist/esm/api/resources/betaApIs/client/Client.d.mts +95 -5
  123. package/dist/esm/api/resources/betaApIs/client/Client.mjs +275 -12
  124. package/dist/esm/api/resources/betaApIs/client/requests/DeleteRidershipRouteSetupRequest.d.mts +1 -1
  125. package/dist/esm/api/resources/betaApIs/client/requests/FunctionsStorageCreateFunctionStorageFileRequestBody.d.mts +10 -0
  126. package/dist/esm/api/resources/betaApIs/client/requests/FunctionsStorageCreateFunctionStorageFileRequestBody.mjs +2 -0
  127. package/dist/esm/api/resources/betaApIs/client/requests/GetFunctionStorageFileRequest.d.mts +10 -0
  128. package/dist/esm/api/resources/betaApIs/client/requests/GetFunctionStorageFileRequest.mjs +2 -0
  129. package/dist/esm/api/resources/betaApIs/client/requests/GetRidershipRouteSetupRequest.d.mts +1 -1
  130. package/dist/esm/api/resources/betaApIs/client/requests/RidershipRouteSetupsCreateRidershipRouteSetupRequestBody.d.mts +1 -1
  131. package/dist/esm/api/resources/betaApIs/client/requests/RidershipRouteSetupsUpdateRidershipRouteSetupRequestBody.d.mts +1 -1
  132. package/dist/esm/api/resources/betaApIs/client/requests/UpdateFunctionStorageFileRequest.d.mts +10 -0
  133. package/dist/esm/api/resources/betaApIs/client/requests/UpdateFunctionStorageFileRequest.mjs +2 -0
  134. package/dist/esm/api/resources/betaApIs/client/requests/index.d.mts +3 -0
  135. package/dist/esm/api/resources/issues/client/Client.mjs +2 -1
  136. package/dist/esm/api/resources/issues/client/requests/GetIssuesStreamRequest.d.mts +3 -1
  137. package/dist/esm/api/resources/issues/client/requests/IssuesPatchIssueRequestBody.d.mts +15 -0
  138. package/dist/esm/api/resources/issues/client/requests/IssuesPatchIssueRequestBody.mjs +6 -0
  139. package/dist/esm/api/resources/routes/client/Client.mjs +3 -1
  140. package/dist/esm/api/resources/routes/client/requests/FetchRoutesRequest.d.mts +4 -0
  141. package/dist/esm/api/types/Address.d.mts +1 -0
  142. package/dist/esm/api/types/Address.mjs +1 -0
  143. package/dist/esm/api/types/AssetResponseBody.d.mts +2 -0
  144. package/dist/esm/api/types/CreateFunctionStorageFileDetailResponseBody.d.mts +9 -0
  145. package/dist/esm/api/types/CreateFunctionStorageFileDetailResponseBody.mjs +2 -0
  146. package/dist/esm/api/types/FormTemplateResponseObjectResponseBody.d.mts +3 -2
  147. package/dist/esm/api/types/FormTemplateResponseObjectResponseBody.mjs +2 -1
  148. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileBadGatewayErrorResponseBody.d.mts +9 -0
  149. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileBadGatewayErrorResponseBody.mjs +2 -0
  150. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileGatewayTimeoutErrorResponseBody.d.mts +9 -0
  151. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileGatewayTimeoutErrorResponseBody.mjs +2 -0
  152. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileInternalServerErrorResponseBody.d.mts +9 -0
  153. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileInternalServerErrorResponseBody.mjs +2 -0
  154. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileMethodNotAllowedErrorResponseBody.d.mts +9 -0
  155. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileMethodNotAllowedErrorResponseBody.mjs +2 -0
  156. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileNotFoundErrorResponseBody.d.mts +9 -0
  157. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileNotFoundErrorResponseBody.mjs +2 -0
  158. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileNotImplementedErrorResponseBody.d.mts +9 -0
  159. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileNotImplementedErrorResponseBody.mjs +2 -0
  160. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileResponseBody.d.mts +4 -0
  161. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileResponseBody.mjs +2 -0
  162. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileServiceUnavailableErrorResponseBody.d.mts +9 -0
  163. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileServiceUnavailableErrorResponseBody.mjs +2 -0
  164. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileTooManyRequestsErrorResponseBody.d.mts +9 -0
  165. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileTooManyRequestsErrorResponseBody.mjs +2 -0
  166. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileUnauthorizedErrorResponseBody.d.mts +9 -0
  167. package/dist/esm/api/types/FunctionsStorageCreateFunctionStorageFileUnauthorizedErrorResponseBody.mjs +2 -0
  168. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileBadGatewayErrorResponseBody.d.mts +9 -0
  169. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileBadGatewayErrorResponseBody.mjs +2 -0
  170. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileGatewayTimeoutErrorResponseBody.d.mts +9 -0
  171. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileGatewayTimeoutErrorResponseBody.mjs +2 -0
  172. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileInternalServerErrorResponseBody.d.mts +9 -0
  173. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileInternalServerErrorResponseBody.mjs +2 -0
  174. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileMethodNotAllowedErrorResponseBody.d.mts +9 -0
  175. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileMethodNotAllowedErrorResponseBody.mjs +2 -0
  176. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileNotFoundErrorResponseBody.d.mts +9 -0
  177. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileNotFoundErrorResponseBody.mjs +2 -0
  178. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileNotImplementedErrorResponseBody.d.mts +9 -0
  179. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileNotImplementedErrorResponseBody.mjs +2 -0
  180. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileResponseBody.d.mts +4 -0
  181. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileResponseBody.mjs +2 -0
  182. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileServiceUnavailableErrorResponseBody.d.mts +9 -0
  183. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileServiceUnavailableErrorResponseBody.mjs +2 -0
  184. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileTooManyRequestsErrorResponseBody.d.mts +9 -0
  185. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileTooManyRequestsErrorResponseBody.mjs +2 -0
  186. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileUnauthorizedErrorResponseBody.d.mts +9 -0
  187. package/dist/esm/api/types/FunctionsStorageGetFunctionStorageFileUnauthorizedErrorResponseBody.mjs +2 -0
  188. package/dist/esm/api/types/FunctionsStorageSignedUrlOfTypeResponseBody.d.mts +9 -0
  189. package/dist/esm/api/types/FunctionsStorageSignedUrlOfTypeResponseBody.mjs +2 -0
  190. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileBadGatewayErrorResponseBody.d.mts +9 -0
  191. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileBadGatewayErrorResponseBody.mjs +2 -0
  192. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileGatewayTimeoutErrorResponseBody.d.mts +9 -0
  193. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileGatewayTimeoutErrorResponseBody.mjs +2 -0
  194. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileInternalServerErrorResponseBody.d.mts +9 -0
  195. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileInternalServerErrorResponseBody.mjs +2 -0
  196. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileMethodNotAllowedErrorResponseBody.d.mts +9 -0
  197. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileMethodNotAllowedErrorResponseBody.mjs +2 -0
  198. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileNotFoundErrorResponseBody.d.mts +9 -0
  199. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileNotFoundErrorResponseBody.mjs +2 -0
  200. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileNotImplementedErrorResponseBody.d.mts +9 -0
  201. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileNotImplementedErrorResponseBody.mjs +2 -0
  202. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileResponseBody.d.mts +4 -0
  203. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileResponseBody.mjs +2 -0
  204. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileServiceUnavailableErrorResponseBody.d.mts +9 -0
  205. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileServiceUnavailableErrorResponseBody.mjs +2 -0
  206. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileTooManyRequestsErrorResponseBody.d.mts +9 -0
  207. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileTooManyRequestsErrorResponseBody.mjs +2 -0
  208. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileUnauthorizedErrorResponseBody.d.mts +9 -0
  209. package/dist/esm/api/types/FunctionsStorageUpdateFunctionStorageFileUnauthorizedErrorResponseBody.mjs +2 -0
  210. package/dist/esm/api/types/GetFunctionStorageFileDetailResponseBody.d.mts +9 -0
  211. package/dist/esm/api/types/GetFunctionStorageFileDetailResponseBody.mjs +2 -0
  212. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.d.mts +2 -1
  213. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.mjs +2 -1
  214. package/dist/esm/api/types/LocationObjectRequestBody.d.mts +2 -1
  215. package/dist/esm/api/types/LocationObjectRequestBody.mjs +2 -1
  216. package/dist/esm/api/types/LocationObjectResponseBody.d.mts +2 -1
  217. package/dist/esm/api/types/LocationObjectResponseBody.mjs +2 -1
  218. package/dist/esm/api/types/OutOfSequenceStopArrivalDataResponseBody.d.mts +12 -0
  219. package/dist/esm/api/types/OutOfSequenceStopArrivalDataResponseBody.mjs +2 -0
  220. package/dist/esm/api/types/RidershipRouteSetupPassengerInputRequestBody.d.mts +3 -3
  221. package/dist/esm/api/types/SignatoryUserObjectResponseBody.d.mts +2 -0
  222. package/dist/esm/api/types/UpdateFunctionStorageFileDetailResponseBody.d.mts +9 -0
  223. package/dist/esm/api/types/UpdateFunctionStorageFileDetailResponseBody.mjs +2 -0
  224. package/dist/esm/api/types/WorkflowIncidentDetailsObjectResponseBody.d.mts +1 -0
  225. package/dist/esm/api/types/index.d.mts +35 -0
  226. package/dist/esm/api/types/index.mjs +35 -0
  227. package/dist/esm/version.d.mts +1 -1
  228. package/dist/esm/version.mjs +1 -1
  229. package/package.json +1 -1
  230. package/reference.md +220 -4
@@ -14,6 +14,7 @@ export type { EquipmentPatchEquipmentRequestBody } from "./EquipmentPatchEquipme
14
14
  export type { FunctionsCreateFunctionRequestBody } from "./FunctionsCreateFunctionRequestBody.js";
15
15
  export type { FunctionsPatchFunctionRequestBody } from "./FunctionsPatchFunctionRequestBody.js";
16
16
  export type { FunctionsStartFunctionRunRequestBody } from "./FunctionsStartFunctionRunRequestBody.js";
17
+ export type { FunctionsStorageCreateFunctionStorageFileRequestBody } from "./FunctionsStorageCreateFunctionStorageFileRequestBody.js";
17
18
  export type { GetAempEquipmentListRequest } from "./GetAempEquipmentListRequest.js";
18
19
  export type { GetAssetsInputsRequest } from "./GetAssetsInputsRequest.js";
19
20
  export type { GetDatasetsRequest } from "./GetDatasetsRequest.js";
@@ -25,6 +26,7 @@ export type { GetEngineImmobilizerStatesRequest } from "./GetEngineImmobilizerSt
25
26
  export type { GetFunctionLogsRequest } from "./GetFunctionLogsRequest.js";
26
27
  export type { GetFunctionRequest } from "./GetFunctionRequest.js";
27
28
  export type { GetFunctionRunRequest } from "./GetFunctionRunRequest.js";
29
+ export type { GetFunctionStorageFileRequest } from "./GetFunctionStorageFileRequest.js";
28
30
  export type { GetHosEldEventsRequest } from "./GetHosEldEventsRequest.js";
29
31
  export type { GetJobsRequest } from "./GetJobsRequest.js";
30
32
  export type { GetQualificationRecordsRequest } from "./GetQualificationRecordsRequest.js";
@@ -61,3 +63,4 @@ export { RidershipPassengersUpdateRidershipPassengerRequestBody } from "./Riders
61
63
  export type { RidershipRouteSetupsCreateRidershipRouteSetupRequestBody } from "./RidershipRouteSetupsCreateRidershipRouteSetupRequestBody.js";
62
64
  export type { RidershipRouteSetupsUpdateRidershipRouteSetupRequestBody } from "./RidershipRouteSetupsUpdateRidershipRouteSetupRequestBody.js";
63
65
  export { SafetyEventsV2PatchSafetyEventsV2BatchRequestBody } from "./SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.js";
66
+ export type { UpdateFunctionStorageFileRequest } from "./UpdateFunctionStorageFileRequest.js";
@@ -257,13 +257,14 @@ class IssuesClient {
257
257
  __getIssuesStream(request, requestOptions) {
258
258
  return __awaiter(this, void 0, void 0, function* () {
259
259
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
260
- const { startTime, endTime, after, status, assetIds, include, assignedToRouteStopIds } = request;
260
+ const { startTime, endTime, after, status, assetIds, assetExternalIds, include, assignedToRouteStopIds } = request;
261
261
  const _queryParams = {
262
262
  startTime,
263
263
  endTime,
264
264
  after,
265
265
  status,
266
266
  assetIds,
267
+ assetExternalIds,
267
268
  include,
268
269
  assignedToRouteStopIds,
269
270
  };
@@ -13,8 +13,10 @@ export interface GetIssuesStreamRequest {
13
13
  after?: string;
14
14
  /** A comma-separated list containing status values to filter issues on. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */
15
15
  status?: string | string[];
16
- /** A comma-separated list containing up to 50 asset IDs to filter issues on. Issues with untracked assets can also be included by passing the value: 'untracked'. */
16
+ /** A comma-separated list containing up to 50 asset IDs to filter issues on. Each value can be a Samsara asset ID, an [external ID](https://developers.samsara.com/docs/external-ids) (`key:value` format), or the literal `untracked` to include issues with untracked assets. */
17
17
  assetIds?: string | string[];
18
+ /** A comma-separated list containing up to 50 asset [external IDs](https://developers.samsara.com/docs/external-ids) (`key:value` format) to filter issues on. */
19
+ assetExternalIds?: string | string[];
18
20
  /** A comma separated list of additional fields to include on requested objects. Valid values: `externalIds` */
19
21
  include?: string | string[];
20
22
  /** A comma-separated list containing up to 50 route stop IDs to filter data on. */
@@ -7,16 +7,31 @@ import type * as Samsara from "../../../../index.js";
7
7
  */
8
8
  export interface IssuesPatchIssueRequestBody {
9
9
  assignedTo?: Samsara.PatchIssueRequestBodyAssignedToRequestBody;
10
+ /** Description of the issue. Requires the `issue-api-media-attachment-endpoints` feature. */
11
+ description?: string;
10
12
  /** Due date of the issue. UTC timestamp in RFC 3339 format. */
11
13
  dueDate?: string;
12
14
  /** A map of external ids */
13
15
  externalIds?: Record<string, string>;
14
16
  /** ID of the issue. Can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the issue. */
15
17
  id: string;
18
+ /** Media items to append to the issue. Requires the `issue-api-media-attachment-endpoints` feature. */
19
+ media?: Samsara.FormSubmissionRequestMediaItemObjectRequestBody[];
20
+ /** Priority of the issue. Requires the `issue-api-media-attachment-endpoints` feature. Valid values: `low`, `medium`, `high` */
21
+ priority?: IssuesPatchIssueRequestBody.Priority;
16
22
  /** Status of the issue. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */
17
23
  status?: IssuesPatchIssueRequestBody.Status;
24
+ /** Title of the issue. Requires the `issue-api-media-attachment-endpoints` feature. */
25
+ title?: string;
18
26
  }
19
27
  export declare namespace IssuesPatchIssueRequestBody {
28
+ /** Priority of the issue. Requires the `issue-api-media-attachment-endpoints` feature. Valid values: `low`, `medium`, `high` */
29
+ const Priority: {
30
+ readonly Low: "low";
31
+ readonly Medium: "medium";
32
+ readonly High: "high";
33
+ };
34
+ type Priority = (typeof Priority)[keyof typeof Priority];
20
35
  /** Status of the issue. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */
21
36
  const Status: {
22
37
  readonly Open: "open";
@@ -4,6 +4,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.IssuesPatchIssueRequestBody = void 0;
5
5
  var IssuesPatchIssueRequestBody;
6
6
  (function (IssuesPatchIssueRequestBody) {
7
+ /** Priority of the issue. Requires the `issue-api-media-attachment-endpoints` feature. Valid values: `low`, `medium`, `high` */
8
+ IssuesPatchIssueRequestBody.Priority = {
9
+ Low: "low",
10
+ Medium: "medium",
11
+ High: "high",
12
+ };
7
13
  /** Status of the issue. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */
8
14
  IssuesPatchIssueRequestBody.Status = {
9
15
  Open: "open",
@@ -101,13 +101,15 @@ class RoutesClient {
101
101
  __fetchRoutes(request, requestOptions) {
102
102
  return __awaiter(this, void 0, void 0, function* () {
103
103
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
104
- const { startTime, endTime, limit, after, include } = request;
104
+ const { startTime, endTime, limit, after, include, tagIds, parentTagIds } = request;
105
105
  const _queryParams = {
106
106
  startTime,
107
107
  endTime,
108
108
  limit,
109
109
  after,
110
110
  include,
111
+ tagIds,
112
+ parentTagIds,
111
113
  };
112
114
  const _authRequest = yield this._options.authProvider.getAuthRequest();
113
115
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Samsara-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -16,4 +16,8 @@ export interface FetchRoutesRequest {
16
16
  after?: string;
17
17
  /** A comma-separated list of additional fields to include in the response. Valid values: `stops.actualDistanceMeters` */
18
18
  include?: string | string[];
19
+ /** A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678` */
20
+ tagIds?: string;
21
+ /** A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678` */
22
+ parentTagIds?: string;
19
23
  }
@@ -44,6 +44,7 @@ export declare namespace Address {
44
44
  readonly UnauthorizedZone: "unauthorizedZone";
45
45
  readonly Vendor: "vendor";
46
46
  readonly Inventory: "inventory";
47
+ readonly CustomerSite: "customerSite";
47
48
  };
48
49
  type Item = (typeof Item)[keyof typeof Item];
49
50
  }
@@ -20,6 +20,7 @@ var Address;
20
20
  UnauthorizedZone: "unauthorizedZone",
21
21
  Vendor: "vendor",
22
22
  Inventory: "inventory",
23
+ CustomerSite: "customerSite",
23
24
  };
24
25
  })(AddressTypes = Address.AddressTypes || (Address.AddressTypes = {}));
25
26
  })(Address || (exports.Address = Address = {}));
@@ -3,6 +3,8 @@ import type * as Samsara from "../index.js";
3
3
  * Representation of a vehicle trailer or other equipment to be tracked.
4
4
  */
5
5
  export interface AssetResponseBody {
6
+ /** List of attributes associated with the entity */
7
+ attributes?: Samsara.GoaAttributeTinyResponseBody[] | undefined;
6
8
  /** The time the asset was created in RFC 3339 format. */
7
9
  createdAtTime: string;
8
10
  /** A map of external ids */
@@ -0,0 +1,9 @@
1
+ import type * as Samsara from "../index.js";
2
+ /**
3
+ * A presigned upload URL for creating a new file in Functions storage.
4
+ */
5
+ export interface CreateFunctionStorageFileDetailResponseBody {
6
+ /** The name of the file. */
7
+ name: string;
8
+ uploadPut: Samsara.FunctionsStorageSignedUrlOfTypeResponseBody;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,7 +11,7 @@ export interface FormTemplateResponseObjectResponseBody {
11
11
  description?: string | undefined;
12
12
  /** List of fields in the form template. */
13
13
  fields: Samsara.FormsFieldDefinitionObjectResponseBody[];
14
- /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety` */
14
+ /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety`, `assetInspection` */
15
15
  formCategory?: FormTemplateResponseObjectResponseBody.FormCategory | undefined;
16
16
  /** Unique identifier of the form template. */
17
17
  id: string;
@@ -26,12 +26,13 @@ export interface FormTemplateResponseObjectResponseBody {
26
26
  updatedBy: Samsara.FormsPolymorphicUserObjectResponseBody;
27
27
  }
28
28
  export declare namespace FormTemplateResponseObjectResponseBody {
29
- /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety` */
29
+ /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety`, `assetInspection` */
30
30
  const FormCategory: {
31
31
  readonly General: "general";
32
32
  readonly Routing: "routing";
33
33
  readonly Fuel: "fuel";
34
34
  readonly Safety: "safety";
35
+ readonly AssetInspection: "assetInspection";
35
36
  };
36
37
  type FormCategory = (typeof FormCategory)[keyof typeof FormCategory];
37
38
  }
@@ -4,11 +4,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.FormTemplateResponseObjectResponseBody = void 0;
5
5
  var FormTemplateResponseObjectResponseBody;
6
6
  (function (FormTemplateResponseObjectResponseBody) {
7
- /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety` */
7
+ /** Category of the form template. Valid values: `general`, `routing`, `fuel`, `safety`, `assetInspection` */
8
8
  FormTemplateResponseObjectResponseBody.FormCategory = {
9
9
  General: "general",
10
10
  Routing: "routing",
11
11
  Fuel: "fuel",
12
12
  Safety: "safety",
13
+ AssetInspection: "assetInspection",
13
14
  };
14
15
  })(FormTemplateResponseObjectResponseBody || (exports.FormTemplateResponseObjectResponseBody = FormTemplateResponseObjectResponseBody = {}));
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Bad Gateway
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileBadGatewayErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Gateway timeout
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileGatewayTimeoutErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * An internal server error occurred
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileInternalServerErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Method not allowed
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileMethodNotAllowedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Resource not found
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileNotFoundErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Requested endpoint is not yet implemented
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileNotImplementedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Samsara from "../index.js";
2
+ export interface FunctionsStorageCreateFunctionStorageFileResponseBody {
3
+ data: Samsara.CreateFunctionStorageFileDetailResponseBody;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Service unavailable
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileServiceUnavailableErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Too many requests
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileTooManyRequestsErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Unauthorized
3
+ */
4
+ export interface FunctionsStorageCreateFunctionStorageFileUnauthorizedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Bad Gateway
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileBadGatewayErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Gateway timeout
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileGatewayTimeoutErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * An internal server error occurred
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileInternalServerErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Method not allowed
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileMethodNotAllowedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Resource not found
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileNotFoundErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Requested endpoint is not yet implemented
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileNotImplementedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Samsara from "../index.js";
2
+ export interface FunctionsStorageGetFunctionStorageFileResponseBody {
3
+ data: Samsara.GetFunctionStorageFileDetailResponseBody;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Service unavailable
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileServiceUnavailableErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Too many requests
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileTooManyRequestsErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Unauthorized
3
+ */
4
+ export interface FunctionsStorageGetFunctionStorageFileUnauthorizedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * A presigned URL for a file in Functions storage.
3
+ */
4
+ export interface FunctionsStorageSignedUrlOfTypeResponseBody {
5
+ /** RFC 3339 timestamp when the presigned URL expires. */
6
+ expiresAtTime: string;
7
+ /** The presigned URL. */
8
+ url: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Bad Gateway
3
+ */
4
+ export interface FunctionsStorageUpdateFunctionStorageFileBadGatewayErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Gateway timeout
3
+ */
4
+ export interface FunctionsStorageUpdateFunctionStorageFileGatewayTimeoutErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * An internal server error occurred
3
+ */
4
+ export interface FunctionsStorageUpdateFunctionStorageFileInternalServerErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Method not allowed
3
+ */
4
+ export interface FunctionsStorageUpdateFunctionStorageFileMethodNotAllowedErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Resource not found
3
+ */
4
+ export interface FunctionsStorageUpdateFunctionStorageFileNotFoundErrorResponseBody {
5
+ /** Message of error */
6
+ message: string;
7
+ /** The request ID; used when reaching out to support for issues with requests. */
8
+ requestId: string;
9
+ }