@chrt-inc/typescript-sdk 1.1015.0 → 1.1017.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 (441) hide show
  1. package/README.md +10 -13
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +41 -36
  4. package/dist/cjs/api/resources/agent/client/Client.d.ts +3 -3
  5. package/dist/cjs/api/resources/agent/client/Client.js +3 -3
  6. package/dist/cjs/api/resources/agent/resources/index.d.ts +1 -2
  7. package/dist/cjs/api/resources/agent/resources/index.js +2 -6
  8. package/dist/cjs/api/resources/agent/resources/livekit/client/Client.d.ts +23 -0
  9. package/dist/cjs/api/resources/agent/resources/livekit/client/Client.js +17 -0
  10. package/dist/cjs/api/resources/agent/resources/livekit/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/agent/resources/livekit/index.js +18 -0
  12. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.d.ts +44 -0
  13. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.js +118 -0
  14. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.js +2 -0
  16. package/dist/cjs/api/resources/agent/resources/livekit/resources/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/agent/resources/livekit/resources/index.js +37 -0
  18. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.ts +51 -0
  19. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.js +222 -0
  20. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.d.ts +13 -0
  21. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.ts +13 -0
  22. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.d.ts +30 -0
  23. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/chrtGpt/client/Client.d.ts +49 -0
  25. package/dist/cjs/api/resources/chrtGpt/client/Client.js +132 -0
  26. package/dist/{esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts → cjs/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.ts} +3 -1
  27. package/dist/cjs/api/resources/chrtGpt/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/chrtGpt/client/requests/index.js +2 -0
  29. package/dist/cjs/api/resources/chrtGpt/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/chrtGpt/index.js +17 -0
  31. package/dist/cjs/api/resources/index.d.ts +2 -0
  32. package/dist/cjs/api/resources/index.js +3 -1
  33. package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
  34. package/dist/cjs/api/resources/shipping/client/Client.js +28 -18
  35. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.d.ts +154 -0
  36. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.js +494 -0
  37. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.js +17 -0
  39. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.d.ts +57 -0
  40. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.d.ts +29 -0
  41. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.d.ts +27 -0
  42. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.d.ts +13 -0
  43. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.d.ts +4 -0
  44. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.js +2 -0
  45. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.js +17 -0
  47. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.d.ts +115 -0
  48. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.js +403 -0
  49. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.d.ts +2 -0
  50. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.js +17 -0
  51. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.d.ts +29 -0
  52. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.js +5 -0
  53. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.d.ts +19 -0
  54. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.js +5 -0
  55. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.d.ts +24 -0
  56. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.js +5 -0
  57. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.d.ts +3 -0
  58. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.js +2 -0
  59. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.js +17 -0
  61. package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
  62. package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
  63. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +1 -1
  64. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +1 -1
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +1 -0
  66. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +10 -1
  67. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  68. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +0 -30
  69. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +0 -128
  70. package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +0 -2
  71. package/dist/cjs/api/types/ArchivedModel.d.ts +5 -1
  72. package/dist/cjs/api/types/ArchivedModel.js +4 -0
  73. package/dist/cjs/api/types/CallerCredentialTypeEnum.d.ts +2 -1
  74. package/dist/cjs/api/types/CallerCredentialTypeEnum.js +1 -0
  75. package/dist/cjs/api/types/CargoAiAirWaybillMessage1.d.ts +24 -0
  76. package/dist/cjs/api/types/CargoAiAirWaybillMessage1.js +5 -0
  77. package/dist/cjs/api/types/CargoAiAirWaybillMessageSendStatusEnum1.d.ts +10 -0
  78. package/dist/cjs/api/types/CargoAiAirWaybillMessageSendStatusEnum1.js +12 -0
  79. package/dist/cjs/api/types/CargoAiAirWaybillMessageSortByEnum.d.ts +4 -0
  80. package/dist/cjs/api/types/CargoAiAirWaybillMessageSortByEnum.js +5 -0
  81. package/dist/cjs/api/types/CargoAiAirWaybillMessageWebhookEvent1.d.ts +12 -0
  82. package/dist/cjs/api/types/CargoAiAirWaybillMessageWebhookEvent1.js +5 -0
  83. package/dist/cjs/api/types/CargoAiFwbAndFhlAddress1.d.ts +13 -0
  84. package/dist/cjs/api/types/CargoAiFwbAndFhlAddress1.js +5 -0
  85. package/dist/cjs/api/types/CargoAiFwbAndFhlAgent1.d.ts +10 -0
  86. package/dist/cjs/api/types/CargoAiFwbAndFhlAgent1.js +5 -0
  87. package/dist/cjs/api/types/CargoAiFwbAndFhlChargesDeclaration1.d.ts +18 -0
  88. package/dist/cjs/api/types/CargoAiFwbAndFhlChargesDeclaration1.js +13 -0
  89. package/dist/cjs/api/types/CargoAiFwbAndFhlCity1.d.ts +7 -0
  90. package/dist/cjs/api/types/CargoAiFwbAndFhlCity1.js +5 -0
  91. package/dist/cjs/api/types/{GeographyRes.d.ts → CargoAiFwbAndFhlCode1.d.ts} +2 -2
  92. package/dist/cjs/api/types/CargoAiFwbAndFhlCode1.js +5 -0
  93. package/dist/cjs/api/types/CargoAiFwbAndFhlCountry1.d.ts +7 -0
  94. package/dist/cjs/api/types/CargoAiFwbAndFhlCountry1.js +5 -0
  95. package/dist/cjs/api/types/CargoAiFwbAndFhlDimension1.d.ts +19 -0
  96. package/dist/cjs/api/types/CargoAiFwbAndFhlDimension1.js +15 -0
  97. package/dist/cjs/api/types/CargoAiFwbAndFhlExecution1.d.ts +9 -0
  98. package/dist/cjs/api/types/CargoAiFwbAndFhlExecution1.js +5 -0
  99. package/dist/cjs/api/types/CargoAiFwbAndFhlHandling1.d.ts +9 -0
  100. package/dist/cjs/api/types/CargoAiFwbAndFhlHandling1.js +5 -0
  101. package/dist/cjs/api/types/CargoAiFwbAndFhlHouse1.d.ts +26 -0
  102. package/dist/cjs/api/types/CargoAiFwbAndFhlHouse1.js +13 -0
  103. package/dist/cjs/api/types/CargoAiFwbAndFhlHouseLocations1.d.ts +8 -0
  104. package/dist/cjs/api/types/CargoAiFwbAndFhlHouseLocations1.js +5 -0
  105. package/dist/cjs/api/types/CargoAiFwbAndFhlOci1.d.ts +8 -0
  106. package/dist/cjs/api/types/CargoAiFwbAndFhlOci1.js +5 -0
  107. package/dist/cjs/api/types/CargoAiFwbAndFhlOciSecurity1.d.ts +22 -0
  108. package/dist/cjs/api/types/CargoAiFwbAndFhlOciSecurity1.js +15 -0
  109. package/dist/cjs/api/types/CargoAiFwbAndFhlOtherCharge1.d.ts +21 -0
  110. package/dist/cjs/api/types/CargoAiFwbAndFhlOtherCharge1.js +17 -0
  111. package/dist/cjs/api/types/CargoAiFwbAndFhlParty1.d.ts +12 -0
  112. package/dist/cjs/api/types/CargoAiFwbAndFhlParty1.js +5 -0
  113. package/dist/cjs/api/types/CargoAiFwbAndFhlRate1.d.ts +19 -0
  114. package/dist/cjs/api/types/CargoAiFwbAndFhlRate1.js +5 -0
  115. package/dist/cjs/api/types/CargoAiFwbAndFhlRequest1.d.ts +24 -0
  116. package/dist/cjs/api/types/CargoAiFwbAndFhlRequest1.js +5 -0
  117. package/dist/cjs/api/types/CargoAiFwbAndFhlRouting1.d.ts +9 -0
  118. package/dist/cjs/api/types/CargoAiFwbAndFhlRouting1.js +5 -0
  119. package/dist/{esm/api/types/GeographyRes.d.mts → cjs/api/types/CargoAiFwbAndFhlUld1.d.ts} +2 -2
  120. package/dist/cjs/api/types/CargoAiFwbAndFhlUld1.js +5 -0
  121. package/dist/cjs/api/types/CargoAiFwbAndFhlWeightOrVolume1.d.ts +16 -0
  122. package/dist/cjs/api/types/CargoAiFwbAndFhlWeightOrVolume1.js +15 -0
  123. package/dist/cjs/api/types/CargoOnFlightAirWaybill1.d.ts +32 -0
  124. package/dist/cjs/api/types/CargoOnFlightAirWaybill1.js +5 -0
  125. package/dist/cjs/api/types/CargoOnFlightAirWaybillCarriersExecution1.d.ts +11 -0
  126. package/dist/cjs/api/types/CargoOnFlightAirWaybillCarriersExecution1.js +5 -0
  127. package/dist/cjs/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.d.ts +34 -0
  128. package/dist/cjs/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.js +33 -0
  129. package/dist/cjs/api/types/CargoOnFlightAirWaybillChargesDeclaration1.d.ts +16 -0
  130. package/dist/cjs/api/types/CargoOnFlightAirWaybillChargesDeclaration1.js +5 -0
  131. package/dist/cjs/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.d.ts +18 -0
  132. package/dist/cjs/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.js +5 -0
  133. package/dist/cjs/api/types/CargoOnFlightAirWaybillDimension1.d.ts +12 -0
  134. package/dist/cjs/api/types/CargoOnFlightAirWaybillDimension1.js +5 -0
  135. package/dist/cjs/api/types/CargoOnFlightAirWaybillFwbMessage1.d.ts +17 -0
  136. package/dist/cjs/api/types/CargoOnFlightAirWaybillFwbMessage1.js +5 -0
  137. package/dist/cjs/api/types/CargoOnFlightAirWaybillListRes.d.ts +8 -0
  138. package/dist/cjs/api/types/CargoOnFlightAirWaybillListRes.js +5 -0
  139. package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.d.ts +8 -0
  140. package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.js +10 -0
  141. package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.d.ts +9 -0
  142. package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.js +11 -0
  143. package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherCharge1.d.ts +13 -0
  144. package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherCharge1.js +5 -0
  145. package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.d.ts +8 -0
  146. package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.js +10 -0
  147. package/dist/cjs/api/types/CargoOnFlightAirWaybillParty1.d.ts +20 -0
  148. package/dist/cjs/api/types/CargoOnFlightAirWaybillParty1.js +5 -0
  149. package/dist/cjs/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.d.ts +8 -0
  150. package/dist/cjs/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.js +10 -0
  151. package/dist/cjs/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.d.ts +22 -0
  152. package/dist/cjs/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.js +21 -0
  153. package/dist/cjs/api/types/CargoOnFlightAirWaybillRateLine1.d.ts +21 -0
  154. package/dist/cjs/api/types/CargoOnFlightAirWaybillRateLine1.js +5 -0
  155. package/dist/cjs/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.d.ts +10 -0
  156. package/dist/cjs/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.js +12 -0
  157. package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.d.ts +13 -0
  158. package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.js +15 -0
  159. package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.d.ts +17 -0
  160. package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.js +19 -0
  161. package/dist/cjs/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.d.ts +10 -0
  162. package/dist/cjs/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.js +12 -0
  163. package/dist/cjs/api/types/CargoOnFlightAirWaybillSortByEnum.d.ts +8 -0
  164. package/dist/cjs/api/types/CargoOnFlightAirWaybillSortByEnum.js +10 -0
  165. package/dist/cjs/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.d.ts +8 -0
  166. package/dist/cjs/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.js +5 -0
  167. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybill1.d.ts +26 -0
  168. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybill1.js +5 -0
  169. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.d.ts +17 -0
  170. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.js +5 -0
  171. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillListRes.d.ts +8 -0
  172. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillListRes.js +5 -0
  173. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillSortByEnum.d.ts +8 -0
  174. package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillSortByEnum.js +10 -0
  175. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.d.ts +8 -0
  176. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.js +5 -0
  177. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.d.ts +8 -0
  178. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.js +5 -0
  179. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.d.ts +6 -0
  180. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.js +5 -0
  181. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.ts +8 -0
  182. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js +5 -0
  183. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.d.ts +8 -0
  184. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.js +5 -0
  185. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.ts +8 -0
  186. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js +10 -0
  187. package/dist/{esm/api/types/OrderInformationConversationRes.d.mts → cjs/api/types/ChrtGptMessageRes.d.ts} +1 -1
  188. package/dist/cjs/api/types/ChrtGptMessageRes.js +5 -0
  189. package/dist/cjs/api/types/LiveKitHelloWorldStartRes.d.ts +8 -0
  190. package/dist/cjs/api/types/LiveKitHelloWorldStartRes.js +5 -0
  191. package/dist/cjs/api/types/Model.d.ts +7 -4
  192. package/dist/cjs/api/types/Model.js +6 -3
  193. package/dist/cjs/api/types/OrderEventActionEnum1.d.ts +10 -1
  194. package/dist/cjs/api/types/OrderEventActionEnum1.js +9 -0
  195. package/dist/cjs/api/types/OrderEventEntity1.d.ts +2 -0
  196. package/dist/cjs/api/types/index.d.ts +58 -3
  197. package/dist/cjs/api/types/index.js +58 -3
  198. package/dist/cjs/version.d.ts +1 -1
  199. package/dist/cjs/version.js +1 -1
  200. package/dist/esm/Client.d.mts +3 -0
  201. package/dist/esm/Client.mjs +7 -2
  202. package/dist/esm/api/resources/agent/client/Client.d.mts +3 -3
  203. package/dist/esm/api/resources/agent/client/Client.mjs +3 -3
  204. package/dist/esm/api/resources/agent/resources/index.d.mts +1 -2
  205. package/dist/esm/api/resources/agent/resources/index.mjs +1 -2
  206. package/dist/esm/api/resources/agent/resources/livekit/client/Client.d.mts +23 -0
  207. package/dist/esm/api/resources/agent/resources/livekit/client/Client.mjs +13 -0
  208. package/dist/esm/api/resources/agent/resources/livekit/client/index.d.mts +1 -0
  209. package/dist/esm/api/resources/agent/resources/livekit/client/index.mjs +1 -0
  210. package/dist/esm/api/resources/agent/resources/livekit/index.d.mts +2 -0
  211. package/dist/esm/api/resources/agent/resources/livekit/index.mjs +2 -0
  212. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.d.mts +44 -0
  213. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.mjs +81 -0
  214. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts +1 -0
  215. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.mjs +1 -0
  216. package/dist/esm/api/resources/agent/resources/livekit/resources/index.d.mts +1 -0
  217. package/dist/esm/api/resources/agent/resources/livekit/resources/index.mjs +1 -0
  218. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts +51 -0
  219. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.mjs +222 -0
  220. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.d.mts +13 -0
  221. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.mts +13 -0
  222. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.d.mts +30 -0
  223. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.mts +3 -0
  224. package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +49 -0
  225. package/dist/esm/api/resources/chrtGpt/client/Client.mjs +95 -0
  226. package/dist/{cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts → esm/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.mts} +3 -2
  227. package/dist/esm/api/resources/chrtGpt/client/requests/index.d.mts +1 -0
  228. package/dist/esm/api/resources/chrtGpt/client/requests/index.mjs +1 -0
  229. package/dist/esm/api/resources/chrtGpt/index.d.mts +1 -0
  230. package/dist/esm/api/resources/chrtGpt/index.mjs +1 -0
  231. package/dist/esm/api/resources/index.d.mts +2 -0
  232. package/dist/esm/api/resources/index.mjs +2 -0
  233. package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
  234. package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
  235. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.d.mts +154 -0
  236. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.mjs +457 -0
  237. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.d.mts +2 -0
  238. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.mjs +1 -0
  239. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.d.mts +57 -0
  240. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.d.mts +29 -0
  241. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.d.mts +27 -0
  242. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.d.mts +13 -0
  243. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.d.mts +4 -0
  244. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.mjs +1 -0
  245. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.d.mts +1 -0
  246. package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.mjs +1 -0
  247. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.d.mts +115 -0
  248. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.mjs +366 -0
  249. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.d.mts +2 -0
  250. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.mjs +1 -0
  251. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.d.mts +29 -0
  252. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.mjs +4 -0
  253. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.d.mts +19 -0
  254. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.mjs +4 -0
  255. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.d.mts +24 -0
  256. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.mjs +4 -0
  257. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.d.mts +3 -0
  258. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.mjs +1 -0
  259. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.d.mts +1 -0
  260. package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.mjs +1 -0
  261. package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
  262. package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
  263. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +1 -1
  264. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +1 -1
  265. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +1 -0
  266. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +10 -1
  267. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  268. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +0 -30
  269. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +0 -128
  270. package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +0 -2
  271. package/dist/esm/api/types/ArchivedModel.d.mts +5 -1
  272. package/dist/esm/api/types/ArchivedModel.mjs +4 -0
  273. package/dist/esm/api/types/CallerCredentialTypeEnum.d.mts +2 -1
  274. package/dist/esm/api/types/CallerCredentialTypeEnum.mjs +1 -0
  275. package/dist/esm/api/types/CargoAiAirWaybillMessage1.d.mts +24 -0
  276. package/dist/esm/api/types/CargoAiAirWaybillMessage1.mjs +4 -0
  277. package/dist/esm/api/types/CargoAiAirWaybillMessageSendStatusEnum1.d.mts +10 -0
  278. package/dist/esm/api/types/CargoAiAirWaybillMessageSendStatusEnum1.mjs +9 -0
  279. package/dist/esm/api/types/CargoAiAirWaybillMessageSortByEnum.d.mts +4 -0
  280. package/dist/esm/api/types/CargoAiAirWaybillMessageSortByEnum.mjs +4 -0
  281. package/dist/esm/api/types/CargoAiAirWaybillMessageWebhookEvent1.d.mts +12 -0
  282. package/dist/esm/api/types/CargoAiAirWaybillMessageWebhookEvent1.mjs +4 -0
  283. package/dist/esm/api/types/CargoAiFwbAndFhlAddress1.d.mts +13 -0
  284. package/dist/esm/api/types/CargoAiFwbAndFhlAddress1.mjs +4 -0
  285. package/dist/esm/api/types/CargoAiFwbAndFhlAgent1.d.mts +10 -0
  286. package/dist/esm/api/types/CargoAiFwbAndFhlAgent1.mjs +4 -0
  287. package/dist/esm/api/types/CargoAiFwbAndFhlChargesDeclaration1.d.mts +18 -0
  288. package/dist/esm/api/types/CargoAiFwbAndFhlChargesDeclaration1.mjs +10 -0
  289. package/dist/esm/api/types/CargoAiFwbAndFhlCity1.d.mts +7 -0
  290. package/dist/esm/api/types/CargoAiFwbAndFhlCity1.mjs +4 -0
  291. package/dist/{cjs/api/types/PingOpenAiRes.d.ts → esm/api/types/CargoAiFwbAndFhlCode1.d.mts} +2 -2
  292. package/dist/esm/api/types/CargoAiFwbAndFhlCode1.mjs +4 -0
  293. package/dist/esm/api/types/CargoAiFwbAndFhlCountry1.d.mts +7 -0
  294. package/dist/esm/api/types/CargoAiFwbAndFhlCountry1.mjs +4 -0
  295. package/dist/esm/api/types/CargoAiFwbAndFhlDimension1.d.mts +19 -0
  296. package/dist/esm/api/types/CargoAiFwbAndFhlDimension1.mjs +12 -0
  297. package/dist/esm/api/types/CargoAiFwbAndFhlExecution1.d.mts +9 -0
  298. package/dist/esm/api/types/CargoAiFwbAndFhlExecution1.mjs +4 -0
  299. package/dist/esm/api/types/CargoAiFwbAndFhlHandling1.d.mts +9 -0
  300. package/dist/esm/api/types/CargoAiFwbAndFhlHandling1.mjs +4 -0
  301. package/dist/esm/api/types/CargoAiFwbAndFhlHouse1.d.mts +26 -0
  302. package/dist/esm/api/types/CargoAiFwbAndFhlHouse1.mjs +10 -0
  303. package/dist/esm/api/types/CargoAiFwbAndFhlHouseLocations1.d.mts +8 -0
  304. package/dist/esm/api/types/CargoAiFwbAndFhlHouseLocations1.mjs +4 -0
  305. package/dist/esm/api/types/CargoAiFwbAndFhlOci1.d.mts +8 -0
  306. package/dist/esm/api/types/CargoAiFwbAndFhlOci1.mjs +4 -0
  307. package/dist/esm/api/types/CargoAiFwbAndFhlOciSecurity1.d.mts +22 -0
  308. package/dist/esm/api/types/CargoAiFwbAndFhlOciSecurity1.mjs +12 -0
  309. package/dist/esm/api/types/CargoAiFwbAndFhlOtherCharge1.d.mts +21 -0
  310. package/dist/esm/api/types/CargoAiFwbAndFhlOtherCharge1.mjs +14 -0
  311. package/dist/esm/api/types/CargoAiFwbAndFhlParty1.d.mts +12 -0
  312. package/dist/esm/api/types/CargoAiFwbAndFhlParty1.mjs +4 -0
  313. package/dist/esm/api/types/CargoAiFwbAndFhlRate1.d.mts +19 -0
  314. package/dist/esm/api/types/CargoAiFwbAndFhlRate1.mjs +4 -0
  315. package/dist/esm/api/types/CargoAiFwbAndFhlRequest1.d.mts +24 -0
  316. package/dist/esm/api/types/CargoAiFwbAndFhlRequest1.mjs +4 -0
  317. package/dist/esm/api/types/CargoAiFwbAndFhlRouting1.d.mts +9 -0
  318. package/dist/esm/api/types/CargoAiFwbAndFhlRouting1.mjs +4 -0
  319. package/dist/esm/api/types/{PingOpenAiRes.d.mts → CargoAiFwbAndFhlUld1.d.mts} +2 -2
  320. package/dist/esm/api/types/CargoAiFwbAndFhlUld1.mjs +4 -0
  321. package/dist/esm/api/types/CargoAiFwbAndFhlWeightOrVolume1.d.mts +16 -0
  322. package/dist/esm/api/types/CargoAiFwbAndFhlWeightOrVolume1.mjs +12 -0
  323. package/dist/esm/api/types/CargoOnFlightAirWaybill1.d.mts +32 -0
  324. package/dist/esm/api/types/CargoOnFlightAirWaybill1.mjs +4 -0
  325. package/dist/esm/api/types/CargoOnFlightAirWaybillCarriersExecution1.d.mts +11 -0
  326. package/dist/esm/api/types/CargoOnFlightAirWaybillCarriersExecution1.mjs +4 -0
  327. package/dist/esm/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.d.mts +34 -0
  328. package/dist/esm/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.mjs +30 -0
  329. package/dist/esm/api/types/CargoOnFlightAirWaybillChargesDeclaration1.d.mts +16 -0
  330. package/dist/esm/api/types/CargoOnFlightAirWaybillChargesDeclaration1.mjs +4 -0
  331. package/dist/esm/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.d.mts +18 -0
  332. package/dist/esm/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.mjs +4 -0
  333. package/dist/esm/api/types/CargoOnFlightAirWaybillDimension1.d.mts +12 -0
  334. package/dist/esm/api/types/CargoOnFlightAirWaybillDimension1.mjs +4 -0
  335. package/dist/esm/api/types/CargoOnFlightAirWaybillFwbMessage1.d.mts +17 -0
  336. package/dist/esm/api/types/CargoOnFlightAirWaybillFwbMessage1.mjs +4 -0
  337. package/dist/esm/api/types/CargoOnFlightAirWaybillListRes.d.mts +8 -0
  338. package/dist/esm/api/types/CargoOnFlightAirWaybillListRes.mjs +4 -0
  339. package/dist/esm/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.d.mts +8 -0
  340. package/dist/esm/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.mjs +7 -0
  341. package/dist/esm/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.d.mts +9 -0
  342. package/dist/esm/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.mjs +8 -0
  343. package/dist/esm/api/types/CargoOnFlightAirWaybillOtherCharge1.d.mts +13 -0
  344. package/dist/esm/api/types/CargoOnFlightAirWaybillOtherCharge1.mjs +4 -0
  345. package/dist/esm/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.d.mts +8 -0
  346. package/dist/esm/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.mjs +7 -0
  347. package/dist/esm/api/types/CargoOnFlightAirWaybillParty1.d.mts +20 -0
  348. package/dist/esm/api/types/CargoOnFlightAirWaybillParty1.mjs +4 -0
  349. package/dist/esm/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.d.mts +8 -0
  350. package/dist/esm/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.mjs +7 -0
  351. package/dist/esm/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.d.mts +22 -0
  352. package/dist/esm/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.mjs +18 -0
  353. package/dist/esm/api/types/CargoOnFlightAirWaybillRateLine1.d.mts +21 -0
  354. package/dist/esm/api/types/CargoOnFlightAirWaybillRateLine1.mjs +4 -0
  355. package/dist/esm/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.d.mts +10 -0
  356. package/dist/esm/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.mjs +9 -0
  357. package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.d.mts +13 -0
  358. package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.mjs +12 -0
  359. package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.d.mts +17 -0
  360. package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.mjs +16 -0
  361. package/dist/esm/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.d.mts +10 -0
  362. package/dist/esm/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.mjs +9 -0
  363. package/dist/esm/api/types/CargoOnFlightAirWaybillSortByEnum.d.mts +8 -0
  364. package/dist/esm/api/types/CargoOnFlightAirWaybillSortByEnum.mjs +7 -0
  365. package/dist/esm/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.d.mts +8 -0
  366. package/dist/esm/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.mjs +4 -0
  367. package/dist/esm/api/types/CargoOnFlightHouseAirWaybill1.d.mts +26 -0
  368. package/dist/esm/api/types/CargoOnFlightHouseAirWaybill1.mjs +4 -0
  369. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.d.mts +17 -0
  370. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.mjs +4 -0
  371. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillListRes.d.mts +8 -0
  372. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillListRes.mjs +4 -0
  373. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillSortByEnum.d.mts +8 -0
  374. package/dist/esm/api/types/CargoOnFlightHouseAirWaybillSortByEnum.mjs +7 -0
  375. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.d.mts +8 -0
  376. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.mjs +4 -0
  377. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.d.mts +8 -0
  378. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.mjs +4 -0
  379. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.d.mts +6 -0
  380. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.mjs +4 -0
  381. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.mts +8 -0
  382. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs +4 -0
  383. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.d.mts +8 -0
  384. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.mjs +4 -0
  385. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.mts +8 -0
  386. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.mjs +7 -0
  387. package/dist/{cjs/api/types/OrderInformationConversationRes.d.ts → esm/api/types/ChrtGptMessageRes.d.mts} +1 -1
  388. package/dist/esm/api/types/ChrtGptMessageRes.mjs +4 -0
  389. package/dist/esm/api/types/LiveKitHelloWorldStartRes.d.mts +8 -0
  390. package/dist/esm/api/types/LiveKitHelloWorldStartRes.mjs +4 -0
  391. package/dist/esm/api/types/Model.d.mts +7 -4
  392. package/dist/esm/api/types/Model.mjs +6 -3
  393. package/dist/esm/api/types/OrderEventActionEnum1.d.mts +10 -1
  394. package/dist/esm/api/types/OrderEventActionEnum1.mjs +9 -0
  395. package/dist/esm/api/types/OrderEventEntity1.d.mts +2 -0
  396. package/dist/esm/api/types/index.d.mts +58 -3
  397. package/dist/esm/api/types/index.mjs +58 -3
  398. package/dist/esm/version.d.mts +1 -1
  399. package/dist/esm/version.mjs +1 -1
  400. package/package.json +1 -1
  401. package/reference.md +1445 -668
  402. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +0 -79
  403. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +0 -260
  404. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +0 -11
  405. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +0 -12
  406. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +0 -3
  407. package/dist/cjs/api/resources/utils/resources/dev/client/requests/GeographyReq.d.ts +0 -12
  408. package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.ts +0 -12
  409. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +0 -79
  410. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +0 -223
  411. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +0 -11
  412. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +0 -13
  413. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +0 -3
  414. package/dist/esm/api/resources/utils/resources/dev/client/requests/GeographyReq.d.mts +0 -12
  415. package/dist/esm/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.mts +0 -12
  416. /package/dist/{esm/api/resources/agent/resources/orderInformation/client/requests/index.mjs → cjs/api/resources/agent/resources/livekit/client/index.d.ts} +0 -0
  417. /package/dist/cjs/api/resources/agent/resources/{orderInformation/client/requests → livekit/client}/index.js +0 -0
  418. /package/dist/cjs/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.d.ts +0 -0
  419. /package/dist/cjs/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.js +0 -0
  420. /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.js} +0 -0
  421. /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.js} +0 -0
  422. /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.js} +0 -0
  423. /package/dist/cjs/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.d.ts +0 -0
  424. /package/dist/cjs/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.js +0 -0
  425. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/GeographyReq.js → chrtGpt/client/requests/ChrtGptMessageReq.js} +0 -0
  426. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/PingOpenAiReq.js → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.js} +0 -0
  427. /package/dist/cjs/api/{types/GeographyRes.js → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.js} +0 -0
  428. /package/dist/cjs/api/{types/OrderInformationConversationRes.js → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.js} +0 -0
  429. /package/dist/cjs/api/{types/PingOpenAiRes.js → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.js} +0 -0
  430. /package/dist/esm/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.d.mts +0 -0
  431. /package/dist/esm/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.mjs +0 -0
  432. /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.mjs} +0 -0
  433. /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.mjs} +0 -0
  434. /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.mjs} +0 -0
  435. /package/dist/esm/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.d.mts +0 -0
  436. /package/dist/esm/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.mjs +0 -0
  437. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/GeographyReq.mjs → chrtGpt/client/requests/ChrtGptMessageReq.mjs} +0 -0
  438. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/PingOpenAiReq.mjs → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.mjs} +0 -0
  439. /package/dist/esm/api/{types/GeographyRes.mjs → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.mjs} +0 -0
  440. /package/dist/esm/api/{types/OrderInformationConversationRes.mjs → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.mjs} +0 -0
  441. /package/dist/esm/api/{types/PingOpenAiRes.mjs → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.mjs} +0 -0
@@ -30,6 +30,57 @@ export declare namespace Cargoai {
30
30
  export declare class Cargoai {
31
31
  protected readonly _options: Cargoai.Options;
32
32
  constructor(_options?: Cargoai.Options);
33
+ /**
34
+ * Lists what was sent to CargoAi for an air waybill and every airline answer received for each send. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes)
35
+ *
36
+ * @param {Chrt.cargoOnFlightIntegrations.CargoaiListAirWaybillMessagesV1Request} request
37
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.cargoOnFlightIntegrations.cargoai.listAirWaybillMessagesV1({
43
+ * cargo_on_flight_air_waybill_id: "cargo_on_flight_air_waybill_id",
44
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
45
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
46
+ * sort_by: "created_at_timestamp",
47
+ * sort_order: "asc",
48
+ * page: 1,
49
+ * page_size: 1
50
+ * })
51
+ */
52
+ listAirWaybillMessagesV1(request: Chrt.cargoOnFlightIntegrations.CargoaiListAirWaybillMessagesV1Request, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes>;
53
+ private __listAirWaybillMessagesV1;
54
+ /**
55
+ * Sends an air waybill's FWB and/or the FHL for chosen house air waybills to the airline through CargoAi; the airline answers later. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiSendAirWaybillReq) -> (CargoAiAirWaybillMessage1)
56
+ *
57
+ * @param {string} cargoOnFlightAirWaybillId
58
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSendAirWaybillReq} request
59
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
61
+ * @throws {@link Chrt.UnprocessableEntityError}
62
+ *
63
+ * @example
64
+ * await client.cargoOnFlightIntegrations.cargoai.sendAirWaybillV1("cargo_on_flight_air_waybill_id", {
65
+ * send_fwb: true
66
+ * })
67
+ */
68
+ sendAirWaybillV1(cargoOnFlightAirWaybillId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSendAirWaybillReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoAiAirWaybillMessage1>;
69
+ private __sendAirWaybillV1;
70
+ /**
71
+ * For demos and testing: answers a sent FWB and/or the FHLs of chosen house air waybills as the airline would, accepted or rejected, for a demo AWB (prefix 000) whose Mock Airline never answers. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq) -> (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes)
72
+ *
73
+ * @param {string} cargoOnFlightAirWaybillId
74
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq} request
75
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
76
+ *
77
+ * @throws {@link Chrt.UnprocessableEntityError}
78
+ *
79
+ * @example
80
+ * await client.cargoOnFlightIntegrations.cargoai.simulateAirlineResponseV1("cargo_on_flight_air_waybill_id")
81
+ */
82
+ simulateAirlineResponseV1(cargoOnFlightAirWaybillId: string, request?: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes>;
83
+ private __simulateAirlineResponseV1;
33
84
  /**
34
85
  * Books a draft booking on CargoAi with one result and rate of one of its searches, with the user's AWB or one from the airline's stock. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiBookReq) -> (CargoOnFlightBooking1)
35
86
  *
@@ -55,6 +55,228 @@ class Cargoai {
55
55
  constructor(_options = {}) {
56
56
  this._options = _options;
57
57
  }
58
+ /**
59
+ * Lists what was sent to CargoAi for an air waybill and every airline answer received for each send. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes)
60
+ *
61
+ * @param {Chrt.cargoOnFlightIntegrations.CargoaiListAirWaybillMessagesV1Request} request
62
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Chrt.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.cargoOnFlightIntegrations.cargoai.listAirWaybillMessagesV1({
68
+ * cargo_on_flight_air_waybill_id: "cargo_on_flight_air_waybill_id",
69
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
70
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
71
+ * sort_by: "created_at_timestamp",
72
+ * sort_order: "asc",
73
+ * page: 1,
74
+ * page_size: 1
75
+ * })
76
+ */
77
+ listAirWaybillMessagesV1(request, requestOptions) {
78
+ return core.HttpResponsePromise.fromPromise(this.__listAirWaybillMessagesV1(request, requestOptions));
79
+ }
80
+ __listAirWaybillMessagesV1(request, requestOptions) {
81
+ return __awaiter(this, void 0, void 0, function* () {
82
+ var _a, _b, _c, _d, _e, _f;
83
+ const { cargo_on_flight_air_waybill_id: cargoOnFlightAirWaybillId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
84
+ const _queryParams = {};
85
+ _queryParams["cargo_on_flight_air_waybill_id"] = cargoOnFlightAirWaybillId;
86
+ if (filterCreatedAtTimestampGte !== undefined) {
87
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
88
+ }
89
+ if (filterCreatedAtTimestampLte !== undefined) {
90
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
91
+ }
92
+ if (sortBy !== undefined) {
93
+ _queryParams["sort_by"] = sortBy;
94
+ }
95
+ if (sortOrder !== undefined) {
96
+ _queryParams["sort_order"] = sortOrder;
97
+ }
98
+ if (page !== undefined) {
99
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
100
+ }
101
+ if (pageSize !== undefined) {
102
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
103
+ }
104
+ let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
105
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
106
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "cargo_on_flight_integrations/cargoai/air_waybills/messages/list/v1"),
107
+ method: "GET",
108
+ headers: _headers,
109
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
110
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
111
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
112
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
113
+ });
114
+ if (_response.ok) {
115
+ return {
116
+ data: _response.body,
117
+ rawResponse: _response.rawResponse,
118
+ };
119
+ }
120
+ if (_response.error.reason === "status-code") {
121
+ switch (_response.error.statusCode) {
122
+ case 422:
123
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
124
+ default:
125
+ throw new errors.ChrtError({
126
+ statusCode: _response.error.statusCode,
127
+ body: _response.error.body,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ }
131
+ }
132
+ switch (_response.error.reason) {
133
+ case "non-json":
134
+ throw new errors.ChrtError({
135
+ statusCode: _response.error.statusCode,
136
+ body: _response.error.rawBody,
137
+ rawResponse: _response.rawResponse,
138
+ });
139
+ case "timeout":
140
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /cargo_on_flight_integrations/cargoai/air_waybills/messages/list/v1.");
141
+ case "unknown":
142
+ throw new errors.ChrtError({
143
+ message: _response.error.errorMessage,
144
+ rawResponse: _response.rawResponse,
145
+ });
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * Sends an air waybill's FWB and/or the FHL for chosen house air waybills to the airline through CargoAi; the airline answers later. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiSendAirWaybillReq) -> (CargoAiAirWaybillMessage1)
151
+ *
152
+ * @param {string} cargoOnFlightAirWaybillId
153
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSendAirWaybillReq} request
154
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
155
+ *
156
+ * @throws {@link Chrt.UnprocessableEntityError}
157
+ *
158
+ * @example
159
+ * await client.cargoOnFlightIntegrations.cargoai.sendAirWaybillV1("cargo_on_flight_air_waybill_id", {
160
+ * send_fwb: true
161
+ * })
162
+ */
163
+ sendAirWaybillV1(cargoOnFlightAirWaybillId, request, requestOptions) {
164
+ return core.HttpResponsePromise.fromPromise(this.__sendAirWaybillV1(cargoOnFlightAirWaybillId, request, requestOptions));
165
+ }
166
+ __sendAirWaybillV1(cargoOnFlightAirWaybillId, request, requestOptions) {
167
+ return __awaiter(this, void 0, void 0, function* () {
168
+ var _a, _b, _c, _d;
169
+ 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);
170
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
171
+ 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, `cargo_on_flight_integrations/cargoai/air_waybills/send/v1/${encodeURIComponent(cargoOnFlightAirWaybillId)}`),
172
+ method: "POST",
173
+ headers: _headers,
174
+ contentType: "application/json",
175
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
176
+ requestType: "json",
177
+ body: request,
178
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
179
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
180
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
181
+ });
182
+ if (_response.ok) {
183
+ return { data: _response.body, rawResponse: _response.rawResponse };
184
+ }
185
+ if (_response.error.reason === "status-code") {
186
+ switch (_response.error.statusCode) {
187
+ case 422:
188
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
189
+ default:
190
+ throw new errors.ChrtError({
191
+ statusCode: _response.error.statusCode,
192
+ body: _response.error.body,
193
+ rawResponse: _response.rawResponse,
194
+ });
195
+ }
196
+ }
197
+ switch (_response.error.reason) {
198
+ case "non-json":
199
+ throw new errors.ChrtError({
200
+ statusCode: _response.error.statusCode,
201
+ body: _response.error.rawBody,
202
+ rawResponse: _response.rawResponse,
203
+ });
204
+ case "timeout":
205
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /cargo_on_flight_integrations/cargoai/air_waybills/send/v1/{cargo_on_flight_air_waybill_id}.");
206
+ case "unknown":
207
+ throw new errors.ChrtError({
208
+ message: _response.error.errorMessage,
209
+ rawResponse: _response.rawResponse,
210
+ });
211
+ }
212
+ });
213
+ }
214
+ /**
215
+ * For demos and testing: answers a sent FWB and/or the FHLs of chosen house air waybills as the airline would, accepted or rejected, for a demo AWB (prefix 000) whose Mock Airline never answers. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq) -> (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes)
216
+ *
217
+ * @param {string} cargoOnFlightAirWaybillId
218
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq} request
219
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
220
+ *
221
+ * @throws {@link Chrt.UnprocessableEntityError}
222
+ *
223
+ * @example
224
+ * await client.cargoOnFlightIntegrations.cargoai.simulateAirlineResponseV1("cargo_on_flight_air_waybill_id")
225
+ */
226
+ simulateAirlineResponseV1(cargoOnFlightAirWaybillId, request = {}, requestOptions) {
227
+ return core.HttpResponsePromise.fromPromise(this.__simulateAirlineResponseV1(cargoOnFlightAirWaybillId, request, requestOptions));
228
+ }
229
+ __simulateAirlineResponseV1(cargoOnFlightAirWaybillId_1) {
230
+ return __awaiter(this, arguments, void 0, function* (cargoOnFlightAirWaybillId, request = {}, requestOptions) {
231
+ var _a, _b, _c, _d;
232
+ 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);
233
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
234
+ 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, `cargo_on_flight_integrations/cargoai/air_waybills/simulate_airline_response/v1/${encodeURIComponent(cargoOnFlightAirWaybillId)}`),
235
+ method: "POST",
236
+ headers: _headers,
237
+ contentType: "application/json",
238
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
239
+ requestType: "json",
240
+ body: request,
241
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
242
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
243
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
244
+ });
245
+ if (_response.ok) {
246
+ return {
247
+ data: _response.body,
248
+ rawResponse: _response.rawResponse,
249
+ };
250
+ }
251
+ if (_response.error.reason === "status-code") {
252
+ switch (_response.error.statusCode) {
253
+ case 422:
254
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
255
+ default:
256
+ throw new errors.ChrtError({
257
+ statusCode: _response.error.statusCode,
258
+ body: _response.error.body,
259
+ rawResponse: _response.rawResponse,
260
+ });
261
+ }
262
+ }
263
+ switch (_response.error.reason) {
264
+ case "non-json":
265
+ throw new errors.ChrtError({
266
+ statusCode: _response.error.statusCode,
267
+ body: _response.error.rawBody,
268
+ rawResponse: _response.rawResponse,
269
+ });
270
+ case "timeout":
271
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /cargo_on_flight_integrations/cargoai/air_waybills/simulate_airline_response/v1/{cargo_on_flight_air_waybill_id}.");
272
+ case "unknown":
273
+ throw new errors.ChrtError({
274
+ message: _response.error.errorMessage,
275
+ rawResponse: _response.rawResponse,
276
+ });
277
+ }
278
+ });
279
+ }
58
280
  /**
59
281
  * Books a draft booking on CargoAi with one result and rate of one of its searches, with the user's AWB or one from the airline's stock. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiBookReq) -> (CargoOnFlightBooking1)
60
282
  *
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * send_fwb: true
8
+ * }
9
+ */
10
+ export interface CargoOnFlightIntegrationsCargoAiSendAirWaybillReq {
11
+ cargo_on_flight_house_air_waybill_ids?: string[];
12
+ send_fwb: boolean;
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
+ * @example
7
+ * {}
8
+ */
9
+ export interface CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq {
10
+ airline_response?: string;
11
+ fwb_status?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum | null;
12
+ houses?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse[];
13
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * cargo_on_flight_air_waybill_id: "cargo_on_flight_air_waybill_id",
9
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
10
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
11
+ * sort_by: "created_at_timestamp",
12
+ * sort_order: "asc",
13
+ * page: 1,
14
+ * page_size: 1
15
+ * }
16
+ */
17
+ export interface CargoaiListAirWaybillMessagesV1Request {
18
+ /** The air waybill whose sends are listed. */
19
+ cargo_on_flight_air_waybill_id: string;
20
+ /** Only sends created at or after this timestamp. */
21
+ filter_created_at_timestamp_gte?: string | null;
22
+ /** Only sends created at or before this timestamp. */
23
+ filter_created_at_timestamp_lte?: string | null;
24
+ /** Field to sort by. */
25
+ sort_by?: Chrt.CargoAiAirWaybillMessageSortByEnum | null;
26
+ /** Sort order. */
27
+ sort_order?: Chrt.SortOrderEnum | null;
28
+ page?: number | null;
29
+ page_size?: number | null;
30
+ }
@@ -1,3 +1,6 @@
1
+ export { type CargoaiListAirWaybillMessagesV1Request } from "./CargoaiListAirWaybillMessagesV1Request.js";
2
+ export { type CargoOnFlightIntegrationsCargoAiSendAirWaybillReq } from "./CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.js";
3
+ export { type CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq } from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.js";
1
4
  export { type CargoOnFlightIntegrationsCargoAiBookReq } from "./CargoOnFlightIntegrationsCargoAiBookReq.js";
2
5
  export { type CargoOnFlightIntegrationsCargoAiCancelReq } from "./CargoOnFlightIntegrationsCargoAiCancelReq.js";
3
6
  export { type CargoOnFlightBookingSearchClientCreate1 } from "./CargoOnFlightBookingSearchClientCreate1.js";
@@ -0,0 +1,49 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.js";
5
+ import * as core from "../../../../core/index.js";
6
+ import * as Chrt from "../../../index.js";
7
+ export declare namespace ChrtGpt {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class ChrtGpt {
31
+ protected readonly _options: ChrtGpt.Options;
32
+ constructor(_options?: ChrtGpt.Options);
33
+ /**
34
+ * Sends a message to ChrtGPT and returns its reply, starting a new conversation when no conversation_id is given. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTMessageReq) -> (ChrtGPTMessageRes)
35
+ *
36
+ * @param {Chrt.ChrtGptMessageReq} request
37
+ * @param {ChrtGpt.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.chrtGpt.messageV1({
43
+ * message: "message"
44
+ * })
45
+ */
46
+ messageV1(request: Chrt.ChrtGptMessageReq, requestOptions?: ChrtGpt.RequestOptions): core.HttpResponsePromise<Chrt.ChrtGptMessageRes>;
47
+ private __messageV1;
48
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
49
+ }
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.ChrtGpt = void 0;
49
+ const environments = __importStar(require("../../../../environments.js"));
50
+ const core = __importStar(require("../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../index.js"));
52
+ const headers_js_1 = require("../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../errors/index.js"));
54
+ class ChrtGpt {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Sends a message to ChrtGPT and returns its reply, starting a new conversation when no conversation_id is given. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTMessageReq) -> (ChrtGPTMessageRes)
60
+ *
61
+ * @param {Chrt.ChrtGptMessageReq} request
62
+ * @param {ChrtGpt.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Chrt.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.chrtGpt.messageV1({
68
+ * message: "message"
69
+ * })
70
+ */
71
+ messageV1(request, requestOptions) {
72
+ return core.HttpResponsePromise.fromPromise(this.__messageV1(request, requestOptions));
73
+ }
74
+ __messageV1(request, requestOptions) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ var _a, _b, _c, _d;
77
+ 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);
78
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
79
+ 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, "chrt_gpt/message/v1"),
80
+ method: "POST",
81
+ headers: _headers,
82
+ contentType: "application/json",
83
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
84
+ requestType: "json",
85
+ body: request,
86
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
87
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
88
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
89
+ });
90
+ if (_response.ok) {
91
+ return { data: _response.body, rawResponse: _response.rawResponse };
92
+ }
93
+ if (_response.error.reason === "status-code") {
94
+ switch (_response.error.statusCode) {
95
+ case 422:
96
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
97
+ default:
98
+ throw new errors.ChrtError({
99
+ statusCode: _response.error.statusCode,
100
+ body: _response.error.body,
101
+ rawResponse: _response.rawResponse,
102
+ });
103
+ }
104
+ }
105
+ switch (_response.error.reason) {
106
+ case "non-json":
107
+ throw new errors.ChrtError({
108
+ statusCode: _response.error.statusCode,
109
+ body: _response.error.rawBody,
110
+ rawResponse: _response.rawResponse,
111
+ });
112
+ case "timeout":
113
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /chrt_gpt/message/v1.");
114
+ case "unknown":
115
+ throw new errors.ChrtError({
116
+ message: _response.error.errorMessage,
117
+ rawResponse: _response.rawResponse,
118
+ });
119
+ }
120
+ });
121
+ }
122
+ _getAuthorizationHeader() {
123
+ return __awaiter(this, void 0, void 0, function* () {
124
+ const bearer = yield core.Supplier.get(this._options.token);
125
+ if (bearer != null) {
126
+ return `Bearer ${bearer}`;
127
+ }
128
+ return undefined;
129
+ });
130
+ }
131
+ }
132
+ exports.ChrtGpt = ChrtGpt;
@@ -7,6 +7,8 @@
7
7
  * message: "message"
8
8
  * }
9
9
  */
10
- export interface OrderInformationConversationMessageReq {
10
+ export interface ChrtGptMessageReq {
11
+ /** Omit to start a new conversation. */
12
+ conversation_id?: string | null;
11
13
  message: string;
12
14
  }
@@ -0,0 +1 @@
1
+ export { type ChrtGptMessageReq } from "./ChrtGptMessageReq.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -1,5 +1,6 @@
1
1
  export * as orgs from "./orgs/index.js";
2
2
  export * as shipping from "./shipping/index.js";
3
+ export * as chrtGpt from "./chrtGpt/index.js";
3
4
  export * as flights from "./flights/index.js";
4
5
  export * as utils from "./utils/index.js";
5
6
  export * as agent from "./agent/index.js";
@@ -15,6 +16,7 @@ export * as shippingIntegrations from "./shippingIntegrations/index.js";
15
16
  export * as tracking from "./tracking/index.js";
16
17
  export * as trackingIntegrations from "./trackingIntegrations/index.js";
17
18
  export * as users from "./users/index.js";
19
+ export * from "./chrtGpt/client/requests/index.js";
18
20
  export * from "./flights/client/requests/index.js";
19
21
  export * from "./orgs/client/requests/index.js";
20
22
  export * from "./utils/client/requests/index.js";
@@ -36,9 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.users = exports.trackingIntegrations = exports.tracking = exports.shippingIntegrations = exports.operations = exports.notifications = exports.listing = exports.integrations = exports.cargoOnFlightIntegrations = exports.billingNew = exports.billing = exports.analytics = exports.agent = exports.utils = exports.flights = exports.shipping = exports.orgs = void 0;
39
+ exports.users = exports.trackingIntegrations = exports.tracking = exports.shippingIntegrations = exports.operations = exports.notifications = exports.listing = exports.integrations = exports.cargoOnFlightIntegrations = exports.billingNew = exports.billing = exports.analytics = exports.agent = exports.utils = exports.flights = exports.chrtGpt = exports.shipping = exports.orgs = void 0;
40
40
  exports.orgs = __importStar(require("./orgs/index.js"));
41
41
  exports.shipping = __importStar(require("./shipping/index.js"));
42
+ exports.chrtGpt = __importStar(require("./chrtGpt/index.js"));
42
43
  exports.flights = __importStar(require("./flights/index.js"));
43
44
  exports.utils = __importStar(require("./utils/index.js"));
44
45
  exports.agent = __importStar(require("./agent/index.js"));
@@ -54,6 +55,7 @@ exports.shippingIntegrations = __importStar(require("./shippingIntegrations/inde
54
55
  exports.tracking = __importStar(require("./tracking/index.js"));
55
56
  exports.trackingIntegrations = __importStar(require("./trackingIntegrations/index.js"));
56
57
  exports.users = __importStar(require("./users/index.js"));
58
+ __exportStar(require("./chrtGpt/client/requests/index.js"), exports);
57
59
  __exportStar(require("./flights/client/requests/index.js"), exports);
58
60
  __exportStar(require("./orgs/client/requests/index.js"), exports);
59
61
  __exportStar(require("./utils/client/requests/index.js"), exports);
@@ -3,8 +3,10 @@
3
3
  */
4
4
  import * as environments from "../../../../environments.js";
5
5
  import * as core from "../../../../core/index.js";
6
+ import { CargoOnFlightAirWaybills } from "../resources/cargoOnFlightAirWaybills/client/Client.js";
6
7
  import { CargoOnFlightBookingSearches } from "../resources/cargoOnFlightBookingSearches/client/Client.js";
7
8
  import { CargoOnFlightBookings } from "../resources/cargoOnFlightBookings/client/Client.js";
9
+ import { CargoOnFlightHouseAirWaybills } from "../resources/cargoOnFlightHouseAirWaybills/client/Client.js";
8
10
  import { Drivers } from "../resources/drivers/client/Client.js";
9
11
  import { Flights } from "../resources/flights/client/Client.js";
10
12
  import { OrderTemplatesNew } from "../resources/orderTemplatesNew/client/Client.js";
@@ -25,8 +27,10 @@ export declare namespace Shipping {
25
27
  }
26
28
  export declare class Shipping {
27
29
  protected readonly _options: Shipping.Options;
30
+ protected _cargoOnFlightAirWaybills: CargoOnFlightAirWaybills | undefined;
28
31
  protected _cargoOnFlightBookingSearches: CargoOnFlightBookingSearches | undefined;
29
32
  protected _cargoOnFlightBookings: CargoOnFlightBookings | undefined;
33
+ protected _cargoOnFlightHouseAirWaybills: CargoOnFlightHouseAirWaybills | undefined;
30
34
  protected _drivers: Drivers | undefined;
31
35
  protected _flights: Flights | undefined;
32
36
  protected _orderTemplatesNew: OrderTemplatesNew | undefined;
@@ -35,8 +39,10 @@ export declare class Shipping {
35
39
  protected _taskGroups: TaskGroups | undefined;
36
40
  protected _tasks: Tasks | undefined;
37
41
  constructor(_options?: Shipping.Options);
42
+ get cargoOnFlightAirWaybills(): CargoOnFlightAirWaybills;
38
43
  get cargoOnFlightBookingSearches(): CargoOnFlightBookingSearches;
39
44
  get cargoOnFlightBookings(): CargoOnFlightBookings;
45
+ get cargoOnFlightHouseAirWaybills(): CargoOnFlightHouseAirWaybills;
40
46
  get drivers(): Drivers;
41
47
  get flights(): Flights;
42
48
  get orderTemplatesNew(): OrderTemplatesNew;