btrz-api-client 3.42.1 → 3.42.3
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.
- package/package.json +3 -2
- package/types/client.d.ts +2310 -0
- package/types/constants.d.ts +1 -0
- package/types/endpoints/accounts/accounts.d.ts +11 -0
- package/types/endpoints/accounts/application-settings.d.ts +38 -0
- package/types/endpoints/accounts/application.d.ts +11 -0
- package/types/endpoints/accounts/applications.d.ts +18 -0
- package/types/endpoints/accounts/current-shifts.d.ts +12 -0
- package/types/endpoints/accounts/customers.d.ts +45 -0
- package/types/endpoints/accounts/docs.d.ts +6 -0
- package/types/endpoints/accounts/domains.d.ts +23 -0
- package/types/endpoints/accounts/email-settings.d.ts +38 -0
- package/types/endpoints/accounts/exchange-rates.d.ts +19 -0
- package/types/endpoints/accounts/interline.d.ts +68 -0
- package/types/endpoints/accounts/lexicons.d.ts +30 -0
- package/types/endpoints/accounts/print-settings.d.ts +31 -0
- package/types/endpoints/accounts/printers.d.ts +11 -0
- package/types/endpoints/accounts/shifts.d.ts +11 -0
- package/types/endpoints/accounts/travellers.d.ts +41 -0
- package/types/endpoints/accounts/trusted-machines.d.ts +12 -0
- package/types/endpoints/accounts/users.d.ts +18 -0
- package/types/endpoints/btrzpay/customerCards.d.ts +37 -0
- package/types/endpoints/btrzpay/customers.d.ts +27 -0
- package/types/endpoints/btrzpay/docs.d.ts +6 -0
- package/types/endpoints/btrzpay/payment-methods.d.ts +45 -0
- package/types/endpoints/btrzpay/payments.d.ts +18 -0
- package/types/endpoints/btrzpay/reference-numbers.d.ts +12 -0
- package/types/endpoints/btrzpay/referenced-payments.d.ts +21 -0
- package/types/endpoints/btrzpay/square.d.ts +22 -0
- package/types/endpoints/coltrane/docs.d.ts +6 -0
- package/types/endpoints/coltrane/paths.d.ts +11 -0
- package/types/endpoints/endpoints_helpers.d.ts +9 -0
- package/types/endpoints/gps/scanner-app-location.d.ts +10 -0
- package/types/endpoints/inventory/amenities.d.ts +30 -0
- package/types/endpoints/inventory/amenity-groups.d.ts +30 -0
- package/types/endpoints/inventory/bare-routes.d.ts +17 -0
- package/types/endpoints/inventory/brands.d.ts +31 -0
- package/types/endpoints/inventory/bundle-fares.d.ts +13 -0
- package/types/endpoints/inventory/bundles.d.ts +18 -0
- package/types/endpoints/inventory/companies.d.ts +12 -0
- package/types/endpoints/inventory/countries.d.ts +11 -0
- package/types/endpoints/inventory/custom-content.d.ts +35 -0
- package/types/endpoints/inventory/docs.d.ts +6 -0
- package/types/endpoints/inventory/fare-classes.d.ts +25 -0
- package/types/endpoints/inventory/fares.d.ts +16 -0
- package/types/endpoints/inventory/fees.d.ts +11 -0
- package/types/endpoints/inventory/filtered-trips-v2.d.ts +12 -0
- package/types/endpoints/inventory/filtered-trips.d.ts +12 -0
- package/types/endpoints/inventory/gift-certificate-definitions.d.ts +11 -0
- package/types/endpoints/inventory/healthcheck.d.ts +7 -0
- package/types/endpoints/inventory/insurances.d.ts +35 -0
- package/types/endpoints/inventory/insurancesCost.d.ts +13 -0
- package/types/endpoints/inventory/items.d.ts +11 -0
- package/types/endpoints/inventory/journey-prices.d.ts +25 -0
- package/types/endpoints/inventory/marketplace-modifiers.d.ts +35 -0
- package/types/endpoints/inventory/operating-companies.d.ts +31 -0
- package/types/endpoints/inventory/operation-messages.d.ts +41 -0
- package/types/endpoints/inventory/parcel-zones.d.ts +24 -0
- package/types/endpoints/inventory/payment-terminals.d.ts +35 -0
- package/types/endpoints/inventory/products.d.ts +18 -0
- package/types/endpoints/inventory/promos.d.ts +51 -0
- package/types/endpoints/inventory/routes.d.ts +53 -0
- package/types/endpoints/inventory/schedules.d.ts +11 -0
- package/types/endpoints/inventory/seatfees.d.ts +29 -0
- package/types/endpoints/inventory/seatmaps.d.ts +15 -0
- package/types/endpoints/inventory/service-numbers.d.ts +31 -0
- package/types/endpoints/inventory/service-types.d.ts +35 -0
- package/types/endpoints/inventory/ssrs.d.ts +11 -0
- package/types/endpoints/inventory/station-groups.d.ts +11 -0
- package/types/endpoints/inventory/stations-zones.d.ts +11 -0
- package/types/endpoints/inventory/stations.d.ts +16 -0
- package/types/endpoints/inventory/taxes.d.ts +30 -0
- package/types/endpoints/inventory/traveller-card-providers-types.d.ts +11 -0
- package/types/endpoints/inventory/traveller-card-providers.d.ts +31 -0
- package/types/endpoints/inventory/traveller-card-types.d.ts +37 -0
- package/types/endpoints/inventory/trips.d.ts +17 -0
- package/types/endpoints/inventory/zone-price-overages.d.ts +35 -0
- package/types/endpoints/inventory/zone-prices.d.ts +35 -0
- package/types/endpoints/invoices/docs.d.ts +6 -0
- package/types/endpoints/invoices/emails.d.ts +13 -0
- package/types/endpoints/invoices/infile.d.ts +13 -0
- package/types/endpoints/invoices/pdfs.d.ts +13 -0
- package/types/endpoints/invoices/providers.d.ts +41 -0
- package/types/endpoints/invoices/tax-ids.d.ts +12 -0
- package/types/endpoints/loyalty/movements.d.ts +31 -0
- package/types/endpoints/loyalty/programs.d.ts +25 -0
- package/types/endpoints/notifications/customers.d.ts +12 -0
- package/types/endpoints/notifications/email.d.ts +12 -0
- package/types/endpoints/notifications/manifest-notifications.d.ts +18 -0
- package/types/endpoints/notifications/printed-tickets.d.ts +15 -0
- package/types/endpoints/operations/accounting_items.d.ts +16 -0
- package/types/endpoints/operations/applied_insurance.d.ts +12 -0
- package/types/endpoints/operations/calendar_entries.d.ts +11 -0
- package/types/endpoints/operations/docs.d.ts +6 -0
- package/types/endpoints/operations/flexpasses.d.ts +13 -0
- package/types/endpoints/operations/loans.d.ts +16 -0
- package/types/endpoints/operations/manifest.d.ts +68 -0
- package/types/endpoints/operations/movements.d.ts +13 -0
- package/types/endpoints/operations/outlook-trips.d.ts +10 -0
- package/types/endpoints/operations/parcels.d.ts +26 -0
- package/types/endpoints/operations/redemption.d.ts +19 -0
- package/types/endpoints/operations/scheduled_notifications.d.ts +38 -0
- package/types/endpoints/operations/segments.d.ts +14 -0
- package/types/endpoints/operations/tickets.d.ts +26 -0
- package/types/endpoints/operations/transaction.d.ts +13 -0
- package/types/endpoints/operations/transactions.d.ts +55 -0
- package/types/endpoints/operations/trip_change_info.d.ts +13 -0
- package/types/endpoints/operations/waitlists.d.ts +30 -0
- package/types/endpoints/reports/custom-reports.d.ts +24 -0
- package/types/endpoints/reports/report-types.d.ts +18 -0
- package/types/endpoints/sales/bundles.d.ts +11 -0
- package/types/endpoints/sales/cart-promo.d.ts +20 -0
- package/types/endpoints/sales/cart.d.ts +48 -0
- package/types/endpoints/sales/custom-fields.d.ts +11 -0
- package/types/endpoints/sales/docs.d.ts +6 -0
- package/types/endpoints/sales/flexpasses.d.ts +13 -0
- package/types/endpoints/sales/gift-certificates.d.ts +12 -0
- package/types/endpoints/sales/order.d.ts +18 -0
- package/types/endpoints/sales/payment-providers.d.ts +12 -0
- package/types/endpoints/sales/redeemable-items.d.ts +18 -0
- package/types/endpoints/sales/sync-entry.d.ts +12 -0
- package/types/endpoints/sales/voucher.d.ts +11 -0
- package/types/endpoints/seatmaps/access-ticket.d.ts +11 -0
- package/types/endpoints/seatmaps/seat.d.ts +12 -0
- package/types/endpoints/uploads/files.d.ts +11 -0
- package/types/endpoints/uploads/images.d.ts +11 -0
- package/types/endpoints/webhooks/events.d.ts +13 -0
- package/types/endpoints/webhooks/subscriptions.d.ts +38 -0
- package/types/endpoints/webhooks/undelivered.d.ts +36 -0
- package/types/endpoints/webhooks/webhooks.d.ts +12 -0
- package/types/initializedClient.d.ts +2264 -0
- package/types/productionDefaults.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "btrz-api-client",
|
|
3
|
-
"version": "3.42.
|
|
3
|
+
"version": "3.42.3",
|
|
4
4
|
"description": "Api client for Betterez endpoints",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
"test:integration": "mocha --recursive -r test-integration/ports.js test-integration/",
|
|
10
10
|
"browserify": "browserify lib/client.js --standalone BtrzApiClient -p tinyify -o lib/client-standalone-min.js",
|
|
11
11
|
"commit-transpile": "git add lib/ && (git diff-index --quiet HEAD || git commit -m \"transpiled src\")",
|
|
12
|
+
"commit-types": "git add types/ && (git diff-index --quiet HEAD || git commit -m \"generated types from src\")",
|
|
12
13
|
"pretranspile": "rm -rf lib/",
|
|
13
14
|
"types": "npx -p typescript tsc src/**.js --declaration --allowJs --emitDeclarationOnly --outDir types",
|
|
14
15
|
"transpile": "babel --presets es2015 -d lib/ src/",
|
|
15
|
-
"preversion": "npm test && npm run transpile && npm run browserify && npm run commit-transpile",
|
|
16
|
+
"preversion": "npm test && npm run transpile && npm run browserify && npm run types && npm run commit-transpile && npm run commit-types",
|
|
16
17
|
"postversion": "git push origin master && git push --tags",
|
|
17
18
|
"version": "git tag $1"
|
|
18
19
|
},
|