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.
- package/lib/client-standalone-min.js +1 -1
- package/lib/endpoints/btrzpay/payment-methods.js +29 -1
- package/lib/endpoints/operations/manifest.js +40 -2
- package/package.json +3 -2
- package/src/endpoints/btrzpay/payment-methods.js +21 -1
- package/src/endpoints/operations/manifest.js +30 -1
- package/test/endpoints/btrzpay/payment-methods.test.js +30 -0
- package/test/endpoints/operations/manifest.test.js +35 -0
- package/types/client.d.ts +2335 -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 +55 -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 +83 -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 +2289 -0
- package/types/productionDefaults.d.ts +6 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = coltraneFactory;
|
|
2
|
+
declare function coltraneFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = amenitiesFactory;
|
|
2
|
+
declare function amenitiesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ token, amenityId, query, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
amenityId: any;
|
|
14
|
+
query?: {};
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
create: ({ token, jwtToken, amenity, headers }: {
|
|
18
|
+
token: any;
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
amenity: any;
|
|
21
|
+
headers: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
update: ({ token, jwtToken, amenityId, amenity, headers }: {
|
|
24
|
+
token: any;
|
|
25
|
+
jwtToken: any;
|
|
26
|
+
amenityId: any;
|
|
27
|
+
amenity: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = amenityGroupsFactory;
|
|
2
|
+
declare function amenityGroupsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ token, amenityGroupId, query, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
amenityGroupId: any;
|
|
14
|
+
query?: {};
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
create: ({ token, jwtToken, amenityGroup, headers }: {
|
|
18
|
+
token: any;
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
amenityGroup: any;
|
|
21
|
+
headers: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
update: ({ token, jwtToken, amenityGroupId, amenityGroup, headers }: {
|
|
24
|
+
token: any;
|
|
25
|
+
jwtToken: any;
|
|
26
|
+
amenityGroupId: any;
|
|
27
|
+
amenityGroup: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export = bareRoutesFactory;
|
|
2
|
+
declare function bareRoutesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ routeId, token, query, headers }: {
|
|
12
|
+
routeId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
query?: {};
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export = brandsFactory;
|
|
2
|
+
declare function brandsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
create: ({ token, jwtToken, brand, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
brand: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ jwtToken, token, brandId, brand, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
brandId: any;
|
|
22
|
+
brand: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
get: ({ token, brandId, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
brandId: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = bundleFaresFactory;
|
|
2
|
+
declare function bundleFaresFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, bundleId, productId, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
bundleId: any;
|
|
9
|
+
productId: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = bundlesFactory;
|
|
2
|
+
declare function bundlesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, jwtToken, bundleId, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
bundleId: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = companiesFactory;
|
|
2
|
+
declare function companiesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = countriesFactory;
|
|
2
|
+
declare function countriesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = customContentFactory;
|
|
2
|
+
declare function customContentFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ customContentId, token, headers }: {
|
|
12
|
+
customContentId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, customContent, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
customContent: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, customContentId, customContent, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
customContentId: any;
|
|
26
|
+
customContent: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, customContentId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
customContentId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export = fareClassesFactory;
|
|
2
|
+
declare function fareClassesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
create: ({ token, jwtToken, fareClass, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
fareClass: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ token, jwtToken, fareClassId, update, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
fareClassId: any;
|
|
22
|
+
update: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export = faresFactory;
|
|
2
|
+
declare function faresFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ token, id, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
id: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = filteredTripsV2Factory;
|
|
2
|
+
declare function filteredTripsV2Factory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, filteredTrip, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
filteredTrip: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = filteredTripsFactory;
|
|
2
|
+
declare function filteredTripsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, tripSegmentsId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
tripSegmentsId: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = giftCertificateDefinitionsFactory;
|
|
2
|
+
declare function giftCertificateDefinitionsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = insurancesFactory;
|
|
2
|
+
declare function insurancesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
create: ({ token, insurance, jwtToken, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
insurance: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
get: ({ token, insuranceId, headers }: {
|
|
18
|
+
token: any;
|
|
19
|
+
insuranceId: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ token, insurance, jwtToken, insuranceId, headers }: {
|
|
23
|
+
token: any;
|
|
24
|
+
insurance: any;
|
|
25
|
+
jwtToken: any;
|
|
26
|
+
insuranceId: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ token, jwtToken, insuranceId, headers }: {
|
|
30
|
+
token: any;
|
|
31
|
+
jwtToken: any;
|
|
32
|
+
insuranceId: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = insurancesCostFactory;
|
|
2
|
+
declare function insurancesCostFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, productId, declaredValue, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
productId: any;
|
|
9
|
+
declaredValue: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export = journeyPricesFactory;
|
|
2
|
+
declare function journeyPricesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
deleteById: ({ token, jwtToken, id, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
id: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
get: ({ id, token, jwtToken, query, headers }: {
|
|
19
|
+
id: any;
|
|
20
|
+
token: any;
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
query?: {};
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = marketplaceModifierFactory;
|
|
2
|
+
declare function marketplaceModifierFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ marketplaceModifierId, token, headers }: {
|
|
12
|
+
marketplaceModifierId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, marketplaceModifier, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
marketplaceModifier: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, marketplaceModifierId, marketplaceModifier, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
marketplaceModifierId: any;
|
|
26
|
+
marketplaceModifier: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, marketplaceModifierId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
marketplaceModifierId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export = operatingCompaniesFactory;
|
|
2
|
+
declare function operatingCompaniesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
create: ({ token, jwtToken, operatingCompany, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
operatingCompany: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ jwtToken, token, operatingCompanyId, operatingCompany, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
operatingCompanyId: any;
|
|
22
|
+
operatingCompany: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
get: ({ token, operatingCompanyId, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
operatingCompanyId: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export = operationMessagesFactory;
|
|
2
|
+
declare function operationMessagesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, operationMessageId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
operationMessageId: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
all: ({ token, query, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
query?: {};
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ token, jwtToken, opMsgData, headers }: {
|
|
17
|
+
token: any;
|
|
18
|
+
jwtToken: any;
|
|
19
|
+
opMsgData: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ token, jwtToken, operationMessageId, opMsgData, headers }: {
|
|
23
|
+
token: any;
|
|
24
|
+
jwtToken: any;
|
|
25
|
+
operationMessageId: any;
|
|
26
|
+
opMsgData: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, operationMessageId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
operationMessageId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
getByStation: ({ token, jwtToken, opMsgData, headers }: {
|
|
36
|
+
token: any;
|
|
37
|
+
jwtToken: any;
|
|
38
|
+
opMsgData: any;
|
|
39
|
+
headers: any;
|
|
40
|
+
}) => any;
|
|
41
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export = parcelZonesFactory;
|
|
2
|
+
declare function parcelZonesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
create: ({ token, parcelZone, jwtToken, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
parcelZone: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
update: ({ jwtToken, token, parcelZoneId, parcelZone, headers }: {
|
|
18
|
+
jwtToken: any;
|
|
19
|
+
token: any;
|
|
20
|
+
parcelZoneId: any;
|
|
21
|
+
parcelZone: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = paymentTerminalFactory;
|
|
2
|
+
declare function paymentTerminalFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ paymentTerminalId, token, headers }: {
|
|
12
|
+
paymentTerminalId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, paymentTerminal, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
paymentTerminal: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, paymentTerminalId, paymentTerminal, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
paymentTerminalId: any;
|
|
26
|
+
paymentTerminal: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, paymentTerminalId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
paymentTerminalId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = productsFactory;
|
|
2
|
+
declare function productsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
get: ({ productId, token, jwtToken, query, headers }: {
|
|
12
|
+
productId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
query?: {};
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|