@chrt-inc/typescript-sdk 1.1011.0 → 1.1014.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 (264) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +25 -20
  3. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.d.ts +23 -0
  4. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.js +17 -0
  5. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/index.js +2 -0
  7. package/dist/cjs/api/resources/cargoOnFlightIntegrations/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/cargoOnFlightIntegrations/index.js +18 -0
  9. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.ts +114 -0
  10. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.js +387 -0
  11. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.js +17 -0
  13. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.ts +21 -0
  14. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.js +5 -0
  15. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.d.ts +18 -0
  16. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.js +5 -0
  17. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.d.ts +12 -0
  18. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.js +5 -0
  19. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.ts +3 -0
  20. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.js +2 -0
  21. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.js +17 -0
  23. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.d.ts +2 -0
  24. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.js +41 -0
  25. package/dist/cjs/api/resources/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/index.js +2 -1
  27. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  28. package/dist/cjs/api/resources/orgs/client/Client.js +11 -6
  29. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/Client.d.ts +93 -0
  30. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/Client.js +331 -0
  31. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/index.d.ts +2 -0
  32. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/index.js +17 -0
  33. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.d.ts +13 -0
  34. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.js +5 -0
  35. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.d.ts +24 -0
  36. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.js +5 -0
  37. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/index.js +2 -0
  39. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/orgs/resources/iataCassOffices/index.js +17 -0
  41. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  43. package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
  44. package/dist/cjs/api/resources/shipping/client/Client.js +24 -14
  45. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.ts +76 -0
  46. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.js +246 -0
  47. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.d.ts +2 -0
  48. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.js +17 -0
  49. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.d.ts +29 -0
  50. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.js +5 -0
  51. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.d.ts +30 -0
  52. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.js +5 -0
  53. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.d.ts +2 -0
  54. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.js +2 -0
  55. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.js +17 -0
  57. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.ts +120 -0
  58. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.js +416 -0
  59. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/index.js +17 -0
  61. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.ts +32 -0
  62. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.js +5 -0
  63. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.d.ts +33 -0
  64. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.js +5 -0
  65. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.js +2 -0
  67. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/index.js +17 -0
  69. package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
  70. package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
  71. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.ts +1 -0
  72. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.ts +1 -0
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.ts +1 -0
  74. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  75. package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -0
  76. package/dist/cjs/api/types/CargoOnFlightBooking1.d.ts +35 -0
  77. package/dist/cjs/api/types/CargoOnFlightBooking1.js +5 -0
  78. package/dist/cjs/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.d.ts +10 -0
  79. package/dist/cjs/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.js +12 -0
  80. package/dist/cjs/api/types/CargoOnFlightBookingCargoDimension1.d.ts +15 -0
  81. package/dist/cjs/api/types/CargoOnFlightBookingCargoDimension1.js +5 -0
  82. package/dist/cjs/api/types/CargoOnFlightBookingItinerary1.d.ts +15 -0
  83. package/dist/cjs/api/types/CargoOnFlightBookingItinerary1.js +5 -0
  84. package/dist/cjs/api/types/CargoOnFlightBookingItineraryLeg1.d.ts +18 -0
  85. package/dist/cjs/api/types/CargoOnFlightBookingItineraryLeg1.js +5 -0
  86. package/dist/cjs/api/types/CargoOnFlightBookingListRes.d.ts +8 -0
  87. package/dist/cjs/api/types/CargoOnFlightBookingListRes.js +5 -0
  88. package/dist/cjs/api/types/CargoOnFlightBookingRate1.d.ts +19 -0
  89. package/dist/cjs/api/types/CargoOnFlightBookingRate1.js +5 -0
  90. package/dist/cjs/api/types/CargoOnFlightBookingRateCharge1.d.ts +14 -0
  91. package/dist/cjs/api/types/CargoOnFlightBookingRateCharge1.js +5 -0
  92. package/dist/cjs/api/types/CargoOnFlightBookingSearch1.d.ts +24 -0
  93. package/dist/cjs/api/types/CargoOnFlightBookingSearch1.js +5 -0
  94. package/dist/cjs/api/types/CargoOnFlightBookingSearchListRes.d.ts +8 -0
  95. package/dist/cjs/api/types/CargoOnFlightBookingSearchListRes.js +5 -0
  96. package/dist/cjs/api/types/CargoOnFlightBookingSearchResult1.d.ts +18 -0
  97. package/dist/cjs/api/types/CargoOnFlightBookingSearchResult1.js +5 -0
  98. package/dist/cjs/api/types/CargoOnFlightBookingSearchResultSortByEnum.d.ts +9 -0
  99. package/dist/cjs/api/types/CargoOnFlightBookingSearchResultSortByEnum.js +11 -0
  100. package/dist/cjs/api/types/CargoOnFlightBookingSearchSortByEnum.d.ts +4 -0
  101. package/dist/cjs/api/types/CargoOnFlightBookingSearchSortByEnum.js +5 -0
  102. package/dist/cjs/api/types/CargoOnFlightBookingSortByEnum.d.ts +4 -0
  103. package/dist/cjs/api/types/CargoOnFlightBookingSortByEnum.js +5 -0
  104. package/dist/cjs/api/types/CargoOnFlightBookingStatusEnum1.d.ts +13 -0
  105. package/dist/cjs/api/types/CargoOnFlightBookingStatusEnum1.js +15 -0
  106. package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.d.ts +8 -0
  107. package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.js +10 -0
  108. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.d.ts +6 -0
  109. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.js +5 -0
  110. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +3 -1
  111. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +2 -0
  112. package/dist/cjs/api/types/FlightLegProvenanceEnum1.d.ts +2 -1
  113. package/dist/cjs/api/types/FlightLegProvenanceEnum1.js +1 -0
  114. package/dist/cjs/api/types/IataCassOffice1.d.ts +22 -0
  115. package/dist/cjs/api/types/IataCassOffice1.js +5 -0
  116. package/dist/cjs/api/types/IataCassOfficeListRes.d.ts +8 -0
  117. package/dist/cjs/api/types/IataCassOfficeListRes.js +5 -0
  118. package/dist/cjs/api/types/IataCassOfficeSortByEnum.d.ts +8 -0
  119. package/dist/cjs/api/types/IataCassOfficeSortByEnum.js +10 -0
  120. package/dist/cjs/api/types/OrderEventActionEnum1.d.ts +11 -1
  121. package/dist/cjs/api/types/OrderEventActionEnum1.js +10 -0
  122. package/dist/cjs/api/types/OrderEventEntity1.d.ts +2 -0
  123. package/dist/cjs/api/types/OrderEventSystemActorEnum1.d.ts +2 -1
  124. package/dist/cjs/api/types/OrderEventSystemActorEnum1.js +1 -0
  125. package/dist/cjs/api/types/OrderTemplateNewCargo1.d.ts +1 -0
  126. package/dist/cjs/api/types/SpecialHandlingCodeEnum1.d.ts +100 -0
  127. package/dist/cjs/api/types/SpecialHandlingCodeEnum1.js +102 -0
  128. package/dist/cjs/api/types/index.d.ts +21 -0
  129. package/dist/cjs/api/types/index.js +21 -0
  130. package/dist/cjs/version.d.ts +1 -1
  131. package/dist/cjs/version.js +1 -1
  132. package/dist/esm/Client.d.mts +3 -0
  133. package/dist/esm/Client.mjs +7 -2
  134. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.d.mts +23 -0
  135. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.mjs +13 -0
  136. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/index.d.mts +1 -0
  137. package/dist/esm/api/resources/cargoOnFlightIntegrations/client/index.mjs +1 -0
  138. package/dist/esm/api/resources/cargoOnFlightIntegrations/index.d.mts +2 -0
  139. package/dist/esm/api/resources/cargoOnFlightIntegrations/index.mjs +2 -0
  140. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts +114 -0
  141. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.mjs +350 -0
  142. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.d.mts +2 -0
  143. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.mjs +1 -0
  144. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.mts +21 -0
  145. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.mjs +4 -0
  146. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.d.mts +18 -0
  147. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.mjs +4 -0
  148. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.d.mts +12 -0
  149. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.mjs +4 -0
  150. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.mts +3 -0
  151. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.mjs +1 -0
  152. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.d.mts +1 -0
  153. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.mjs +1 -0
  154. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.d.mts +2 -0
  155. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.mjs +2 -0
  156. package/dist/esm/api/resources/index.d.mts +1 -0
  157. package/dist/esm/api/resources/index.mjs +1 -0
  158. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  159. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  160. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/Client.d.mts +93 -0
  161. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/Client.mjs +294 -0
  162. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/index.d.mts +2 -0
  163. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/index.mjs +1 -0
  164. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.d.mts +13 -0
  165. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.mjs +4 -0
  166. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.d.mts +24 -0
  167. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.mjs +4 -0
  168. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/index.d.mts +2 -0
  169. package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/index.mjs +1 -0
  170. package/dist/esm/api/resources/orgs/resources/iataCassOffices/index.d.mts +1 -0
  171. package/dist/esm/api/resources/orgs/resources/iataCassOffices/index.mjs +1 -0
  172. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  173. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  174. package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
  175. package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
  176. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.mts +76 -0
  177. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.mjs +209 -0
  178. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.d.mts +2 -0
  179. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.mjs +1 -0
  180. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.d.mts +29 -0
  181. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.mjs +4 -0
  182. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.d.mts +30 -0
  183. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.mjs +4 -0
  184. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.d.mts +2 -0
  185. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.mjs +1 -0
  186. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.d.mts +1 -0
  187. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.mjs +1 -0
  188. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.mts +120 -0
  189. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.mjs +379 -0
  190. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/index.d.mts +2 -0
  191. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/index.mjs +1 -0
  192. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.mts +32 -0
  193. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.mjs +4 -0
  194. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.d.mts +33 -0
  195. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.mjs +4 -0
  196. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.d.mts +2 -0
  197. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.mjs +1 -0
  198. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/index.d.mts +1 -0
  199. package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/index.mjs +1 -0
  200. package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
  201. package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
  202. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.mts +1 -0
  203. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.mts +1 -0
  204. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.mts +1 -0
  205. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  206. package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -0
  207. package/dist/esm/api/types/CargoOnFlightBooking1.d.mts +35 -0
  208. package/dist/esm/api/types/CargoOnFlightBooking1.mjs +4 -0
  209. package/dist/esm/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.d.mts +10 -0
  210. package/dist/esm/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.mjs +9 -0
  211. package/dist/esm/api/types/CargoOnFlightBookingCargoDimension1.d.mts +15 -0
  212. package/dist/esm/api/types/CargoOnFlightBookingCargoDimension1.mjs +4 -0
  213. package/dist/esm/api/types/CargoOnFlightBookingItinerary1.d.mts +15 -0
  214. package/dist/esm/api/types/CargoOnFlightBookingItinerary1.mjs +4 -0
  215. package/dist/esm/api/types/CargoOnFlightBookingItineraryLeg1.d.mts +18 -0
  216. package/dist/esm/api/types/CargoOnFlightBookingItineraryLeg1.mjs +4 -0
  217. package/dist/esm/api/types/CargoOnFlightBookingListRes.d.mts +8 -0
  218. package/dist/esm/api/types/CargoOnFlightBookingListRes.mjs +4 -0
  219. package/dist/esm/api/types/CargoOnFlightBookingRate1.d.mts +19 -0
  220. package/dist/esm/api/types/CargoOnFlightBookingRate1.mjs +4 -0
  221. package/dist/esm/api/types/CargoOnFlightBookingRateCharge1.d.mts +14 -0
  222. package/dist/esm/api/types/CargoOnFlightBookingRateCharge1.mjs +4 -0
  223. package/dist/esm/api/types/CargoOnFlightBookingSearch1.d.mts +24 -0
  224. package/dist/esm/api/types/CargoOnFlightBookingSearch1.mjs +4 -0
  225. package/dist/esm/api/types/CargoOnFlightBookingSearchListRes.d.mts +8 -0
  226. package/dist/esm/api/types/CargoOnFlightBookingSearchListRes.mjs +4 -0
  227. package/dist/esm/api/types/CargoOnFlightBookingSearchResult1.d.mts +18 -0
  228. package/dist/esm/api/types/CargoOnFlightBookingSearchResult1.mjs +4 -0
  229. package/dist/esm/api/types/CargoOnFlightBookingSearchResultSortByEnum.d.mts +9 -0
  230. package/dist/esm/api/types/CargoOnFlightBookingSearchResultSortByEnum.mjs +8 -0
  231. package/dist/esm/api/types/CargoOnFlightBookingSearchSortByEnum.d.mts +4 -0
  232. package/dist/esm/api/types/CargoOnFlightBookingSearchSortByEnum.mjs +4 -0
  233. package/dist/esm/api/types/CargoOnFlightBookingSortByEnum.d.mts +4 -0
  234. package/dist/esm/api/types/CargoOnFlightBookingSortByEnum.mjs +4 -0
  235. package/dist/esm/api/types/CargoOnFlightBookingStatusEnum1.d.mts +13 -0
  236. package/dist/esm/api/types/CargoOnFlightBookingStatusEnum1.mjs +12 -0
  237. package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.d.mts +8 -0
  238. package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.mjs +7 -0
  239. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.d.mts +6 -0
  240. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.mjs +4 -0
  241. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +3 -1
  242. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +2 -0
  243. package/dist/esm/api/types/FlightLegProvenanceEnum1.d.mts +2 -1
  244. package/dist/esm/api/types/FlightLegProvenanceEnum1.mjs +1 -0
  245. package/dist/esm/api/types/IataCassOffice1.d.mts +22 -0
  246. package/dist/esm/api/types/IataCassOffice1.mjs +4 -0
  247. package/dist/esm/api/types/IataCassOfficeListRes.d.mts +8 -0
  248. package/dist/esm/api/types/IataCassOfficeListRes.mjs +4 -0
  249. package/dist/esm/api/types/IataCassOfficeSortByEnum.d.mts +8 -0
  250. package/dist/esm/api/types/IataCassOfficeSortByEnum.mjs +7 -0
  251. package/dist/esm/api/types/OrderEventActionEnum1.d.mts +11 -1
  252. package/dist/esm/api/types/OrderEventActionEnum1.mjs +10 -0
  253. package/dist/esm/api/types/OrderEventEntity1.d.mts +2 -0
  254. package/dist/esm/api/types/OrderEventSystemActorEnum1.d.mts +2 -1
  255. package/dist/esm/api/types/OrderEventSystemActorEnum1.mjs +1 -0
  256. package/dist/esm/api/types/OrderTemplateNewCargo1.d.mts +1 -0
  257. package/dist/esm/api/types/SpecialHandlingCodeEnum1.d.mts +100 -0
  258. package/dist/esm/api/types/SpecialHandlingCodeEnum1.mjs +99 -0
  259. package/dist/esm/api/types/index.d.mts +21 -0
  260. package/dist/esm/api/types/index.mjs +21 -0
  261. package/dist/esm/version.d.mts +1 -1
  262. package/dist/esm/version.mjs +1 -1
  263. package/package.json +1 -1
  264. package/reference.md +2672 -1560
@@ -0,0 +1,100 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type SpecialHandlingCodeEnum1 = "ACT" | "AOG" | "ATT" | "AVI" | "BIG" | "BUP" | "CAO" | "CAT" | "COL" | "COM" | "CRT" | "DIP" | "EAP" | "EAT" | "EAW" | "ECC" | "ECP" | "ELI" | "ELM" | "EMD" | "ERT" | "FIL" | "FRI" | "FRO" | "GOH" | "HEA" | "HEG" | "HUM" | "ICE" | "LHO" | "LIC" | "MAG" | "MAL" | "MUW" | "NSC" | "NWP" | "OBX" | "OHG" | "PAC" | "PEA" | "PEF" | "PEM" | "PEP" | "PER" | "PES" | "PIL" | "PIP" | "QRT" | "RAC" | "RBI" | "RBM" | "RCL" | "RCM" | "RCX" | "RDS" | "REQ" | "REX" | "RFG" | "RFL" | "RFS" | "RFW" | "RGX" | "RIS" | "RLI" | "RLM" | "RMD" | "RNG" | "ROP" | "ROX" | "RPB" | "RPG" | "RRE" | "RRW" | "RRY" | "RSB" | "RSC" | "RXB" | "RXC" | "RXD" | "RXE" | "RXG" | "RXS" | "SCO" | "SHL" | "SHR" | "SPF" | "SPX" | "SUR" | "SWP" | "VAL" | "VOL" | "VUN" | "WET" | "XPS";
5
+ export declare const SpecialHandlingCodeEnum1: {
6
+ readonly Act: "ACT";
7
+ readonly Aog: "AOG";
8
+ readonly Att: "ATT";
9
+ readonly Avi: "AVI";
10
+ readonly Big: "BIG";
11
+ readonly Bup: "BUP";
12
+ readonly Cao: "CAO";
13
+ readonly Cat: "CAT";
14
+ readonly Col: "COL";
15
+ readonly Com: "COM";
16
+ readonly Crt: "CRT";
17
+ readonly Dip: "DIP";
18
+ readonly Eap: "EAP";
19
+ readonly Eat: "EAT";
20
+ readonly Eaw: "EAW";
21
+ readonly Ecc: "ECC";
22
+ readonly Ecp: "ECP";
23
+ readonly Eli: "ELI";
24
+ readonly Elm: "ELM";
25
+ readonly Emd: "EMD";
26
+ readonly Ert: "ERT";
27
+ readonly Fil: "FIL";
28
+ readonly Fri: "FRI";
29
+ readonly Fro: "FRO";
30
+ readonly Goh: "GOH";
31
+ readonly Hea: "HEA";
32
+ readonly Heg: "HEG";
33
+ readonly Hum: "HUM";
34
+ readonly Ice: "ICE";
35
+ readonly Lho: "LHO";
36
+ readonly Lic: "LIC";
37
+ readonly Mag: "MAG";
38
+ readonly Mal: "MAL";
39
+ readonly Muw: "MUW";
40
+ readonly Nsc: "NSC";
41
+ readonly Nwp: "NWP";
42
+ readonly Obx: "OBX";
43
+ readonly Ohg: "OHG";
44
+ readonly Pac: "PAC";
45
+ readonly Pea: "PEA";
46
+ readonly Pef: "PEF";
47
+ readonly Pem: "PEM";
48
+ readonly Pep: "PEP";
49
+ readonly Per: "PER";
50
+ readonly Pes: "PES";
51
+ readonly Pil: "PIL";
52
+ readonly Pip: "PIP";
53
+ readonly Qrt: "QRT";
54
+ readonly Rac: "RAC";
55
+ readonly Rbi: "RBI";
56
+ readonly Rbm: "RBM";
57
+ readonly Rcl: "RCL";
58
+ readonly Rcm: "RCM";
59
+ readonly Rcx: "RCX";
60
+ readonly Rds: "RDS";
61
+ readonly Req: "REQ";
62
+ readonly Rex: "REX";
63
+ readonly Rfg: "RFG";
64
+ readonly Rfl: "RFL";
65
+ readonly Rfs: "RFS";
66
+ readonly Rfw: "RFW";
67
+ readonly Rgx: "RGX";
68
+ readonly Ris: "RIS";
69
+ readonly Rli: "RLI";
70
+ readonly Rlm: "RLM";
71
+ readonly Rmd: "RMD";
72
+ readonly Rng: "RNG";
73
+ readonly Rop: "ROP";
74
+ readonly Rox: "ROX";
75
+ readonly Rpb: "RPB";
76
+ readonly Rpg: "RPG";
77
+ readonly Rre: "RRE";
78
+ readonly Rrw: "RRW";
79
+ readonly Rry: "RRY";
80
+ readonly Rsb: "RSB";
81
+ readonly Rsc: "RSC";
82
+ readonly Rxb: "RXB";
83
+ readonly Rxc: "RXC";
84
+ readonly Rxd: "RXD";
85
+ readonly Rxe: "RXE";
86
+ readonly Rxg: "RXG";
87
+ readonly Rxs: "RXS";
88
+ readonly Sco: "SCO";
89
+ readonly Shl: "SHL";
90
+ readonly Shr: "SHR";
91
+ readonly Spf: "SPF";
92
+ readonly Spx: "SPX";
93
+ readonly Sur: "SUR";
94
+ readonly Swp: "SWP";
95
+ readonly Val: "VAL";
96
+ readonly Vol: "VOL";
97
+ readonly Vun: "VUN";
98
+ readonly Wet: "WET";
99
+ readonly Xps: "XPS";
100
+ };
@@ -0,0 +1,102 @@
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.SpecialHandlingCodeEnum1 = void 0;
7
+ exports.SpecialHandlingCodeEnum1 = {
8
+ Act: "ACT",
9
+ Aog: "AOG",
10
+ Att: "ATT",
11
+ Avi: "AVI",
12
+ Big: "BIG",
13
+ Bup: "BUP",
14
+ Cao: "CAO",
15
+ Cat: "CAT",
16
+ Col: "COL",
17
+ Com: "COM",
18
+ Crt: "CRT",
19
+ Dip: "DIP",
20
+ Eap: "EAP",
21
+ Eat: "EAT",
22
+ Eaw: "EAW",
23
+ Ecc: "ECC",
24
+ Ecp: "ECP",
25
+ Eli: "ELI",
26
+ Elm: "ELM",
27
+ Emd: "EMD",
28
+ Ert: "ERT",
29
+ Fil: "FIL",
30
+ Fri: "FRI",
31
+ Fro: "FRO",
32
+ Goh: "GOH",
33
+ Hea: "HEA",
34
+ Heg: "HEG",
35
+ Hum: "HUM",
36
+ Ice: "ICE",
37
+ Lho: "LHO",
38
+ Lic: "LIC",
39
+ Mag: "MAG",
40
+ Mal: "MAL",
41
+ Muw: "MUW",
42
+ Nsc: "NSC",
43
+ Nwp: "NWP",
44
+ Obx: "OBX",
45
+ Ohg: "OHG",
46
+ Pac: "PAC",
47
+ Pea: "PEA",
48
+ Pef: "PEF",
49
+ Pem: "PEM",
50
+ Pep: "PEP",
51
+ Per: "PER",
52
+ Pes: "PES",
53
+ Pil: "PIL",
54
+ Pip: "PIP",
55
+ Qrt: "QRT",
56
+ Rac: "RAC",
57
+ Rbi: "RBI",
58
+ Rbm: "RBM",
59
+ Rcl: "RCL",
60
+ Rcm: "RCM",
61
+ Rcx: "RCX",
62
+ Rds: "RDS",
63
+ Req: "REQ",
64
+ Rex: "REX",
65
+ Rfg: "RFG",
66
+ Rfl: "RFL",
67
+ Rfs: "RFS",
68
+ Rfw: "RFW",
69
+ Rgx: "RGX",
70
+ Ris: "RIS",
71
+ Rli: "RLI",
72
+ Rlm: "RLM",
73
+ Rmd: "RMD",
74
+ Rng: "RNG",
75
+ Rop: "ROP",
76
+ Rox: "ROX",
77
+ Rpb: "RPB",
78
+ Rpg: "RPG",
79
+ Rre: "RRE",
80
+ Rrw: "RRW",
81
+ Rry: "RRY",
82
+ Rsb: "RSB",
83
+ Rsc: "RSC",
84
+ Rxb: "RXB",
85
+ Rxc: "RXC",
86
+ Rxd: "RXD",
87
+ Rxe: "RXE",
88
+ Rxg: "RXG",
89
+ Rxs: "RXS",
90
+ Sco: "SCO",
91
+ Shl: "SHL",
92
+ Shr: "SHR",
93
+ Spf: "SPF",
94
+ Spx: "SPX",
95
+ Sur: "SUR",
96
+ Swp: "SWP",
97
+ Val: "VAL",
98
+ Vol: "VOL",
99
+ Vun: "VUN",
100
+ Wet: "WET",
101
+ Xps: "XPS",
102
+ };
@@ -75,6 +75,23 @@ export * from "./CargoByDriverDataPoint1.js";
75
75
  export * from "./CargoByDriverDataPointMetadata1.js";
76
76
  export * from "./CargoByDriverSharingSettings1.js";
77
77
  export * from "./CargoClientCreate1.js";
78
+ export * from "./CargoOnFlightBooking1.js";
79
+ export * from "./CargoOnFlightBookingAircraftBodyTypeEnum1.js";
80
+ export * from "./CargoOnFlightBookingCargoDimension1.js";
81
+ export * from "./CargoOnFlightBookingItinerary1.js";
82
+ export * from "./CargoOnFlightBookingItineraryLeg1.js";
83
+ export * from "./CargoOnFlightBookingListRes.js";
84
+ export * from "./CargoOnFlightBookingRate1.js";
85
+ export * from "./CargoOnFlightBookingRateCharge1.js";
86
+ export * from "./CargoOnFlightBookingSearch1.js";
87
+ export * from "./CargoOnFlightBookingSearchListRes.js";
88
+ export * from "./CargoOnFlightBookingSearchResult1.js";
89
+ export * from "./CargoOnFlightBookingSearchResultSortByEnum.js";
90
+ export * from "./CargoOnFlightBookingSearchSortByEnum.js";
91
+ export * from "./CargoOnFlightBookingSortByEnum.js";
92
+ export * from "./CargoOnFlightBookingStatusEnum1.js";
93
+ export * from "./CargoOnFlightIntegrationEnum1.js";
94
+ export * from "./CargoOnFlightIntegrationsCargoAiWebhookRes.js";
78
95
  export * from "./CargoOnFlightTaskActionEnum1.js";
79
96
  export * from "./CargoStatusEnum1.js";
80
97
  export * from "./CargoTypeEnum1.js";
@@ -303,6 +320,9 @@ export * from "./GeometriesItem.js";
303
320
  export * from "./GeometryCollection.js";
304
321
  export * from "./HttpValidationError.js";
305
322
  export * from "./HolidayRate1.js";
323
+ export * from "./IataCassOffice1.js";
324
+ export * from "./IataCassOfficeListRes.js";
325
+ export * from "./IataCassOfficeSortByEnum.js";
306
326
  export * from "./InternalDelegationJwtReq.js";
307
327
  export * from "./InternalDelegationJwtRes.js";
308
328
  export * from "./Invoice1.js";
@@ -595,6 +615,7 @@ export * from "./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js";
595
615
  export * from "./ShippingTaskSkippedWebhookPayload.js";
596
616
  export * from "./ShippingTaskTaskArtifactCompletedWebhookPayload.js";
597
617
  export * from "./SortOrderEnum.js";
618
+ export * from "./SpecialHandlingCodeEnum1.js";
598
619
  export * from "./StartOfWeek.js";
599
620
  export * from "./StationaryCluster.js";
600
621
  export * from "./StoredModel.js";
@@ -91,6 +91,23 @@ __exportStar(require("./CargoByDriverDataPoint1.js"), exports);
91
91
  __exportStar(require("./CargoByDriverDataPointMetadata1.js"), exports);
92
92
  __exportStar(require("./CargoByDriverSharingSettings1.js"), exports);
93
93
  __exportStar(require("./CargoClientCreate1.js"), exports);
94
+ __exportStar(require("./CargoOnFlightBooking1.js"), exports);
95
+ __exportStar(require("./CargoOnFlightBookingAircraftBodyTypeEnum1.js"), exports);
96
+ __exportStar(require("./CargoOnFlightBookingCargoDimension1.js"), exports);
97
+ __exportStar(require("./CargoOnFlightBookingItinerary1.js"), exports);
98
+ __exportStar(require("./CargoOnFlightBookingItineraryLeg1.js"), exports);
99
+ __exportStar(require("./CargoOnFlightBookingListRes.js"), exports);
100
+ __exportStar(require("./CargoOnFlightBookingRate1.js"), exports);
101
+ __exportStar(require("./CargoOnFlightBookingRateCharge1.js"), exports);
102
+ __exportStar(require("./CargoOnFlightBookingSearch1.js"), exports);
103
+ __exportStar(require("./CargoOnFlightBookingSearchListRes.js"), exports);
104
+ __exportStar(require("./CargoOnFlightBookingSearchResult1.js"), exports);
105
+ __exportStar(require("./CargoOnFlightBookingSearchResultSortByEnum.js"), exports);
106
+ __exportStar(require("./CargoOnFlightBookingSearchSortByEnum.js"), exports);
107
+ __exportStar(require("./CargoOnFlightBookingSortByEnum.js"), exports);
108
+ __exportStar(require("./CargoOnFlightBookingStatusEnum1.js"), exports);
109
+ __exportStar(require("./CargoOnFlightIntegrationEnum1.js"), exports);
110
+ __exportStar(require("./CargoOnFlightIntegrationsCargoAiWebhookRes.js"), exports);
94
111
  __exportStar(require("./CargoOnFlightTaskActionEnum1.js"), exports);
95
112
  __exportStar(require("./CargoStatusEnum1.js"), exports);
96
113
  __exportStar(require("./CargoTypeEnum1.js"), exports);
@@ -319,6 +336,9 @@ __exportStar(require("./GeometriesItem.js"), exports);
319
336
  __exportStar(require("./GeometryCollection.js"), exports);
320
337
  __exportStar(require("./HttpValidationError.js"), exports);
321
338
  __exportStar(require("./HolidayRate1.js"), exports);
339
+ __exportStar(require("./IataCassOffice1.js"), exports);
340
+ __exportStar(require("./IataCassOfficeListRes.js"), exports);
341
+ __exportStar(require("./IataCassOfficeSortByEnum.js"), exports);
322
342
  __exportStar(require("./InternalDelegationJwtReq.js"), exports);
323
343
  __exportStar(require("./InternalDelegationJwtRes.js"), exports);
324
344
  __exportStar(require("./Invoice1.js"), exports);
@@ -611,6 +631,7 @@ __exportStar(require("./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js")
611
631
  __exportStar(require("./ShippingTaskSkippedWebhookPayload.js"), exports);
612
632
  __exportStar(require("./ShippingTaskTaskArtifactCompletedWebhookPayload.js"), exports);
613
633
  __exportStar(require("./SortOrderEnum.js"), exports);
634
+ __exportStar(require("./SpecialHandlingCodeEnum1.js"), exports);
614
635
  __exportStar(require("./StartOfWeek.js"), exports);
615
636
  __exportStar(require("./StationaryCluster.js"), exports);
616
637
  __exportStar(require("./StoredModel.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1011.0";
1
+ export declare const SDK_VERSION = "1.1014.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.1011.0";
4
+ exports.SDK_VERSION = "1.1014.0";
@@ -10,6 +10,7 @@ import { Agent } from "./api/resources/agent/client/Client.mjs";
10
10
  import { Analytics } from "./api/resources/analytics/client/Client.mjs";
11
11
  import { Billing } from "./api/resources/billing/client/Client.mjs";
12
12
  import { BillingNew } from "./api/resources/billingNew/client/Client.mjs";
13
+ import { CargoOnFlightIntegrations } from "./api/resources/cargoOnFlightIntegrations/client/Client.mjs";
13
14
  import { Integrations } from "./api/resources/integrations/client/Client.mjs";
14
15
  import { Listing } from "./api/resources/listing/client/Client.mjs";
15
16
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
@@ -51,6 +52,7 @@ export declare class ChrtClient {
51
52
  protected _analytics: Analytics | undefined;
52
53
  protected _billing: Billing | undefined;
53
54
  protected _billingNew: BillingNew | undefined;
55
+ protected _cargoOnFlightIntegrations: CargoOnFlightIntegrations | undefined;
54
56
  protected _integrations: Integrations | undefined;
55
57
  protected _listing: Listing | undefined;
56
58
  protected _notifications: Notifications | undefined;
@@ -68,6 +70,7 @@ export declare class ChrtClient {
68
70
  get analytics(): Analytics;
69
71
  get billing(): Billing;
70
72
  get billingNew(): BillingNew;
73
+ get cargoOnFlightIntegrations(): CargoOnFlightIntegrations;
71
74
  get integrations(): Integrations;
72
75
  get listing(): Listing;
73
76
  get notifications(): Notifications;
@@ -10,6 +10,7 @@ import { Agent } from "./api/resources/agent/client/Client.mjs";
10
10
  import { Analytics } from "./api/resources/analytics/client/Client.mjs";
11
11
  import { Billing } from "./api/resources/billing/client/Client.mjs";
12
12
  import { BillingNew } from "./api/resources/billingNew/client/Client.mjs";
13
+ import { CargoOnFlightIntegrations } from "./api/resources/cargoOnFlightIntegrations/client/Client.mjs";
13
14
  import { Integrations } from "./api/resources/integrations/client/Client.mjs";
14
15
  import { Listing } from "./api/resources/listing/client/Client.mjs";
15
16
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
@@ -24,8 +25,8 @@ export class ChrtClient {
24
25
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
25
26
  "X-Fern-Language": "JavaScript",
26
27
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
27
- "X-Fern-SDK-Version": "1.1011.0",
28
- "User-Agent": "@chrt-inc/typescript-sdk/1.1011.0",
28
+ "X-Fern-SDK-Version": "1.1014.0",
29
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1014.0",
29
30
  "X-Fern-Runtime": core.RUNTIME.type,
30
31
  "X-Fern-Runtime-Version": core.RUNTIME.version,
31
32
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -58,6 +59,10 @@ export class ChrtClient {
58
59
  var _a;
59
60
  return ((_a = this._billingNew) !== null && _a !== void 0 ? _a : (this._billingNew = new BillingNew(this._options)));
60
61
  }
62
+ get cargoOnFlightIntegrations() {
63
+ var _a;
64
+ return ((_a = this._cargoOnFlightIntegrations) !== null && _a !== void 0 ? _a : (this._cargoOnFlightIntegrations = new CargoOnFlightIntegrations(this._options)));
65
+ }
61
66
  get integrations() {
62
67
  var _a;
63
68
  return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Integrations(this._options)));
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.mjs";
5
+ import * as core from "../../../../core/index.mjs";
6
+ import { Cargoai } from "../resources/cargoai/client/Client.mjs";
7
+ export declare namespace CargoOnFlightIntegrations {
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
+ }
18
+ export declare class CargoOnFlightIntegrations {
19
+ protected readonly _options: CargoOnFlightIntegrations.Options;
20
+ protected _cargoai: Cargoai | undefined;
21
+ constructor(_options?: CargoOnFlightIntegrations.Options);
22
+ get cargoai(): Cargoai;
23
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Cargoai } from "../resources/cargoai/client/Client.mjs";
5
+ export class CargoOnFlightIntegrations {
6
+ constructor(_options = {}) {
7
+ this._options = _options;
8
+ }
9
+ get cargoai() {
10
+ var _a;
11
+ return ((_a = this._cargoai) !== null && _a !== void 0 ? _a : (this._cargoai = new Cargoai(this._options)));
12
+ }
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,114 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace Cargoai {
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 Cargoai {
31
+ protected readonly _options: Cargoai.Options;
32
+ constructor(_options?: Cargoai.Options);
33
+ /**
34
+ * 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
+ *
36
+ * @param {string} cargoOnFlightBookingId
37
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiBookReq} request
38
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
39
+ *
40
+ * @throws {@link Chrt.UnprocessableEntityError}
41
+ *
42
+ * @example
43
+ * await client.cargoOnFlightIntegrations.cargoai.bookV1("cargo_on_flight_booking_id", {
44
+ * cargo_on_flight_booking_search_id: "cargo_on_flight_booking_search_id",
45
+ * integration_rate_id: "integration_rate_id",
46
+ * integration_result_id: "integration_result_id"
47
+ * })
48
+ */
49
+ bookV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiBookReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
50
+ private __bookV1;
51
+ /**
52
+ * Asks CargoAi to cancel a confirmed booking; it is CANCELLATION_REQUESTED until the airline answers. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiCancelReq) -> (CargoOnFlightBooking1)
53
+ *
54
+ * @param {string} cargoOnFlightBookingId
55
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiCancelReq} request
56
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link Chrt.UnprocessableEntityError}
59
+ *
60
+ * @example
61
+ * await client.cargoOnFlightIntegrations.cargoai.cancelV1("cargo_on_flight_booking_id", {
62
+ * cancellation_reason: "cancellation_reason"
63
+ * })
64
+ */
65
+ cancelV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiCancelReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
66
+ private __cancelV1;
67
+ /**
68
+ * Asks CargoAi for an active booking's current status and AWB and applies them, e.g. when its book answer was lost. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBooking1)
69
+ *
70
+ * @param {string} cargoOnFlightBookingId
71
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
72
+ *
73
+ * @throws {@link Chrt.UnprocessableEntityError}
74
+ *
75
+ * @example
76
+ * await client.cargoOnFlightIntegrations.cargoai.refreshV1("cargo_on_flight_booking_id")
77
+ */
78
+ refreshV1(cargoOnFlightBookingId: string, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
79
+ private __refreshV1;
80
+ /**
81
+ * Collects the remaining CargoAi results of an unfinished search and stores them; a completed search is returned as is. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
82
+ *
83
+ * @param {string} cargoOnFlightBookingSearchId
84
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link Chrt.UnprocessableEntityError}
87
+ *
88
+ * @example
89
+ * await client.cargoOnFlightIntegrations.cargoai.searchContinueV1("cargo_on_flight_booking_search_id")
90
+ */
91
+ searchContinueV1(cargoOnFlightBookingSearchId: string, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
92
+ private __searchContinueV1;
93
+ /**
94
+ * Starts a CargoAi search for flights with space and rates for a draft booking's cargos on a route and date, and stores it. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightBookingSearchClientCreate1) -> (CargoOnFlightBookingSearch1)
95
+ *
96
+ * @param {string} cargoOnFlightBookingId
97
+ * @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightBookingSearchClientCreate1} request
98
+ * @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
99
+ *
100
+ * @throws {@link Chrt.UnprocessableEntityError}
101
+ *
102
+ * @example
103
+ * await client.cargoOnFlightIntegrations.cargoai.searchV1("cargo_on_flight_booking_id", {
104
+ * destination_iata: "destination_iata",
105
+ * earliest_departure_date: "earliest_departure_date",
106
+ * iata_cass_office_id: "iata_cass_office_id",
107
+ * origin_iata: "origin_iata",
108
+ * schema_version: 1
109
+ * })
110
+ */
111
+ searchV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightBookingSearchClientCreate1, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
112
+ private __searchV1;
113
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
114
+ }