btrz-api-client 8.30.0 → 8.31.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 (372) hide show
  1. package/lib/client-standalone-min.js +1 -1
  2. package/lib/endpoints/accounts/application-settings.js +6 -1
  3. package/lib/endpoints/accounts/current-shifts.js +6 -1
  4. package/lib/endpoints/accounts/customers.js +11 -4
  5. package/lib/endpoints/accounts/domains.js +1 -2
  6. package/lib/endpoints/accounts/dynamic-forms.js +17 -5
  7. package/lib/endpoints/accounts/email-settings.js +2 -4
  8. package/lib/endpoints/accounts/email-templates.js +10 -2
  9. package/lib/endpoints/accounts/exchange-rates.js +3 -3
  10. package/lib/endpoints/accounts/exchange-receipts.js +2 -2
  11. package/lib/endpoints/accounts/goal-settings.js +2 -3
  12. package/lib/endpoints/accounts/images.js +2 -4
  13. package/lib/endpoints/accounts/interline.js +5 -8
  14. package/lib/endpoints/accounts/journey-prices-settings.js +2 -2
  15. package/lib/endpoints/accounts/lexicons.js +36 -7
  16. package/lib/endpoints/accounts/market-pricing-settings.js +2 -2
  17. package/lib/endpoints/accounts/multiproduct-sales-settings.js +2 -2
  18. package/lib/endpoints/accounts/network.js +6 -9
  19. package/lib/endpoints/accounts/operation-settings.js +2 -3
  20. package/lib/endpoints/accounts/people-lookups.js +27 -9
  21. package/lib/endpoints/accounts/point-to-point-settings.js +2 -2
  22. package/lib/endpoints/accounts/print-settings.js +2 -3
  23. package/lib/endpoints/accounts/print-templates.js +40 -9
  24. package/lib/endpoints/accounts/printers.js +1 -2
  25. package/lib/endpoints/accounts/rms-settings.js +2 -2
  26. package/lib/endpoints/accounts/s3buckets.js +3 -3
  27. package/lib/endpoints/accounts/salesforce-settings.js +2 -3
  28. package/lib/endpoints/accounts/shift-settings.js +2 -3
  29. package/lib/endpoints/accounts/shifts.js +43 -8
  30. package/lib/endpoints/accounts/sms-templates.js +39 -10
  31. package/lib/endpoints/accounts/sub-print-templates.js +1 -1
  32. package/lib/endpoints/accounts/ticket-movement-settings.js +2 -2
  33. package/lib/endpoints/accounts/tokens.js +10 -3
  34. package/lib/endpoints/accounts/transport-regulation-settings.js +2 -2
  35. package/lib/endpoints/accounts/travellers.js +19 -6
  36. package/lib/endpoints/accounts/trusted-machines.js +11 -3
  37. package/lib/endpoints/accounts/twilio-settings.js +2 -3
  38. package/lib/endpoints/accounts/users.js +12 -8
  39. package/lib/endpoints/accounts/websales-config.js +10 -3
  40. package/lib/endpoints/btrzpay/cardpointe.js +5 -5
  41. package/lib/endpoints/btrzpay/customerCards.js +4 -4
  42. package/lib/endpoints/btrzpay/customers.js +3 -3
  43. package/lib/endpoints/btrzpay/datalogic.js +8 -9
  44. package/lib/endpoints/btrzpay/oxxo.js +5 -13
  45. package/lib/endpoints/btrzpay/payment-methods.js +25 -11
  46. package/lib/endpoints/btrzpay/payments.js +2 -2
  47. package/lib/endpoints/btrzpay/prismaTerminals.js +14 -21
  48. package/lib/endpoints/btrzpay/reference-numbers.js +1 -1
  49. package/lib/endpoints/btrzpay/referenced-payments.js +11 -1
  50. package/lib/endpoints/btrzpay/square.js +2 -2
  51. package/lib/endpoints/btrzpay/stripe-terminals.js +5 -5
  52. package/lib/endpoints/btrzpay/terminalPayments.js +15 -5
  53. package/lib/endpoints/coltrane/merged-fare-tables.js +1 -1
  54. package/lib/endpoints/coltrane/paths.js +9 -6
  55. package/lib/endpoints/gps/scanner-app-location.js +3 -2
  56. package/lib/endpoints/inventory/amenities.js +10 -7
  57. package/lib/endpoints/inventory/amenity-groups.js +11 -7
  58. package/lib/endpoints/inventory/banks.js +5 -11
  59. package/lib/endpoints/inventory/bare-routes.js +12 -4
  60. package/lib/endpoints/inventory/brands.js +10 -6
  61. package/lib/endpoints/inventory/bundle-fares.js +4 -2
  62. package/lib/endpoints/inventory/bundles.js +5 -2
  63. package/lib/endpoints/inventory/change-requests.js +23 -9
  64. package/lib/endpoints/inventory/companies.js +5 -2
  65. package/lib/endpoints/inventory/control-classes.js +34 -4
  66. package/lib/endpoints/inventory/countries.js +8 -3
  67. package/lib/endpoints/inventory/custom-content.js +8 -6
  68. package/lib/endpoints/inventory/custom-fields.js +9 -7
  69. package/lib/endpoints/inventory/document-types.js +8 -11
  70. package/lib/endpoints/inventory/external-passes.js +13 -4
  71. package/lib/endpoints/inventory/external-wallets.js +5 -6
  72. package/lib/endpoints/inventory/fallback-codes.js +11 -4
  73. package/lib/endpoints/inventory/fare-classes.js +6 -4
  74. package/lib/endpoints/inventory/fares.js +13 -7
  75. package/lib/endpoints/inventory/fees.js +8 -4
  76. package/lib/endpoints/inventory/filtered-trips-v2.js +1 -1
  77. package/lib/endpoints/inventory/filtered-trips.js +14 -2
  78. package/lib/endpoints/inventory/financing-costs.js +15 -8
  79. package/lib/endpoints/inventory/garages.js +7 -5
  80. package/lib/endpoints/inventory/getnet-terminals.js +12 -4
  81. package/lib/endpoints/inventory/gift-certificate-definitions.js +10 -11
  82. package/lib/endpoints/inventory/insurances.js +10 -7
  83. package/lib/endpoints/inventory/insurancesCost.js +8 -5
  84. package/lib/endpoints/inventory/items.js +22 -4
  85. package/lib/endpoints/inventory/journey-prices.js +36 -7
  86. package/lib/endpoints/inventory/labels.js +6 -5
  87. package/lib/endpoints/inventory/marital-status.js +8 -11
  88. package/lib/endpoints/inventory/marketplace-modifiers.js +16 -7
  89. package/lib/endpoints/inventory/mit-terminal-settings.js +5 -11
  90. package/lib/endpoints/inventory/mit-terminals.js +5 -11
  91. package/lib/endpoints/inventory/operating-companies.js +13 -10
  92. package/lib/endpoints/inventory/operation-messages.js +16 -7
  93. package/lib/endpoints/inventory/operation-reasons.js +11 -9
  94. package/lib/endpoints/inventory/parcel-zones.js +6 -5
  95. package/lib/endpoints/inventory/pay-on-accounts.js +9 -3
  96. package/lib/endpoints/inventory/payment-terminals.js +5 -11
  97. package/lib/endpoints/inventory/prisma-terminals.js +10 -6
  98. package/lib/endpoints/inventory/products.js +31 -7
  99. package/lib/endpoints/inventory/promos.js +29 -11
  100. package/lib/endpoints/inventory/routes.js +50 -31
  101. package/lib/endpoints/inventory/schedule-groups.js +7 -7
  102. package/lib/endpoints/inventory/schedules.js +24 -11
  103. package/lib/endpoints/inventory/seatclasses.js +5 -15
  104. package/lib/endpoints/inventory/seatfees.js +9 -6
  105. package/lib/endpoints/inventory/seatmaps.js +37 -10
  106. package/lib/endpoints/inventory/segments-information-tables.js +5 -4
  107. package/lib/endpoints/inventory/segments-information.js +4 -2
  108. package/lib/endpoints/inventory/service-numbers.js +9 -6
  109. package/lib/endpoints/inventory/service-types.js +5 -11
  110. package/lib/endpoints/inventory/ssrs.js +11 -3
  111. package/lib/endpoints/inventory/station-classes.js +12 -6
  112. package/lib/endpoints/inventory/station-groups.js +4 -3
  113. package/lib/endpoints/inventory/stations-provinces.js +1 -7
  114. package/lib/endpoints/inventory/stations-zones.js +3 -2
  115. package/lib/endpoints/inventory/stations.js +23 -5
  116. package/lib/endpoints/inventory/taxes.js +5 -6
  117. package/lib/endpoints/inventory/travel-routes.js +6 -4
  118. package/lib/endpoints/inventory/traveller-card-providers-types.js +1 -7
  119. package/lib/endpoints/inventory/traveller-card-providers.js +3 -9
  120. package/lib/endpoints/inventory/traveller-card-types.js +7 -6
  121. package/lib/endpoints/inventory/trips.js +2 -8
  122. package/lib/endpoints/inventory/vehicle-types.js +0 -1
  123. package/lib/endpoints/inventory/vehicles.js +17 -2
  124. package/lib/endpoints/inventory/zone-price-overages.js +4 -10
  125. package/lib/endpoints/inventory/zone-prices.js +12 -7
  126. package/lib/endpoints/invoices/dlink.js +3 -2
  127. package/lib/endpoints/invoices/emails.js +1 -7
  128. package/lib/endpoints/invoices/gti.js +2 -2
  129. package/lib/endpoints/invoices/infile.js +2 -2
  130. package/lib/endpoints/invoices/infileJson.js +2 -2
  131. package/lib/endpoints/invoices/invoices.js +14 -10
  132. package/lib/endpoints/invoices/pdfs.js +4 -3
  133. package/lib/endpoints/invoices/providers.js +12 -11
  134. package/lib/endpoints/invoices/providersSequences.js +5 -15
  135. package/lib/endpoints/invoices/system.js +2 -2
  136. package/lib/endpoints/invoices/tax-ids.js +1 -1
  137. package/lib/endpoints/notifications/customers.js +25 -5
  138. package/lib/endpoints/notifications/email.js +8 -3
  139. package/lib/endpoints/notifications/manifest-notifications.js +4 -3
  140. package/lib/endpoints/notifications/notify.js +20 -5
  141. package/lib/endpoints/notifications/orders-rules-validations.js +2 -8
  142. package/lib/endpoints/notifications/pdf-data.js +2 -1
  143. package/lib/endpoints/notifications/pdfs.js +2 -1
  144. package/lib/endpoints/notifications/printed-tickets.js +17 -6
  145. package/lib/endpoints/notifications/twilio.js +1 -7
  146. package/lib/endpoints/operations/accounting_items.js +9 -4
  147. package/lib/endpoints/operations/applied_insurance.js +8 -3
  148. package/lib/endpoints/operations/calendar_entries.js +7 -3
  149. package/lib/endpoints/operations/external-bookings.js +2 -8
  150. package/lib/endpoints/operations/flexpasses.js +1 -1
  151. package/lib/endpoints/operations/loans.js +10 -4
  152. package/lib/endpoints/operations/manifest.js +83 -33
  153. package/lib/endpoints/operations/manifest_leg_for_tickets.js +1 -2
  154. package/lib/endpoints/operations/movements.js +1 -7
  155. package/lib/endpoints/operations/outlook-trips.js +13 -3
  156. package/lib/endpoints/operations/parcels.js +20 -6
  157. package/lib/endpoints/operations/parcels_manifests.js +6 -16
  158. package/lib/endpoints/operations/passenger_check_in_info.js +3 -10
  159. package/lib/endpoints/operations/redemption.js +4 -4
  160. package/lib/endpoints/operations/rms.js +33 -6
  161. package/lib/endpoints/operations/scheduled_notifications.js +4 -11
  162. package/lib/endpoints/operations/segments.js +2 -2
  163. package/lib/endpoints/operations/sold-items-fulfillment.js +4 -3
  164. package/lib/endpoints/operations/sold-items.js +13 -4
  165. package/lib/endpoints/operations/tickets.js +4 -4
  166. package/lib/endpoints/operations/transaction.js +1 -1
  167. package/lib/endpoints/operations/transactions.js +6 -14
  168. package/lib/endpoints/operations/transport_regulations.js +1 -1
  169. package/lib/endpoints/operations/trip_change_info.js +13 -1
  170. package/lib/endpoints/operations/vehicle_assignments.js +10 -5
  171. package/lib/endpoints/operations/vouchers.js +2 -9
  172. package/lib/endpoints/operations/waitlists.js +2 -2
  173. package/lib/endpoints/sales/bundles.js +4 -2
  174. package/lib/endpoints/sales/cancellations.js +2 -2
  175. package/lib/endpoints/sales/cart-promo.js +2 -9
  176. package/lib/endpoints/sales/cart.js +30 -17
  177. package/lib/endpoints/sales/check-in-info.js +1 -7
  178. package/lib/endpoints/sales/custom-fields.js +4 -3
  179. package/lib/endpoints/sales/flexpasses.js +1 -7
  180. package/lib/endpoints/sales/gift-certificates.js +4 -2
  181. package/lib/endpoints/sales/order.js +6 -4
  182. package/lib/endpoints/sales/parcel-quotes.js +1 -1
  183. package/lib/endpoints/sales/payment-providers.js +6 -3
  184. package/lib/endpoints/sales/redeemable-items.js +16 -5
  185. package/lib/endpoints/sales/sync-entry.js +1 -1
  186. package/lib/endpoints/sales/voucher.js +1 -1
  187. package/package.json +1 -1
  188. package/src/endpoints/accounts/application-settings.js +6 -1
  189. package/src/endpoints/accounts/current-shifts.js +6 -1
  190. package/src/endpoints/accounts/customers.js +11 -4
  191. package/src/endpoints/accounts/domains.js +1 -2
  192. package/src/endpoints/accounts/dynamic-forms.js +17 -5
  193. package/src/endpoints/accounts/email-settings.js +2 -4
  194. package/src/endpoints/accounts/email-templates.js +10 -2
  195. package/src/endpoints/accounts/exchange-rates.js +3 -3
  196. package/src/endpoints/accounts/exchange-receipts.js +2 -2
  197. package/src/endpoints/accounts/goal-settings.js +2 -3
  198. package/src/endpoints/accounts/images.js +2 -4
  199. package/src/endpoints/accounts/interline.js +5 -8
  200. package/src/endpoints/accounts/journey-prices-settings.js +2 -2
  201. package/src/endpoints/accounts/lexicons.js +36 -7
  202. package/src/endpoints/accounts/market-pricing-settings.js +2 -2
  203. package/src/endpoints/accounts/multiproduct-sales-settings.js +2 -2
  204. package/src/endpoints/accounts/network.js +6 -9
  205. package/src/endpoints/accounts/operation-settings.js +2 -3
  206. package/src/endpoints/accounts/people-lookups.js +27 -9
  207. package/src/endpoints/accounts/point-to-point-settings.js +2 -2
  208. package/src/endpoints/accounts/print-settings.js +2 -3
  209. package/src/endpoints/accounts/print-templates.js +40 -9
  210. package/src/endpoints/accounts/printers.js +1 -2
  211. package/src/endpoints/accounts/rms-settings.js +2 -2
  212. package/src/endpoints/accounts/s3buckets.js +3 -3
  213. package/src/endpoints/accounts/salesforce-settings.js +2 -3
  214. package/src/endpoints/accounts/shift-settings.js +2 -3
  215. package/src/endpoints/accounts/shifts.js +43 -8
  216. package/src/endpoints/accounts/sms-templates.js +39 -10
  217. package/src/endpoints/accounts/sub-print-templates.js +1 -1
  218. package/src/endpoints/accounts/ticket-movement-settings.js +2 -2
  219. package/src/endpoints/accounts/tokens.js +10 -3
  220. package/src/endpoints/accounts/transport-regulation-settings.js +2 -2
  221. package/src/endpoints/accounts/travellers.js +19 -6
  222. package/src/endpoints/accounts/trusted-machines.js +11 -3
  223. package/src/endpoints/accounts/twilio-settings.js +2 -3
  224. package/src/endpoints/accounts/users.js +12 -8
  225. package/src/endpoints/accounts/websales-config.js +10 -3
  226. package/src/endpoints/btrzpay/cardpointe.js +5 -5
  227. package/src/endpoints/btrzpay/customerCards.js +4 -4
  228. package/src/endpoints/btrzpay/customers.js +3 -3
  229. package/src/endpoints/btrzpay/datalogic.js +8 -9
  230. package/src/endpoints/btrzpay/oxxo.js +5 -13
  231. package/src/endpoints/btrzpay/payment-methods.js +25 -11
  232. package/src/endpoints/btrzpay/payments.js +2 -2
  233. package/src/endpoints/btrzpay/prismaTerminals.js +14 -21
  234. package/src/endpoints/btrzpay/reference-numbers.js +1 -1
  235. package/src/endpoints/btrzpay/referenced-payments.js +10 -2
  236. package/src/endpoints/btrzpay/square.js +2 -2
  237. package/src/endpoints/btrzpay/stripe-terminals.js +5 -5
  238. package/src/endpoints/btrzpay/terminalPayments.js +15 -5
  239. package/src/endpoints/coltrane/merged-fare-tables.js +1 -1
  240. package/src/endpoints/coltrane/paths.js +9 -6
  241. package/src/endpoints/gps/scanner-app-location.js +3 -2
  242. package/src/endpoints/inventory/amenities.js +10 -7
  243. package/src/endpoints/inventory/amenity-groups.js +11 -7
  244. package/src/endpoints/inventory/banks.js +5 -11
  245. package/src/endpoints/inventory/bare-routes.js +12 -4
  246. package/src/endpoints/inventory/brands.js +10 -6
  247. package/src/endpoints/inventory/bundle-fares.js +4 -2
  248. package/src/endpoints/inventory/bundles.js +5 -2
  249. package/src/endpoints/inventory/change-requests.js +23 -9
  250. package/src/endpoints/inventory/companies.js +5 -2
  251. package/src/endpoints/inventory/control-classes.js +34 -4
  252. package/src/endpoints/inventory/countries.js +8 -3
  253. package/src/endpoints/inventory/custom-content.js +8 -6
  254. package/src/endpoints/inventory/custom-fields.js +9 -7
  255. package/src/endpoints/inventory/document-types.js +8 -11
  256. package/src/endpoints/inventory/external-passes.js +13 -4
  257. package/src/endpoints/inventory/external-wallets.js +5 -6
  258. package/src/endpoints/inventory/fallback-codes.js +11 -4
  259. package/src/endpoints/inventory/fare-classes.js +6 -4
  260. package/src/endpoints/inventory/fares.js +13 -7
  261. package/src/endpoints/inventory/fees.js +8 -4
  262. package/src/endpoints/inventory/filtered-trips-v2.js +1 -1
  263. package/src/endpoints/inventory/filtered-trips.js +14 -2
  264. package/src/endpoints/inventory/financing-costs.js +15 -8
  265. package/src/endpoints/inventory/garages.js +7 -5
  266. package/src/endpoints/inventory/getnet-terminals.js +12 -4
  267. package/src/endpoints/inventory/gift-certificate-definitions.js +10 -11
  268. package/src/endpoints/inventory/insurances.js +10 -7
  269. package/src/endpoints/inventory/insurancesCost.js +8 -5
  270. package/src/endpoints/inventory/items.js +22 -4
  271. package/src/endpoints/inventory/journey-prices.js +36 -7
  272. package/src/endpoints/inventory/labels.js +6 -5
  273. package/src/endpoints/inventory/marital-status.js +8 -11
  274. package/src/endpoints/inventory/marketplace-modifiers.js +16 -7
  275. package/src/endpoints/inventory/mit-terminal-settings.js +5 -11
  276. package/src/endpoints/inventory/mit-terminals.js +5 -11
  277. package/src/endpoints/inventory/operating-companies.js +13 -10
  278. package/src/endpoints/inventory/operation-messages.js +16 -7
  279. package/src/endpoints/inventory/operation-reasons.js +11 -9
  280. package/src/endpoints/inventory/parcel-zones.js +6 -5
  281. package/src/endpoints/inventory/pay-on-accounts.js +9 -3
  282. package/src/endpoints/inventory/payment-terminals.js +5 -11
  283. package/src/endpoints/inventory/prisma-terminals.js +10 -6
  284. package/src/endpoints/inventory/products.js +31 -7
  285. package/src/endpoints/inventory/promos.js +29 -11
  286. package/src/endpoints/inventory/routes.js +50 -31
  287. package/src/endpoints/inventory/schedule-groups.js +7 -7
  288. package/src/endpoints/inventory/schedules.js +24 -11
  289. package/src/endpoints/inventory/seatclasses.js +5 -15
  290. package/src/endpoints/inventory/seatfees.js +9 -6
  291. package/src/endpoints/inventory/seatmaps.js +37 -10
  292. package/src/endpoints/inventory/segments-information-tables.js +5 -4
  293. package/src/endpoints/inventory/segments-information.js +4 -2
  294. package/src/endpoints/inventory/service-numbers.js +9 -6
  295. package/src/endpoints/inventory/service-types.js +5 -11
  296. package/src/endpoints/inventory/ssrs.js +11 -3
  297. package/src/endpoints/inventory/station-classes.js +12 -6
  298. package/src/endpoints/inventory/station-groups.js +4 -3
  299. package/src/endpoints/inventory/stations-provinces.js +1 -7
  300. package/src/endpoints/inventory/stations-zones.js +3 -2
  301. package/src/endpoints/inventory/stations.js +23 -5
  302. package/src/endpoints/inventory/taxes.js +5 -6
  303. package/src/endpoints/inventory/travel-routes.js +6 -4
  304. package/src/endpoints/inventory/traveller-card-providers-types.js +1 -7
  305. package/src/endpoints/inventory/traveller-card-providers.js +3 -9
  306. package/src/endpoints/inventory/traveller-card-types.js +7 -6
  307. package/src/endpoints/inventory/trips.js +2 -8
  308. package/src/endpoints/inventory/vehicle-types.js +0 -1
  309. package/src/endpoints/inventory/vehicles.js +17 -2
  310. package/src/endpoints/inventory/zone-price-overages.js +4 -10
  311. package/src/endpoints/inventory/zone-prices.js +12 -7
  312. package/src/endpoints/invoices/dlink.js +3 -2
  313. package/src/endpoints/invoices/emails.js +1 -7
  314. package/src/endpoints/invoices/gti.js +2 -2
  315. package/src/endpoints/invoices/infile.js +2 -2
  316. package/src/endpoints/invoices/infileJson.js +2 -2
  317. package/src/endpoints/invoices/invoices.js +14 -10
  318. package/src/endpoints/invoices/pdfs.js +4 -3
  319. package/src/endpoints/invoices/providers.js +12 -11
  320. package/src/endpoints/invoices/providersSequences.js +5 -15
  321. package/src/endpoints/invoices/system.js +2 -2
  322. package/src/endpoints/invoices/tax-ids.js +1 -1
  323. package/src/endpoints/notifications/customers.js +25 -5
  324. package/src/endpoints/notifications/email.js +8 -3
  325. package/src/endpoints/notifications/manifest-notifications.js +4 -3
  326. package/src/endpoints/notifications/notify.js +20 -5
  327. package/src/endpoints/notifications/orders-rules-validations.js +2 -8
  328. package/src/endpoints/notifications/pdf-data.js +2 -1
  329. package/src/endpoints/notifications/pdfs.js +2 -1
  330. package/src/endpoints/notifications/printed-tickets.js +17 -7
  331. package/src/endpoints/notifications/twilio.js +1 -7
  332. package/src/endpoints/operations/accounting_items.js +9 -4
  333. package/src/endpoints/operations/applied_insurance.js +9 -2
  334. package/src/endpoints/operations/calendar_entries.js +7 -3
  335. package/src/endpoints/operations/external-bookings.js +2 -8
  336. package/src/endpoints/operations/flexpasses.js +1 -1
  337. package/src/endpoints/operations/loans.js +10 -4
  338. package/src/endpoints/operations/manifest.js +83 -33
  339. package/src/endpoints/operations/manifest_leg_for_tickets.js +1 -2
  340. package/src/endpoints/operations/movements.js +1 -7
  341. package/src/endpoints/operations/outlook-trips.js +13 -3
  342. package/src/endpoints/operations/parcels.js +20 -6
  343. package/src/endpoints/operations/parcels_manifests.js +6 -16
  344. package/src/endpoints/operations/passenger_check_in_info.js +3 -10
  345. package/src/endpoints/operations/redemption.js +4 -4
  346. package/src/endpoints/operations/rms.js +33 -6
  347. package/src/endpoints/operations/scheduled_notifications.js +4 -11
  348. package/src/endpoints/operations/segments.js +2 -2
  349. package/src/endpoints/operations/sold-items-fulfillment.js +4 -3
  350. package/src/endpoints/operations/sold-items.js +13 -4
  351. package/src/endpoints/operations/tickets.js +4 -4
  352. package/src/endpoints/operations/transaction.js +1 -1
  353. package/src/endpoints/operations/transactions.js +6 -14
  354. package/src/endpoints/operations/transport_regulations.js +1 -1
  355. package/src/endpoints/operations/trip_change_info.js +13 -1
  356. package/src/endpoints/operations/vehicle_assignments.js +10 -5
  357. package/src/endpoints/operations/vouchers.js +2 -9
  358. package/src/endpoints/operations/waitlists.js +2 -2
  359. package/src/endpoints/sales/bundles.js +4 -2
  360. package/src/endpoints/sales/cancellations.js +2 -2
  361. package/src/endpoints/sales/cart-promo.js +2 -9
  362. package/src/endpoints/sales/cart.js +30 -17
  363. package/src/endpoints/sales/check-in-info.js +1 -7
  364. package/src/endpoints/sales/custom-fields.js +4 -3
  365. package/src/endpoints/sales/flexpasses.js +1 -7
  366. package/src/endpoints/sales/gift-certificates.js +4 -2
  367. package/src/endpoints/sales/order.js +6 -4
  368. package/src/endpoints/sales/parcel-quotes.js +1 -1
  369. package/src/endpoints/sales/payment-providers.js +6 -3
  370. package/src/endpoints/sales/redeemable-items.js +16 -5
  371. package/src/endpoints/sales/sync-entry.js +1 -1
  372. package/src/endpoints/sales/voucher.js +1 -1
@@ -7,8 +7,75 @@ var _require = require("./../endpoints_helpers.js"),
7
7
  authorizationHeaders = _require.authorizationHeaders;
8
8
 
9
9
  /**
10
- * @typedef {Object} ManifestQuery
11
- * @property {string} [providerId] - Provider account ID
10
+ * Query params for GET /manifests (btrz-api-operations). See get-manifests getSpec().
11
+ * @typedef {Object} ManifestsListQuery
12
+ * @property {string} [providerIds] - Provider IDs of the manifests
13
+ * @property {string} [routeIds] - Route IDs
14
+ * @property {string} [scheduleIds] - Schedule IDs
15
+ * @property {string} [date] - Date (yyyy-mm-dd)
16
+ * @property {string} [dateFrom] - Start date range (yyyy-mm-dd)
17
+ * @property {string} [dateTo] - End date range (yyyy-mm-dd)
18
+ * @property {string} [seatmapId] - Seatmap ID
19
+ * @property {string} [vehicleId] - Vehicle ID
20
+ * @property {string} [assignedUserId] - Assigned user ID
21
+ * @property {boolean} [dispatched] - If manifest was dispatched
22
+ * @property {boolean} [reviewed] - If manifest was reviewed
23
+ * @property {string} [sendToSAP] - If manifest should be sent to SAP
24
+ * @property {string} [operatingCompanyId] - Operating company ID
25
+ * @property {number} [vehicleFrom] - First vehicle id (range)
26
+ * @property {number} [vehicleTo] - Last vehicle id (range)
27
+ * @property {string} [dispatchedStatus] - Filter by dispatched status
28
+ * @property {boolean} [manifestOnly] - If only manifest (no ticket info)
29
+ * @property {string} [status] - Comma-separated manifest statuses
30
+ */
31
+
32
+ /**
33
+ * Query params for PUT /manifests (btrz-api-operations). See put-manifest getSpec().
34
+ * @typedef {Object} ManifestSaveQuery
35
+ * @property {string} providerId - Provider ID (required)
36
+ * @property {string} [manifestId] - Manifest ID to update (omit to create)
37
+ * @property {boolean} [bypassBusValidation] - Bypass bus validation
38
+ */
39
+
40
+ /**
41
+ * Query params for PATCH /manifests (btrz-api-operations). See patch-manifest getSpec().
42
+ * @typedef {Object} ManifestPatchQuery
43
+ * @property {string} providerId - Provider ID (required)
44
+ * @property {string} [routeId] - Route ID for update_schedule
45
+ * @property {string} [scheduleId] - New schedule ID for update_schedule
46
+ * @property {string} [oldScheduleId] - Old schedule ID for update_schedule
47
+ * @property {string} [accommodateOnAnySeat] - "true" to assign missing seats to any available
48
+ * @property {string} [newdesign] - "true" when using new seatmap design
49
+ */
50
+
51
+ /**
52
+ * Query params for GET /outlook-manifests (btrz-api-operations). See get-outlook-manifests getSpec().
53
+ * @typedef {Object} OutlookManifestsListQuery
54
+ * @property {string} providerId - Provider ID (required)
55
+ * @property {string} productId - Product ID (required)
56
+ * @property {string} from - Start date (required, yyyy-mm-dd)
57
+ * @property {string} to - End date (required, yyyy-mm-dd, max 1 month range)
58
+ * @property {string} [scheduleName] - Schedule name filter
59
+ * @property {string} [loadFactorFrom] - Min load factor
60
+ * @property {string} [loadFactorTo] - Max load factor
61
+ * @property {string} [timeFrom] - Min time filter
62
+ * @property {string} [timeTo] - Max time filter
63
+ * @property {string} [originId] - Origin station id
64
+ * @property {string} [destinationId] - Destination station id
65
+ * @property {string} [amenityGroupId] - Amenity group id
66
+ * @property {string} [userId] - Only manifests with this user assigned
67
+ * @property {string} [withAssignedUsers] - Filter by assigned users (true/false)
68
+ * @property {string} [status] - Comma-separated statuses (published, paused, planned, canceled)
69
+ * @property {boolean} [isExtraRun] - Only extra run trips
70
+ * @property {boolean} [minimalPayload] - Minimal data for five day outlook
71
+ * @property {string} [labelId] - Label id filter
72
+ * @property {boolean} [dispatched] - Only dispatched manifests
73
+ */
74
+
75
+ /**
76
+ * Query params for PUT /manifests/:manifestKey/driver-relays (btrz-api-operations). See put-driver-relays-handler getSpec().
77
+ * @typedef {Object} ManifestDriverRelaysQuery
78
+ * @property {boolean} [bypassValidations] - If true, bypass driver validations
12
79
  */
13
80
 
14
81
  /**
@@ -73,14 +140,13 @@ function manifestFactory(_ref) {
73
140
  }
74
141
 
75
142
  /**
76
- * POST manifests/:manifestId/dispatches - dispatch manifest.
143
+ * POST manifests/:manifestId/dispatches - dispatch manifest. API does not accept query params.
77
144
  * @param {Object} opts
78
145
  * @param {string} [opts.token] - API key
79
146
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
80
147
  * @param {Object} [opts.headers] - Optional headers
81
148
  * @param {string} opts.manifestId - Manifest id
82
149
  * @param {Object} opts.data - Request body
83
- * @param {ManifestQuery} [opts.query] - Query params
84
150
  * @returns {Promise<import("axios").AxiosResponse>}
85
151
  */
86
152
  function dispatch(_ref4) {
@@ -105,7 +171,7 @@ function manifestFactory(_ref) {
105
171
  * @param {Object} opts
106
172
  * @param {string} [opts.token] - API key
107
173
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
108
- * @param {ManifestQuery} [opts.query] - Query params
174
+ * @param {ManifestsListQuery} [opts.query] - Query params (all optional)
109
175
  * @param {Object} [opts.headers] - Optional headers
110
176
  * @returns {Promise<import("axios").AxiosResponse>}
111
177
  */
@@ -125,12 +191,11 @@ function manifestFactory(_ref) {
125
191
  }
126
192
 
127
193
  /**
128
- * GET /manifests/:manifestId - get manifest by id.
194
+ * GET /manifests/:manifestId - get manifest by id. API does not accept query params.
129
195
  * @param {Object} opts
130
196
  * @param {string} [opts.token] - API key
131
197
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
132
198
  * @param {string} opts.manifestId - Manifest id
133
- * @param {ManifestQuery} [opts.query] - Query params
134
199
  * @param {Object} [opts.headers] - Optional headers
135
200
  * @returns {Promise<import("axios").AxiosResponse>}
136
201
  */
@@ -207,7 +272,7 @@ function manifestFactory(_ref) {
207
272
  * @param {Object} opts
208
273
  * @param {string} [opts.token] - API key
209
274
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
210
- * @param {ManifestQuery} [opts.query] - Query params
275
+ * @param {OutlookManifestsListQuery} [opts.query] - Query params (providerId, productId, from, to required)
211
276
  * @param {Object} [opts.headers] - Optional headers
212
277
  * @returns {Promise<import("axios").AxiosResponse>}
213
278
  */
@@ -233,7 +298,7 @@ function manifestFactory(_ref) {
233
298
  * @param {Object} opts
234
299
  * @param {string} [opts.token] - API key
235
300
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
236
- * @param {ManifestQuery} [opts.query] - Query params
301
+ * @param {ManifestPatchQuery} [opts.query] - Query params (providerId required)
237
302
  * @param {Object} opts.operations - JSON Patch operations
238
303
  * @param {Object} [opts.headers] - Optional headers
239
304
  * @returns {Promise<import("axios").AxiosResponse>}
@@ -262,10 +327,10 @@ function manifestFactory(_ref) {
262
327
  * @param {Object} opts
263
328
  * @param {string} [opts.token] - API key
264
329
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
265
- * @param {string} [opts.providerId] - Provider id
330
+ * @param {string} [opts.providerId] - Provider id (required by API as query)
266
331
  * @param {Object} opts.data - Request body
267
332
  * @param {Object} [opts.headers] - Optional headers
268
- * @param {ManifestQuery} [opts.query] - Query params
333
+ * @param {ManifestSaveQuery} [opts.query] - Query params (providerId required; manifestId, bypassBusValidation optional)
269
334
  * @returns {Promise<import("axios").AxiosResponse>}
270
335
  */
271
336
  function save(_ref11) {
@@ -292,8 +357,7 @@ function manifestFactory(_ref) {
292
357
  * @param {string} [opts.token] - API key
293
358
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
294
359
  * @param {string} opts.manifestId - Manifest id
295
- * @param {ManifestQuery} [opts.query] - Query params
296
- * @param {Object} opts.data - Request body
360
+ * @param {Object} opts.data - Request body
297
361
  * @param {Object} [opts.headers] - Optional headers
298
362
  * @returns {Promise<import("axios").AxiosResponse>}
299
363
  */
@@ -349,8 +413,7 @@ function manifestFactory(_ref) {
349
413
  * @param {string} [opts.token] - API key
350
414
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
351
415
  * @param {string} opts.manifestId - Manifest id
352
- * @param {ManifestQuery} [opts.query] - Query params
353
- * @param {Object} opts.data - Request body
416
+ * @param {Object} opts.data - Request body
354
417
  * @param {Object} [opts.headers] - Optional headers
355
418
  * @returns {Promise<import("axios").AxiosResponse>}
356
419
  */
@@ -406,8 +469,7 @@ function manifestFactory(_ref) {
406
469
  * @param {string} [opts.token] - API key
407
470
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
408
471
  * @param {string} opts.manifestId - Manifest id
409
- * @param {ManifestQuery} [opts.query] - Query params
410
- * @param {Object} opts.data - Request body
472
+ * @param {Object} opts.data - Request body
411
473
  * @param {Object} [opts.headers] - Optional headers
412
474
  * @returns {Promise<import("axios").AxiosResponse>}
413
475
  */
@@ -437,8 +499,7 @@ function manifestFactory(_ref) {
437
499
  * @param {string} [opts.token] - API key
438
500
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
439
501
  * @param {string} opts.manifestId - Manifest id
440
- * @param {ManifestQuery} [opts.query] - Query params
441
- * @param {Object} opts.data - Request body
502
+ * @param {Object} opts.data - Request body
442
503
  * @param {Object} [opts.headers] - Optional headers
443
504
  * @returns {Promise<import("axios").AxiosResponse>}
444
505
  */
@@ -468,7 +529,6 @@ function manifestFactory(_ref) {
468
529
  * @param {string} [opts.token] - API key
469
530
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
470
531
  * @param {string} opts.manifestKey - Manifest key
471
- * @param {ManifestQuery} [opts.query] - Query params
472
532
  * @param {Object} [opts.headers] - Optional headers
473
533
  * @returns {Promise<import("axios").AxiosResponse>}
474
534
  */
@@ -497,7 +557,6 @@ function manifestFactory(_ref) {
497
557
  * @param {Object} opts
498
558
  * @param {string} [opts.token] - API key
499
559
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
500
- * @param {ManifestQuery} [opts.query] - Query params
501
560
  * @param {Object} [opts.headers] - Optional headers
502
561
  * @param {Object} opts.data - Request body
503
562
  * @param {string} opts.manifestId - Manifest id
@@ -530,7 +589,6 @@ function manifestFactory(_ref) {
530
589
  * @param {Object} opts
531
590
  * @param {string} [opts.token] - API key
532
591
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
533
- * @param {ManifestQuery} [opts.query] - Query params
534
592
  * @param {Object} [opts.headers] - Optional headers
535
593
  * @param {string} opts.manifestId - Manifest id
536
594
  * @param {string} opts.legFromId - Leg from id
@@ -565,7 +623,6 @@ function manifestFactory(_ref) {
565
623
  * @param {Object} opts
566
624
  * @param {string} [opts.token] - API key
567
625
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
568
- * @param {ManifestQuery} [opts.query] - Query params
569
626
  * @param {Object} [opts.headers] - Optional headers
570
627
  * @param {string} opts.manifestId - Manifest id
571
628
  * @param {string} opts.legFromId - Leg from id
@@ -604,7 +661,6 @@ function manifestFactory(_ref) {
604
661
  * @param {string} [opts.token] - API key
605
662
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
606
663
  * @param {Object} opts.data - Request body
607
- * @param {ManifestQuery} [opts.query] - Query params
608
664
  * @param {Object} [opts.headers] - Optional headers
609
665
  * @param {string} opts.manifestId - Manifest id
610
666
  * @param {string} opts.legFromId - Leg from id
@@ -636,8 +692,7 @@ function manifestFactory(_ref) {
636
692
  * @param {string} [opts.token] - API key
637
693
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
638
694
  * @param {Object} opts.data - Request body
639
- * @param {ManifestQuery} [opts.query] - Query params
640
- * @param {Object} [opts.headers] - Optional headers
695
+ * @param {Object} [opts.headers] - Optional headers
641
696
  * @param {string} opts.manifestId - Manifest id
642
697
  * @param {string} opts.legFromId - Leg from id
643
698
  * @param {string} opts.ticketId - Ticket id
@@ -668,8 +723,7 @@ function manifestFactory(_ref) {
668
723
  * @param {Object} opts
669
724
  * @param {string} [opts.token] - API key
670
725
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
671
- * @param {ManifestQuery} [opts.query] - Query params
672
- * @param {Object} [opts.headers] - Optional headers
726
+ * @param {Object} [opts.headers] - Optional headers
673
727
  * @param {string} opts.manifestId - Manifest id
674
728
  * @param {string} opts.legFromId - Leg from id
675
729
  * @param {string} opts.ticketId - Ticket id
@@ -701,7 +755,6 @@ function manifestFactory(_ref) {
701
755
  * @param {Object} opts
702
756
  * @param {string} [opts.token] - API key
703
757
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
704
- * @param {ManifestQuery} [opts.query] - Query params
705
758
  * @param {string} [opts.responseType] - Response type (e.g. "json")
706
759
  * @param {string} opts.id - Manifest id
707
760
  * @param {Object} [opts.headers] - Optional headers
@@ -734,7 +787,6 @@ function manifestFactory(_ref) {
734
787
  * @param {string} [opts.token] - API key
735
788
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
736
789
  * @param {string} opts.manifestId - Manifest id
737
- * @param {ManifestQuery} [opts.query] - Query params
738
790
  * @param {Object} [opts.headers] - Optional headers
739
791
  * @param {Object} opts.data - Request body
740
792
  * @returns {Promise<import("axios").AxiosResponse>}
@@ -789,7 +841,6 @@ function manifestFactory(_ref) {
789
841
  * @param {string} [opts.token] - API key
790
842
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
791
843
  * @param {string} opts.manifestId - Manifest id
792
- * @param {ManifestQuery} [opts.query] - Query params
793
844
  * @param {Object} [opts.headers] - Optional headers
794
845
  * @returns {Promise<import("axios").AxiosResponse>}
795
846
  */
@@ -817,7 +868,7 @@ function manifestFactory(_ref) {
817
868
  * @param {string} [opts.token] - API key
818
869
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
819
870
  * @param {string} opts.manifestId - Manifest id
820
- * @param {ManifestQuery} [opts.query] - Query params
871
+ * @param {ManifestDriverRelaysQuery} [opts.query] - Query params (bypassValidations optional)
821
872
  * @param {Object} [opts.headers] - Optional headers
822
873
  * @param {Object} opts.data - Request body
823
874
  * @returns {Promise<import("axios").AxiosResponse>}
@@ -850,7 +901,6 @@ function manifestFactory(_ref) {
850
901
  * @param {string} opts.manifestKey - Manifest key
851
902
  * @param {Object} opts.manifestException - Manifest exception payload
852
903
  * @param {Object} [opts.headers] - Optional headers
853
- * @param {ManifestQuery} [opts.query] - Query params
854
904
  * @returns {Promise<import("axios").AxiosResponse>}
855
905
  */
856
906
  update: function update(_ref30) {
@@ -17,12 +17,11 @@ function manifestLegForTicketsFactory(_ref) {
17
17
  internalAuthTokenProvider = _ref.internalAuthTokenProvider;
18
18
 
19
19
  /**
20
- * GET /manifest-leg-for-tickets/:ticketId - get manifest leg for ticket.
20
+ * GET /manifest-leg-for-tickets/:ticketId - get manifest leg for ticket. API does not accept query params.
21
21
  * @param {Object} opts
22
22
  * @param {string} [opts.token] - API key
23
23
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
24
24
  * @param {string} opts.ticketId - Ticket id
25
- * @param {Object} [opts.params] - Query params (forwarded to API)
26
25
  * @param {Object} [opts.headers] - Optional headers
27
26
  * @returns {Promise<import("axios").AxiosResponse>}
28
27
  */
@@ -3,11 +3,6 @@
3
3
  var _require = require("./../endpoints_helpers.js"),
4
4
  authorizationHeaders = _require.authorizationHeaders;
5
5
 
6
- /**
7
- * @typedef {Object} MovementsQuery
8
- * @property {string} [providerId] - Provider account ID
9
- */
10
-
11
6
  /**
12
7
  * Factory for movements API (btrz-api-operations).
13
8
  * @param {Object} deps
@@ -22,12 +17,11 @@ function movementsFactory(_ref) {
22
17
  internalAuthTokenProvider = _ref.internalAuthTokenProvider;
23
18
 
24
19
  /**
25
- * POST /movements - create movement.
20
+ * POST /movements - create movement. API does not accept query params.
26
21
  * @param {Object} opts
27
22
  * @param {string} [opts.token] - API key
28
23
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
29
24
  * @param {Object} opts.movement - Movement payload
30
- * @param {MovementsQuery} [opts.query] - Query params
31
25
  * @param {Object} [opts.headers] - Optional headers
32
26
  * @returns {Promise<import("axios").AxiosResponse>}
33
27
  */
@@ -4,8 +4,18 @@ var _require = require("./../endpoints_helpers.js"),
4
4
  authorizationHeaders = _require.authorizationHeaders;
5
5
 
6
6
  /**
7
- * @typedef {Object} OutlookTripsQuery
8
- * @property {string} [providerId] - Provider account ID
7
+ * Query params for GET /outlook-trips (btrz-api-operations). See get-outlook-trips getSpec().
8
+ * @typedef {Object} OutlookTripsListQuery
9
+ * @property {string} from - Travel start date (required, date format)
10
+ * @property {string} to - Travel end date (required, date format)
11
+ * @property {string} [fromTime] - Cutoff time for first date (HH:MM)
12
+ * @property {string} [toTime] - Cutoff time for last date (HH:MM)
13
+ * @property {string} productId - Product ID (required)
14
+ * @property {string} [originId] - Origin (departure) station ID
15
+ * @property {string} [destinationId] - Destination station ID
16
+ * @property {string} [routeId] - Route ID
17
+ * @property {string} [scheduleId] - Schedule ID
18
+ * @property {boolean} [isExtraRun] - Only trips marked as extra run
9
19
  */
10
20
 
11
21
  /**
@@ -26,7 +36,7 @@ function outlookTripsFactory(_ref) {
26
36
  * @param {Object} opts
27
37
  * @param {string} [opts.token] - API key
28
38
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
29
- * @param {OutlookTripsQuery} [opts.query] - Query params
39
+ * @param {OutlookTripsListQuery} [opts.query] - Query params (from, to, productId required)
30
40
  * @param {Object} [opts.headers] - Optional headers
31
41
  * @returns {Promise<import("axios").AxiosResponse>}
32
42
  */
@@ -6,8 +6,22 @@ var _require = require("./../endpoints_helpers.js"),
6
6
  authorizationHeaders = _require.authorizationHeaders;
7
7
 
8
8
  /**
9
- * @typedef {Object} ParcelsQuery
9
+ * Query params for GET /parcels list (btrz-api-operations). See get-parcel-handler getSpec().
10
+ * @typedef {Object} ParcelsListQuery
11
+ * @property {string} [trxId] - Transaction ID
12
+ * @property {string} [transactionId] - Transaction ID (alias)
13
+ * @property {string} [parcelId] - Parcel ID
14
+ * @property {string} [dateFrom] - Filter from date
15
+ * @property {string} [dateTo] - Filter to date
16
+ * @property {string} [originId] - Origin station ID
17
+ * @property {string} [destinationId] - Destination station ID
18
+ * @property {string} [trackingStatus] - Tracking status
19
+ * @property {boolean} [notInManifest] - Exclude parcels already in a manifest
10
20
  * @property {string} [providerId] - Provider account ID (also set via opts.providerId)
21
+ * @property {string} [lookupSearchParams] - Search for lookup
22
+ * @property {number} [page] - Page number
23
+ * @property {number} [recordsPerPage] - Records per page
24
+ * @property {boolean} [assignableToManifest] - Only parcels assignable to manifest
11
25
  */
12
26
 
13
27
  /**
@@ -24,7 +38,7 @@ function parcelFactory(_ref) {
24
38
  internalAuthTokenProvider = _ref.internalAuthTokenProvider;
25
39
 
26
40
  /**
27
- * GET /parcels/:id - get parcel by id.
41
+ * GET /parcels/:id - get parcel by id. API does not accept query params.
28
42
  * @param {Object} opts
29
43
  * @param {string} [opts.token] - API key
30
44
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -49,7 +63,7 @@ function parcelFactory(_ref) {
49
63
  * @param {Object} opts
50
64
  * @param {string} [opts.token] - API key
51
65
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
52
- * @param {ParcelsQuery} [opts.query] - Query params (providerId merged if opts.providerId set)
66
+ * @param {ParcelsListQuery} [opts.query] - Query params (providerId merged if opts.providerId set)
53
67
  * @param {string} [opts.providerId] - Provider id (merged into query)
54
68
  * @param {Object} [opts.headers] - Optional headers
55
69
  * @returns {Promise<import("axios").AxiosResponse>}
@@ -71,7 +85,7 @@ function parcelFactory(_ref) {
71
85
  }
72
86
 
73
87
  /**
74
- * POST /parcels/:id/scans - add scan to parcel.
88
+ * POST /parcels/:id/scans - add scan to parcel. API does not accept query params.
75
89
  * @param {Object} opts
76
90
  * @param {string} [opts.token] - API key
77
91
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -98,7 +112,7 @@ function parcelFactory(_ref) {
98
112
  }
99
113
 
100
114
  /**
101
- * POST /parcels/:id/user-comments - add comment to parcel.
115
+ * POST /parcels/:id/user-comments - add comment to parcel. API does not accept query params.
102
116
  * @param {Object} opts
103
117
  * @param {string} [opts.token] - API key
104
118
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -123,7 +137,7 @@ function parcelFactory(_ref) {
123
137
  }
124
138
 
125
139
  /**
126
- * DELETE /parcels/:id/user-comments/:commentId - delete parcel comment.
140
+ * DELETE /parcels/:id/user-comments/:commentId - delete parcel comment. API does not accept query params.
127
141
  * @param {Object} opts
128
142
  * @param {string} [opts.token] - API key
129
143
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -17,12 +17,6 @@ var _require = require("./../endpoints_helpers.js"),
17
17
  * @property {number} [recordsPerPage] - Records per page (max 100)
18
18
  */
19
19
 
20
- /**
21
- * POST /parcels-manifests, POST .../parcels, POST .../vehicles do not define query params in backend getSpec.
22
- * Use for optional query keys forwarded as-is.
23
- * @typedef {Object} ParcelsManifestsPostQuery
24
- */
25
-
26
20
  /**
27
21
  * Factory for parcels-manifests API (btrz-api-operations).
28
22
  * @param {Object} deps
@@ -59,7 +53,7 @@ function parcelsManifestsFactory(_ref) {
59
53
  }
60
54
 
61
55
  /**
62
- * GET /parcels-manifests/:id - get parcels manifest by id.
56
+ * GET /parcels-manifests/:id - get parcels manifest by id. API does not accept query params.
63
57
  * @param {Object} opts
64
58
  * @param {string} [opts.token] - API key
65
59
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -110,7 +104,7 @@ function parcelsManifestsFactory(_ref) {
110
104
 
111
105
  var parcels = {
112
106
  /**
113
- * DELETE /parcels-manifests/:manifestId/parcels/:parcelId - remove parcel from manifest.
107
+ * DELETE /parcels-manifests/:manifestId/parcels/:parcelId - remove parcel from manifest. API does not accept query params.
114
108
  * @param {Object} opts
115
109
  * @param {string} [opts.token] - API key
116
110
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -134,14 +128,12 @@ function parcelsManifestsFactory(_ref) {
134
128
  },
135
129
 
136
130
  /**
137
- * POST /parcels-manifests/:manifestId/parcels - create parcel on manifest. Body: ParcelsManifestsPostData.
138
- * Backend getSpec does not define query params; query is passed through as-is if provided.
131
+ * POST /parcels-manifests/:manifestId/parcels - create parcel on manifest. API does not accept query params.
139
132
  * @param {Object} opts
140
133
  * @param {string} [opts.token] - API key
141
134
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
142
135
  * @param {string} opts.manifestId - Parcel manifest id (ObjectId)
143
- * @param {ParcelsManifestsPostQuery} [opts.query] - Optional query params (backend getSpec has none; forwarded as-is)
144
- * @param {Object} opts.data - Parcel payload (parcelsmanifests / ParcelsManifestsPostData: parcels, optional overrideOandD)
136
+ * @param {Object} opts.data - Parcel payload (parcels, optional overrideOandD)
145
137
  * @param {Object} [opts.headers] - Optional request headers
146
138
  * @returns {Promise<import("axios").AxiosResponse>} PostParcelsManifestsResponse; 400 WRONG_DATA, 404, 409 CAN_ADD_PARCEL_TO_MANIFEST_BECAUSE_OF_CUTOFF
147
139
  */
@@ -166,14 +158,12 @@ function parcelsManifestsFactory(_ref) {
166
158
 
167
159
  var vehicles = {
168
160
  /**
169
- * POST /parcels-manifests/:manifestId/vehicles - create or update vehicle on manifest. Body: ParcelManifestVehiclePostData.
170
- * Backend getSpec does not define query params; query is passed through as-is if provided.
161
+ * POST /parcels-manifests/:manifestId/vehicles - create or update vehicle on manifest. API does not accept query params.
171
162
  * @param {Object} opts
172
163
  * @param {string} [opts.token] - API key
173
164
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
174
165
  * @param {string} opts.manifestId - Parcel manifest id (ObjectId)
175
- * @param {ParcelsManifestsPostQuery} [opts.query] - Optional query params (backend getSpec has none; forwarded as-is)
176
- * @param {Object} opts.data - Vehicle payload (sent as parcelManifestVehicle in body; vehicleId required)
166
+ * @param {Object} opts.data - Vehicle payload (vehicleId required)
177
167
  * @param {Object} [opts.headers] - Optional request headers
178
168
  * @returns {Promise<import("axios").AxiosResponse>} PostVehicleManifestsResponse; 400 WRONG_DATA, 404 MANIFEST_NOT_FOUND, 409 MANIFEST_HAS_PASSENGERS
179
169
  */
@@ -11,11 +11,6 @@ var _require = require("./../endpoints_helpers.js"),
11
11
  * @property {string} [providerId] - Provider/account id; defaults to authenticated account when omitted
12
12
  */
13
13
 
14
- /**
15
- * PUT and POST /passenger-check-in-info do not define query params in backend getSpec. Use for optional query keys forwarded as-is.
16
- * @typedef {Object} PassengerCheckInInfoPostQuery
17
- */
18
-
19
14
  /**
20
15
  * Factory for passenger-check-in-info API (btrz-api-operations).
21
16
  * @param {Object} deps
@@ -52,7 +47,7 @@ function passengerCheckInInfoFactory(_ref) {
52
47
  }
53
48
 
54
49
  /**
55
- * GET /passenger-check-in-info/:id - get passenger check-in info by id.
50
+ * GET /passenger-check-in-info/:id - get passenger check-in info by id. API does not accept query params.
56
51
  * @param {Object} opts
57
52
  * @param {string} [opts.token] - API key
58
53
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -74,13 +69,12 @@ function passengerCheckInInfoFactory(_ref) {
74
69
  }
75
70
 
76
71
  /**
77
- * PUT /passenger-check-in-info/:id - update passenger check-in info. Backend getSpec has no query params; query is passed through.
72
+ * PUT /passenger-check-in-info/:id - update passenger check-in info. API does not accept query params.
78
73
  * @param {Object} opts
79
74
  * @param {string} [opts.token] - API key
80
75
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
81
76
  * @param {string} opts.id - Passenger check-in info id (ObjectId)
82
77
  * @param {Object} opts.data - PassengerCheckInInfoPutData
83
- * @param {PassengerCheckInInfoPostQuery} [opts.query] - Optional query params (backend getSpec has none; forwarded as-is)
84
78
  * @param {Object} [opts.headers] - Optional request headers
85
79
  * @returns {Promise<import("axios").AxiosResponse>} 404 PASSENGERCHECKININFO_NOT_FOUND
86
80
  */
@@ -110,11 +104,10 @@ function passengerCheckInInfoFactory(_ref) {
110
104
  // }
111
105
 
112
106
  /**
113
- * POST /passenger-check-in-info - create passenger check-in info. Backend getSpec has no query params; query is passed through.
107
+ * POST /passenger-check-in-info - create passenger check-in info. API does not accept query params.
114
108
  * @param {Object} opts
115
109
  * @param {string} [opts.token] - API key
116
110
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
117
- * @param {PassengerCheckInInfoPostQuery} [opts.query] - Optional query params (backend getSpec has none; forwarded as-is)
118
111
  * @param {Object} opts.data - PassengerCheckInInfoPostData (passengercheckininfo: ticketId, trxId, information, type)
119
112
  * @param {Object} [opts.headers] - Optional request headers
120
113
  * @returns {Promise<import("axios").AxiosResponse>}
@@ -17,7 +17,7 @@ function redemptionFactory(_ref) {
17
17
  internalAuthTokenProvider = _ref.internalAuthTokenProvider;
18
18
 
19
19
  /**
20
- * POST /redemptions - create redemption.
20
+ * POST /redemptions - create redemption. API does not accept query params.
21
21
  * @param {Object} opts
22
22
  * @param {string} [opts.token] - API key
23
23
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -40,12 +40,12 @@ function redemptionFactory(_ref) {
40
40
  }
41
41
 
42
42
  /**
43
- * GET /redemptions/validate/:passId - validate redemption.
43
+ * GET /redemptions/validate/:passId - validate redemption. Query: timezone (required per getSpec).
44
44
  * @param {Object} opts
45
45
  * @param {string} [opts.token] - API key
46
46
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
47
47
  * @param {string} opts.passId - Pass id
48
- * @param {string} [opts.timezone] - Timezone (query param)
48
+ * @param {string} opts.timezone - Timezone (required query param per btrz-api-operations getSpec)
49
49
  * @param {Object} [opts.headers] - Optional headers
50
50
  * @returns {Promise<import("axios").AxiosResponse>}
51
51
  */
@@ -65,7 +65,7 @@ function redemptionFactory(_ref) {
65
65
  }
66
66
 
67
67
  /**
68
- * POST /unredeem - unredeem.
68
+ * POST /unredeem - unredeem. API does not accept query params.
69
69
  * @param {Object} opts
70
70
  * @param {string} [opts.token] - API key
71
71
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
@@ -4,8 +4,34 @@ var _require = require("./../endpoints_helpers.js"),
4
4
  authorizationHeaders = _require.authorizationHeaders;
5
5
 
6
6
  /**
7
- * @typedef {Object} RmsQuery
8
- * @property {string} [providerId] - Provider account ID
7
+ * Query params for GET /rms/manifest-forecast (btrz-api-operations). See get-handler getSpec() and handlers-common parameters().
8
+ * @typedef {Object} RmsManifestForecastListQuery
9
+ * @property {string} date - Manifest forecast date (required; YYYY-MM-DD)
10
+ * @property {string} [time] - Time (HH:mm)
11
+ * @property {string} [brandId] - Brand id (ObjectId)
12
+ * @property {string} [productId] - Product id (ObjectId)
13
+ * @property {string} [routeId] - Route id
14
+ * @property {string} [amenityGroupId] - Amenity group id
15
+ * @property {string} [scheduleGroupId] - Schedule group id
16
+ * @property {string} [originId] - Origin station id (ObjectId)
17
+ * @property {string} [destinationId] - Destination station id (ObjectId)
18
+ * @property {string[]} [status] - Manifest status filter (valid manifest status values)
19
+ * @property {number} [forecastMin] - Minimum forecast value
20
+ * @property {number} [forecastMax] - Maximum forecast value
21
+ * @property {number} [loadMin] - Minimum load value
22
+ * @property {number} [loadMax] - Maximum load value
23
+ */
24
+
25
+ /**
26
+ * Query params for GET /rms/manifest-forecast/:scheduleId (btrz-api-operations). Only common params (no date).
27
+ * @typedef {Object} RmsManifestForecastGetQuery
28
+ * @property {string} [originId] - Origin station id (ObjectId)
29
+ * @property {string} [destinationId] - Destination station id (ObjectId)
30
+ * @property {string[]} [status] - Manifest status filter
31
+ * @property {number} [forecastMin] - Minimum forecast value
32
+ * @property {number} [forecastMax] - Maximum forecast value
33
+ * @property {number} [loadMin] - Minimum load value
34
+ * @property {number} [loadMax] - Maximum load value
9
35
  */
10
36
 
11
37
  /**
@@ -23,11 +49,11 @@ function rmsFactory(_ref) {
23
49
 
24
50
  var manifestForecasts = {
25
51
  /**
26
- * GET /rms/manifest-forecast - list manifest forecasts.
52
+ * GET /rms/manifest-forecast - list manifest forecasts. Query: date required.
27
53
  * @param {Object} opts
28
54
  * @param {string} [opts.token] - API key
29
55
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
30
- * @param {RmsQuery} [opts.query] - Query params
56
+ * @param {RmsManifestForecastListQuery} [opts.query] - Query params (date required)
31
57
  * @param {Object} [opts.headers] - Optional headers
32
58
  * @returns {Promise<import("axios").AxiosResponse>}
33
59
  */
@@ -46,11 +72,12 @@ function rmsFactory(_ref) {
46
72
 
47
73
  /**
48
74
  * GET /rms/manifest-forecast/:scheduleId - get manifest forecast by schedule id.
75
+ * Optional query: originId, destinationId, status, forecastMin/Max, loadMin/Max.
49
76
  * @param {Object} opts
50
- * @param {string} opts.scheduleId - Schedule id
77
+ * @param {string} opts.scheduleId - Schedule id (UUID4)
51
78
  * @param {string} [opts.token] - API key
52
79
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
53
- * @param {RmsQuery} [opts.query] - Query params
80
+ * @param {RmsManifestForecastGetQuery} [opts.query] - Optional query params
54
81
  * @param {Object} [opts.headers] - Optional headers
55
82
  * @returns {Promise<import("axios").AxiosResponse>}
56
83
  */