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 @@
|
|
|
1
|
+
export const INTERNAL_AUTH_TOKEN_SYMBOL: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = accountsFactory;
|
|
2
|
+
declare function accountsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ jwtToken, accountId, headers }: {
|
|
7
|
+
jwtToken: any;
|
|
8
|
+
accountId: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export = applicationSettingsFactory;
|
|
2
|
+
declare function applicationSettingsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, providerId, jwtToken, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
providerId: any;
|
|
9
|
+
jwtToken: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
update: ({ jwtToken, token, id, application, headers }: {
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
token: any;
|
|
16
|
+
id: any;
|
|
17
|
+
application: any;
|
|
18
|
+
headers: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
remove: ({ jwtToken, token, id, headers }: {
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
token: any;
|
|
23
|
+
id: any;
|
|
24
|
+
headers: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
regenerateKeys: ({ jwtToken, token, id, headers }: {
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
token: any;
|
|
29
|
+
id: any;
|
|
30
|
+
headers: any;
|
|
31
|
+
}) => any;
|
|
32
|
+
create: ({ jwtToken, token, application, headers }: {
|
|
33
|
+
jwtToken: any;
|
|
34
|
+
token: any;
|
|
35
|
+
application: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = applicationsFactory;
|
|
2
|
+
declare function applicationsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, jwtToken, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = applicationsFactory;
|
|
2
|
+
declare function applicationsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, id, jwtToken, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
id: any;
|
|
9
|
+
jwtToken: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
getByName: ({ token, appName, jwtToken, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
appName: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = currentShiftsFactory;
|
|
2
|
+
declare function currentShiftsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
get: ({ token, userId, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
userId: any;
|
|
9
|
+
query?: {};
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export = customersFactory;
|
|
2
|
+
declare function customersFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
put: ({ customerId, customer, token, jwtToken, headers }: {
|
|
7
|
+
customerId: any;
|
|
8
|
+
customer: any;
|
|
9
|
+
token: any;
|
|
10
|
+
jwtToken: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
query?: {};
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
create: ({ customer, token, jwtToken, query, headers }: {
|
|
20
|
+
customer: any;
|
|
21
|
+
token: any;
|
|
22
|
+
jwtToken: any;
|
|
23
|
+
query: any;
|
|
24
|
+
headers: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
signIn: ({ email, password, apiKey }: {
|
|
27
|
+
email: any;
|
|
28
|
+
password: any;
|
|
29
|
+
apiKey: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
signInCas: ({ service, ticket, token, headers }: {
|
|
32
|
+
service: any;
|
|
33
|
+
ticket: any;
|
|
34
|
+
token: any;
|
|
35
|
+
headers: any;
|
|
36
|
+
}) => any;
|
|
37
|
+
update: ({ customerId, token, jwtToken, data, query, headers }: {
|
|
38
|
+
customerId: any;
|
|
39
|
+
token: any;
|
|
40
|
+
jwtToken: any;
|
|
41
|
+
data: any;
|
|
42
|
+
query: any;
|
|
43
|
+
headers: any;
|
|
44
|
+
}) => any;
|
|
45
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export = domainsFactory;
|
|
2
|
+
declare function domainsFactory({ 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: ({ data, token, jwtToken, headers }: {
|
|
12
|
+
data: any;
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
remove: ({ domain, token, jwtToken, headers }: {
|
|
18
|
+
domain: any;
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
headers: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export = emailSettingsFactory;
|
|
2
|
+
declare function emailSettingsFactory({ 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
|
+
getByEmail: ({ token, jwtToken, email, query, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
email: any;
|
|
16
|
+
query?: {};
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
create: ({ data, token, jwtToken, headers }: {
|
|
20
|
+
data: any;
|
|
21
|
+
token: any;
|
|
22
|
+
jwtToken: any;
|
|
23
|
+
headers: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
update: ({ token, jwtToken, email, data, headers }: {
|
|
26
|
+
token: any;
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
email: any;
|
|
29
|
+
data: any;
|
|
30
|
+
headers: any;
|
|
31
|
+
}) => any;
|
|
32
|
+
remove: ({ email, token, jwtToken, headers }: {
|
|
33
|
+
email: any;
|
|
34
|
+
token: any;
|
|
35
|
+
jwtToken: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export = exchangeRatesFactory;
|
|
2
|
+
declare function exchangeRatesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
allByIsoCode: ({ token, jwtToken, isoCode, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
isoCode: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
create: ({ data, token, jwtToken, headers }: {
|
|
14
|
+
data: any;
|
|
15
|
+
token: any;
|
|
16
|
+
jwtToken: any;
|
|
17
|
+
headers: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export = interlineFactory;
|
|
2
|
+
declare function interlineFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
invitations: {
|
|
7
|
+
all({ token, jwtToken, query, headers }: {
|
|
8
|
+
token: any;
|
|
9
|
+
jwtToken: any;
|
|
10
|
+
query?: {};
|
|
11
|
+
headers: any;
|
|
12
|
+
}): any;
|
|
13
|
+
get({ token, invitationId, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
invitationId: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}): any;
|
|
18
|
+
create({ data, token, jwtToken, headers }: {
|
|
19
|
+
data: any;
|
|
20
|
+
token: any;
|
|
21
|
+
jwtToken: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}): any;
|
|
24
|
+
update({ invitationId, data, token, jwtToken, headers }: {
|
|
25
|
+
invitationId: any;
|
|
26
|
+
data: any;
|
|
27
|
+
token: any;
|
|
28
|
+
jwtToken: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}): any;
|
|
31
|
+
};
|
|
32
|
+
consumers: {
|
|
33
|
+
all({ token, jwtToken, query, headers }: {
|
|
34
|
+
token: any;
|
|
35
|
+
jwtToken: any;
|
|
36
|
+
query?: {};
|
|
37
|
+
headers: any;
|
|
38
|
+
}): any;
|
|
39
|
+
};
|
|
40
|
+
providers: {
|
|
41
|
+
all({ token, jwtToken, query, headers }: {
|
|
42
|
+
token: any;
|
|
43
|
+
jwtToken: any;
|
|
44
|
+
query?: {};
|
|
45
|
+
headers: any;
|
|
46
|
+
}): any;
|
|
47
|
+
};
|
|
48
|
+
network: {
|
|
49
|
+
get({ token, networkId, headers }: {
|
|
50
|
+
token: any;
|
|
51
|
+
networkId: any;
|
|
52
|
+
headers: any;
|
|
53
|
+
}): any;
|
|
54
|
+
update({ networkId, data, token, jwtToken, headers }: {
|
|
55
|
+
networkId: any;
|
|
56
|
+
data: any;
|
|
57
|
+
token: any;
|
|
58
|
+
jwtToken: any;
|
|
59
|
+
headers: any;
|
|
60
|
+
}): any;
|
|
61
|
+
remove({ networkId, token, jwtToken, headers }: {
|
|
62
|
+
networkId: any;
|
|
63
|
+
token: any;
|
|
64
|
+
jwtToken: any;
|
|
65
|
+
headers: any;
|
|
66
|
+
}): any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = lexiconsFactory;
|
|
2
|
+
declare function lexiconsFactory({ 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, lexiconEntries, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
lexiconEntries: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
createOrUpdateMany: ({ token, jwtToken, entries, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
entries: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
updateMany: ({ token, jwtToken, updates, headers }: {
|
|
25
|
+
token: any;
|
|
26
|
+
jwtToken: any;
|
|
27
|
+
updates: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export = printSettingsFactory;
|
|
2
|
+
declare function printSettingsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
update: ({ jwtToken, token, printSettings, headers }: {
|
|
12
|
+
jwtToken: any;
|
|
13
|
+
token: any;
|
|
14
|
+
printSettings: any;
|
|
15
|
+
headers: any;
|
|
16
|
+
}) => any;
|
|
17
|
+
productTemplates: {
|
|
18
|
+
create({ jwtToken, token, productTemplate, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
productTemplate: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}): any;
|
|
24
|
+
remove({ productTemplateId, token, jwtToken, headers }: {
|
|
25
|
+
productTemplateId: any;
|
|
26
|
+
token: any;
|
|
27
|
+
jwtToken: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}): any;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = printersFactory;
|
|
2
|
+
declare function printersFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
all: ({ token, query, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
query: any;
|
|
9
|
+
headers: any;
|
|
10
|
+
}) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export = travellersFactory;
|
|
2
|
+
declare function travellersFactory({ 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, 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, query, data, headers }: {
|
|
35
|
+
token: any;
|
|
36
|
+
jwtToken: any;
|
|
37
|
+
query?: {};
|
|
38
|
+
data: any;
|
|
39
|
+
headers: any;
|
|
40
|
+
}) => any;
|
|
41
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = trustedMachinesFactory;
|
|
2
|
+
declare function trustedMachinesFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, data, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
data: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = usersFactory;
|
|
2
|
+
declare function usersFactory({ 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
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export = customerCardsFactory;
|
|
2
|
+
declare function customerCardsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
remove: ({ token, jwtToken, paymentMethodId, customerId, customerCardId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
paymentMethodId: any;
|
|
10
|
+
customerId: any;
|
|
11
|
+
customerCardId: any;
|
|
12
|
+
headers: any;
|
|
13
|
+
}) => any;
|
|
14
|
+
create: ({ token, jwtToken, paymentMethodId, customerId, customerCard, headers }: {
|
|
15
|
+
token: any;
|
|
16
|
+
jwtToken: any;
|
|
17
|
+
paymentMethodId: any;
|
|
18
|
+
customerId: any;
|
|
19
|
+
customerCard: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
get: ({ token, jwtToken, paymentMethodId, customerId, customerCardId, headers }: {
|
|
23
|
+
token: any;
|
|
24
|
+
jwtToken: any;
|
|
25
|
+
paymentMethodId: any;
|
|
26
|
+
customerId: any;
|
|
27
|
+
customerCardId: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
all: ({ token, jwtToken, paymentMethodId, customerId, headers }: {
|
|
31
|
+
token: any;
|
|
32
|
+
jwtToken: any;
|
|
33
|
+
paymentMethodId: any;
|
|
34
|
+
customerId: any;
|
|
35
|
+
headers: any;
|
|
36
|
+
}) => any;
|
|
37
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export = customersFactory;
|
|
2
|
+
declare function customersFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
remove: ({ token, jwtToken, paymentMethodId, customerId, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
paymentMethodId: any;
|
|
10
|
+
customerId: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
create: ({ token, jwtToken, paymentMethodId, customer, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
paymentMethodId: any;
|
|
17
|
+
customer: any;
|
|
18
|
+
headers: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
get: ({ token, jwtToken, paymentMethodId, customerId, headers }: {
|
|
21
|
+
token: any;
|
|
22
|
+
jwtToken: any;
|
|
23
|
+
paymentMethodId: any;
|
|
24
|
+
customerId: any;
|
|
25
|
+
headers: any;
|
|
26
|
+
}) => any;
|
|
27
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export = paymentMethodsFactory;
|
|
2
|
+
declare function paymentMethodsFactory({ 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
|
+
getByProviderName: ({ token, jwtToken, providerName, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
providerName: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
create: ({ token, jwtToken, paymentMethod, headers }: {
|
|
19
|
+
token: any;
|
|
20
|
+
jwtToken: any;
|
|
21
|
+
paymentMethod: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
get: ({ token, jwtToken, paymentMethodId, headers }: {
|
|
25
|
+
token: any;
|
|
26
|
+
jwtToken: any;
|
|
27
|
+
paymentMethodId: any;
|
|
28
|
+
headers: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
setToAgency: ({ token, jwtToken, agencyId, providerId, paymentMethodNames, headers }: {
|
|
31
|
+
token: any;
|
|
32
|
+
jwtToken: any;
|
|
33
|
+
agencyId: any;
|
|
34
|
+
providerId: any;
|
|
35
|
+
paymentMethodNames: any;
|
|
36
|
+
headers: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
update: ({ token, jwtToken, paymentMethodId, paymentMethod, headers }: {
|
|
39
|
+
token: any;
|
|
40
|
+
jwtToken: any;
|
|
41
|
+
paymentMethodId: any;
|
|
42
|
+
paymentMethod: any;
|
|
43
|
+
headers: any;
|
|
44
|
+
}) => any;
|
|
45
|
+
createDefaultPaymentMethods: ({ token, jwtToken, accountId }: {
|
|
46
|
+
token: any;
|
|
47
|
+
jwtToken: any;
|
|
48
|
+
accountId: any;
|
|
49
|
+
}) => any;
|
|
50
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = paymentsFactory;
|
|
2
|
+
declare function paymentsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, payments, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
payments: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
get: ({ token, jwtToken, transactionId, headers }: {
|
|
13
|
+
token: any;
|
|
14
|
+
jwtToken: any;
|
|
15
|
+
transactionId: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export = referenceNumbersFactory;
|
|
2
|
+
declare function referenceNumbersFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
create: ({ token, jwtToken, referenceNumberRequest, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
referenceNumberRequest: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export = referencedPaymentsFactory;
|
|
2
|
+
declare function referencedPaymentsFactory({ client, internalAuthTokenProvider }: {
|
|
3
|
+
client: any;
|
|
4
|
+
internalAuthTokenProvider: any;
|
|
5
|
+
}): {
|
|
6
|
+
getStatus: ({ token, jwtToken, transactionId, referenceNumber, headers }: {
|
|
7
|
+
token: any;
|
|
8
|
+
jwtToken: any;
|
|
9
|
+
transactionId: any;
|
|
10
|
+
referenceNumber: any;
|
|
11
|
+
headers: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
update: ({ token, jwtToken, externalType, referenceNumber, paymentResult, headers }: {
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
externalType: any;
|
|
17
|
+
referenceNumber: any;
|
|
18
|
+
paymentResult: any;
|
|
19
|
+
headers: any;
|
|
20
|
+
}) => any;
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export function squareWebhooksFactory({ client, internalAuthTokenProvider }: {
|
|
2
|
+
client: any;
|
|
3
|
+
internalAuthTokenProvider: any;
|
|
4
|
+
}): {
|
|
5
|
+
create: ({ token, jwtToken, data, providerId, headers }: {
|
|
6
|
+
token: any;
|
|
7
|
+
jwtToken: any;
|
|
8
|
+
data: any;
|
|
9
|
+
providerId: any;
|
|
10
|
+
headers: any;
|
|
11
|
+
}) => any;
|
|
12
|
+
};
|
|
13
|
+
export function squareTerminalsFactory({ client, internalAuthTokenProvider }: {
|
|
14
|
+
client: any;
|
|
15
|
+
internalAuthTokenProvider: any;
|
|
16
|
+
}): {
|
|
17
|
+
get: ({ token, jwtToken, headers }: {
|
|
18
|
+
token: any;
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
headers: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|