@chrt-inc/typescript-sdk 1.510.0 → 1.512.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 (446) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +15 -10
  3. package/dist/cjs/api/resources/index.d.ts +1 -0
  4. package/dist/cjs/api/resources/index.js +2 -1
  5. package/dist/cjs/api/resources/integrations/client/Client.d.ts +29 -0
  6. package/dist/cjs/api/resources/integrations/client/Client.js +27 -0
  7. package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/integrations/client/index.js +2 -0
  9. package/dist/cjs/api/resources/integrations/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/integrations/index.js +18 -0
  11. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.d.ts +128 -0
  12. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.js +490 -0
  13. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/index.js +17 -0
  15. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.d.ts +12 -0
  16. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.ts +40 -0
  17. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.js +5 -0
  18. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/integrations/resources/airWaybills/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/integrations/resources/airWaybills/index.js +17 -0
  22. package/dist/cjs/api/resources/integrations/resources/index.d.ts +5 -0
  23. package/dist/cjs/api/resources/integrations/resources/index.js +44 -0
  24. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.d.ts +60 -0
  25. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.js +186 -0
  26. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/index.js +2 -0
  28. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/index.js +17 -0
  30. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.d.ts +53 -0
  31. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.js +136 -0
  32. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/index.d.ts +2 -0
  33. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/index.js +17 -0
  34. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.ts +18 -0
  35. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.js +5 -0
  36. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/index.js +2 -0
  38. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/index.js +17 -0
  40. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +30 -0
  41. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +128 -0
  42. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.d.ts +12 -0
  43. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.js +5 -0
  44. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.d.ts +12 -0
  45. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.js +5 -0
  46. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +4 -4
  48. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +7 -7
  49. package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +8 -8
  50. package/dist/cjs/api/resources/utils/resources/root/client/Client.js +14 -14
  51. package/dist/cjs/api/types/Caller.d.ts +15 -0
  52. package/dist/cjs/api/types/Caller.js +5 -0
  53. package/dist/cjs/api/types/CallerCredentialTypeEnum.d.ts +9 -0
  54. package/dist/cjs/api/types/CallerCredentialTypeEnum.js +11 -0
  55. package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -0
  56. package/dist/cjs/api/types/CargojsonAccountContact.d.ts +13 -0
  57. package/dist/cjs/api/types/CargojsonAccountContact.js +5 -0
  58. package/dist/cjs/api/types/CargojsonAccounting.d.ts +11 -0
  59. package/dist/cjs/api/types/CargojsonAccounting.js +5 -0
  60. package/dist/cjs/api/types/CargojsonAccountingInformationIdentifier.d.ts +18 -0
  61. package/dist/cjs/api/types/CargojsonAccountingInformationIdentifier.js +17 -0
  62. package/dist/cjs/api/types/CargojsonAddress.d.ts +16 -0
  63. package/dist/cjs/api/types/CargojsonAddress.js +5 -0
  64. package/dist/cjs/api/types/CargojsonAddressing.d.ts +14 -0
  65. package/dist/cjs/api/types/CargojsonAddressing.js +5 -0
  66. package/dist/cjs/api/types/CargojsonAgent.d.ts +16 -0
  67. package/dist/cjs/api/types/CargojsonAgent.js +5 -0
  68. package/dist/cjs/api/types/CargojsonCassIndicator.d.ts +21 -0
  69. package/dist/cjs/api/types/CargojsonCassIndicator.js +20 -0
  70. package/dist/cjs/api/types/CargojsonCharge.d.ts +16 -0
  71. package/dist/cjs/api/types/CargojsonCharge.js +5 -0
  72. package/dist/cjs/api/types/CargojsonChargeCode.d.ts +34 -0
  73. package/dist/cjs/api/types/CargojsonChargeCode.js +33 -0
  74. package/dist/cjs/api/types/CargojsonChargeDeclarations.d.ts +17 -0
  75. package/dist/cjs/api/types/CargojsonChargeDeclarations.js +5 -0
  76. package/dist/cjs/api/types/CargojsonChargeItem.d.ts +20 -0
  77. package/dist/cjs/api/types/CargojsonChargeItem.js +5 -0
  78. package/dist/cjs/api/types/CargojsonChargeSummary.d.ts +15 -0
  79. package/dist/cjs/api/types/CargojsonChargeSummary.js +5 -0
  80. package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.d.ts +13 -0
  81. package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.js +5 -0
  82. package/dist/cjs/api/types/CargojsonCommissionInfo.d.ts +10 -0
  83. package/dist/cjs/api/types/CargojsonCommissionInfo.js +5 -0
  84. package/dist/cjs/api/types/CargojsonContactDetail.d.ts +11 -0
  85. package/dist/cjs/api/types/CargojsonContactDetail.js +5 -0
  86. package/dist/cjs/api/types/CargojsonDimensionUnit.d.ts +17 -0
  87. package/dist/cjs/api/types/CargojsonDimensionUnit.js +15 -0
  88. package/dist/cjs/api/types/CargojsonDimensions.d.ts +13 -0
  89. package/dist/cjs/api/types/CargojsonDimensions.js +5 -0
  90. package/dist/cjs/api/types/CargojsonEdifactData.d.ts +12 -0
  91. package/dist/cjs/api/types/CargojsonEdifactData.js +5 -0
  92. package/dist/cjs/api/types/CargojsonEntitlementCode.d.ts +11 -0
  93. package/dist/cjs/api/types/CargojsonEntitlementCode.js +10 -0
  94. package/dist/cjs/api/types/CargojsonFlightIdentity.d.ts +13 -0
  95. package/dist/cjs/api/types/CargojsonFlightIdentity.js +5 -0
  96. package/dist/cjs/api/types/CargojsonMessageHeader.d.ts +12 -0
  97. package/dist/cjs/api/types/CargojsonMessageHeader.js +5 -0
  98. package/dist/cjs/api/types/CargojsonNominatedHandlingParty.d.ts +10 -0
  99. package/dist/cjs/api/types/CargojsonNominatedHandlingParty.js +5 -0
  100. package/dist/cjs/api/types/CargojsonOci.d.ts +13 -0
  101. package/dist/cjs/api/types/CargojsonOci.js +5 -0
  102. package/dist/cjs/api/types/CargojsonOfficeMessageAddress.d.ts +11 -0
  103. package/dist/cjs/api/types/CargojsonOfficeMessageAddress.js +5 -0
  104. package/dist/cjs/api/types/CargojsonOtherChargeCode.d.ts +147 -0
  105. package/dist/cjs/api/types/CargojsonOtherChargeCode.js +143 -0
  106. package/dist/cjs/api/types/CargojsonOtherChargeItem.d.ts +13 -0
  107. package/dist/cjs/api/types/CargojsonOtherChargeItem.js +5 -0
  108. package/dist/cjs/api/types/CargojsonOtherParticipant.d.ts +13 -0
  109. package/dist/cjs/api/types/CargojsonOtherParticipant.js +5 -0
  110. package/dist/cjs/api/types/CargojsonPackaging.d.ts +15 -0
  111. package/dist/cjs/api/types/CargojsonPackaging.js +5 -0
  112. package/dist/cjs/api/types/CargojsonParticipantAddress.d.ts +11 -0
  113. package/dist/cjs/api/types/CargojsonParticipantAddress.js +5 -0
  114. package/dist/cjs/api/types/CargojsonParticipantAddressType.d.ts +16 -0
  115. package/dist/cjs/api/types/CargojsonParticipantAddressType.js +15 -0
  116. package/dist/cjs/api/types/CargojsonParticipantIdentifier.d.ts +12 -0
  117. package/dist/cjs/api/types/CargojsonParticipantIdentifier.js +5 -0
  118. package/dist/cjs/api/types/CargojsonParticipantType.d.ts +23 -0
  119. package/dist/cjs/api/types/CargojsonParticipantType.js +22 -0
  120. package/dist/cjs/api/types/CargojsonPaymentCondition.d.ts +11 -0
  121. package/dist/cjs/api/types/CargojsonPaymentCondition.js +10 -0
  122. package/dist/cjs/api/types/CargojsonRateClassCode.d.ts +22 -0
  123. package/dist/cjs/api/types/CargojsonRateClassCode.js +21 -0
  124. package/dist/cjs/api/types/CargojsonRouting.d.ts +10 -0
  125. package/dist/cjs/api/types/CargojsonRouting.js +5 -0
  126. package/dist/cjs/api/types/CargojsonSalesIncentive.d.ts +11 -0
  127. package/dist/cjs/api/types/CargojsonSalesIncentive.js +5 -0
  128. package/dist/cjs/api/types/CargojsonServiceCode.d.ts +35 -0
  129. package/dist/cjs/api/types/CargojsonServiceCode.js +34 -0
  130. package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.d.ts +10 -0
  131. package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.js +5 -0
  132. package/dist/cjs/api/types/CargojsonSpecialHandlingCode.d.ts +122 -0
  133. package/dist/cjs/api/types/CargojsonSpecialHandlingCode.js +120 -0
  134. package/dist/cjs/api/types/CargojsonUld.d.ts +15 -0
  135. package/dist/cjs/api/types/CargojsonUld.js +5 -0
  136. package/dist/cjs/api/types/CargojsonVolume.d.ts +11 -0
  137. package/dist/cjs/api/types/CargojsonVolume.js +5 -0
  138. package/dist/cjs/api/types/CargojsonVolumeUnit.d.ts +10 -0
  139. package/dist/cjs/api/types/CargojsonVolumeUnit.js +12 -0
  140. package/dist/cjs/api/types/CargojsonWeight.d.ts +16 -0
  141. package/dist/cjs/api/types/CargojsonWeight.js +5 -0
  142. package/dist/cjs/api/types/CargojsonWeightUnit.d.ts +8 -0
  143. package/dist/cjs/api/types/CargojsonWeightUnit.js +10 -0
  144. package/dist/cjs/api/types/ChampAirWaybill1.d.ts +49 -0
  145. package/dist/cjs/api/types/ChampAirWaybill1.js +5 -0
  146. package/dist/cjs/api/types/ChampAirWaybillStatusEnum1.d.ts +10 -0
  147. package/dist/cjs/api/types/ChampAirWaybillStatusEnum1.js +12 -0
  148. package/dist/cjs/api/types/ChampConfirmationReceipt1.d.ts +22 -0
  149. package/dist/cjs/api/types/ChampConfirmationReceipt1.js +5 -0
  150. package/dist/cjs/api/types/ChampFlightStatus1.d.ts +20 -0
  151. package/dist/cjs/api/types/ChampFlightStatus1.js +5 -0
  152. package/dist/cjs/api/types/ChampFlightStatusEvent1.d.ts +27 -0
  153. package/dist/cjs/api/types/ChampFlightStatusEvent1.js +5 -0
  154. package/dist/cjs/api/types/ChampOriginAndDestination.d.ts +7 -0
  155. package/dist/cjs/api/types/ChampOriginAndDestination.js +5 -0
  156. package/dist/cjs/api/types/ChampQuantity.d.ts +9 -0
  157. package/dist/cjs/api/types/ChampQuantity.js +5 -0
  158. package/dist/cjs/api/types/CredentialInfoRes.d.ts +9 -0
  159. package/dist/cjs/api/types/CredentialInfoRes.js +5 -0
  160. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -0
  161. package/dist/cjs/api/types/OrgPrivateData1.d.ts +3 -0
  162. package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -0
  163. package/dist/cjs/api/types/WebcargoAccountId.d.ts +7 -0
  164. package/dist/cjs/api/types/WebcargoAccountId.js +5 -0
  165. package/dist/cjs/api/types/WebcargoBookStatus.d.ts +7 -0
  166. package/dist/cjs/api/types/WebcargoBookStatus.js +5 -0
  167. package/dist/cjs/api/types/WebcargoBookingRate.d.ts +20 -0
  168. package/dist/cjs/api/types/WebcargoBookingRate.js +5 -0
  169. package/dist/cjs/api/types/WebcargoBookingRecord1.d.ts +19 -0
  170. package/dist/cjs/api/types/WebcargoBookingRecord1.js +5 -0
  171. package/dist/cjs/api/types/WebcargoBusinessInfo.d.ts +9 -0
  172. package/dist/cjs/api/types/WebcargoBusinessInfo.js +5 -0
  173. package/dist/cjs/api/types/WebcargoCarrier.d.ts +6 -0
  174. package/dist/cjs/api/types/WebcargoCarrier.js +5 -0
  175. package/dist/cjs/api/types/WebcargoCommodityClass.d.ts +8 -0
  176. package/dist/cjs/api/types/WebcargoCommodityClass.js +5 -0
  177. package/dist/cjs/api/types/WebcargoConnection.d.ts +8 -0
  178. package/dist/cjs/api/types/WebcargoConnection.js +5 -0
  179. package/dist/cjs/api/types/WebcargoContact.d.ts +9 -0
  180. package/dist/cjs/api/types/WebcargoContact.js +5 -0
  181. package/dist/cjs/api/types/WebcargoDimension.d.ts +9 -0
  182. package/dist/cjs/api/types/WebcargoDimension.js +5 -0
  183. package/dist/cjs/api/types/WebcargoDocumentIdentifier.d.ts +8 -0
  184. package/dist/cjs/api/types/WebcargoDocumentIdentifier.js +5 -0
  185. package/dist/cjs/api/types/WebcargoEmbedResponse.d.ts +11 -0
  186. package/dist/cjs/api/types/WebcargoEmbedResponse.js +5 -0
  187. package/dist/cjs/api/types/WebcargoFee.d.ts +16 -0
  188. package/dist/cjs/api/types/WebcargoFee.js +5 -0
  189. package/dist/cjs/api/types/WebcargoLeg.d.ts +10 -0
  190. package/dist/cjs/api/types/WebcargoLeg.js +5 -0
  191. package/dist/cjs/api/types/WebcargoLoad.d.ts +11 -0
  192. package/dist/cjs/api/types/WebcargoLoad.js +5 -0
  193. package/dist/cjs/api/types/WebcargoLocation.d.ts +11 -0
  194. package/dist/cjs/api/types/WebcargoLocation.js +5 -0
  195. package/dist/cjs/api/types/WebcargoMessageHeader.d.ts +7 -0
  196. package/dist/cjs/api/types/WebcargoMessageHeader.js +5 -0
  197. package/dist/cjs/api/types/WebcargoPackage.d.ts +12 -0
  198. package/dist/cjs/api/types/WebcargoPackage.js +5 -0
  199. package/dist/cjs/api/types/WebcargoParty.d.ts +12 -0
  200. package/dist/cjs/api/types/WebcargoParty.js +5 -0
  201. package/dist/cjs/api/types/WebcargoPostalAddress.d.ts +14 -0
  202. package/dist/cjs/api/types/WebcargoPostalAddress.js +5 -0
  203. package/dist/cjs/api/types/WebcargoPriceIndicator.d.ts +12 -0
  204. package/dist/cjs/api/types/WebcargoPriceIndicator.js +5 -0
  205. package/dist/cjs/api/types/WebcargoProduct.d.ts +7 -0
  206. package/dist/cjs/api/types/WebcargoProduct.js +5 -0
  207. package/dist/cjs/api/types/WebcargoResponseStatus.d.ts +7 -0
  208. package/dist/cjs/api/types/WebcargoResponseStatus.js +5 -0
  209. package/dist/cjs/api/types/WebcargoResponseStatusEntry.d.ts +7 -0
  210. package/dist/cjs/api/types/WebcargoResponseStatusEntry.js +5 -0
  211. package/dist/cjs/api/types/WebcargoSegment.d.ts +21 -0
  212. package/dist/cjs/api/types/WebcargoSegment.js +5 -0
  213. package/dist/cjs/api/types/WebcargoShipment.d.ts +8 -0
  214. package/dist/cjs/api/types/WebcargoShipment.js +5 -0
  215. package/dist/cjs/api/types/WebcargoValueWithUnit.d.ts +13 -0
  216. package/dist/cjs/api/types/WebcargoValueWithUnit.js +5 -0
  217. package/dist/cjs/api/types/index.d.ts +81 -1
  218. package/dist/cjs/api/types/index.js +81 -1
  219. package/dist/cjs/version.d.ts +1 -1
  220. package/dist/cjs/version.js +1 -1
  221. package/dist/esm/Client.d.mts +3 -0
  222. package/dist/esm/Client.mjs +7 -2
  223. package/dist/esm/api/resources/index.d.mts +1 -0
  224. package/dist/esm/api/resources/index.mjs +1 -0
  225. package/dist/esm/api/resources/integrations/client/Client.d.mts +29 -0
  226. package/dist/esm/api/resources/integrations/client/Client.mjs +23 -0
  227. package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
  228. package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
  229. package/dist/esm/api/resources/integrations/index.d.mts +2 -0
  230. package/dist/esm/api/resources/integrations/index.mjs +2 -0
  231. package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.d.mts +128 -0
  232. package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.mjs +453 -0
  233. package/dist/esm/api/resources/integrations/resources/airWaybills/client/index.d.mts +2 -0
  234. package/dist/esm/api/resources/integrations/resources/airWaybills/client/index.mjs +1 -0
  235. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.d.mts +12 -0
  236. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.mts +40 -0
  237. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.mjs +4 -0
  238. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/index.d.mts +2 -0
  239. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/index.mjs +1 -0
  240. package/dist/esm/api/resources/integrations/resources/airWaybills/index.d.mts +1 -0
  241. package/dist/esm/api/resources/integrations/resources/airWaybills/index.mjs +1 -0
  242. package/dist/esm/api/resources/integrations/resources/index.d.mts +5 -0
  243. package/dist/esm/api/resources/integrations/resources/index.mjs +5 -0
  244. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.d.mts +60 -0
  245. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.mjs +149 -0
  246. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/index.d.mts +1 -0
  247. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/index.mjs +1 -0
  248. package/dist/esm/api/resources/integrations/resources/webcargoBookings/index.d.mts +1 -0
  249. package/dist/esm/api/resources/integrations/resources/webcargoBookings/index.mjs +1 -0
  250. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.d.mts +53 -0
  251. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.mjs +99 -0
  252. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/index.d.mts +2 -0
  253. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/index.mjs +1 -0
  254. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.mts +18 -0
  255. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.mjs +4 -0
  256. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/index.d.mts +1 -0
  257. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/index.mjs +1 -0
  258. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/index.d.mts +1 -0
  259. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/index.mjs +1 -0
  260. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +30 -0
  261. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +128 -0
  262. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.d.mts +12 -0
  263. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.mjs +4 -0
  264. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.d.mts +12 -0
  265. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.mjs +4 -0
  266. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +2 -0
  267. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +4 -4
  268. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +7 -7
  269. package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +8 -8
  270. package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +14 -14
  271. package/dist/esm/api/types/Caller.d.mts +15 -0
  272. package/dist/esm/api/types/Caller.mjs +4 -0
  273. package/dist/esm/api/types/CallerCredentialTypeEnum.d.mts +9 -0
  274. package/dist/esm/api/types/CallerCredentialTypeEnum.mjs +8 -0
  275. package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -0
  276. package/dist/esm/api/types/CargojsonAccountContact.d.mts +13 -0
  277. package/dist/esm/api/types/CargojsonAccountContact.mjs +4 -0
  278. package/dist/esm/api/types/CargojsonAccounting.d.mts +11 -0
  279. package/dist/esm/api/types/CargojsonAccounting.mjs +4 -0
  280. package/dist/esm/api/types/CargojsonAccountingInformationIdentifier.d.mts +18 -0
  281. package/dist/esm/api/types/CargojsonAccountingInformationIdentifier.mjs +14 -0
  282. package/dist/esm/api/types/CargojsonAddress.d.mts +16 -0
  283. package/dist/esm/api/types/CargojsonAddress.mjs +4 -0
  284. package/dist/esm/api/types/CargojsonAddressing.d.mts +14 -0
  285. package/dist/esm/api/types/CargojsonAddressing.mjs +4 -0
  286. package/dist/esm/api/types/CargojsonAgent.d.mts +16 -0
  287. package/dist/esm/api/types/CargojsonAgent.mjs +4 -0
  288. package/dist/esm/api/types/CargojsonCassIndicator.d.mts +21 -0
  289. package/dist/esm/api/types/CargojsonCassIndicator.mjs +17 -0
  290. package/dist/esm/api/types/CargojsonCharge.d.mts +16 -0
  291. package/dist/esm/api/types/CargojsonCharge.mjs +4 -0
  292. package/dist/esm/api/types/CargojsonChargeCode.d.mts +34 -0
  293. package/dist/esm/api/types/CargojsonChargeCode.mjs +30 -0
  294. package/dist/esm/api/types/CargojsonChargeDeclarations.d.mts +17 -0
  295. package/dist/esm/api/types/CargojsonChargeDeclarations.mjs +4 -0
  296. package/dist/esm/api/types/CargojsonChargeItem.d.mts +20 -0
  297. package/dist/esm/api/types/CargojsonChargeItem.mjs +4 -0
  298. package/dist/esm/api/types/CargojsonChargeSummary.d.mts +15 -0
  299. package/dist/esm/api/types/CargojsonChargeSummary.mjs +4 -0
  300. package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.d.mts +13 -0
  301. package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.mjs +4 -0
  302. package/dist/esm/api/types/CargojsonCommissionInfo.d.mts +10 -0
  303. package/dist/esm/api/types/CargojsonCommissionInfo.mjs +4 -0
  304. package/dist/esm/api/types/CargojsonContactDetail.d.mts +11 -0
  305. package/dist/esm/api/types/CargojsonContactDetail.mjs +4 -0
  306. package/dist/esm/api/types/CargojsonDimensionUnit.d.mts +17 -0
  307. package/dist/esm/api/types/CargojsonDimensionUnit.mjs +12 -0
  308. package/dist/esm/api/types/CargojsonDimensions.d.mts +13 -0
  309. package/dist/esm/api/types/CargojsonDimensions.mjs +4 -0
  310. package/dist/esm/api/types/CargojsonEdifactData.d.mts +12 -0
  311. package/dist/esm/api/types/CargojsonEdifactData.mjs +4 -0
  312. package/dist/esm/api/types/CargojsonEntitlementCode.d.mts +11 -0
  313. package/dist/esm/api/types/CargojsonEntitlementCode.mjs +7 -0
  314. package/dist/esm/api/types/CargojsonFlightIdentity.d.mts +13 -0
  315. package/dist/esm/api/types/CargojsonFlightIdentity.mjs +4 -0
  316. package/dist/esm/api/types/CargojsonMessageHeader.d.mts +12 -0
  317. package/dist/esm/api/types/CargojsonMessageHeader.mjs +4 -0
  318. package/dist/esm/api/types/CargojsonNominatedHandlingParty.d.mts +10 -0
  319. package/dist/esm/api/types/CargojsonNominatedHandlingParty.mjs +4 -0
  320. package/dist/esm/api/types/CargojsonOci.d.mts +13 -0
  321. package/dist/esm/api/types/CargojsonOci.mjs +4 -0
  322. package/dist/esm/api/types/CargojsonOfficeMessageAddress.d.mts +11 -0
  323. package/dist/esm/api/types/CargojsonOfficeMessageAddress.mjs +4 -0
  324. package/dist/esm/api/types/CargojsonOtherChargeCode.d.mts +147 -0
  325. package/dist/esm/api/types/CargojsonOtherChargeCode.mjs +140 -0
  326. package/dist/esm/api/types/CargojsonOtherChargeItem.d.mts +13 -0
  327. package/dist/esm/api/types/CargojsonOtherChargeItem.mjs +4 -0
  328. package/dist/esm/api/types/CargojsonOtherParticipant.d.mts +13 -0
  329. package/dist/esm/api/types/CargojsonOtherParticipant.mjs +4 -0
  330. package/dist/esm/api/types/CargojsonPackaging.d.mts +15 -0
  331. package/dist/esm/api/types/CargojsonPackaging.mjs +4 -0
  332. package/dist/esm/api/types/CargojsonParticipantAddress.d.mts +11 -0
  333. package/dist/esm/api/types/CargojsonParticipantAddress.mjs +4 -0
  334. package/dist/esm/api/types/CargojsonParticipantAddressType.d.mts +16 -0
  335. package/dist/esm/api/types/CargojsonParticipantAddressType.mjs +12 -0
  336. package/dist/esm/api/types/CargojsonParticipantIdentifier.d.mts +12 -0
  337. package/dist/esm/api/types/CargojsonParticipantIdentifier.mjs +4 -0
  338. package/dist/esm/api/types/CargojsonParticipantType.d.mts +23 -0
  339. package/dist/esm/api/types/CargojsonParticipantType.mjs +19 -0
  340. package/dist/esm/api/types/CargojsonPaymentCondition.d.mts +11 -0
  341. package/dist/esm/api/types/CargojsonPaymentCondition.mjs +7 -0
  342. package/dist/esm/api/types/CargojsonRateClassCode.d.mts +22 -0
  343. package/dist/esm/api/types/CargojsonRateClassCode.mjs +18 -0
  344. package/dist/esm/api/types/CargojsonRouting.d.mts +10 -0
  345. package/dist/esm/api/types/CargojsonRouting.mjs +4 -0
  346. package/dist/esm/api/types/CargojsonSalesIncentive.d.mts +11 -0
  347. package/dist/esm/api/types/CargojsonSalesIncentive.mjs +4 -0
  348. package/dist/esm/api/types/CargojsonServiceCode.d.mts +35 -0
  349. package/dist/esm/api/types/CargojsonServiceCode.mjs +31 -0
  350. package/dist/esm/api/types/CargojsonShipmentReferenceInformation.d.mts +10 -0
  351. package/dist/esm/api/types/CargojsonShipmentReferenceInformation.mjs +4 -0
  352. package/dist/esm/api/types/CargojsonSpecialHandlingCode.d.mts +122 -0
  353. package/dist/esm/api/types/CargojsonSpecialHandlingCode.mjs +117 -0
  354. package/dist/esm/api/types/CargojsonUld.d.mts +15 -0
  355. package/dist/esm/api/types/CargojsonUld.mjs +4 -0
  356. package/dist/esm/api/types/CargojsonVolume.d.mts +11 -0
  357. package/dist/esm/api/types/CargojsonVolume.mjs +4 -0
  358. package/dist/esm/api/types/CargojsonVolumeUnit.d.mts +10 -0
  359. package/dist/esm/api/types/CargojsonVolumeUnit.mjs +9 -0
  360. package/dist/esm/api/types/CargojsonWeight.d.mts +16 -0
  361. package/dist/esm/api/types/CargojsonWeight.mjs +4 -0
  362. package/dist/esm/api/types/CargojsonWeightUnit.d.mts +8 -0
  363. package/dist/esm/api/types/CargojsonWeightUnit.mjs +7 -0
  364. package/dist/esm/api/types/ChampAirWaybill1.d.mts +49 -0
  365. package/dist/esm/api/types/ChampAirWaybill1.mjs +4 -0
  366. package/dist/esm/api/types/ChampAirWaybillStatusEnum1.d.mts +10 -0
  367. package/dist/esm/api/types/ChampAirWaybillStatusEnum1.mjs +9 -0
  368. package/dist/esm/api/types/ChampConfirmationReceipt1.d.mts +22 -0
  369. package/dist/esm/api/types/ChampConfirmationReceipt1.mjs +4 -0
  370. package/dist/esm/api/types/ChampFlightStatus1.d.mts +20 -0
  371. package/dist/esm/api/types/ChampFlightStatus1.mjs +4 -0
  372. package/dist/esm/api/types/ChampFlightStatusEvent1.d.mts +27 -0
  373. package/dist/esm/api/types/ChampFlightStatusEvent1.mjs +4 -0
  374. package/dist/esm/api/types/ChampOriginAndDestination.d.mts +7 -0
  375. package/dist/esm/api/types/ChampOriginAndDestination.mjs +4 -0
  376. package/dist/esm/api/types/ChampQuantity.d.mts +9 -0
  377. package/dist/esm/api/types/ChampQuantity.mjs +4 -0
  378. package/dist/esm/api/types/CredentialInfoRes.d.mts +9 -0
  379. package/dist/esm/api/types/CredentialInfoRes.mjs +4 -0
  380. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -0
  381. package/dist/esm/api/types/OrgPrivateData1.d.mts +3 -0
  382. package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -0
  383. package/dist/esm/api/types/WebcargoAccountId.d.mts +7 -0
  384. package/dist/esm/api/types/WebcargoAccountId.mjs +4 -0
  385. package/dist/esm/api/types/WebcargoBookStatus.d.mts +7 -0
  386. package/dist/esm/api/types/WebcargoBookStatus.mjs +4 -0
  387. package/dist/esm/api/types/WebcargoBookingRate.d.mts +20 -0
  388. package/dist/esm/api/types/WebcargoBookingRate.mjs +4 -0
  389. package/dist/esm/api/types/WebcargoBookingRecord1.d.mts +19 -0
  390. package/dist/esm/api/types/WebcargoBookingRecord1.mjs +4 -0
  391. package/dist/esm/api/types/WebcargoBusinessInfo.d.mts +9 -0
  392. package/dist/esm/api/types/WebcargoBusinessInfo.mjs +4 -0
  393. package/dist/esm/api/types/WebcargoCarrier.d.mts +6 -0
  394. package/dist/esm/api/types/WebcargoCarrier.mjs +4 -0
  395. package/dist/esm/api/types/WebcargoCommodityClass.d.mts +8 -0
  396. package/dist/esm/api/types/WebcargoCommodityClass.mjs +4 -0
  397. package/dist/esm/api/types/WebcargoConnection.d.mts +8 -0
  398. package/dist/esm/api/types/WebcargoConnection.mjs +4 -0
  399. package/dist/esm/api/types/WebcargoContact.d.mts +9 -0
  400. package/dist/esm/api/types/WebcargoContact.mjs +4 -0
  401. package/dist/esm/api/types/WebcargoDimension.d.mts +9 -0
  402. package/dist/esm/api/types/WebcargoDimension.mjs +4 -0
  403. package/dist/esm/api/types/WebcargoDocumentIdentifier.d.mts +8 -0
  404. package/dist/esm/api/types/WebcargoDocumentIdentifier.mjs +4 -0
  405. package/dist/esm/api/types/WebcargoEmbedResponse.d.mts +11 -0
  406. package/dist/esm/api/types/WebcargoEmbedResponse.mjs +4 -0
  407. package/dist/esm/api/types/WebcargoFee.d.mts +16 -0
  408. package/dist/esm/api/types/WebcargoFee.mjs +4 -0
  409. package/dist/esm/api/types/WebcargoLeg.d.mts +10 -0
  410. package/dist/esm/api/types/WebcargoLeg.mjs +4 -0
  411. package/dist/esm/api/types/WebcargoLoad.d.mts +11 -0
  412. package/dist/esm/api/types/WebcargoLoad.mjs +4 -0
  413. package/dist/esm/api/types/WebcargoLocation.d.mts +11 -0
  414. package/dist/esm/api/types/WebcargoLocation.mjs +4 -0
  415. package/dist/esm/api/types/WebcargoMessageHeader.d.mts +7 -0
  416. package/dist/esm/api/types/WebcargoMessageHeader.mjs +4 -0
  417. package/dist/esm/api/types/WebcargoPackage.d.mts +12 -0
  418. package/dist/esm/api/types/WebcargoPackage.mjs +4 -0
  419. package/dist/esm/api/types/WebcargoParty.d.mts +12 -0
  420. package/dist/esm/api/types/WebcargoParty.mjs +4 -0
  421. package/dist/esm/api/types/WebcargoPostalAddress.d.mts +14 -0
  422. package/dist/esm/api/types/WebcargoPostalAddress.mjs +4 -0
  423. package/dist/esm/api/types/WebcargoPriceIndicator.d.mts +12 -0
  424. package/dist/esm/api/types/WebcargoPriceIndicator.mjs +4 -0
  425. package/dist/esm/api/types/WebcargoProduct.d.mts +7 -0
  426. package/dist/esm/api/types/WebcargoProduct.mjs +4 -0
  427. package/dist/esm/api/types/WebcargoResponseStatus.d.mts +7 -0
  428. package/dist/esm/api/types/WebcargoResponseStatus.mjs +4 -0
  429. package/dist/esm/api/types/WebcargoResponseStatusEntry.d.mts +7 -0
  430. package/dist/esm/api/types/WebcargoResponseStatusEntry.mjs +4 -0
  431. package/dist/esm/api/types/WebcargoSegment.d.mts +21 -0
  432. package/dist/esm/api/types/WebcargoSegment.mjs +4 -0
  433. package/dist/esm/api/types/WebcargoShipment.d.mts +8 -0
  434. package/dist/esm/api/types/WebcargoShipment.mjs +4 -0
  435. package/dist/esm/api/types/WebcargoValueWithUnit.d.mts +13 -0
  436. package/dist/esm/api/types/WebcargoValueWithUnit.mjs +4 -0
  437. package/dist/esm/api/types/index.d.mts +81 -1
  438. package/dist/esm/api/types/index.mjs +81 -1
  439. package/dist/esm/version.d.mts +1 -1
  440. package/dist/esm/version.mjs +1 -1
  441. package/package.json +1 -1
  442. package/reference.md +798 -9
  443. package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -27
  444. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +0 -27
  445. /package/dist/cjs/api/{types/DecodedJwtWithOrgAndUserId.js → resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.js} +0 -0
  446. /package/dist/esm/api/{types/DecodedJwtWithOrgAndUserId.mjs → resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.mjs} +0 -0
@@ -262,6 +262,134 @@ class Devices {
262
262
  }
263
263
  });
264
264
  }
265
+ /**
266
+ * Pauses a device. Cargo-by-device and session-by-device data points are marked as paused and excluded from data point queries. | () -> (bool)
267
+ *
268
+ * @param {Chrt.tracking.DevicesPauseV1Request} request
269
+ * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
270
+ *
271
+ * @throws {@link Chrt.UnprocessableEntityError}
272
+ *
273
+ * @example
274
+ * await client.tracking.devices.pauseV1({
275
+ * device_id: "device_id"
276
+ * })
277
+ */
278
+ pauseV1(request, requestOptions) {
279
+ return core.HttpResponsePromise.fromPromise(this.__pauseV1(request, requestOptions));
280
+ }
281
+ __pauseV1(request, requestOptions) {
282
+ return __awaiter(this, void 0, void 0, function* () {
283
+ var _a, _b, _c, _d;
284
+ const { device_id: deviceId } = request;
285
+ const _queryParams = {};
286
+ _queryParams["device_id"] = deviceId;
287
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
288
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
289
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking/devices/pause/v1"),
290
+ method: "POST",
291
+ headers: _headers,
292
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
293
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
294
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
295
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
296
+ });
297
+ if (_response.ok) {
298
+ return { data: _response.body, rawResponse: _response.rawResponse };
299
+ }
300
+ if (_response.error.reason === "status-code") {
301
+ switch (_response.error.statusCode) {
302
+ case 422:
303
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
304
+ default:
305
+ throw new errors.ChrtError({
306
+ statusCode: _response.error.statusCode,
307
+ body: _response.error.body,
308
+ rawResponse: _response.rawResponse,
309
+ });
310
+ }
311
+ }
312
+ switch (_response.error.reason) {
313
+ case "non-json":
314
+ throw new errors.ChrtError({
315
+ statusCode: _response.error.statusCode,
316
+ body: _response.error.rawBody,
317
+ rawResponse: _response.rawResponse,
318
+ });
319
+ case "timeout":
320
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/devices/pause/v1.");
321
+ case "unknown":
322
+ throw new errors.ChrtError({
323
+ message: _response.error.errorMessage,
324
+ rawResponse: _response.rawResponse,
325
+ });
326
+ }
327
+ });
328
+ }
329
+ /**
330
+ * Unpauses a device. | () -> (bool)
331
+ *
332
+ * @param {Chrt.tracking.DevicesUnpauseV1Request} request
333
+ * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
334
+ *
335
+ * @throws {@link Chrt.UnprocessableEntityError}
336
+ *
337
+ * @example
338
+ * await client.tracking.devices.unpauseV1({
339
+ * device_id: "device_id"
340
+ * })
341
+ */
342
+ unpauseV1(request, requestOptions) {
343
+ return core.HttpResponsePromise.fromPromise(this.__unpauseV1(request, requestOptions));
344
+ }
345
+ __unpauseV1(request, requestOptions) {
346
+ return __awaiter(this, void 0, void 0, function* () {
347
+ var _a, _b, _c, _d;
348
+ const { device_id: deviceId } = request;
349
+ const _queryParams = {};
350
+ _queryParams["device_id"] = deviceId;
351
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
352
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
353
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking/devices/unpause/v1"),
354
+ method: "POST",
355
+ headers: _headers,
356
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
357
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
358
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
359
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
360
+ });
361
+ if (_response.ok) {
362
+ return { data: _response.body, rawResponse: _response.rawResponse };
363
+ }
364
+ if (_response.error.reason === "status-code") {
365
+ switch (_response.error.statusCode) {
366
+ case 422:
367
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
368
+ default:
369
+ throw new errors.ChrtError({
370
+ statusCode: _response.error.statusCode,
371
+ body: _response.error.body,
372
+ rawResponse: _response.rawResponse,
373
+ });
374
+ }
375
+ }
376
+ switch (_response.error.reason) {
377
+ case "non-json":
378
+ throw new errors.ChrtError({
379
+ statusCode: _response.error.statusCode,
380
+ body: _response.error.rawBody,
381
+ rawResponse: _response.rawResponse,
382
+ });
383
+ case "timeout":
384
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/devices/unpause/v1.");
385
+ case "unknown":
386
+ throw new errors.ChrtError({
387
+ message: _response.error.errorMessage,
388
+ rawResponse: _response.rawResponse,
389
+ });
390
+ }
391
+ });
392
+ }
265
393
  /**
266
394
  * Adds and/or removes org_ids from a device's shared_with_org_ids list. Removal overrides addition. | (DevicesUpdateSharedOrgsReq1) -> (bool)
267
395
  *
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * device_id: "device_id"
8
+ * }
9
+ */
10
+ export interface DevicesPauseV1Request {
11
+ device_id: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * device_id: "device_id"
8
+ * }
9
+ */
10
+ export interface DevicesUnpauseV1Request {
11
+ device_id: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  export { type DeviceClientCreate1 } from "./DeviceClientCreate1.js";
2
2
  export { type DeviceClientUpdate1 } from "./DeviceClientUpdate1.js";
3
3
  export { type DevicesArchiveV1Request } from "./DevicesArchiveV1Request.js";
4
+ export { type DevicesPauseV1Request } from "./DevicesPauseV1Request.js";
5
+ export { type DevicesUnpauseV1Request } from "./DevicesUnpauseV1Request.js";
4
6
  export { type DevicesUpdateSharedOrgsReq1 } from "./DevicesUpdateSharedOrgsReq1.js";
5
7
  export { type DevicesGetV1Request } from "./DevicesGetV1Request.js";
6
8
  export { type DevicesListV1Request } from "./DevicesListV1Request.js";
@@ -95,15 +95,15 @@ export declare class Dev {
95
95
  getUserIdV2(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
96
96
  private __getUserIdV2;
97
97
  /**
98
- * Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
98
+ * Returns the verified caller identity and raw credential claims for development purposes. | () -> (CredentialInfoRes)
99
99
  *
100
100
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
101
101
  *
102
102
  * @example
103
- * await client.utils.dev.getDecodedJwtV1()
103
+ * await client.utils.dev.getCredentialInfoV1()
104
104
  */
105
- getDecodedJwtV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.DecodedJwtWithOrgAndUserId>;
106
- private __getDecodedJwtV1;
105
+ getCredentialInfoV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.CredentialInfoRes>;
106
+ private __getCredentialInfoV1;
107
107
  /**
108
108
  * Retrieves the primary email address for the caller from the authentication service. | () -> (str)
109
109
  *
@@ -349,22 +349,22 @@ class Dev {
349
349
  });
350
350
  }
351
351
  /**
352
- * Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
352
+ * Returns the verified caller identity and raw credential claims for development purposes. | () -> (CredentialInfoRes)
353
353
  *
354
354
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
355
355
  *
356
356
  * @example
357
- * await client.utils.dev.getDecodedJwtV1()
357
+ * await client.utils.dev.getCredentialInfoV1()
358
358
  */
359
- getDecodedJwtV1(requestOptions) {
360
- return core.HttpResponsePromise.fromPromise(this.__getDecodedJwtV1(requestOptions));
359
+ getCredentialInfoV1(requestOptions) {
360
+ return core.HttpResponsePromise.fromPromise(this.__getCredentialInfoV1(requestOptions));
361
361
  }
362
- __getDecodedJwtV1(requestOptions) {
362
+ __getCredentialInfoV1(requestOptions) {
363
363
  return __awaiter(this, void 0, void 0, function* () {
364
364
  var _a, _b, _c, _d;
365
365
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
366
366
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
367
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/decoded_jwt/v1"),
367
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/credential_info/v1"),
368
368
  method: "GET",
369
369
  headers: _headers,
370
370
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -390,7 +390,7 @@ class Dev {
390
390
  rawResponse: _response.rawResponse,
391
391
  });
392
392
  case "timeout":
393
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /dev/decoded_jwt/v1.");
393
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /dev/credential_info/v1.");
394
394
  case "unknown":
395
395
  throw new errors.ChrtError({
396
396
  message: _response.error.errorMessage,
@@ -60,24 +60,24 @@ export declare class Root {
60
60
  pingUnauthd(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
61
61
  private __pingUnauthd;
62
62
  /**
63
- * Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
63
+ * Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
64
64
  *
65
65
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @example
68
- * await client.utils.root.health()
68
+ * await client.utils.root.failure()
69
69
  */
70
- health(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
71
- private __health;
70
+ failure(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<unknown>;
71
+ private __failure;
72
72
  /**
73
- * Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
73
+ * Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
74
74
  *
75
75
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @example
78
- * await client.utils.root.failure()
78
+ * await client.utils.root.health()
79
79
  */
80
- failure(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<unknown>;
81
- private __failure;
80
+ health(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
81
+ private __health;
82
82
  protected _getAuthorizationHeader(): Promise<string | undefined>;
83
83
  }
@@ -208,22 +208,22 @@ class Root {
208
208
  });
209
209
  }
210
210
  /**
211
- * Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
211
+ * Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
212
212
  *
213
213
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
214
214
  *
215
215
  * @example
216
- * await client.utils.root.health()
216
+ * await client.utils.root.failure()
217
217
  */
218
- health(requestOptions) {
219
- return core.HttpResponsePromise.fromPromise(this.__health(requestOptions));
218
+ failure(requestOptions) {
219
+ return core.HttpResponsePromise.fromPromise(this.__failure(requestOptions));
220
220
  }
221
- __health(requestOptions) {
221
+ __failure(requestOptions) {
222
222
  return __awaiter(this, void 0, void 0, function* () {
223
223
  var _a, _b, _c, _d;
224
224
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
225
225
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
226
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "health"),
226
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "failure"),
227
227
  method: "GET",
228
228
  headers: _headers,
229
229
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -249,7 +249,7 @@ class Root {
249
249
  rawResponse: _response.rawResponse,
250
250
  });
251
251
  case "timeout":
252
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /health.");
252
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure.");
253
253
  case "unknown":
254
254
  throw new errors.ChrtError({
255
255
  message: _response.error.errorMessage,
@@ -259,22 +259,22 @@ class Root {
259
259
  });
260
260
  }
261
261
  /**
262
- * Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
262
+ * Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
263
263
  *
264
264
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
265
265
  *
266
266
  * @example
267
- * await client.utils.root.failure()
267
+ * await client.utils.root.health()
268
268
  */
269
- failure(requestOptions) {
270
- return core.HttpResponsePromise.fromPromise(this.__failure(requestOptions));
269
+ health(requestOptions) {
270
+ return core.HttpResponsePromise.fromPromise(this.__health(requestOptions));
271
271
  }
272
- __failure(requestOptions) {
272
+ __health(requestOptions) {
273
273
  return __awaiter(this, void 0, void 0, function* () {
274
274
  var _a, _b, _c, _d;
275
275
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
276
276
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
277
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "failure"),
277
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "health"),
278
278
  method: "GET",
279
279
  headers: _headers,
280
280
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -300,7 +300,7 @@ class Root {
300
300
  rawResponse: _response.rawResponse,
301
301
  });
302
302
  case "timeout":
303
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure.");
303
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /health.");
304
304
  case "unknown":
305
305
  throw new errors.ChrtError({
306
306
  message: _response.error.errorMessage,
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface Caller {
6
+ credential_type: Chrt.CallerCredentialTypeEnum;
7
+ credential?: string | null;
8
+ o: Chrt.ClerkOrgData;
9
+ /** Must be a string starting with `user_` */
10
+ user_id: string;
11
+ /** Must be a string starting with `org_` */
12
+ org_id: string;
13
+ org_public_metadata?: Record<string, unknown> | null;
14
+ primary_email_address?: string | null;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CallerCredentialTypeEnum = "session_jwt" | "m2m_jwt" | "api_key";
5
+ export declare const CallerCredentialTypeEnum: {
6
+ readonly SessionJwt: "session_jwt";
7
+ readonly M2MJwt: "m2m_jwt";
8
+ readonly ApiKey: "api_key";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CallerCredentialTypeEnum = void 0;
7
+ exports.CallerCredentialTypeEnum = {
8
+ SessionJwt: "session_jwt",
9
+ M2MJwt: "m2m_jwt",
10
+ ApiKey: "api_key",
11
+ };
@@ -8,5 +8,6 @@ export interface CargoByDeviceDataPointMetadata1 {
8
8
  device_id: string;
9
9
  outlier?: boolean | null;
10
10
  outlier_labeller?: Chrt.OutlierLabellerEnum | null;
11
+ paused?: boolean;
11
12
  pytest?: boolean | null;
12
13
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * [CUSTOMER] Shipper or consignee with address and optional contact info.
7
+ * account_number is the IATA participant code (optional).
8
+ */
9
+ export interface CargojsonAccountContact {
10
+ accountNumber?: string | null;
11
+ address: Chrt.CargojsonAddress;
12
+ contactDetails?: Chrt.CargojsonContactDetail[] | null;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * [CUSTOMER] Accounting information line item.
7
+ */
8
+ export interface CargojsonAccounting {
9
+ identifier: Chrt.CargojsonAccountingInformationIdentifier;
10
+ accountingInformation: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * https://github.com/champ-cargosystems-gmbh/cargojson.champ.aero/blob/master/src/main/java/aero/champ/cargojson/common/AccountingInformationIdentifier.java
6
+ */
7
+ export type CargojsonAccountingInformationIdentifier = "CreditCardNumber" | "CreditCardExpiryDate" | "CreditCardIssuanceName" | "GeneralInformation" | "GovernmentBillOfLading" | "MiscellaneousChargeOrder" | "ModeOfSettlement" | "ReturnToOrigin" | "ShippersReferenceNumber";
8
+ export declare const CargojsonAccountingInformationIdentifier: {
9
+ readonly CreditCardNumber: "CreditCardNumber";
10
+ readonly CreditCardExpiryDate: "CreditCardExpiryDate";
11
+ readonly CreditCardIssuanceName: "CreditCardIssuanceName";
12
+ readonly GeneralInformation: "GeneralInformation";
13
+ readonly GovernmentBillOfLading: "GovernmentBillOfLading";
14
+ readonly MiscellaneousChargeOrder: "MiscellaneousChargeOrder";
15
+ readonly ModeOfSettlement: "ModeOfSettlement";
16
+ readonly ReturnToOrigin: "ReturnToOrigin";
17
+ readonly ShippersReferenceNumber: "ShippersReferenceNumber";
18
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CargojsonAccountingInformationIdentifier = void 0;
7
+ exports.CargojsonAccountingInformationIdentifier = {
8
+ CreditCardNumber: "CreditCardNumber",
9
+ CreditCardExpiryDate: "CreditCardExpiryDate",
10
+ CreditCardIssuanceName: "CreditCardIssuanceName",
11
+ GeneralInformation: "GeneralInformation",
12
+ GovernmentBillOfLading: "GovernmentBillOfLading",
13
+ MiscellaneousChargeOrder: "MiscellaneousChargeOrder",
14
+ ModeOfSettlement: "ModeOfSettlement",
15
+ ReturnToOrigin: "ReturnToOrigin",
16
+ ShippersReferenceNumber: "ShippersReferenceNumber",
17
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * [CUSTOMER] Postal address of shipper or consignee.
6
+ */
7
+ export interface CargojsonAddress {
8
+ name1: string;
9
+ name2?: string | null;
10
+ streetAddress1: string;
11
+ streetAddress2?: string | null;
12
+ place: string;
13
+ stateProvince?: string | null;
14
+ country: string;
15
+ postCode: string;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * [CONFIG] Routing addresses for the CargoHUB message.
7
+ */
8
+ export interface CargojsonAddressing {
9
+ routeVia?: Chrt.CargojsonParticipantAddress | null;
10
+ routeAnswerVia?: Chrt.CargojsonParticipantAddress | null;
11
+ senderAddresses?: Chrt.CargojsonParticipantAddress[];
12
+ finalRecipientAddresses?: Chrt.CargojsonParticipantAddress[];
13
+ replyAnswerTo?: Chrt.CargojsonParticipantAddress[];
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * [WEBCARGO/CONFIG] Forwarder's IATA agent identification.
7
+ * Same identity as `iata` in WebcargoEmbedViewParams and OY party in bookingRecord XML.
8
+ */
9
+ export interface CargojsonAgent {
10
+ name: string;
11
+ place: string;
12
+ accountNumber?: string | null;
13
+ iataCargoAgentNumericCode?: string | null;
14
+ iataCargoAgentCASSAddress?: string | null;
15
+ participantIdentifier?: Chrt.CargojsonParticipantIdentifier | null;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * https://github.com/champ-cargosystems-gmbh/cargojson.champ.aero/blob/master/src/main/java/aero/champ/cargojson/common/CASSIndicator.java
6
+ */
7
+ export type CargojsonCassIndicator = "AWB_AS_INVOICE" | "CANCEL_AWB" | "CHARGES_CORRECTION_ADIVCE" | "DEBIT_OR_CREDIT_MEMORANDUM" | "IDENTIFICATION" | "LATE_REPORTING_WAYBILLS" | "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE" | "ORIGINAL_DATA" | "REVISED_ADJUSTED_DATA" | "SERVICE_AWB" | "TAX_CALCULATION_REQUIRED" | "VOID_AWB";
8
+ export declare const CargojsonCassIndicator: {
9
+ readonly AwbAsInvoice: "AWB_AS_INVOICE";
10
+ readonly CancelAwb: "CANCEL_AWB";
11
+ readonly ChargesCorrectionAdivce: "CHARGES_CORRECTION_ADIVCE";
12
+ readonly DebitOrCreditMemorandum: "DEBIT_OR_CREDIT_MEMORANDUM";
13
+ readonly Identification: "IDENTIFICATION";
14
+ readonly LateReportingWaybills: "LATE_REPORTING_WAYBILLS";
15
+ readonly NoCommissionOrNegativeSalesIncentive: "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE";
16
+ readonly OriginalData: "ORIGINAL_DATA";
17
+ readonly RevisedAdjustedData: "REVISED_ADJUSTED_DATA";
18
+ readonly ServiceAwb: "SERVICE_AWB";
19
+ readonly TaxCalculationRequired: "TAX_CALCULATION_REQUIRED";
20
+ readonly VoidAwb: "VOID_AWB";
21
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CargojsonCassIndicator = void 0;
7
+ exports.CargojsonCassIndicator = {
8
+ AwbAsInvoice: "AWB_AS_INVOICE",
9
+ CancelAwb: "CANCEL_AWB",
10
+ ChargesCorrectionAdivce: "CHARGES_CORRECTION_ADIVCE",
11
+ DebitOrCreditMemorandum: "DEBIT_OR_CREDIT_MEMORANDUM",
12
+ Identification: "IDENTIFICATION",
13
+ LateReportingWaybills: "LATE_REPORTING_WAYBILLS",
14
+ NoCommissionOrNegativeSalesIncentive: "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE",
15
+ OriginalData: "ORIGINAL_DATA",
16
+ RevisedAdjustedData: "REVISED_ADJUSTED_DATA",
17
+ ServiceAwb: "SERVICE_AWB",
18
+ TaxCalculationRequired: "TAX_CALCULATION_REQUIRED",
19
+ VoidAwb: "VOID_AWB",
20
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * [WEBCARGO/CUSTOMER] Rate line item.
7
+ */
8
+ export interface CargojsonCharge {
9
+ chargeableWeight?: Chrt.CargojsonWeight | null;
10
+ rateClassCode?: Chrt.CargojsonRateClassCode | null;
11
+ rateClassCodeBasis?: Chrt.CargojsonRateClassCode | null;
12
+ classRatePercentage?: number | null;
13
+ uldRateClassType?: string | null;
14
+ rateOrCharge?: number | null;
15
+ totalChargeAmount?: number | null;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });