@moovio/sdk 0.10.12 → 0.10.14

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.
Files changed (143) hide show
  1. package/README.md +43 -19
  2. package/bin/mcp-server.js +1581 -1000
  3. package/bin/mcp-server.js.map +30 -19
  4. package/docs/sdks/accountterminalapplications/README.md +375 -0
  5. package/docs/sdks/terminalapplications/README.md +12 -12
  6. package/funcs/accountTerminalApplicationsGet.d.ts +16 -0
  7. package/funcs/accountTerminalApplicationsGet.d.ts.map +1 -0
  8. package/funcs/accountTerminalApplicationsGet.js +121 -0
  9. package/funcs/accountTerminalApplicationsGet.js.map +1 -0
  10. package/funcs/{terminalConfigurationsGet.d.ts → accountTerminalApplicationsGetConfiguration.d.ts} +3 -3
  11. package/funcs/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -0
  12. package/funcs/{terminalConfigurationsGet.js → accountTerminalApplicationsGetConfiguration.js} +4 -4
  13. package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -0
  14. package/funcs/accountTerminalApplicationsLink.d.ts +17 -0
  15. package/funcs/accountTerminalApplicationsLink.d.ts.map +1 -0
  16. package/funcs/accountTerminalApplicationsLink.js +138 -0
  17. package/funcs/accountTerminalApplicationsLink.js.map +1 -0
  18. package/funcs/accountTerminalApplicationsList.d.ts +16 -0
  19. package/funcs/accountTerminalApplicationsList.d.ts.map +1 -0
  20. package/funcs/accountTerminalApplicationsList.js +120 -0
  21. package/funcs/accountTerminalApplicationsList.js.map +1 -0
  22. package/funcs/terminalApplicationsCreate.d.ts +1 -1
  23. package/funcs/terminalApplicationsCreate.js +1 -1
  24. package/funcs/terminalApplicationsDelete.d.ts +1 -1
  25. package/funcs/terminalApplicationsDelete.js +1 -1
  26. package/funcs/terminalApplicationsGet.d.ts +1 -1
  27. package/funcs/terminalApplicationsGet.js +1 -1
  28. package/funcs/terminalApplicationsList.d.ts +1 -1
  29. package/funcs/terminalApplicationsList.js +1 -1
  30. package/jsr.json +1 -1
  31. package/lib/config.d.ts +2 -2
  32. package/lib/config.js +2 -2
  33. package/mcp-server/mcp-server.js +1 -1
  34. package/mcp-server/server.d.ts.map +1 -1
  35. package/mcp-server/server.js +9 -3
  36. package/mcp-server/server.js.map +1 -1
  37. package/mcp-server/tools/accountTerminalApplicationsGet.d.ts +8 -0
  38. package/mcp-server/tools/accountTerminalApplicationsGet.d.ts.map +1 -0
  39. package/mcp-server/tools/accountTerminalApplicationsGet.js +65 -0
  40. package/mcp-server/tools/accountTerminalApplicationsGet.js.map +1 -0
  41. package/mcp-server/tools/{terminalConfigurationsGet.d.ts → accountTerminalApplicationsGetConfiguration.d.ts} +2 -2
  42. package/mcp-server/tools/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -0
  43. package/mcp-server/tools/{terminalConfigurationsGet.js → accountTerminalApplicationsGetConfiguration.js} +7 -7
  44. package/mcp-server/tools/accountTerminalApplicationsGetConfiguration.js.map +1 -0
  45. package/mcp-server/tools/accountTerminalApplicationsLink.d.ts +8 -0
  46. package/mcp-server/tools/accountTerminalApplicationsLink.d.ts.map +1 -0
  47. package/mcp-server/tools/accountTerminalApplicationsLink.js +65 -0
  48. package/mcp-server/tools/accountTerminalApplicationsLink.js.map +1 -0
  49. package/mcp-server/tools/accountTerminalApplicationsList.d.ts +8 -0
  50. package/mcp-server/tools/accountTerminalApplicationsList.d.ts.map +1 -0
  51. package/mcp-server/tools/accountTerminalApplicationsList.js +65 -0
  52. package/mcp-server/tools/accountTerminalApplicationsList.js.map +1 -0
  53. package/mcp-server/tools/terminalApplicationsCreate.js +1 -1
  54. package/mcp-server/tools/terminalApplicationsCreate.js.map +1 -1
  55. package/mcp-server/tools/terminalApplicationsDelete.js +1 -1
  56. package/mcp-server/tools/terminalApplicationsDelete.js.map +1 -1
  57. package/mcp-server/tools/terminalApplicationsGet.js +1 -1
  58. package/mcp-server/tools/terminalApplicationsGet.js.map +1 -1
  59. package/mcp-server/tools/terminalApplicationsList.js +1 -1
  60. package/mcp-server/tools/terminalApplicationsList.js.map +1 -1
  61. package/models/components/index.d.ts +1 -0
  62. package/models/components/index.d.ts.map +1 -1
  63. package/models/components/index.js +1 -0
  64. package/models/components/index.js.map +1 -1
  65. package/models/components/linkaccountterminalapplication.d.ts +35 -0
  66. package/models/components/linkaccountterminalapplication.d.ts.map +1 -0
  67. package/models/components/linkaccountterminalapplication.js +69 -0
  68. package/models/components/linkaccountterminalapplication.js.map +1 -0
  69. package/models/errors/accountterminalapplicationerror.d.ts +31 -0
  70. package/models/errors/accountterminalapplicationerror.d.ts.map +1 -0
  71. package/models/errors/accountterminalapplicationerror.js +79 -0
  72. package/models/errors/accountterminalapplicationerror.js.map +1 -0
  73. package/models/errors/index.d.ts +1 -0
  74. package/models/errors/index.d.ts.map +1 -1
  75. package/models/errors/index.js +1 -0
  76. package/models/errors/index.js.map +1 -1
  77. package/models/operations/getaccountterminalapplication.d.ts +101 -0
  78. package/models/operations/getaccountterminalapplication.d.ts.map +1 -0
  79. package/models/operations/getaccountterminalapplication.js +147 -0
  80. package/models/operations/getaccountterminalapplication.js.map +1 -0
  81. package/models/operations/index.d.ts +3 -0
  82. package/models/operations/index.d.ts.map +1 -1
  83. package/models/operations/index.js +3 -0
  84. package/models/operations/index.js.map +1 -1
  85. package/models/operations/linkaccountterminalapplication.d.ts +101 -0
  86. package/models/operations/linkaccountterminalapplication.d.ts.map +1 -0
  87. package/models/operations/linkaccountterminalapplication.js +155 -0
  88. package/models/operations/linkaccountterminalapplication.js.map +1 -0
  89. package/models/operations/listaccountterminalapplications.d.ts +99 -0
  90. package/models/operations/listaccountterminalapplications.d.ts.map +1 -0
  91. package/models/operations/listaccountterminalapplications.js +145 -0
  92. package/models/operations/listaccountterminalapplications.js.map +1 -0
  93. package/package.json +1 -1
  94. package/sdk/accountterminalapplications.d.ts +33 -0
  95. package/sdk/accountterminalapplications.d.ts.map +1 -0
  96. package/sdk/accountterminalapplications.js +52 -0
  97. package/sdk/accountterminalapplications.js.map +1 -0
  98. package/sdk/sdk.d.ts +3 -3
  99. package/sdk/sdk.d.ts.map +1 -1
  100. package/sdk/sdk.js +3 -3
  101. package/sdk/sdk.js.map +1 -1
  102. package/sdk/terminalapplications.d.ts +4 -4
  103. package/sdk/terminalapplications.js +4 -4
  104. package/src/funcs/accountTerminalApplicationsGet.ts +184 -0
  105. package/src/funcs/{terminalConfigurationsGet.ts → accountTerminalApplicationsGetConfiguration.ts} +2 -2
  106. package/src/funcs/accountTerminalApplicationsLink.ts +205 -0
  107. package/src/funcs/accountTerminalApplicationsList.ts +179 -0
  108. package/src/funcs/terminalApplicationsCreate.ts +1 -1
  109. package/src/funcs/terminalApplicationsDelete.ts +1 -1
  110. package/src/funcs/terminalApplicationsGet.ts +1 -1
  111. package/src/funcs/terminalApplicationsList.ts +1 -1
  112. package/src/lib/config.ts +2 -2
  113. package/src/mcp-server/mcp-server.ts +1 -1
  114. package/src/mcp-server/server.ts +9 -3
  115. package/src/mcp-server/tools/accountTerminalApplicationsGet.ts +40 -0
  116. package/src/mcp-server/tools/{terminalConfigurationsGet.ts → accountTerminalApplicationsGetConfiguration.ts} +8 -5
  117. package/src/mcp-server/tools/accountTerminalApplicationsLink.ts +39 -0
  118. package/src/mcp-server/tools/accountTerminalApplicationsList.ts +40 -0
  119. package/src/mcp-server/tools/terminalApplicationsCreate.ts +1 -1
  120. package/src/mcp-server/tools/terminalApplicationsDelete.ts +1 -1
  121. package/src/mcp-server/tools/terminalApplicationsGet.ts +1 -1
  122. package/src/mcp-server/tools/terminalApplicationsList.ts +1 -1
  123. package/src/models/components/index.ts +1 -0
  124. package/src/models/components/linkaccountterminalapplication.ts +74 -0
  125. package/src/models/errors/accountterminalapplicationerror.ts +71 -0
  126. package/src/models/errors/index.ts +1 -0
  127. package/src/models/operations/getaccountterminalapplication.ts +238 -0
  128. package/src/models/operations/index.ts +3 -0
  129. package/src/models/operations/linkaccountterminalapplication.ts +250 -0
  130. package/src/models/operations/listaccountterminalapplications.ts +242 -0
  131. package/src/sdk/accountterminalapplications.ts +81 -0
  132. package/src/sdk/sdk.ts +5 -6
  133. package/src/sdk/terminalapplications.ts +4 -4
  134. package/docs/sdks/terminalconfigurations/README.md +0 -98
  135. package/funcs/terminalConfigurationsGet.d.ts.map +0 -1
  136. package/funcs/terminalConfigurationsGet.js.map +0 -1
  137. package/mcp-server/tools/terminalConfigurationsGet.d.ts.map +0 -1
  138. package/mcp-server/tools/terminalConfigurationsGet.js.map +0 -1
  139. package/sdk/terminalconfigurations.d.ts +0 -12
  140. package/sdk/terminalconfigurations.d.ts.map +0 -1
  141. package/sdk/terminalconfigurations.js +0 -22
  142. package/sdk/terminalconfigurations.js.map +0 -1
  143. package/src/sdk/terminalconfigurations.ts +0 -27
@@ -0,0 +1,375 @@
1
+ # AccountTerminalApplications
2
+ (*accountTerminalApplications*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [link](#link) - Link an account with a terminal application.
9
+
10
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
11
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.write` scope.
12
+ * [list](#list) - Retrieve all terminal applications linked to a specific account.
13
+
14
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
15
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
16
+ * [get](#get) - Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.
17
+
18
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
19
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
20
+ * [getConfiguration](#getconfiguration) - Fetch the configuration for a given Terminal Application linked to a specific Account.
21
+
22
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
23
+ you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
24
+
25
+ ## link
26
+
27
+ Link an account with a terminal application.
28
+
29
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
30
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.write` scope.
31
+
32
+ ### Example Usage
33
+
34
+ ```typescript
35
+ import { Moov } from "@moovio/sdk";
36
+
37
+ const moov = new Moov({
38
+ security: {
39
+ username: "",
40
+ password: "",
41
+ },
42
+ });
43
+
44
+ async function run() {
45
+ const result = await moov.accountTerminalApplications.link({
46
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
47
+ linkAccountTerminalApplication: {
48
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
49
+ },
50
+ });
51
+
52
+ // Handle the result
53
+ console.log(result);
54
+ }
55
+
56
+ run();
57
+ ```
58
+
59
+ ### Standalone function
60
+
61
+ The standalone function version of this method:
62
+
63
+ ```typescript
64
+ import { MoovCore } from "@moovio/sdk/core.js";
65
+ import { accountTerminalApplicationsLink } from "@moovio/sdk/funcs/accountTerminalApplicationsLink.js";
66
+
67
+ // Use `MoovCore` for best tree-shaking performance.
68
+ // You can create one instance of it to use across an application.
69
+ const moov = new MoovCore({
70
+ security: {
71
+ username: "",
72
+ password: "",
73
+ },
74
+ });
75
+
76
+ async function run() {
77
+ const res = await accountTerminalApplicationsLink(moov, {
78
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
79
+ linkAccountTerminalApplication: {
80
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
81
+ },
82
+ });
83
+
84
+ if (!res.ok) {
85
+ throw res.error;
86
+ }
87
+
88
+ const { value: result } = res;
89
+
90
+ // Handle the result
91
+ console.log(result);
92
+ }
93
+
94
+ run();
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ | Parameter | Type | Required | Description |
100
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
101
+ | `request` | [operations.LinkAccountTerminalApplicationRequest](../../models/operations/linkaccountterminalapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
102
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
103
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
104
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
105
+
106
+ ### Response
107
+
108
+ **Promise\<[operations.LinkAccountTerminalApplicationResponse](../../models/operations/linkaccountterminalapplicationresponse.md)\>**
109
+
110
+ ### Errors
111
+
112
+ | Error Type | Status Code | Content Type |
113
+ | -------------------------------------- | -------------------------------------- | -------------------------------------- |
114
+ | errors.GenericError | 400, 409 | application/json |
115
+ | errors.AccountTerminalApplicationError | 422 | application/json |
116
+ | errors.APIError | 4XX, 5XX | \*/\* |
117
+
118
+ ## list
119
+
120
+ Retrieve all terminal applications linked to a specific account.
121
+
122
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
123
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
124
+
125
+ ### Example Usage
126
+
127
+ ```typescript
128
+ import { Moov } from "@moovio/sdk";
129
+
130
+ const moov = new Moov({
131
+ security: {
132
+ username: "",
133
+ password: "",
134
+ },
135
+ });
136
+
137
+ async function run() {
138
+ const result = await moov.accountTerminalApplications.list({
139
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
140
+ });
141
+
142
+ // Handle the result
143
+ console.log(result);
144
+ }
145
+
146
+ run();
147
+ ```
148
+
149
+ ### Standalone function
150
+
151
+ The standalone function version of this method:
152
+
153
+ ```typescript
154
+ import { MoovCore } from "@moovio/sdk/core.js";
155
+ import { accountTerminalApplicationsList } from "@moovio/sdk/funcs/accountTerminalApplicationsList.js";
156
+
157
+ // Use `MoovCore` for best tree-shaking performance.
158
+ // You can create one instance of it to use across an application.
159
+ const moov = new MoovCore({
160
+ security: {
161
+ username: "",
162
+ password: "",
163
+ },
164
+ });
165
+
166
+ async function run() {
167
+ const res = await accountTerminalApplicationsList(moov, {
168
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
169
+ });
170
+
171
+ if (!res.ok) {
172
+ throw res.error;
173
+ }
174
+
175
+ const { value: result } = res;
176
+
177
+ // Handle the result
178
+ console.log(result);
179
+ }
180
+
181
+ run();
182
+ ```
183
+
184
+ ### Parameters
185
+
186
+ | Parameter | Type | Required | Description |
187
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
188
+ | `request` | [operations.ListAccountTerminalApplicationsRequest](../../models/operations/listaccountterminalapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
189
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
190
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
191
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
192
+
193
+ ### Response
194
+
195
+ **Promise\<[operations.ListAccountTerminalApplicationsResponse](../../models/operations/listaccountterminalapplicationsresponse.md)\>**
196
+
197
+ ### Errors
198
+
199
+ | Error Type | Status Code | Content Type |
200
+ | --------------- | --------------- | --------------- |
201
+ | errors.APIError | 4XX, 5XX | \*/\* |
202
+
203
+ ## get
204
+
205
+ Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.
206
+
207
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
208
+ you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
209
+
210
+ ### Example Usage
211
+
212
+ ```typescript
213
+ import { Moov } from "@moovio/sdk";
214
+
215
+ const moov = new Moov({
216
+ security: {
217
+ username: "",
218
+ password: "",
219
+ },
220
+ });
221
+
222
+ async function run() {
223
+ const result = await moov.accountTerminalApplications.get({
224
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
225
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
226
+ });
227
+
228
+ // Handle the result
229
+ console.log(result);
230
+ }
231
+
232
+ run();
233
+ ```
234
+
235
+ ### Standalone function
236
+
237
+ The standalone function version of this method:
238
+
239
+ ```typescript
240
+ import { MoovCore } from "@moovio/sdk/core.js";
241
+ import { accountTerminalApplicationsGet } from "@moovio/sdk/funcs/accountTerminalApplicationsGet.js";
242
+
243
+ // Use `MoovCore` for best tree-shaking performance.
244
+ // You can create one instance of it to use across an application.
245
+ const moov = new MoovCore({
246
+ security: {
247
+ username: "",
248
+ password: "",
249
+ },
250
+ });
251
+
252
+ async function run() {
253
+ const res = await accountTerminalApplicationsGet(moov, {
254
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
255
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
256
+ });
257
+
258
+ if (!res.ok) {
259
+ throw res.error;
260
+ }
261
+
262
+ const { value: result } = res;
263
+
264
+ // Handle the result
265
+ console.log(result);
266
+ }
267
+
268
+ run();
269
+ ```
270
+
271
+ ### Parameters
272
+
273
+ | Parameter | Type | Required | Description |
274
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
275
+ | `request` | [operations.GetAccountTerminalApplicationRequest](../../models/operations/getaccountterminalapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
276
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
277
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
278
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
279
+
280
+ ### Response
281
+
282
+ **Promise\<[operations.GetAccountTerminalApplicationResponse](../../models/operations/getaccountterminalapplicationresponse.md)\>**
283
+
284
+ ### Errors
285
+
286
+ | Error Type | Status Code | Content Type |
287
+ | --------------- | --------------- | --------------- |
288
+ | errors.APIError | 4XX, 5XX | \*/\* |
289
+
290
+ ## getConfiguration
291
+
292
+ Fetch the configuration for a given Terminal Application linked to a specific Account.
293
+
294
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
295
+ you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
296
+
297
+ ### Example Usage
298
+
299
+ ```typescript
300
+ import { Moov } from "@moovio/sdk";
301
+
302
+ const moov = new Moov({
303
+ security: {
304
+ username: "",
305
+ password: "",
306
+ },
307
+ });
308
+
309
+ async function run() {
310
+ const result = await moov.accountTerminalApplications.getConfiguration({
311
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
312
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
313
+ });
314
+
315
+ // Handle the result
316
+ console.log(result);
317
+ }
318
+
319
+ run();
320
+ ```
321
+
322
+ ### Standalone function
323
+
324
+ The standalone function version of this method:
325
+
326
+ ```typescript
327
+ import { MoovCore } from "@moovio/sdk/core.js";
328
+ import { accountTerminalApplicationsGetConfiguration } from "@moovio/sdk/funcs/accountTerminalApplicationsGetConfiguration.js";
329
+
330
+ // Use `MoovCore` for best tree-shaking performance.
331
+ // You can create one instance of it to use across an application.
332
+ const moov = new MoovCore({
333
+ security: {
334
+ username: "",
335
+ password: "",
336
+ },
337
+ });
338
+
339
+ async function run() {
340
+ const res = await accountTerminalApplicationsGetConfiguration(moov, {
341
+ accountID: "76d4c8a0-1f2b-4e3b-8f5c-7a9e1b2c3d4e",
342
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
343
+ });
344
+
345
+ if (!res.ok) {
346
+ throw res.error;
347
+ }
348
+
349
+ const { value: result } = res;
350
+
351
+ // Handle the result
352
+ console.log(result);
353
+ }
354
+
355
+ run();
356
+ ```
357
+
358
+ ### Parameters
359
+
360
+ | Parameter | Type | Required | Description |
361
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
362
+ | `request` | [operations.GetTerminalConfigurationRequest](../../models/operations/getterminalconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
363
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
364
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
365
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
366
+
367
+ ### Response
368
+
369
+ **Promise\<[operations.GetTerminalConfigurationResponse](../../models/operations/getterminalconfigurationresponse.md)\>**
370
+
371
+ ### Errors
372
+
373
+ | Error Type | Status Code | Content Type |
374
+ | --------------- | --------------- | --------------- |
375
+ | errors.APIError | 4XX, 5XX | \*/\* |
@@ -8,26 +8,26 @@
8
8
  * [create](#create) - Create a new terminal application.
9
9
 
10
10
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
11
- you'll need to specify the `/terminalApplications.write` scope.
11
+ you'll need to specify the `/terminal-applications.write` scope.
12
12
  * [list](#list) - List all the terminal applications for a Moov Account.
13
13
 
14
14
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
15
- you'll need to specify the `/terminalApplications.read` scope.
15
+ you'll need to specify the `/terminal-applications.read` scope.
16
16
  * [get](#get) - Fetch a specific terminal application.
17
17
 
18
18
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
19
- you'll need to specify the `/terminalApplications.read` scope.
19
+ you'll need to specify the `/terminal-applications.read` scope.
20
20
  * [delete](#delete) - Delete a specific terminal application.
21
21
 
22
22
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
23
- you'll need to specify the `/terminalApplications.write` scope.
23
+ you'll need to specify the `/terminal-applications.write` scope.
24
24
 
25
25
  ## create
26
26
 
27
27
  Create a new terminal application.
28
28
 
29
29
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
30
- you'll need to specify the `/terminalApplications.write` scope.
30
+ you'll need to specify the `/terminal-applications.write` scope.
31
31
 
32
32
  ### Example Usage
33
33
 
@@ -122,7 +122,7 @@ run();
122
122
  List all the terminal applications for a Moov Account.
123
123
 
124
124
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
125
- you'll need to specify the `/terminalApplications.read` scope.
125
+ you'll need to specify the `/terminal-applications.read` scope.
126
126
 
127
127
  ### Example Usage
128
128
 
@@ -203,7 +203,7 @@ run();
203
203
  Fetch a specific terminal application.
204
204
 
205
205
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
206
- you'll need to specify the `/terminalApplications.read` scope.
206
+ you'll need to specify the `/terminal-applications.read` scope.
207
207
 
208
208
  ### Example Usage
209
209
 
@@ -219,7 +219,7 @@ const moov = new Moov({
219
219
 
220
220
  async function run() {
221
221
  const result = await moov.terminalApplications.get({
222
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
222
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
223
223
  });
224
224
 
225
225
  // Handle the result
@@ -248,7 +248,7 @@ const moov = new MoovCore({
248
248
 
249
249
  async function run() {
250
250
  const res = await terminalApplicationsGet(moov, {
251
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
251
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
252
252
  });
253
253
 
254
254
  if (!res.ok) {
@@ -288,7 +288,7 @@ run();
288
288
  Delete a specific terminal application.
289
289
 
290
290
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
291
- you'll need to specify the `/terminalApplications.write` scope.
291
+ you'll need to specify the `/terminal-applications.write` scope.
292
292
 
293
293
  ### Example Usage
294
294
 
@@ -304,7 +304,7 @@ const moov = new Moov({
304
304
 
305
305
  async function run() {
306
306
  const result = await moov.terminalApplications.delete({
307
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
307
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
308
308
  });
309
309
 
310
310
  // Handle the result
@@ -333,7 +333,7 @@ const moov = new MoovCore({
333
333
 
334
334
  async function run() {
335
335
  const res = await terminalApplicationsDelete(moov, {
336
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
336
+ terminalApplicationID: "12345678-1234-1234-1234-123456789012",
337
337
  });
338
338
 
339
339
  if (!res.ok) {
@@ -0,0 +1,16 @@
1
+ import { MoovCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { APIError } from "../models/errors/apierror.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
6
+ import * as operations from "../models/operations/index.js";
7
+ import { APIPromise } from "../types/async.js";
8
+ import { Result } from "../types/fp.js";
9
+ /**
10
+ * Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.
11
+ *
12
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
13
+ * you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
14
+ */
15
+ export declare function accountTerminalApplicationsGet(client: MoovCore, request: operations.GetAccountTerminalApplicationRequest, options?: RequestOptions): APIPromise<Result<operations.GetAccountTerminalApplicationResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=accountTerminalApplicationsGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountTerminalApplicationsGet.d.ts","sourceRoot":"","sources":["../src/funcs/accountTerminalApplicationsGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qCAAqC,EAC9C,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.accountTerminalApplicationsGet = accountTerminalApplicationsGet;
40
+ const encodings_js_1 = require("../lib/encodings.js");
41
+ const M = __importStar(require("../lib/matchers.js"));
42
+ const primitives_js_1 = require("../lib/primitives.js");
43
+ const schemas_js_1 = require("../lib/schemas.js");
44
+ const security_js_1 = require("../lib/security.js");
45
+ const url_js_1 = require("../lib/url.js");
46
+ const operations = __importStar(require("../models/operations/index.js"));
47
+ const async_js_1 = require("../types/async.js");
48
+ /**
49
+ * Verifies if a specific Terminal Application is linked to an Account. This endpoint acts as a validation check for the link's existence.
50
+ *
51
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
52
+ * you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
53
+ */
54
+ function accountTerminalApplicationsGet(client, request, options) {
55
+ return new async_js_1.APIPromise($do(client, request, options));
56
+ }
57
+ async function $do(client, request, options) {
58
+ const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetAccountTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
59
+ if (!parsed.ok) {
60
+ return [parsed, { status: "invalid" }];
61
+ }
62
+ const payload = parsed.value;
63
+ const body = null;
64
+ const pathParams = {
65
+ accountID: (0, encodings_js_1.encodeSimple)("accountID", payload.accountID, {
66
+ explode: false,
67
+ charEncoding: "percent",
68
+ }),
69
+ terminalApplicationID: (0, encodings_js_1.encodeSimple)("terminalApplicationID", payload.terminalApplicationID, { explode: false, charEncoding: "percent" }),
70
+ };
71
+ const path = (0, url_js_1.pathToFunc)("/accounts/{accountID}/terminal-applications/{terminalApplicationID}")(pathParams);
72
+ const headers = new Headers((0, primitives_js_1.compactMap)({
73
+ Accept: "application/json",
74
+ "x-moov-version": (0, encodings_js_1.encodeSimple)("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" }),
75
+ }));
76
+ const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
77
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
78
+ const context = {
79
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
80
+ operationID: "getAccountTerminalApplication",
81
+ oAuth2Scopes: [],
82
+ resolvedSecurity: requestSecurity,
83
+ securitySource: client._options.security,
84
+ retryConfig: options?.retries
85
+ || client._options.retryConfig
86
+ || { strategy: "none" },
87
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ };
89
+ const requestRes = client._createRequest(context, {
90
+ security: requestSecurity,
91
+ method: "GET",
92
+ baseURL: options?.serverURL,
93
+ path: path,
94
+ headers: headers,
95
+ body: body,
96
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
97
+ }, options);
98
+ if (!requestRes.ok) {
99
+ return [requestRes, { status: "invalid" }];
100
+ }
101
+ const req = requestRes.value;
102
+ const doResult = await client._do(req, {
103
+ context,
104
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
105
+ retryConfig: context.retryConfig,
106
+ retryCodes: context.retryCodes,
107
+ });
108
+ if (!doResult.ok) {
109
+ return [doResult, { status: "request-error", request: req }];
110
+ }
111
+ const response = doResult.value;
112
+ const responseFields = {
113
+ HttpMeta: { Response: response, Request: req },
114
+ };
115
+ const [result] = await M.match(M.json(200, operations.GetAccountTerminalApplicationResponse$inboundSchema, { hdrs: true, key: "Result" }), M.fail([401, 403, 404, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
116
+ if (!result.ok) {
117
+ return [result, { status: "complete", request: req, response }];
118
+ }
119
+ return [result, { status: "complete", request: req, response }];
120
+ }
121
+ //# sourceMappingURL=accountTerminalApplicationsGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountTerminalApplicationsGet.js","sourceRoot":"","sources":["../src/funcs/accountTerminalApplicationsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,wEAqBC;AA/CD,sDAAmD;AACnD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAU3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,8BAA8B,CAC5C,MAAgB,EAChB,OAAwD,EACxD,OAAwB;IAaxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OA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/operations/index.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Fetch the configuration for a given Terminal Application
10
+ * Fetch the configuration for a given Terminal Application linked to a specific Account.
11
11
  *
12
12
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
13
13
  * you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
14
14
  */
15
- export declare function terminalConfigurationsGet(client: MoovCore, request: operations.GetTerminalConfigurationRequest, options?: RequestOptions): APIPromise<Result<operations.GetTerminalConfigurationResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=terminalConfigurationsGet.d.ts.map
15
+ export declare function accountTerminalApplicationsGetConfiguration(client: MoovCore, request: operations.GetTerminalConfigurationRequest, options?: RequestOptions): APIPromise<Result<operations.GetTerminalConfigurationResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=accountTerminalApplicationsGetConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountTerminalApplicationsGetConfiguration.d.ts","sourceRoot":"","sources":["../src/funcs/accountTerminalApplicationsGetConfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,2CAA2C,CACzD,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,gCAAgC,EACzC,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}