btrz-api-client 5.156.0 → 5.158.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 +3 -3
- package/lib/client.js +1 -0
- package/lib/endpoints/accounts/shifts.js +18 -1
- package/lib/endpoints/inventory/mit-terminal-settings.js +89 -0
- package/package.json +1 -1
- package/src/client.js +1 -0
- package/src/endpoints/accounts/shifts.js +12 -1
- package/src/endpoints/inventory/mit-terminal-settings.js +63 -0
- package/test/endpoints/accounts/shifts.test.js +8 -0
- package/test/endpoints/inventory/mit-terminal-settings.test.js +74 -0
- package/types/client.d.ts +42 -0
- package/types/endpoints/accounts/shifts.d.ts +9 -0
- package/types/endpoints/inventory/mit-terminal-settings.d.ts +37 -0
- package/types/initializedClient.d.ts +42 -0
package/lib/client.js
CHANGED
|
@@ -110,6 +110,7 @@ function createInventory(_ref) {
|
|
|
110
110
|
vehicles: require("./endpoints/inventory/vehicles.js")({ client: client, internalAuthTokenProvider: internalAuthTokenProvider }),
|
|
111
111
|
seatClasses: require("./endpoints/inventory/seatclasses.js")({ client: client, internalAuthTokenProvider: internalAuthTokenProvider }),
|
|
112
112
|
segmentsInformation: require("./endpoints/inventory/segments-information.js")({ client: client, internalAuthTokenProvider: internalAuthTokenProvider }),
|
|
113
|
+
mitTerminalsSettings: require("./endpoints/inventory/mit-terminal-settings.js")({ client: client, internalAuthTokenProvider: internalAuthTokenProvider }),
|
|
113
114
|
__test: {
|
|
114
115
|
client: client
|
|
115
116
|
}
|
|
@@ -346,6 +346,22 @@ function shiftsFactory(_ref) {
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
|
+
var salesSummary = {
|
|
350
|
+
get: function get(_ref27) {
|
|
351
|
+
var token = _ref27.token,
|
|
352
|
+
jwtToken = _ref27.jwtToken,
|
|
353
|
+
shiftId = _ref27.shiftId,
|
|
354
|
+
query = _ref27.query,
|
|
355
|
+
headers = _ref27.headers;
|
|
356
|
+
|
|
357
|
+
return client.get("/shifts/" + shiftId + "/sales-summary", {
|
|
358
|
+
headers: authorizationHeaders({
|
|
359
|
+
token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers
|
|
360
|
+
}),
|
|
361
|
+
params: query
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
};
|
|
349
365
|
|
|
350
366
|
return {
|
|
351
367
|
all: all,
|
|
@@ -367,7 +383,8 @@ function shiftsFactory(_ref) {
|
|
|
367
383
|
manualTickets: manualTickets,
|
|
368
384
|
locationClosures: locationClosures,
|
|
369
385
|
startingBalances: startingBalances,
|
|
370
|
-
purchaseLimitPayments: purchaseLimitPayments
|
|
386
|
+
purchaseLimitPayments: purchaseLimitPayments,
|
|
387
|
+
salesSummary: salesSummary
|
|
371
388
|
};
|
|
372
389
|
}
|
|
373
390
|
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _require = require("../endpoints_helpers.js"),
|
|
4
|
+
authorizationHeaders = _require.authorizationHeaders;
|
|
5
|
+
|
|
6
|
+
function mitTerminalFactory(_ref) {
|
|
7
|
+
var client = _ref.client,
|
|
8
|
+
internalAuthTokenProvider = _ref.internalAuthTokenProvider;
|
|
9
|
+
|
|
10
|
+
function all(_ref2) {
|
|
11
|
+
var token = _ref2.token,
|
|
12
|
+
jwtToken = _ref2.jwtToken,
|
|
13
|
+
_ref2$query = _ref2.query,
|
|
14
|
+
query = _ref2$query === undefined ? {} : _ref2$query,
|
|
15
|
+
headers = _ref2.headers;
|
|
16
|
+
|
|
17
|
+
return client.get("/mit-terminals-settings", {
|
|
18
|
+
params: query,
|
|
19
|
+
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers })
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function get(_ref3) {
|
|
24
|
+
var id = _ref3.id,
|
|
25
|
+
token = _ref3.token,
|
|
26
|
+
jwtToken = _ref3.jwtToken,
|
|
27
|
+
headers = _ref3.headers;
|
|
28
|
+
|
|
29
|
+
return client.get("/mit-terminals-settings/" + id, {
|
|
30
|
+
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers })
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function create(_ref4) {
|
|
35
|
+
var jwtToken = _ref4.jwtToken,
|
|
36
|
+
token = _ref4.token,
|
|
37
|
+
mitTerminalSettings = _ref4.mitTerminalSettings,
|
|
38
|
+
headers = _ref4.headers;
|
|
39
|
+
|
|
40
|
+
return client({
|
|
41
|
+
url: "/mit-terminals-settings",
|
|
42
|
+
method: "post",
|
|
43
|
+
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers }),
|
|
44
|
+
data: {
|
|
45
|
+
mitTerminalSettings: mitTerminalSettings
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function remove(_ref5) {
|
|
51
|
+
var jwtToken = _ref5.jwtToken,
|
|
52
|
+
id = _ref5.id,
|
|
53
|
+
token = _ref5.token,
|
|
54
|
+
headers = _ref5.headers;
|
|
55
|
+
|
|
56
|
+
return client({
|
|
57
|
+
url: "/mit-terminals-settings/" + id,
|
|
58
|
+
method: "delete",
|
|
59
|
+
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers })
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function update(_ref6) {
|
|
64
|
+
var jwtToken = _ref6.jwtToken,
|
|
65
|
+
token = _ref6.token,
|
|
66
|
+
id = _ref6.id,
|
|
67
|
+
mitTerminalSettings = _ref6.mitTerminalSettings,
|
|
68
|
+
headers = _ref6.headers;
|
|
69
|
+
|
|
70
|
+
return client({
|
|
71
|
+
url: "/mit-terminals-settings/" + id,
|
|
72
|
+
method: "put",
|
|
73
|
+
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers }),
|
|
74
|
+
data: {
|
|
75
|
+
mitTerminalSettings: mitTerminalSettings
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
all: all,
|
|
82
|
+
get: get,
|
|
83
|
+
create: create,
|
|
84
|
+
update: update,
|
|
85
|
+
remove: remove
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
module.exports = mitTerminalFactory;
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -97,6 +97,7 @@ function createInventory({baseURL, headers, timeout, overrideFn, internalAuthTok
|
|
|
97
97
|
vehicles: require("./endpoints/inventory/vehicles.js")({client, internalAuthTokenProvider}),
|
|
98
98
|
seatClasses: require("./endpoints/inventory/seatclasses.js")({client, internalAuthTokenProvider}),
|
|
99
99
|
segmentsInformation: require("./endpoints/inventory/segments-information.js")({client, internalAuthTokenProvider}),
|
|
100
|
+
mitTerminalsSettings: require("./endpoints/inventory/mit-terminal-settings.js")({client, internalAuthTokenProvider}),
|
|
100
101
|
__test: {
|
|
101
102
|
client
|
|
102
103
|
}
|
|
@@ -208,6 +208,16 @@ function shiftsFactory({client, internalAuthTokenProvider}) {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
|
+
const salesSummary = {
|
|
212
|
+
get({token, jwtToken, shiftId, query, headers}) {
|
|
213
|
+
return client.get(`/shifts/${shiftId}/sales-summary`, {
|
|
214
|
+
headers: authorizationHeaders({
|
|
215
|
+
token, jwtToken, internalAuthTokenProvider, headers
|
|
216
|
+
}),
|
|
217
|
+
params: query
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
};
|
|
211
221
|
|
|
212
222
|
return {
|
|
213
223
|
all,
|
|
@@ -229,7 +239,8 @@ function shiftsFactory({client, internalAuthTokenProvider}) {
|
|
|
229
239
|
manualTickets,
|
|
230
240
|
locationClosures,
|
|
231
241
|
startingBalances,
|
|
232
|
-
purchaseLimitPayments
|
|
242
|
+
purchaseLimitPayments,
|
|
243
|
+
salesSummary
|
|
233
244
|
};
|
|
234
245
|
}
|
|
235
246
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const {
|
|
2
|
+
authorizationHeaders
|
|
3
|
+
} = require("../endpoints_helpers.js");
|
|
4
|
+
|
|
5
|
+
function mitTerminalFactory({client, internalAuthTokenProvider}) {
|
|
6
|
+
function all({
|
|
7
|
+
token,
|
|
8
|
+
jwtToken,
|
|
9
|
+
query = {},
|
|
10
|
+
headers
|
|
11
|
+
}) {
|
|
12
|
+
return client.get("/mit-terminals-settings", {
|
|
13
|
+
params: query,
|
|
14
|
+
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function get({id, token, jwtToken, headers}) {
|
|
19
|
+
return client.get(`/mit-terminals-settings/${id}`, {
|
|
20
|
+
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function create({jwtToken, token, mitTerminalSettings, headers}) {
|
|
25
|
+
return client({
|
|
26
|
+
url: "/mit-terminals-settings",
|
|
27
|
+
method: "post",
|
|
28
|
+
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers}),
|
|
29
|
+
data: {
|
|
30
|
+
mitTerminalSettings
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function remove({jwtToken, id, token, headers}) {
|
|
36
|
+
return client({
|
|
37
|
+
url: `/mit-terminals-settings/${id}`,
|
|
38
|
+
method: "delete",
|
|
39
|
+
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers})
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function update({jwtToken, token, id, mitTerminalSettings, headers}) {
|
|
44
|
+
return client({
|
|
45
|
+
url: `/mit-terminals-settings/${id}`,
|
|
46
|
+
method: "put",
|
|
47
|
+
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers}),
|
|
48
|
+
data: {
|
|
49
|
+
mitTerminalSettings
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
all,
|
|
56
|
+
get,
|
|
57
|
+
create,
|
|
58
|
+
update,
|
|
59
|
+
remove
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
module.exports = mitTerminalFactory;
|
|
@@ -190,4 +190,12 @@ describe("accounts/shifts", () => {
|
|
|
190
190
|
axiosMock.onGet(`/shifts/${locationId}/purchase-limit-payments`).reply(expectRequest({statusCode: 200, token, query}));
|
|
191
191
|
return api.accounts.shifts.purchaseLimitPayments.get({token, jwtToken, locationId, query});
|
|
192
192
|
});
|
|
193
|
+
|
|
194
|
+
it("should get the shift sales Summary", () => {
|
|
195
|
+
const shiftId = "shiftId";
|
|
196
|
+
const query = {depositable: false};
|
|
197
|
+
axiosMock.onGet(`/shifts/${shiftId}/sales-summary`).reply(expectRequest({statusCode: 200, token, query}));
|
|
198
|
+
return api.accounts.shifts.salesSummary.get({token, jwtToken, shiftId, query});
|
|
199
|
+
});
|
|
193
200
|
});
|
|
201
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const {
|
|
2
|
+
axiosMock, expectRequest
|
|
3
|
+
} = require("../../test-helpers");
|
|
4
|
+
const api = require("../../../src/client").createApiClient({baseURL: "http://test.com"});
|
|
5
|
+
|
|
6
|
+
describe("inventory/mit-terminals-settings", () => {
|
|
7
|
+
const token = "I owe you a token";
|
|
8
|
+
const jwtToken = "I owe you a JWT token";
|
|
9
|
+
|
|
10
|
+
afterEach(() => {
|
|
11
|
+
axiosMock.reset();
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
it("should create a MIT terminal setting", () => {
|
|
15
|
+
axiosMock.onPost("/mit-terminals-settings").reply(expectRequest({statusCode: 200, token, jwtToken}));
|
|
16
|
+
return api.inventory.mitTerminalsSettings.create({
|
|
17
|
+
jwtToken,
|
|
18
|
+
token,
|
|
19
|
+
mitTerminalSettings: {
|
|
20
|
+
name: "My MIT terminal setting",
|
|
21
|
+
operatingCompanyId: "123",
|
|
22
|
+
shiftLocationId: "12312300",
|
|
23
|
+
user: "user",
|
|
24
|
+
password: "password"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it("should get all MIT terminals settings", () => {
|
|
30
|
+
axiosMock.onGet("/mit-terminals-settings").reply(expectRequest({statusCode: 200, token, jwtToken}));
|
|
31
|
+
return api.inventory.mitTerminalsSettings.all({
|
|
32
|
+
jwtToken,
|
|
33
|
+
token,
|
|
34
|
+
query: {}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
it("should update a MIT terminal setting", () => {
|
|
39
|
+
const id = "1234";
|
|
40
|
+
axiosMock.onPut(`/mit-terminals-settings/${id}`).reply(expectRequest({statusCode: 200, token, jwtToken}));
|
|
41
|
+
return api.inventory.mitTerminalsSettings.update({
|
|
42
|
+
jwtToken,
|
|
43
|
+
token,
|
|
44
|
+
id,
|
|
45
|
+
mitTerminalSettings: {
|
|
46
|
+
name: "My MIT terminal setting",
|
|
47
|
+
operatingCompanyId: "123",
|
|
48
|
+
shiftLocationId: "12312300",
|
|
49
|
+
user: "user",
|
|
50
|
+
password: "password"
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it("should get a MIT terminal setting", () => {
|
|
56
|
+
const id = "1234";
|
|
57
|
+
axiosMock.onGet(`/mit-terminals-settings/${id}`).reply(expectRequest({statusCode: 200, token, jwtToken}));
|
|
58
|
+
return api.inventory.mitTerminalsSettings.get({
|
|
59
|
+
jwtToken,
|
|
60
|
+
token,
|
|
61
|
+
id
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it("should delete a MIT terminal setting", () => {
|
|
66
|
+
const id = "1234";
|
|
67
|
+
axiosMock.onDelete(`/mit-terminals-settings/${id}`).reply(expectRequest({statusCode: 200, token, jwtToken}));
|
|
68
|
+
return api.inventory.mitTerminalsSettings.remove({
|
|
69
|
+
jwtToken,
|
|
70
|
+
token,
|
|
71
|
+
id
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
});
|
package/types/client.d.ts
CHANGED
|
@@ -1573,6 +1573,39 @@ export function createApiClient(options: {
|
|
|
1573
1573
|
headers: any;
|
|
1574
1574
|
}) => any;
|
|
1575
1575
|
};
|
|
1576
|
+
mitTerminalsSettings: {
|
|
1577
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
1578
|
+
token: any;
|
|
1579
|
+
jwtToken: any;
|
|
1580
|
+
query?: {};
|
|
1581
|
+
headers: any;
|
|
1582
|
+
}) => any;
|
|
1583
|
+
get: ({ id, token, jwtToken, headers }: {
|
|
1584
|
+
id: any;
|
|
1585
|
+
token: any;
|
|
1586
|
+
jwtToken: any;
|
|
1587
|
+
headers: any;
|
|
1588
|
+
}) => any;
|
|
1589
|
+
create: ({ jwtToken, token, mitTerminalSettings, headers }: {
|
|
1590
|
+
jwtToken: any;
|
|
1591
|
+
token: any;
|
|
1592
|
+
mitTerminalSettings: any;
|
|
1593
|
+
headers: any;
|
|
1594
|
+
}) => any;
|
|
1595
|
+
update: ({ jwtToken, token, id, mitTerminalSettings, headers }: {
|
|
1596
|
+
jwtToken: any;
|
|
1597
|
+
token: any;
|
|
1598
|
+
id: any;
|
|
1599
|
+
mitTerminalSettings: any;
|
|
1600
|
+
headers: any;
|
|
1601
|
+
}) => any;
|
|
1602
|
+
remove: ({ jwtToken, id, token, headers }: {
|
|
1603
|
+
jwtToken: any;
|
|
1604
|
+
id: any;
|
|
1605
|
+
token: any;
|
|
1606
|
+
headers: any;
|
|
1607
|
+
}) => any;
|
|
1608
|
+
};
|
|
1576
1609
|
__test: {
|
|
1577
1610
|
client: axios.AxiosInstance;
|
|
1578
1611
|
};
|
|
@@ -2250,6 +2283,15 @@ export function createApiClient(options: {
|
|
|
2250
2283
|
headers: any;
|
|
2251
2284
|
}): any;
|
|
2252
2285
|
};
|
|
2286
|
+
salesSummary: {
|
|
2287
|
+
get({ token, jwtToken, shiftId, query, headers }: {
|
|
2288
|
+
token: any;
|
|
2289
|
+
jwtToken: any;
|
|
2290
|
+
shiftId: any;
|
|
2291
|
+
query: any;
|
|
2292
|
+
headers: any;
|
|
2293
|
+
}): any;
|
|
2294
|
+
};
|
|
2253
2295
|
};
|
|
2254
2296
|
shiftSettings: {
|
|
2255
2297
|
get: ({ token, jwtToken, query, headers }: {
|
|
@@ -193,4 +193,13 @@ declare function shiftsFactory({ client, internalAuthTokenProvider }: {
|
|
|
193
193
|
headers: any;
|
|
194
194
|
}): any;
|
|
195
195
|
};
|
|
196
|
+
salesSummary: {
|
|
197
|
+
get({ token, jwtToken, shiftId, query, headers }: {
|
|
198
|
+
token: any;
|
|
199
|
+
jwtToken: any;
|
|
200
|
+
shiftId: any;
|
|
201
|
+
query: any;
|
|
202
|
+
headers: any;
|
|
203
|
+
}): any;
|
|
204
|
+
};
|
|
196
205
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export = mitTerminalFactory;
|
|
2
|
+
declare function mitTerminalFactory({ 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: ({ id, token, jwtToken, headers }: {
|
|
13
|
+
id: any;
|
|
14
|
+
token: any;
|
|
15
|
+
jwtToken: any;
|
|
16
|
+
headers: any;
|
|
17
|
+
}) => any;
|
|
18
|
+
create: ({ jwtToken, token, mitTerminalSettings, headers }: {
|
|
19
|
+
jwtToken: any;
|
|
20
|
+
token: any;
|
|
21
|
+
mitTerminalSettings: any;
|
|
22
|
+
headers: any;
|
|
23
|
+
}) => any;
|
|
24
|
+
update: ({ jwtToken, token, id, mitTerminalSettings, headers }: {
|
|
25
|
+
jwtToken: any;
|
|
26
|
+
token: any;
|
|
27
|
+
id: any;
|
|
28
|
+
mitTerminalSettings: any;
|
|
29
|
+
headers: any;
|
|
30
|
+
}) => any;
|
|
31
|
+
remove: ({ jwtToken, id, token, headers }: {
|
|
32
|
+
jwtToken: any;
|
|
33
|
+
id: any;
|
|
34
|
+
token: any;
|
|
35
|
+
headers: any;
|
|
36
|
+
}) => any;
|
|
37
|
+
};
|
|
@@ -1527,6 +1527,39 @@ declare const _exports: {
|
|
|
1527
1527
|
headers: any;
|
|
1528
1528
|
}) => any;
|
|
1529
1529
|
};
|
|
1530
|
+
mitTerminalsSettings: {
|
|
1531
|
+
all: ({ token, jwtToken, query, headers }: {
|
|
1532
|
+
token: any;
|
|
1533
|
+
jwtToken: any;
|
|
1534
|
+
query?: {};
|
|
1535
|
+
headers: any;
|
|
1536
|
+
}) => any;
|
|
1537
|
+
get: ({ id, token, jwtToken, headers }: {
|
|
1538
|
+
id: any;
|
|
1539
|
+
token: any;
|
|
1540
|
+
jwtToken: any;
|
|
1541
|
+
headers: any;
|
|
1542
|
+
}) => any;
|
|
1543
|
+
create: ({ jwtToken, token, mitTerminalSettings, headers }: {
|
|
1544
|
+
jwtToken: any;
|
|
1545
|
+
token: any;
|
|
1546
|
+
mitTerminalSettings: any;
|
|
1547
|
+
headers: any;
|
|
1548
|
+
}) => any;
|
|
1549
|
+
update: ({ jwtToken, token, id, mitTerminalSettings, headers }: {
|
|
1550
|
+
jwtToken: any;
|
|
1551
|
+
token: any;
|
|
1552
|
+
id: any;
|
|
1553
|
+
mitTerminalSettings: any;
|
|
1554
|
+
headers: any;
|
|
1555
|
+
}) => any;
|
|
1556
|
+
remove: ({ jwtToken, id, token, headers }: {
|
|
1557
|
+
jwtToken: any;
|
|
1558
|
+
id: any;
|
|
1559
|
+
token: any;
|
|
1560
|
+
headers: any;
|
|
1561
|
+
}) => any;
|
|
1562
|
+
};
|
|
1530
1563
|
__test: {
|
|
1531
1564
|
client: import("axios").AxiosInstance;
|
|
1532
1565
|
};
|
|
@@ -2204,6 +2237,15 @@ declare const _exports: {
|
|
|
2204
2237
|
headers: any;
|
|
2205
2238
|
}): any;
|
|
2206
2239
|
};
|
|
2240
|
+
salesSummary: {
|
|
2241
|
+
get({ token, jwtToken, shiftId, query, headers }: {
|
|
2242
|
+
token: any;
|
|
2243
|
+
jwtToken: any;
|
|
2244
|
+
shiftId: any;
|
|
2245
|
+
query: any;
|
|
2246
|
+
headers: any;
|
|
2247
|
+
}): any;
|
|
2248
|
+
};
|
|
2207
2249
|
};
|
|
2208
2250
|
shiftSettings: {
|
|
2209
2251
|
get: ({ token, jwtToken, query, headers }: {
|