btrz-api-client 3.42.1 → 3.45.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 (139) hide show
  1. package/lib/client-standalone-min.js +1 -1
  2. package/lib/endpoints/btrzpay/payment-methods.js +29 -1
  3. package/lib/endpoints/operations/manifest.js +40 -2
  4. package/package.json +3 -2
  5. package/src/endpoints/btrzpay/payment-methods.js +21 -1
  6. package/src/endpoints/operations/manifest.js +30 -1
  7. package/test/endpoints/btrzpay/payment-methods.test.js +30 -0
  8. package/test/endpoints/operations/manifest.test.js +35 -0
  9. package/types/client.d.ts +2335 -0
  10. package/types/constants.d.ts +1 -0
  11. package/types/endpoints/accounts/accounts.d.ts +11 -0
  12. package/types/endpoints/accounts/application-settings.d.ts +38 -0
  13. package/types/endpoints/accounts/application.d.ts +11 -0
  14. package/types/endpoints/accounts/applications.d.ts +18 -0
  15. package/types/endpoints/accounts/current-shifts.d.ts +12 -0
  16. package/types/endpoints/accounts/customers.d.ts +45 -0
  17. package/types/endpoints/accounts/docs.d.ts +6 -0
  18. package/types/endpoints/accounts/domains.d.ts +23 -0
  19. package/types/endpoints/accounts/email-settings.d.ts +38 -0
  20. package/types/endpoints/accounts/exchange-rates.d.ts +19 -0
  21. package/types/endpoints/accounts/interline.d.ts +68 -0
  22. package/types/endpoints/accounts/lexicons.d.ts +30 -0
  23. package/types/endpoints/accounts/print-settings.d.ts +31 -0
  24. package/types/endpoints/accounts/printers.d.ts +11 -0
  25. package/types/endpoints/accounts/shifts.d.ts +11 -0
  26. package/types/endpoints/accounts/travellers.d.ts +41 -0
  27. package/types/endpoints/accounts/trusted-machines.d.ts +12 -0
  28. package/types/endpoints/accounts/users.d.ts +18 -0
  29. package/types/endpoints/btrzpay/customerCards.d.ts +37 -0
  30. package/types/endpoints/btrzpay/customers.d.ts +27 -0
  31. package/types/endpoints/btrzpay/docs.d.ts +6 -0
  32. package/types/endpoints/btrzpay/payment-methods.d.ts +55 -0
  33. package/types/endpoints/btrzpay/payments.d.ts +18 -0
  34. package/types/endpoints/btrzpay/reference-numbers.d.ts +12 -0
  35. package/types/endpoints/btrzpay/referenced-payments.d.ts +21 -0
  36. package/types/endpoints/btrzpay/square.d.ts +22 -0
  37. package/types/endpoints/coltrane/docs.d.ts +6 -0
  38. package/types/endpoints/coltrane/paths.d.ts +11 -0
  39. package/types/endpoints/endpoints_helpers.d.ts +9 -0
  40. package/types/endpoints/gps/scanner-app-location.d.ts +10 -0
  41. package/types/endpoints/inventory/amenities.d.ts +30 -0
  42. package/types/endpoints/inventory/amenity-groups.d.ts +30 -0
  43. package/types/endpoints/inventory/bare-routes.d.ts +17 -0
  44. package/types/endpoints/inventory/brands.d.ts +31 -0
  45. package/types/endpoints/inventory/bundle-fares.d.ts +13 -0
  46. package/types/endpoints/inventory/bundles.d.ts +18 -0
  47. package/types/endpoints/inventory/companies.d.ts +12 -0
  48. package/types/endpoints/inventory/countries.d.ts +11 -0
  49. package/types/endpoints/inventory/custom-content.d.ts +35 -0
  50. package/types/endpoints/inventory/docs.d.ts +6 -0
  51. package/types/endpoints/inventory/fare-classes.d.ts +25 -0
  52. package/types/endpoints/inventory/fares.d.ts +16 -0
  53. package/types/endpoints/inventory/fees.d.ts +11 -0
  54. package/types/endpoints/inventory/filtered-trips-v2.d.ts +12 -0
  55. package/types/endpoints/inventory/filtered-trips.d.ts +12 -0
  56. package/types/endpoints/inventory/gift-certificate-definitions.d.ts +11 -0
  57. package/types/endpoints/inventory/healthcheck.d.ts +7 -0
  58. package/types/endpoints/inventory/insurances.d.ts +35 -0
  59. package/types/endpoints/inventory/insurancesCost.d.ts +13 -0
  60. package/types/endpoints/inventory/items.d.ts +11 -0
  61. package/types/endpoints/inventory/journey-prices.d.ts +25 -0
  62. package/types/endpoints/inventory/marketplace-modifiers.d.ts +35 -0
  63. package/types/endpoints/inventory/operating-companies.d.ts +31 -0
  64. package/types/endpoints/inventory/operation-messages.d.ts +41 -0
  65. package/types/endpoints/inventory/parcel-zones.d.ts +24 -0
  66. package/types/endpoints/inventory/payment-terminals.d.ts +35 -0
  67. package/types/endpoints/inventory/products.d.ts +18 -0
  68. package/types/endpoints/inventory/promos.d.ts +51 -0
  69. package/types/endpoints/inventory/routes.d.ts +53 -0
  70. package/types/endpoints/inventory/schedules.d.ts +11 -0
  71. package/types/endpoints/inventory/seatfees.d.ts +29 -0
  72. package/types/endpoints/inventory/seatmaps.d.ts +15 -0
  73. package/types/endpoints/inventory/service-numbers.d.ts +31 -0
  74. package/types/endpoints/inventory/service-types.d.ts +35 -0
  75. package/types/endpoints/inventory/ssrs.d.ts +11 -0
  76. package/types/endpoints/inventory/station-groups.d.ts +11 -0
  77. package/types/endpoints/inventory/stations-zones.d.ts +11 -0
  78. package/types/endpoints/inventory/stations.d.ts +16 -0
  79. package/types/endpoints/inventory/taxes.d.ts +30 -0
  80. package/types/endpoints/inventory/traveller-card-providers-types.d.ts +11 -0
  81. package/types/endpoints/inventory/traveller-card-providers.d.ts +31 -0
  82. package/types/endpoints/inventory/traveller-card-types.d.ts +37 -0
  83. package/types/endpoints/inventory/trips.d.ts +17 -0
  84. package/types/endpoints/inventory/zone-price-overages.d.ts +35 -0
  85. package/types/endpoints/inventory/zone-prices.d.ts +35 -0
  86. package/types/endpoints/invoices/docs.d.ts +6 -0
  87. package/types/endpoints/invoices/emails.d.ts +13 -0
  88. package/types/endpoints/invoices/infile.d.ts +13 -0
  89. package/types/endpoints/invoices/pdfs.d.ts +13 -0
  90. package/types/endpoints/invoices/providers.d.ts +41 -0
  91. package/types/endpoints/invoices/tax-ids.d.ts +12 -0
  92. package/types/endpoints/loyalty/movements.d.ts +31 -0
  93. package/types/endpoints/loyalty/programs.d.ts +25 -0
  94. package/types/endpoints/notifications/customers.d.ts +12 -0
  95. package/types/endpoints/notifications/email.d.ts +12 -0
  96. package/types/endpoints/notifications/manifest-notifications.d.ts +18 -0
  97. package/types/endpoints/notifications/printed-tickets.d.ts +15 -0
  98. package/types/endpoints/operations/accounting_items.d.ts +16 -0
  99. package/types/endpoints/operations/applied_insurance.d.ts +12 -0
  100. package/types/endpoints/operations/calendar_entries.d.ts +11 -0
  101. package/types/endpoints/operations/docs.d.ts +6 -0
  102. package/types/endpoints/operations/flexpasses.d.ts +13 -0
  103. package/types/endpoints/operations/loans.d.ts +16 -0
  104. package/types/endpoints/operations/manifest.d.ts +83 -0
  105. package/types/endpoints/operations/movements.d.ts +13 -0
  106. package/types/endpoints/operations/outlook-trips.d.ts +10 -0
  107. package/types/endpoints/operations/parcels.d.ts +26 -0
  108. package/types/endpoints/operations/redemption.d.ts +19 -0
  109. package/types/endpoints/operations/scheduled_notifications.d.ts +38 -0
  110. package/types/endpoints/operations/segments.d.ts +14 -0
  111. package/types/endpoints/operations/tickets.d.ts +26 -0
  112. package/types/endpoints/operations/transaction.d.ts +13 -0
  113. package/types/endpoints/operations/transactions.d.ts +55 -0
  114. package/types/endpoints/operations/trip_change_info.d.ts +13 -0
  115. package/types/endpoints/operations/waitlists.d.ts +30 -0
  116. package/types/endpoints/reports/custom-reports.d.ts +24 -0
  117. package/types/endpoints/reports/report-types.d.ts +18 -0
  118. package/types/endpoints/sales/bundles.d.ts +11 -0
  119. package/types/endpoints/sales/cart-promo.d.ts +20 -0
  120. package/types/endpoints/sales/cart.d.ts +48 -0
  121. package/types/endpoints/sales/custom-fields.d.ts +11 -0
  122. package/types/endpoints/sales/docs.d.ts +6 -0
  123. package/types/endpoints/sales/flexpasses.d.ts +13 -0
  124. package/types/endpoints/sales/gift-certificates.d.ts +12 -0
  125. package/types/endpoints/sales/order.d.ts +18 -0
  126. package/types/endpoints/sales/payment-providers.d.ts +12 -0
  127. package/types/endpoints/sales/redeemable-items.d.ts +18 -0
  128. package/types/endpoints/sales/sync-entry.d.ts +12 -0
  129. package/types/endpoints/sales/voucher.d.ts +11 -0
  130. package/types/endpoints/seatmaps/access-ticket.d.ts +11 -0
  131. package/types/endpoints/seatmaps/seat.d.ts +12 -0
  132. package/types/endpoints/uploads/files.d.ts +11 -0
  133. package/types/endpoints/uploads/images.d.ts +11 -0
  134. package/types/endpoints/webhooks/events.d.ts +13 -0
  135. package/types/endpoints/webhooks/subscriptions.d.ts +38 -0
  136. package/types/endpoints/webhooks/undelivered.d.ts +36 -0
  137. package/types/endpoints/webhooks/webhooks.d.ts +12 -0
  138. package/types/initializedClient.d.ts +2289 -0
  139. package/types/productionDefaults.d.ts +6 -0
@@ -0,0 +1,18 @@
1
+ export = redeemableItemsFactory;
2
+ declare function redeemableItemsFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ get: ({ token, redeemableItemId, query, headers }: {
7
+ token: any;
8
+ redeemableItemId: any;
9
+ query?: {};
10
+ headers: any;
11
+ }) => any;
12
+ getValid: ({ token, jwtToken, query, headers }: {
13
+ token: any;
14
+ jwtToken: any;
15
+ query?: {};
16
+ headers: any;
17
+ }) => any;
18
+ };
@@ -0,0 +1,12 @@
1
+ export = syncEntryFactory;
2
+ declare function syncEntryFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ patch: ({ token, data, jwtToken, headers }: {
7
+ token: any;
8
+ data: any;
9
+ jwtToken: any;
10
+ headers: any;
11
+ }) => any;
12
+ };
@@ -0,0 +1,11 @@
1
+ export = voucherFactory;
2
+ declare function voucherFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ get: ({ token, voucher, headers }: {
7
+ token: any;
8
+ voucher: any;
9
+ headers: any;
10
+ }) => any;
11
+ };
@@ -0,0 +1,11 @@
1
+ export = accessTicketFactory;
2
+ declare function accessTicketFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ create: ({ token, jwtToken, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ headers: any;
10
+ }) => any;
11
+ };
@@ -0,0 +1,12 @@
1
+ export = seatFactory;
2
+ declare function seatFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ update: ({ token, jwtToken, params, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ params: any;
10
+ headers: any;
11
+ }) => any;
12
+ };
@@ -0,0 +1,11 @@
1
+ export = filesFactory;
2
+ declare function filesFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ upload: ({ token, formData, headers }: {
7
+ token: any;
8
+ formData: any;
9
+ headers: any;
10
+ }) => any;
11
+ };
@@ -0,0 +1,11 @@
1
+ export = imagesFactory;
2
+ declare function imagesFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ create: ({ token, formData, headers }: {
7
+ token: any;
8
+ formData: any;
9
+ headers: any;
10
+ }) => any;
11
+ };
@@ -0,0 +1,13 @@
1
+ export = eventsFactory;
2
+ declare function eventsFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ all: ({ token, jwtToken, context, query, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ context: any;
10
+ query?: {};
11
+ headers: any;
12
+ }) => any;
13
+ };
@@ -0,0 +1,38 @@
1
+ export = subscriptionsFactory;
2
+ declare function subscriptionsFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ all: ({ token, jwtToken, context, query, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ context: any;
10
+ query?: {};
11
+ headers: any;
12
+ }) => any;
13
+ create: ({ token, jwtToken, subscription, headers }: {
14
+ token: any;
15
+ jwtToken: any;
16
+ subscription: any;
17
+ headers: any;
18
+ }) => any;
19
+ getById: ({ token, jwtToken, id, headers }: {
20
+ token: any;
21
+ jwtToken: any;
22
+ id: any;
23
+ headers: any;
24
+ }) => any;
25
+ put: ({ token, jwtToken, id, subscription, headers }: {
26
+ token: any;
27
+ jwtToken: any;
28
+ id: any;
29
+ subscription: any;
30
+ headers: any;
31
+ }) => any;
32
+ deleteById: ({ token, jwtToken, id, headers }: {
33
+ token: any;
34
+ jwtToken: any;
35
+ id: any;
36
+ headers: any;
37
+ }) => any;
38
+ };
@@ -0,0 +1,36 @@
1
+ export = undeliveredFactory;
2
+ declare function undeliveredFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ all: ({ token, jwtToken, context, query, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ context: any;
10
+ query?: {};
11
+ headers: any;
12
+ }) => any;
13
+ getById: ({ token, jwtToken, id, headers }: {
14
+ token: any;
15
+ jwtToken: any;
16
+ id: any;
17
+ headers: any;
18
+ }) => any;
19
+ patch: ({ token, jwtToken, operation, headers }: {
20
+ token: any;
21
+ jwtToken: any;
22
+ operation: any;
23
+ headers: any;
24
+ }) => any;
25
+ resend: ({ token, jwtToken, id, headers }: {
26
+ token: any;
27
+ jwtToken: any;
28
+ id: any;
29
+ headers: any;
30
+ }) => any;
31
+ resendAll: ({ token, jwtToken, headers }: {
32
+ token: any;
33
+ jwtToken: any;
34
+ headers: any;
35
+ }) => any;
36
+ };
@@ -0,0 +1,12 @@
1
+ export = webhooksFactory;
2
+ declare function webhooksFactory({ client, internalAuthTokenProvider }: {
3
+ client: any;
4
+ internalAuthTokenProvider: any;
5
+ }): {
6
+ emit: ({ token, jwtToken, webhook, headers }: {
7
+ token: any;
8
+ jwtToken: any;
9
+ webhook: any;
10
+ headers: any;
11
+ }) => any;
12
+ };