btrz-api-client 3.42.0 → 3.44.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 +16 -1
- package/lib/endpoints/operations/manifest.js +40 -2
- package/package.json +4 -2
- package/src/endpoints/btrzpay/payment-methods.js +12 -1
- package/src/endpoints/operations/manifest.js +30 -1
- package/test/endpoints/btrzpay/payment-methods.test.js +15 -0
- package/test/endpoints/operations/manifest.test.js +35 -0
- package/types/client.d.ts +2330 -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 +50 -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 +2284 -0
- package/types/productionDefaults.d.ts +6 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export = promosFactory;
|
|
2
|
+
declare function promosFactory({ 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: ({ promoId, token, query, headers }: {
|
|
12
|
+
promoId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
query?: {};
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
create: ({ jwtToken, promo, token, headers }: {
|
|
18
|
+
jwtToken: any;
|
|
19
|
+
promo: any;
|
|
20
|
+
token: any;
|
|
21
|
+
headers: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
update: ({ jwtToken, token, promoId, update, headers }: {
|
|
24
|
+
jwtToken: any;
|
|
25
|
+
token: any;
|
|
26
|
+
promoId: any;
|
|
27
|
+
update: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
remove: ({ jwtToken, promoId, token, headers }: {
|
|
31
|
+
jwtToken: any;
|
|
32
|
+
promoId: any;
|
|
33
|
+
token: any;
|
|
34
|
+
headers: any;
|
|
35
|
+
}) => any;
|
|
36
|
+
addRule: ({ jwtToken, token, promoId, rule, headers }: {
|
|
37
|
+
jwtToken: any;
|
|
38
|
+
token: any;
|
|
39
|
+
promoId: any;
|
|
40
|
+
rule: any;
|
|
41
|
+
headers: any;
|
|
42
|
+
}) => any;
|
|
43
|
+
updateRule: ({ jwtToken, token, promoId, ruleId, rule, headers }: {
|
|
44
|
+
jwtToken: any;
|
|
45
|
+
token: any;
|
|
46
|
+
promoId: any;
|
|
47
|
+
ruleId: any;
|
|
48
|
+
rule: any;
|
|
49
|
+
headers: any;
|
|
50
|
+
}) => any;
|
|
51
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export = routesFactory;
|
|
2
|
+
declare function routesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ routeId, token, query, headers }: {
|
|
7
|
+
routeId: any;
|
|
8
|
+
token: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
prices: ({ token, productId, originId, destinationId, channel, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
productId: any;
|
|
15
|
+
originId: any;
|
|
16
|
+
destinationId: any;
|
|
17
|
+
channel: any;
|
|
18
|
+
query: any;
|
|
19
|
+
headers: any;
|
|
20
|
+
}) => any;
|
|
21
|
+
all: ({ token, query, headers }: {
|
|
22
|
+
token: any;
|
|
23
|
+
query?: {};
|
|
24
|
+
headers: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
stations: ({ token, routeId, headers }: {
|
|
27
|
+
token: any;
|
|
28
|
+
routeId: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
fareTables: {
|
|
32
|
+
all({ token, query, headers }: {
|
|
33
|
+
token: any;
|
|
34
|
+
query?: {};
|
|
35
|
+
headers: any;
|
|
36
|
+
}): any;
|
|
37
|
+
create({ token, jwtToken, routeId, fareTable, headers }: {
|
|
38
|
+
token: any;
|
|
39
|
+
jwtToken: any;
|
|
40
|
+
routeId: any;
|
|
41
|
+
fareTable: any;
|
|
42
|
+
headers: any;
|
|
43
|
+
}): any;
|
|
44
|
+
update({ token, jwtToken, routeId, fareTableId, fareTable, headers }: {
|
|
45
|
+
token: any;
|
|
46
|
+
jwtToken: any;
|
|
47
|
+
routeId: any;
|
|
48
|
+
fareTableId: any;
|
|
49
|
+
fareTable: any;
|
|
50
|
+
headers: any;
|
|
51
|
+
}): any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = schedulesFactory;
|
|
2
|
+
declare function schedulesFactory({ 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,29 @@
|
|
|
1
|
+
export = seatfeesFactory;
|
|
2
|
+
declare function seatfeesFactory({ 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: ({ seatfeeId, token, headers }: {
|
|
12
|
+
seatfeeId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, seatfee, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
seatfee: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, seatfeeId, seatfee, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
seatfeeId: any;
|
|
26
|
+
seatfee: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export = seatmapsFactory;
|
|
2
|
+
declare function seatmapsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ seatmapId, routeId, scheduleId, manifestDate, query, token, headers }: {
|
|
7
|
+
seatmapId: any;
|
|
8
|
+
routeId: any;
|
|
9
|
+
scheduleId: any;
|
|
10
|
+
manifestDate: any;
|
|
11
|
+
query?: {};
|
|
12
|
+
token: any;
|
|
13
|
+
headers: any;
|
|
14
|
+
}) => any;
|
|
15
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export = serviceNumbersFactory;
|
|
2
|
+
declare function serviceNumbersFactory({ 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, serviceNumber, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
serviceNumber: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ jwtToken, token, serviceNumberId, serviceNumber, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
serviceNumberId: any;
|
|
22
|
+
serviceNumber: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
get: ({ token, serviceNumberId, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
serviceNumberId: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = serviceTypesFactory;
|
|
2
|
+
declare function serviceTypesFactory({ 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: ({ serviceTypeId, token, headers }: {
|
|
12
|
+
serviceTypeId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, serviceType, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
serviceType: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, serviceTypeId, serviceType, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
serviceTypeId: any;
|
|
26
|
+
serviceType: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, serviceTypeId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
serviceTypeId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = stationGroupsFactory;
|
|
2
|
+
declare function stationGroupsFactory({ 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,11 @@
|
|
|
1
|
+
export = stationsZonesFactory;
|
|
2
|
+
declare function stationsZonesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query?: {};
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export = stationsFactory;
|
|
2
|
+
declare function stationsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, id, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
id: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
all: ({ token, query, headers }: {
|
|
12
|
+
token: any;
|
|
13
|
+
query?: {};
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = taxesFactory;
|
|
2
|
+
declare function taxesFactory({ 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: ({ taxId, token, query, headers }: {
|
|
12
|
+
taxId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
query?: {};
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
create: ({ jwtToken, tax, token, headers }: {
|
|
18
|
+
jwtToken: any;
|
|
19
|
+
tax: any;
|
|
20
|
+
token: any;
|
|
21
|
+
headers: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
update: ({ jwtToken, token, taxId, tax, headers }: {
|
|
24
|
+
jwtToken: any;
|
|
25
|
+
token: any;
|
|
26
|
+
taxId: any;
|
|
27
|
+
tax: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = travellerCardProvidersTypesFactory;
|
|
2
|
+
declare function travellerCardProvidersTypesFactory({ 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,31 @@
|
|
|
1
|
+
export = travellerCardProvidersFactory;
|
|
2
|
+
declare function travellerCardProvidersFactory({ 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, travellerCardProvider, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
travellerCardProvider: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ jwtToken, token, travellerCardProviderId, travellerCardProvider, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
travellerCardProviderId: any;
|
|
22
|
+
travellerCardProvider: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
get: ({ token, travellerCardProviderId, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
travellerCardProviderId: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export = travellerCardTypesFactory;
|
|
2
|
+
declare function travellerCardTypesFactory({ 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, travellerCardType, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
travellerCardType: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ jwtToken, token, travellerCardTypeId, travellerCardType, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
travellerCardTypeId: any;
|
|
22
|
+
travellerCardType: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
get: ({ token, travellerCardTypeId, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
travellerCardTypeId: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
remove: ({ token, travellerCardTypeId, jwtToken, headers }: {
|
|
32
|
+
token: any;
|
|
33
|
+
travellerCardTypeId: any;
|
|
34
|
+
jwtToken: any;
|
|
35
|
+
headers: any;
|
|
36
|
+
}) => any;
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export = tripsFactory;
|
|
2
|
+
declare function tripsFactory({ 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, id, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
id: any;
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = zonePriceOverageFactory;
|
|
2
|
+
declare function zonePriceOverageFactory({ 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: ({ zonePriceOverageId, token, headers }: {
|
|
12
|
+
zonePriceOverageId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, zonePriceOverages, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
zonePriceOverages: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, zonePriceOverageId, zonePriceOverages, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
zonePriceOverageId: any;
|
|
26
|
+
zonePriceOverages: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, zonePriceOverageId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
zonePriceOverageId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export = zonePriceFactory;
|
|
2
|
+
declare function zonePriceFactory({ 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: ({ zonePriceId, token, headers }: {
|
|
12
|
+
zonePriceId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
create: ({ jwtToken, token, zonePrice, headers }: {
|
|
17
|
+
jwtToken: any;
|
|
18
|
+
token: any;
|
|
19
|
+
zonePrice: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
update: ({ jwtToken, token, zonePriceId, zonePrice, headers }: {
|
|
23
|
+
jwtToken: any;
|
|
24
|
+
token: any;
|
|
25
|
+
zonePriceId: any;
|
|
26
|
+
zonePrice: any;
|
|
27
|
+
headers: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
remove: ({ jwtToken, zonePriceId, token, headers }: {
|
|
30
|
+
jwtToken: any;
|
|
31
|
+
zonePriceId: any;
|
|
32
|
+
token: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = emailsFactory;
|
|
2
|
+
declare function emailsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, data, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
data: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = infileFactory;
|
|
2
|
+
declare function infileFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, data, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
data: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = pdfsFactory;
|
|
2
|
+
declare function pdfsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, responseType, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
responseType?: string;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export = providersFactory;
|
|
2
|
+
declare function providersFactory({ 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, id, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
id: any;
|
|
16
|
+
query?: {};
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
update: ({ token, jwtToken, id, data, query, headers }: {
|
|
20
|
+
token: any;
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
id: any;
|
|
23
|
+
data: any;
|
|
24
|
+
query?: {};
|
|
25
|
+
headers: any;
|
|
26
|
+
}) => any;
|
|
27
|
+
remove: ({ token, jwtToken, id, query, headers }: {
|
|
28
|
+
token: any;
|
|
29
|
+
jwtToken: any;
|
|
30
|
+
id: any;
|
|
31
|
+
query?: {};
|
|
32
|
+
headers: any;
|
|
33
|
+
}) => any;
|
|
34
|
+
create: ({ token, jwtToken, data, query, headers }: {
|
|
35
|
+
token: any;
|
|
36
|
+
jwtToken: any;
|
|
37
|
+
data: any;
|
|
38
|
+
query?: {};
|
|
39
|
+
headers: any;
|
|
40
|
+
}) => any;
|
|
41
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = taxIdsFactory;
|
|
2
|
+
declare function taxIdsFactory({ 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,31 @@
|
|
|
1
|
+
export = movementsFactory;
|
|
2
|
+
declare function movementsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, programId, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
programId: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
create: ({ token, jwtToken, programId, movement, query, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
programId: any;
|
|
17
|
+
movement: any;
|
|
18
|
+
query?: {};
|
|
19
|
+
headers: any;
|
|
20
|
+
}) => any;
|
|
21
|
+
balance: {
|
|
22
|
+
get({ token, jwtToken, programId, customerId, query, headers }: {
|
|
23
|
+
token: any;
|
|
24
|
+
jwtToken: any;
|
|
25
|
+
programId: any;
|
|
26
|
+
customerId: any;
|
|
27
|
+
query?: {};
|
|
28
|
+
headers: any;
|
|
29
|
+
}): any;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export = programsFactory;
|
|
2
|
+
declare function programsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, context, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
context: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
create: ({ token, jwtToken, program, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
program: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
put: ({ token, jwtToken, programId, program, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
programId: any;
|
|
22
|
+
program: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = customersFactory;
|
|
2
|
+
declare function customersFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
sendResetPasswordEmail: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = emailFactory;
|
|
2
|
+
declare function emailFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|