btrz-api-client 3.41.0 → 3.43.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/client.js +0 -1
- package/lib/endpoints/operations/manifest.js +40 -2
- package/lib/initializedClient.js +6 -0
- package/package.json +4 -2
- package/src/client.js +0 -1
- package/src/endpoints/operations/manifest.js +30 -1
- package/src/initializedClient.js +3 -0
- package/test/endpoints/operations/manifest.test.js +35 -0
- package/types/client.d.ts +2325 -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 +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 +2279 -0
- package/types/productionDefaults.d.ts +6 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = manifestNotificationsFactory;
|
|
2
|
+
declare function manifestNotificationsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, query, data, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
data: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
all: ({ token, query, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
query?: {};
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export = printedTicketsFactory;
|
|
2
|
+
declare function printedTicketsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, responseType, trxId, lang, date, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
responseType?: string;
|
|
10
|
+
trxId: any;
|
|
11
|
+
lang: any;
|
|
12
|
+
date: any;
|
|
13
|
+
headers: any;
|
|
14
|
+
}) => any;
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export = accountingItemsFactory;
|
|
2
|
+
declare function accountingItemsFactory({ 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: ({ accountingItemId, token, headers }: {
|
|
12
|
+
accountingItemId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = appliedInsuranceFactory;
|
|
2
|
+
declare function appliedInsuranceFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, trxId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
trxId: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = calendarEntriesFactory;
|
|
2
|
+
declare function calendarEntriesFactory({ 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,13 @@
|
|
|
1
|
+
export = flexpassesFactory;
|
|
2
|
+
declare function flexpassesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
deleteScanBytripId: ({ jwtToken, token, flexpassId, tripId, headers }: {
|
|
7
|
+
jwtToken: any;
|
|
8
|
+
token: any;
|
|
9
|
+
flexpassId: any;
|
|
10
|
+
tripId: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export = loansFactory;
|
|
2
|
+
declare function loansFactory({ 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: ({ loanId, token, headers }: {
|
|
12
|
+
loanId: any;
|
|
13
|
+
token: any;
|
|
14
|
+
headers: any;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export = manifestFactory;
|
|
2
|
+
declare function manifestFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
getAll: ({ token, jwtToken, providerId, data, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
providerId: any;
|
|
16
|
+
data: any;
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
getById: ({ token, jwtToken, manifestId, headers }: {
|
|
20
|
+
token: any;
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
manifestId: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
outlook: ({ token, jwtToken, query, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
query?: {};
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
patch: ({ token, jwtToken, query, operations, headers }: {
|
|
32
|
+
token: any;
|
|
33
|
+
jwtToken: any;
|
|
34
|
+
query?: {};
|
|
35
|
+
operations: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
save: ({ token, jwtToken, providerId, data, headers }: {
|
|
39
|
+
token: any;
|
|
40
|
+
jwtToken: any;
|
|
41
|
+
providerId: any;
|
|
42
|
+
data: any;
|
|
43
|
+
headers: any;
|
|
44
|
+
}) => any;
|
|
45
|
+
addUser: ({ token, jwtToken, manifestId, query, data, headers }: {
|
|
46
|
+
token: any;
|
|
47
|
+
jwtToken: any;
|
|
48
|
+
manifestId: any;
|
|
49
|
+
query?: {};
|
|
50
|
+
data: any;
|
|
51
|
+
headers: any;
|
|
52
|
+
}) => any;
|
|
53
|
+
removeUser: ({ token, jwtToken, manifestId, userId, headers }: {
|
|
54
|
+
token: any;
|
|
55
|
+
jwtToken: any;
|
|
56
|
+
manifestId: any;
|
|
57
|
+
userId: any;
|
|
58
|
+
headers: any;
|
|
59
|
+
}) => any;
|
|
60
|
+
updateComment: ({ token, jwtToken, manifestId, query, data, headers }: {
|
|
61
|
+
token: any;
|
|
62
|
+
jwtToken: any;
|
|
63
|
+
manifestId: any;
|
|
64
|
+
query?: {};
|
|
65
|
+
data: any;
|
|
66
|
+
headers: any;
|
|
67
|
+
}) => any;
|
|
68
|
+
addCapacityException: ({ token, jwtToken, manifestId, query, data, headers }: {
|
|
69
|
+
token: any;
|
|
70
|
+
jwtToken: any;
|
|
71
|
+
manifestId: any;
|
|
72
|
+
query?: {};
|
|
73
|
+
data: any;
|
|
74
|
+
headers: any;
|
|
75
|
+
}) => any;
|
|
76
|
+
removeCapacityException: ({ token, jwtToken, manifestId, exceptionId, headers }: {
|
|
77
|
+
token: any;
|
|
78
|
+
jwtToken: any;
|
|
79
|
+
manifestId: any;
|
|
80
|
+
exceptionId: any;
|
|
81
|
+
headers: any;
|
|
82
|
+
}) => any;
|
|
83
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = movementsFactory;
|
|
2
|
+
declare function movementsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, movement, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
movement: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export = parcelFactory;
|
|
2
|
+
declare function parcelFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, id, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
id: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
query?: {};
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
addScan: ({ token, jwtToken, id, operationType, locationData, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
id: any;
|
|
22
|
+
operationType: any;
|
|
23
|
+
locationData: any;
|
|
24
|
+
headers: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export = redemptionFactory;
|
|
2
|
+
declare function redemptionFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, redemption, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
redemption: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
getValidate: ({ token, jwtToken, passId, timezone, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
passId: any;
|
|
16
|
+
timezone: any;
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export = scheduledNotificationsFactory;
|
|
2
|
+
declare function scheduledNotificationsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, jwtToken, id, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
id: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
update: ({ token, jwtToken, id, data, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
id: any;
|
|
22
|
+
data: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
remove: ({ token, jwtToken, id, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
id: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
create: ({ token, jwtToken, query, data, headers }: {
|
|
32
|
+
token: any;
|
|
33
|
+
jwtToken: any;
|
|
34
|
+
query?: {};
|
|
35
|
+
data: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export = segmentsFactory;
|
|
2
|
+
declare function segmentsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, productId, ticketId, providerId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
productId: any;
|
|
10
|
+
ticketId: any;
|
|
11
|
+
providerId: any;
|
|
12
|
+
headers: any;
|
|
13
|
+
}) => any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export = ticketsFactory;
|
|
2
|
+
declare function ticketsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, id, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
id: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
patch: ({ token, jwtToken, id, operations, warningsEnabled, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
id: any;
|
|
16
|
+
operations: any;
|
|
17
|
+
warningsEnabled: any;
|
|
18
|
+
headers: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
companionTickets: ({ token, jwtToken, ticketId, headers }: {
|
|
21
|
+
token: any;
|
|
22
|
+
jwtToken: any;
|
|
23
|
+
ticketId: any;
|
|
24
|
+
headers: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = transactionFactory;
|
|
2
|
+
declare function transactionFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, id, providerId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
id: any;
|
|
10
|
+
providerId: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export = transactionsFactory;
|
|
2
|
+
declare function transactionsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, jwtToken, trxId, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
trxId: any;
|
|
16
|
+
query: any;
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
getTickets: ({ token, jwtToken, trxId, headers }: {
|
|
20
|
+
token: any;
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
trxId: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
appliedInsurance: ({ token, jwtToken, trxId, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
trxId: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
companionTickets: ({ token, jwtToken, transactionId, ticketIds, headers }: {
|
|
32
|
+
token: any;
|
|
33
|
+
jwtToken: any;
|
|
34
|
+
transactionId: any;
|
|
35
|
+
ticketIds: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
expireAll: ({ internalAuthTokenProvider, jwtToken, transactionId, avoidEmail, token, headers }: {
|
|
39
|
+
internalAuthTokenProvider: any;
|
|
40
|
+
jwtToken: any;
|
|
41
|
+
transactionId: any;
|
|
42
|
+
avoidEmail: any;
|
|
43
|
+
token: any;
|
|
44
|
+
headers: any;
|
|
45
|
+
}) => any;
|
|
46
|
+
payments: {
|
|
47
|
+
update({ token, jwtToken, trxId, paymentResult, headers }: {
|
|
48
|
+
token: any;
|
|
49
|
+
jwtToken: any;
|
|
50
|
+
trxId: any;
|
|
51
|
+
paymentResult: any;
|
|
52
|
+
headers: any;
|
|
53
|
+
}): any;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export = tripChangeInfoFactory;
|
|
2
|
+
declare function tripChangeInfoFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, productId, params, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
productId: any;
|
|
10
|
+
params: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = waitlistsFactory;
|
|
2
|
+
declare function waitlistsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
query: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, jwtToken, waitlistId, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
waitlistId: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
remove: ({ token, jwtToken, waitlistId, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
waitlistId: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
create: ({ token, jwtToken, data, headers }: {
|
|
25
|
+
token: any;
|
|
26
|
+
jwtToken: any;
|
|
27
|
+
data: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export = customReportsFactory;
|
|
2
|
+
declare function customReportsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, customReport, jwtToken, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
customReport: any;
|
|
9
|
+
jwtToken: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
query?: {};
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
remove: ({ token, jwtToken, customReportId, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
customReportId: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = reportTypesFactory;
|
|
2
|
+
declare function reportTypesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, id, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
id: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
getByName: ({ token, jwtToken, name, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
name: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export = cartPromoFactory;
|
|
2
|
+
declare function cartPromoFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, cartId, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
cartId: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
remove: ({ token, jwtToken, cartId, query, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
cartId: any;
|
|
17
|
+
query?: {};
|
|
18
|
+
headers: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export = cartFactory;
|
|
2
|
+
declare function cartFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, id, providerId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
id: any;
|
|
9
|
+
providerId: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
create: ({ token, cart, jwtToken, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
cart: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
add: ({ token, cartId, cart, jwtToken, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
cartId: any;
|
|
21
|
+
cart: any;
|
|
22
|
+
jwtToken: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
deleteItems: ({ token, cartId, params, jwtToken, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
cartId: any;
|
|
28
|
+
params: any;
|
|
29
|
+
jwtToken: any;
|
|
30
|
+
headers: any;
|
|
31
|
+
}) => any;
|
|
32
|
+
loyaltyPointsAmount: {
|
|
33
|
+
get({ token, jwtToken, cartId, query, headers }: {
|
|
34
|
+
token: any;
|
|
35
|
+
jwtToken: any;
|
|
36
|
+
cartId: any;
|
|
37
|
+
query?: {};
|
|
38
|
+
headers: any;
|
|
39
|
+
}): any;
|
|
40
|
+
};
|
|
41
|
+
patch: ({ token, jwtToken, cartId, data, headers }: {
|
|
42
|
+
token: any;
|
|
43
|
+
jwtToken: any;
|
|
44
|
+
cartId: any;
|
|
45
|
+
data: any;
|
|
46
|
+
headers: any;
|
|
47
|
+
}) => any;
|
|
48
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = customFieldsFactory;
|
|
2
|
+
declare function customFieldsFactory({ 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,13 @@
|
|
|
1
|
+
export = flexpassesEndpointsFactory;
|
|
2
|
+
declare function flexpassesEndpointsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, flexpassId, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
flexpassId: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = giftCertificatesFactory;
|
|
2
|
+
declare function giftCertificatesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, GCNumber, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
GCNumber: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = orderFactory;
|
|
2
|
+
declare function orderFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, order, jwtToken, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
order: any;
|
|
9
|
+
jwtToken: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, orderId, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
orderId: any;
|
|
15
|
+
query?: {};
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = paymentProvidersFactory;
|
|
2
|
+
declare function paymentProvidersFactory({ 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
|
+
};
|