@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,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CargoOnFlightBooking1 {
6
+ _id: string;
7
+ /** IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'. */
8
+ awb_number?: string | null;
9
+ booked_itinerary?: Chrt.CargoOnFlightBookingItinerary1 | null;
10
+ booked_rate?: Chrt.CargoOnFlightBookingRate1 | null;
11
+ cancellation_requested_at_timestamp?: string | null;
12
+ cancelled_at_timestamp?: string | null;
13
+ cargo_dimensions?: Chrt.CargoOnFlightBookingCargoDimension1[];
14
+ cargo_ids?: string[];
15
+ cargo_on_flight_booking_search_id?: string | null;
16
+ cargo_on_flight_integration: Chrt.CargoOnFlightIntegrationEnum1;
17
+ confirmed_at_timestamp?: string | null;
18
+ /** Must be a string starting with `org_` */
19
+ created_by_org_id: string;
20
+ /** Must be a string starting with `user_` */
21
+ created_by_user_id?: string | null;
22
+ draft_started_at_timestamp: string;
23
+ failed_at_timestamp?: string | null;
24
+ flight_leg_ids?: string[];
25
+ iata_cass_office_id?: string | null;
26
+ integration_status?: string | null;
27
+ order_id: string;
28
+ order_short_id: string;
29
+ rejected_at_timestamp?: string | null;
30
+ requested_at_timestamp?: string | null;
31
+ schema_version: number;
32
+ special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
33
+ status: Chrt.CargoOnFlightBookingStatusEnum1;
34
+ task_group_id: string;
35
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightBookingAircraftBodyTypeEnum1 = "widebody" | "narrowbody" | "freighter" | "unknown";
5
+ export declare const CargoOnFlightBookingAircraftBodyTypeEnum1: {
6
+ readonly Widebody: "widebody";
7
+ readonly Narrowbody: "narrowbody";
8
+ readonly Freighter: "freighter";
9
+ readonly Unknown: "unknown";
10
+ };
@@ -0,0 +1,12 @@
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.CargoOnFlightBookingAircraftBodyTypeEnum1 = void 0;
7
+ exports.CargoOnFlightBookingAircraftBodyTypeEnum1 = {
8
+ Widebody: "widebody",
9
+ Narrowbody: "narrowbody",
10
+ Freighter: "freighter",
11
+ Unknown: "unknown",
12
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * `quantity` identical pieces, each of these dimensions and weight.
6
+ */
7
+ export interface CargoOnFlightBookingCargoDimension1 {
8
+ height_inches: number;
9
+ length_inches: number;
10
+ quantity: number;
11
+ stackable?: boolean;
12
+ turnable?: boolean;
13
+ weight_per_piece_pounds: number;
14
+ width_inches: number;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * The itinerary of the search result a booking was placed on.
7
+ */
8
+ export interface CargoOnFlightBookingItinerary1 {
9
+ carrier_iata: string;
10
+ latest_acceptance_utc?: string | null;
11
+ legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
12
+ origin_ground_handling_agent_address?: string | null;
13
+ origin_ground_handling_agent_name?: string | null;
14
+ time_of_availability_utc?: string | null;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * One leg of an itinerary: a flight, or a road feeder truck (`surface_transport`).
7
+ */
8
+ export interface CargoOnFlightBookingItineraryLeg1 {
9
+ aircraft_body_type?: Chrt.CargoOnFlightBookingAircraftBodyTypeEnum1;
10
+ carrier_iata: string;
11
+ destination_iata: string;
12
+ flight_number: string;
13
+ integration_body_type?: string | null;
14
+ origin_iata: string;
15
+ scheduled_arrival_utc: string;
16
+ scheduled_departure_utc: string;
17
+ surface_transport: boolean;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CargoOnFlightBookingListRes {
6
+ items: Chrt.CargoOnFlightBooking1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * A price quoted for a shipment: one of a search result's rates, or the price a MANUAL booking was quoted.
7
+ */
8
+ export interface CargoOnFlightBookingRate1 {
9
+ all_in_rate_per_kilogram?: number | null;
10
+ chargeable_weight_kilograms?: number | null;
11
+ charges?: Chrt.CargoOnFlightBookingRateCharge1[];
12
+ currency_code: string;
13
+ integration_rate_id?: string | null;
14
+ net_rate_per_kilogram?: number | null;
15
+ other_charges_due_carrier?: Chrt.CargoOnFlightBookingRateCharge1[];
16
+ rate_name?: string | null;
17
+ special_handling_codes?: string[];
18
+ total_amount: number;
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * One charge in a rate's breakdown, priced per `basis` unit in the rate's currency.
6
+ */
7
+ export interface CargoOnFlightBookingRateCharge1 {
8
+ basis: string;
9
+ code?: string | null;
10
+ label: string;
11
+ maximum_amount?: number | null;
12
+ minimum_amount?: number | null;
13
+ rate: number;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CargoOnFlightBookingSearch1 {
6
+ _id: string;
7
+ cargo_on_flight_booking_id: string;
8
+ cargo_on_flight_integration: Chrt.CargoOnFlightIntegrationEnum1;
9
+ created_at_timestamp: string;
10
+ /** Must be a string starting with `org_` */
11
+ created_by_org_id: string;
12
+ /** Must be a string starting with `user_` */
13
+ created_by_user_id?: string | null;
14
+ destination_iata: string;
15
+ earliest_departure_date: string;
16
+ iata_cass_office_id: string;
17
+ integration_search_id: string;
18
+ offset_days?: number;
19
+ origin_iata: string;
20
+ results?: Chrt.CargoOnFlightBookingSearchResult1[];
21
+ schema_version: number;
22
+ search_completed: boolean;
23
+ updated_at_timestamp: string;
24
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CargoOnFlightBookingSearchListRes {
6
+ items: Chrt.CargoOnFlightBookingSearch1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CargoOnFlightBookingSearchResult1 {
6
+ awb_prefixes?: string[];
7
+ awb_required: boolean;
8
+ bookable: boolean;
9
+ carrier_iata: string;
10
+ integration_result_id: string;
11
+ latest_acceptance_utc?: string | null;
12
+ legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
13
+ not_bookable_reason?: string | null;
14
+ origin_ground_handling_agent_address?: string | null;
15
+ origin_ground_handling_agent_name?: string | null;
16
+ rates?: Chrt.CargoOnFlightBookingRate1[];
17
+ time_of_availability_utc?: string | null;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightBookingSearchResultSortByEnum = "departure" | "latest_acceptance" | "price";
5
+ export declare const CargoOnFlightBookingSearchResultSortByEnum: {
6
+ readonly Departure: "departure";
7
+ readonly LatestAcceptance: "latest_acceptance";
8
+ readonly Price: "price";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CargoOnFlightBookingSearchResultSortByEnum = void 0;
7
+ exports.CargoOnFlightBookingSearchResultSortByEnum = {
8
+ Departure: "departure",
9
+ LatestAcceptance: "latest_acceptance",
10
+ Price: "price",
11
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightBookingSearchSortByEnum = "created_at_timestamp";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightBookingSortByEnum = "draft_started_at_timestamp";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightBookingStatusEnum1 = "draft" | "requested" | "confirmed" | "rejected" | "failed" | "cancellation_requested" | "cancelled";
5
+ export declare const CargoOnFlightBookingStatusEnum1: {
6
+ readonly Draft: "draft";
7
+ readonly Requested: "requested";
8
+ readonly Confirmed: "confirmed";
9
+ readonly Rejected: "rejected";
10
+ readonly Failed: "failed";
11
+ readonly CancellationRequested: "cancellation_requested";
12
+ readonly Cancelled: "cancelled";
13
+ };
@@ -0,0 +1,15 @@
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.CargoOnFlightBookingStatusEnum1 = void 0;
7
+ exports.CargoOnFlightBookingStatusEnum1 = {
8
+ Draft: "draft",
9
+ Requested: "requested",
10
+ Confirmed: "confirmed",
11
+ Rejected: "rejected",
12
+ Failed: "failed",
13
+ CancellationRequested: "cancellation_requested",
14
+ Cancelled: "cancelled",
15
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightIntegrationEnum1 = "cargoai" | "manual";
5
+ export declare const CargoOnFlightIntegrationEnum1: {
6
+ readonly Cargoai: "cargoai";
7
+ readonly Manual: "manual";
8
+ };
@@ -0,0 +1,10 @@
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.CargoOnFlightIntegrationEnum1 = void 0;
7
+ exports.CargoOnFlightIntegrationEnum1 = {
8
+ Cargoai: "cargoai",
9
+ Manual: "manual",
10
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CargoOnFlightIntegrationsCargoAiWebhookRes {
5
+ message: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CargoOnFlightTaskActionEnum1 = "cargo_on_flight__cargo_received_by_airline" | "cargo_on_flight__cargo_loaded_onto_flight" | "cargo_on_flight__flight_departed" | "cargo_on_flight__flight_arrived" | "cargo_on_flight__cargo_offloaded_from_flight" | "cargo_on_flight__cargo_cleared_customs" | "cargo_on_flight__cargo_ready_for_recovery";
4
+ export type CargoOnFlightTaskActionEnum1 = "cargo_on_flight__cargo_received_by_airline" | "cargo_on_flight__cargo_manifested" | "cargo_on_flight__cargo_loaded_onto_flight" | "cargo_on_flight__flight_departed" | "cargo_on_flight__flight_arrived" | "cargo_on_flight__cargo_offloaded_from_flight" | "cargo_on_flight__cargo_cleared_customs" | "cargo_on_flight__cargo_ready_for_recovery" | "cargo_on_flight__cargo_recovered";
5
5
  export declare const CargoOnFlightTaskActionEnum1: {
6
6
  readonly CargoOnFlightCargoReceivedByAirline: "cargo_on_flight__cargo_received_by_airline";
7
+ readonly CargoOnFlightCargoManifested: "cargo_on_flight__cargo_manifested";
7
8
  readonly CargoOnFlightCargoLoadedOntoFlight: "cargo_on_flight__cargo_loaded_onto_flight";
8
9
  readonly CargoOnFlightFlightDeparted: "cargo_on_flight__flight_departed";
9
10
  readonly CargoOnFlightFlightArrived: "cargo_on_flight__flight_arrived";
10
11
  readonly CargoOnFlightCargoOffloadedFromFlight: "cargo_on_flight__cargo_offloaded_from_flight";
11
12
  readonly CargoOnFlightCargoClearedCustoms: "cargo_on_flight__cargo_cleared_customs";
12
13
  readonly CargoOnFlightCargoReadyForRecovery: "cargo_on_flight__cargo_ready_for_recovery";
14
+ readonly CargoOnFlightCargoRecovered: "cargo_on_flight__cargo_recovered";
13
15
  };
@@ -6,10 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CargoOnFlightTaskActionEnum1 = void 0;
7
7
  exports.CargoOnFlightTaskActionEnum1 = {
8
8
  CargoOnFlightCargoReceivedByAirline: "cargo_on_flight__cargo_received_by_airline",
9
+ CargoOnFlightCargoManifested: "cargo_on_flight__cargo_manifested",
9
10
  CargoOnFlightCargoLoadedOntoFlight: "cargo_on_flight__cargo_loaded_onto_flight",
10
11
  CargoOnFlightFlightDeparted: "cargo_on_flight__flight_departed",
11
12
  CargoOnFlightFlightArrived: "cargo_on_flight__flight_arrived",
12
13
  CargoOnFlightCargoOffloadedFromFlight: "cargo_on_flight__cargo_offloaded_from_flight",
13
14
  CargoOnFlightCargoClearedCustoms: "cargo_on_flight__cargo_cleared_customs",
14
15
  CargoOnFlightCargoReadyForRecovery: "cargo_on_flight__cargo_ready_for_recovery",
16
+ CargoOnFlightCargoRecovered: "cargo_on_flight__cargo_recovered",
15
17
  };
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type FlightLegProvenanceEnum1 = "manual" | "cirium" | "flightaware";
4
+ export type FlightLegProvenanceEnum1 = "manual" | "cirium" | "flightaware" | "cargo_on_flight_booking";
5
5
  export declare const FlightLegProvenanceEnum1: {
6
6
  readonly Manual: "manual";
7
7
  readonly Cirium: "cirium";
8
8
  readonly Flightaware: "flightaware";
9
+ readonly CargoOnFlightBooking: "cargo_on_flight_booking";
9
10
  };
@@ -8,4 +8,5 @@ exports.FlightLegProvenanceEnum1 = {
8
8
  Manual: "manual",
9
9
  Cirium: "cirium",
10
10
  Flightaware: "flightaware",
11
+ CargoOnFlightBooking: "cargo_on_flight_booking",
11
12
  };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface IataCassOffice1 {
5
+ _id: string;
6
+ archived_at_timestamp?: string | null;
7
+ company_name: string;
8
+ contact_email_address: string;
9
+ contact_first_name: string;
10
+ contact_last_name: string;
11
+ country_code: string;
12
+ created_at_timestamp: string;
13
+ iata_cargo_agent_cass_address: string;
14
+ iata_cargo_agent_numeric_code: string;
15
+ name: string;
16
+ /** Must be a string starting with `org_` */
17
+ owned_by_org_id: string;
18
+ /** Must be a string starting with `user_` */
19
+ owned_by_user_id: string;
20
+ schema_version: number;
21
+ updated_at_timestamp: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface IataCassOfficeListRes {
6
+ items: Chrt.IataCassOffice1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type IataCassOfficeSortByEnum = "created_at_timestamp" | "name";
5
+ export declare const IataCassOfficeSortByEnum: {
6
+ readonly CreatedAtTimestamp: "created_at_timestamp";
7
+ readonly Name: "name";
8
+ };
@@ -0,0 +1,10 @@
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.IataCassOfficeSortByEnum = void 0;
7
+ exports.IataCassOfficeSortByEnum = {
8
+ CreatedAtTimestamp: "created_at_timestamp",
9
+ Name: "name",
10
+ };
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Canonical vocabulary for shipping order-event and notification actions.
6
6
  */
7
- export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.updated" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
7
+ export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.cargo_on_flight_booking.draft_started" | "shipping.cargo_on_flight_booking.searched" | "shipping.cargo_on_flight_booking.requested" | "shipping.cargo_on_flight_booking.confirmed" | "shipping.cargo_on_flight_booking.rejected" | "shipping.cargo_on_flight_booking.failed" | "shipping.cargo_on_flight_booking.cancellation_requested" | "shipping.cargo_on_flight_booking.cancelled" | "shipping.cargo_on_flight_booking.updated" | "shipping.cargo_on_flight_booking.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.updated" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
8
8
  export declare const OrderEventActionEnum1: {
9
9
  readonly ShippingOrderDraftStarted: "shipping.order.draft_started";
10
10
  readonly ShippingOrderStaged: "shipping.order.staged";
@@ -59,6 +59,16 @@ export declare const OrderEventActionEnum1: {
59
59
  readonly ShippingCargoUnassociated: "shipping.cargo.unassociated";
60
60
  readonly ShippingCargoUpdated: "shipping.cargo.updated";
61
61
  readonly ShippingCargoDeleted: "shipping.cargo.deleted";
62
+ readonly ShippingCargoOnFlightBookingDraftStarted: "shipping.cargo_on_flight_booking.draft_started";
63
+ readonly ShippingCargoOnFlightBookingSearched: "shipping.cargo_on_flight_booking.searched";
64
+ readonly ShippingCargoOnFlightBookingRequested: "shipping.cargo_on_flight_booking.requested";
65
+ readonly ShippingCargoOnFlightBookingConfirmed: "shipping.cargo_on_flight_booking.confirmed";
66
+ readonly ShippingCargoOnFlightBookingRejected: "shipping.cargo_on_flight_booking.rejected";
67
+ readonly ShippingCargoOnFlightBookingFailed: "shipping.cargo_on_flight_booking.failed";
68
+ readonly ShippingCargoOnFlightBookingCancellationRequested: "shipping.cargo_on_flight_booking.cancellation_requested";
69
+ readonly ShippingCargoOnFlightBookingCancelled: "shipping.cargo_on_flight_booking.cancelled";
70
+ readonly ShippingCargoOnFlightBookingUpdated: "shipping.cargo_on_flight_booking.updated";
71
+ readonly ShippingCargoOnFlightBookingDeleted: "shipping.cargo_on_flight_booking.deleted";
62
72
  readonly ShippingTaskArtifactAdded: "shipping.task_artifact.added";
63
73
  readonly ShippingTaskArtifactCompleted: "shipping.task_artifact.completed";
64
74
  readonly ShippingTaskArtifactUpdated: "shipping.task_artifact.updated";
@@ -58,6 +58,16 @@ exports.OrderEventActionEnum1 = {
58
58
  ShippingCargoUnassociated: "shipping.cargo.unassociated",
59
59
  ShippingCargoUpdated: "shipping.cargo.updated",
60
60
  ShippingCargoDeleted: "shipping.cargo.deleted",
61
+ ShippingCargoOnFlightBookingDraftStarted: "shipping.cargo_on_flight_booking.draft_started",
62
+ ShippingCargoOnFlightBookingSearched: "shipping.cargo_on_flight_booking.searched",
63
+ ShippingCargoOnFlightBookingRequested: "shipping.cargo_on_flight_booking.requested",
64
+ ShippingCargoOnFlightBookingConfirmed: "shipping.cargo_on_flight_booking.confirmed",
65
+ ShippingCargoOnFlightBookingRejected: "shipping.cargo_on_flight_booking.rejected",
66
+ ShippingCargoOnFlightBookingFailed: "shipping.cargo_on_flight_booking.failed",
67
+ ShippingCargoOnFlightBookingCancellationRequested: "shipping.cargo_on_flight_booking.cancellation_requested",
68
+ ShippingCargoOnFlightBookingCancelled: "shipping.cargo_on_flight_booking.cancelled",
69
+ ShippingCargoOnFlightBookingUpdated: "shipping.cargo_on_flight_booking.updated",
70
+ ShippingCargoOnFlightBookingDeleted: "shipping.cargo_on_flight_booking.deleted",
61
71
  ShippingTaskArtifactAdded: "shipping.task_artifact.added",
62
72
  ShippingTaskArtifactCompleted: "shipping.task_artifact.completed",
63
73
  ShippingTaskArtifactUpdated: "shipping.task_artifact.updated",
@@ -5,6 +5,8 @@ import * as Chrt from "../index.js";
5
5
  export interface OrderEventEntity1 {
6
6
  account?: Chrt.Account1 | null;
7
7
  cargo?: Chrt.Cargo1 | null;
8
+ cargo_on_flight_booking?: Chrt.CargoOnFlightBooking1 | null;
9
+ cargo_on_flight_booking_search?: Chrt.CargoOnFlightBookingSearch1 | null;
8
10
  contact?: Chrt.Contact1 | null;
9
11
  modification?: Record<string, unknown> | null;
10
12
  order?: Chrt.Order1 | null;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderEventSystemActorEnum1 = "shipping_state_sync" | "temporal_workflow" | "shipping_integration_sync" | "flight_tracker" | "geofence_tracker" | "order_schedule" | "system_automation";
4
+ export type OrderEventSystemActorEnum1 = "shipping_state_sync" | "temporal_workflow" | "shipping_integration_sync" | "flight_tracker" | "geofence_tracker" | "order_schedule" | "system_automation" | "cargo_on_flight_integration_sync";
5
5
  export declare const OrderEventSystemActorEnum1: {
6
6
  readonly ShippingStateSync: "shipping_state_sync";
7
7
  readonly TemporalWorkflow: "temporal_workflow";
@@ -10,4 +10,5 @@ export declare const OrderEventSystemActorEnum1: {
10
10
  readonly GeofenceTracker: "geofence_tracker";
11
11
  readonly OrderSchedule: "order_schedule";
12
12
  readonly SystemAutomation: "system_automation";
13
+ readonly CargoOnFlightIntegrationSync: "cargo_on_flight_integration_sync";
13
14
  };
@@ -12,4 +12,5 @@ exports.OrderEventSystemActorEnum1 = {
12
12
  GeofenceTracker: "geofence_tracker",
13
13
  OrderSchedule: "order_schedule",
14
14
  SystemAutomation: "system_automation",
15
+ CargoOnFlightIntegrationSync: "cargo_on_flight_integration_sync",
15
16
  };
@@ -13,6 +13,7 @@ export interface OrderTemplateNewCargo1 {
13
13
  length_inches?: number | null;
14
14
  quantity?: number | null;
15
15
  schema_version?: number;
16
+ special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
16
17
  stackable?: boolean | null;
17
18
  turnable?: boolean | null;
18
19
  weight_pounds?: number | null;