@moovio/sdk 0.10.11 → 0.10.13

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 (147) hide show
  1. package/README.md +43 -19
  2. package/bin/mcp-server.js +1582 -1001
  3. package/bin/mcp-server.js.map +32 -21
  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 +3 -3
  32. package/lib/config.js +3 -3
  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/createtransfer.d.ts +1 -1
  78. package/models/operations/getaccountterminalapplication.d.ts +101 -0
  79. package/models/operations/getaccountterminalapplication.d.ts.map +1 -0
  80. package/models/operations/getaccountterminalapplication.js +147 -0
  81. package/models/operations/getaccountterminalapplication.js.map +1 -0
  82. package/models/operations/index.d.ts +3 -0
  83. package/models/operations/index.d.ts.map +1 -1
  84. package/models/operations/index.js +3 -0
  85. package/models/operations/index.js.map +1 -1
  86. package/models/operations/initiaterefund.d.ts +1 -1
  87. package/models/operations/linkaccountterminalapplication.d.ts +101 -0
  88. package/models/operations/linkaccountterminalapplication.d.ts.map +1 -0
  89. package/models/operations/linkaccountterminalapplication.js +155 -0
  90. package/models/operations/linkaccountterminalapplication.js.map +1 -0
  91. package/models/operations/listaccountterminalapplications.d.ts +99 -0
  92. package/models/operations/listaccountterminalapplications.d.ts.map +1 -0
  93. package/models/operations/listaccountterminalapplications.js +145 -0
  94. package/models/operations/listaccountterminalapplications.js.map +1 -0
  95. package/package.json +3 -3
  96. package/sdk/accountterminalapplications.d.ts +33 -0
  97. package/sdk/accountterminalapplications.d.ts.map +1 -0
  98. package/sdk/accountterminalapplications.js +52 -0
  99. package/sdk/accountterminalapplications.js.map +1 -0
  100. package/sdk/sdk.d.ts +3 -3
  101. package/sdk/sdk.d.ts.map +1 -1
  102. package/sdk/sdk.js +3 -3
  103. package/sdk/sdk.js.map +1 -1
  104. package/sdk/terminalapplications.d.ts +4 -4
  105. package/sdk/terminalapplications.js +4 -4
  106. package/src/funcs/accountTerminalApplicationsGet.ts +184 -0
  107. package/src/funcs/{terminalConfigurationsGet.ts → accountTerminalApplicationsGetConfiguration.ts} +2 -2
  108. package/src/funcs/accountTerminalApplicationsLink.ts +205 -0
  109. package/src/funcs/accountTerminalApplicationsList.ts +179 -0
  110. package/src/funcs/terminalApplicationsCreate.ts +1 -1
  111. package/src/funcs/terminalApplicationsDelete.ts +1 -1
  112. package/src/funcs/terminalApplicationsGet.ts +1 -1
  113. package/src/funcs/terminalApplicationsList.ts +1 -1
  114. package/src/lib/config.ts +3 -3
  115. package/src/mcp-server/mcp-server.ts +1 -1
  116. package/src/mcp-server/server.ts +9 -3
  117. package/src/mcp-server/tools/accountTerminalApplicationsGet.ts +40 -0
  118. package/src/mcp-server/tools/{terminalConfigurationsGet.ts → accountTerminalApplicationsGetConfiguration.ts} +8 -5
  119. package/src/mcp-server/tools/accountTerminalApplicationsLink.ts +39 -0
  120. package/src/mcp-server/tools/accountTerminalApplicationsList.ts +40 -0
  121. package/src/mcp-server/tools/terminalApplicationsCreate.ts +1 -1
  122. package/src/mcp-server/tools/terminalApplicationsDelete.ts +1 -1
  123. package/src/mcp-server/tools/terminalApplicationsGet.ts +1 -1
  124. package/src/mcp-server/tools/terminalApplicationsList.ts +1 -1
  125. package/src/models/components/index.ts +1 -0
  126. package/src/models/components/linkaccountterminalapplication.ts +74 -0
  127. package/src/models/errors/accountterminalapplicationerror.ts +71 -0
  128. package/src/models/errors/index.ts +1 -0
  129. package/src/models/operations/createtransfer.ts +1 -1
  130. package/src/models/operations/getaccountterminalapplication.ts +238 -0
  131. package/src/models/operations/index.ts +3 -0
  132. package/src/models/operations/initiaterefund.ts +1 -1
  133. package/src/models/operations/linkaccountterminalapplication.ts +250 -0
  134. package/src/models/operations/listaccountterminalapplications.ts +242 -0
  135. package/src/sdk/accountterminalapplications.ts +81 -0
  136. package/src/sdk/sdk.ts +5 -6
  137. package/src/sdk/terminalapplications.ts +4 -4
  138. package/docs/sdks/terminalconfigurations/README.md +0 -98
  139. package/funcs/terminalConfigurationsGet.d.ts.map +0 -1
  140. package/funcs/terminalConfigurationsGet.js.map +0 -1
  141. package/mcp-server/tools/terminalConfigurationsGet.d.ts.map +0 -1
  142. package/mcp-server/tools/terminalConfigurationsGet.js.map +0 -1
  143. package/sdk/terminalconfigurations.d.ts +0 -12
  144. package/sdk/terminalconfigurations.d.ts.map +0 -1
  145. package/sdk/terminalconfigurations.js +0 -22
  146. package/sdk/terminalconfigurations.js.map +0 -1
  147. package/src/sdk/terminalconfigurations.ts +0 -27
@@ -0,0 +1,242 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type ListAccountTerminalApplicationsGlobals = {
13
+ /**
14
+ * Specify an API version.
15
+ *
16
+ * @remarks
17
+ *
18
+ * API versioning follows the format `vYYYY.QQ.BB`, where
19
+ * - `YYYY` is the year
20
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
21
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
22
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
23
+ *
24
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
25
+ */
26
+ xMoovVersion?: string | undefined;
27
+ };
28
+
29
+ export type ListAccountTerminalApplicationsRequest = {
30
+ accountID: string;
31
+ };
32
+
33
+ export type ListAccountTerminalApplicationsResponse = {
34
+ headers: { [k: string]: Array<string> };
35
+ result: Array<components.TerminalApplication>;
36
+ };
37
+
38
+ /** @internal */
39
+ export const ListAccountTerminalApplicationsGlobals$inboundSchema: z.ZodType<
40
+ ListAccountTerminalApplicationsGlobals,
41
+ z.ZodTypeDef,
42
+ unknown
43
+ > = z.object({
44
+ "x-moov-version": z.string().default("v2024.01.00"),
45
+ }).transform((v) => {
46
+ return remap$(v, {
47
+ "x-moov-version": "xMoovVersion",
48
+ });
49
+ });
50
+
51
+ /** @internal */
52
+ export type ListAccountTerminalApplicationsGlobals$Outbound = {
53
+ "x-moov-version": string;
54
+ };
55
+
56
+ /** @internal */
57
+ export const ListAccountTerminalApplicationsGlobals$outboundSchema: z.ZodType<
58
+ ListAccountTerminalApplicationsGlobals$Outbound,
59
+ z.ZodTypeDef,
60
+ ListAccountTerminalApplicationsGlobals
61
+ > = z.object({
62
+ xMoovVersion: z.string().default("v2024.01.00"),
63
+ }).transform((v) => {
64
+ return remap$(v, {
65
+ xMoovVersion: "x-moov-version",
66
+ });
67
+ });
68
+
69
+ /**
70
+ * @internal
71
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
72
+ */
73
+ export namespace ListAccountTerminalApplicationsGlobals$ {
74
+ /** @deprecated use `ListAccountTerminalApplicationsGlobals$inboundSchema` instead. */
75
+ export const inboundSchema =
76
+ ListAccountTerminalApplicationsGlobals$inboundSchema;
77
+ /** @deprecated use `ListAccountTerminalApplicationsGlobals$outboundSchema` instead. */
78
+ export const outboundSchema =
79
+ ListAccountTerminalApplicationsGlobals$outboundSchema;
80
+ /** @deprecated use `ListAccountTerminalApplicationsGlobals$Outbound` instead. */
81
+ export type Outbound = ListAccountTerminalApplicationsGlobals$Outbound;
82
+ }
83
+
84
+ export function listAccountTerminalApplicationsGlobalsToJSON(
85
+ listAccountTerminalApplicationsGlobals:
86
+ ListAccountTerminalApplicationsGlobals,
87
+ ): string {
88
+ return JSON.stringify(
89
+ ListAccountTerminalApplicationsGlobals$outboundSchema.parse(
90
+ listAccountTerminalApplicationsGlobals,
91
+ ),
92
+ );
93
+ }
94
+
95
+ export function listAccountTerminalApplicationsGlobalsFromJSON(
96
+ jsonString: string,
97
+ ): SafeParseResult<ListAccountTerminalApplicationsGlobals, SDKValidationError> {
98
+ return safeParse(
99
+ jsonString,
100
+ (x) =>
101
+ ListAccountTerminalApplicationsGlobals$inboundSchema.parse(JSON.parse(x)),
102
+ `Failed to parse 'ListAccountTerminalApplicationsGlobals' from JSON`,
103
+ );
104
+ }
105
+
106
+ /** @internal */
107
+ export const ListAccountTerminalApplicationsRequest$inboundSchema: z.ZodType<
108
+ ListAccountTerminalApplicationsRequest,
109
+ z.ZodTypeDef,
110
+ unknown
111
+ > = z.object({
112
+ accountID: z.string(),
113
+ });
114
+
115
+ /** @internal */
116
+ export type ListAccountTerminalApplicationsRequest$Outbound = {
117
+ accountID: string;
118
+ };
119
+
120
+ /** @internal */
121
+ export const ListAccountTerminalApplicationsRequest$outboundSchema: z.ZodType<
122
+ ListAccountTerminalApplicationsRequest$Outbound,
123
+ z.ZodTypeDef,
124
+ ListAccountTerminalApplicationsRequest
125
+ > = z.object({
126
+ accountID: z.string(),
127
+ });
128
+
129
+ /**
130
+ * @internal
131
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
132
+ */
133
+ export namespace ListAccountTerminalApplicationsRequest$ {
134
+ /** @deprecated use `ListAccountTerminalApplicationsRequest$inboundSchema` instead. */
135
+ export const inboundSchema =
136
+ ListAccountTerminalApplicationsRequest$inboundSchema;
137
+ /** @deprecated use `ListAccountTerminalApplicationsRequest$outboundSchema` instead. */
138
+ export const outboundSchema =
139
+ ListAccountTerminalApplicationsRequest$outboundSchema;
140
+ /** @deprecated use `ListAccountTerminalApplicationsRequest$Outbound` instead. */
141
+ export type Outbound = ListAccountTerminalApplicationsRequest$Outbound;
142
+ }
143
+
144
+ export function listAccountTerminalApplicationsRequestToJSON(
145
+ listAccountTerminalApplicationsRequest:
146
+ ListAccountTerminalApplicationsRequest,
147
+ ): string {
148
+ return JSON.stringify(
149
+ ListAccountTerminalApplicationsRequest$outboundSchema.parse(
150
+ listAccountTerminalApplicationsRequest,
151
+ ),
152
+ );
153
+ }
154
+
155
+ export function listAccountTerminalApplicationsRequestFromJSON(
156
+ jsonString: string,
157
+ ): SafeParseResult<ListAccountTerminalApplicationsRequest, SDKValidationError> {
158
+ return safeParse(
159
+ jsonString,
160
+ (x) =>
161
+ ListAccountTerminalApplicationsRequest$inboundSchema.parse(JSON.parse(x)),
162
+ `Failed to parse 'ListAccountTerminalApplicationsRequest' from JSON`,
163
+ );
164
+ }
165
+
166
+ /** @internal */
167
+ export const ListAccountTerminalApplicationsResponse$inboundSchema: z.ZodType<
168
+ ListAccountTerminalApplicationsResponse,
169
+ z.ZodTypeDef,
170
+ unknown
171
+ > = z.object({
172
+ Headers: z.record(z.array(z.string())),
173
+ Result: z.array(components.TerminalApplication$inboundSchema),
174
+ }).transform((v) => {
175
+ return remap$(v, {
176
+ "Headers": "headers",
177
+ "Result": "result",
178
+ });
179
+ });
180
+
181
+ /** @internal */
182
+ export type ListAccountTerminalApplicationsResponse$Outbound = {
183
+ Headers: { [k: string]: Array<string> };
184
+ Result: Array<components.TerminalApplication$Outbound>;
185
+ };
186
+
187
+ /** @internal */
188
+ export const ListAccountTerminalApplicationsResponse$outboundSchema: z.ZodType<
189
+ ListAccountTerminalApplicationsResponse$Outbound,
190
+ z.ZodTypeDef,
191
+ ListAccountTerminalApplicationsResponse
192
+ > = z.object({
193
+ headers: z.record(z.array(z.string())),
194
+ result: z.array(components.TerminalApplication$outboundSchema),
195
+ }).transform((v) => {
196
+ return remap$(v, {
197
+ headers: "Headers",
198
+ result: "Result",
199
+ });
200
+ });
201
+
202
+ /**
203
+ * @internal
204
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
205
+ */
206
+ export namespace ListAccountTerminalApplicationsResponse$ {
207
+ /** @deprecated use `ListAccountTerminalApplicationsResponse$inboundSchema` instead. */
208
+ export const inboundSchema =
209
+ ListAccountTerminalApplicationsResponse$inboundSchema;
210
+ /** @deprecated use `ListAccountTerminalApplicationsResponse$outboundSchema` instead. */
211
+ export const outboundSchema =
212
+ ListAccountTerminalApplicationsResponse$outboundSchema;
213
+ /** @deprecated use `ListAccountTerminalApplicationsResponse$Outbound` instead. */
214
+ export type Outbound = ListAccountTerminalApplicationsResponse$Outbound;
215
+ }
216
+
217
+ export function listAccountTerminalApplicationsResponseToJSON(
218
+ listAccountTerminalApplicationsResponse:
219
+ ListAccountTerminalApplicationsResponse,
220
+ ): string {
221
+ return JSON.stringify(
222
+ ListAccountTerminalApplicationsResponse$outboundSchema.parse(
223
+ listAccountTerminalApplicationsResponse,
224
+ ),
225
+ );
226
+ }
227
+
228
+ export function listAccountTerminalApplicationsResponseFromJSON(
229
+ jsonString: string,
230
+ ): SafeParseResult<
231
+ ListAccountTerminalApplicationsResponse,
232
+ SDKValidationError
233
+ > {
234
+ return safeParse(
235
+ jsonString,
236
+ (x) =>
237
+ ListAccountTerminalApplicationsResponse$inboundSchema.parse(
238
+ JSON.parse(x),
239
+ ),
240
+ `Failed to parse 'ListAccountTerminalApplicationsResponse' from JSON`,
241
+ );
242
+ }
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { accountTerminalApplicationsGet } from "../funcs/accountTerminalApplicationsGet.js";
6
+ import { accountTerminalApplicationsGetConfiguration } from "../funcs/accountTerminalApplicationsGetConfiguration.js";
7
+ import { accountTerminalApplicationsLink } from "../funcs/accountTerminalApplicationsLink.js";
8
+ import { accountTerminalApplicationsList } from "../funcs/accountTerminalApplicationsList.js";
9
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
+ import * as operations from "../models/operations/index.js";
11
+ import { unwrapAsync } from "../types/fp.js";
12
+
13
+ export class AccountTerminalApplications extends ClientSDK {
14
+ /**
15
+ * Link an account with a terminal application.
16
+ *
17
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
+ * you'll need to specify the `/accounts/{accountID}/terminal-applications.write` scope.
19
+ */
20
+ async link(
21
+ request: operations.LinkAccountTerminalApplicationRequest,
22
+ options?: RequestOptions,
23
+ ): Promise<operations.LinkAccountTerminalApplicationResponse> {
24
+ return unwrapAsync(accountTerminalApplicationsLink(
25
+ this,
26
+ request,
27
+ options,
28
+ ));
29
+ }
30
+
31
+ /**
32
+ * Retrieve all terminal applications linked to a specific account.
33
+ *
34
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
35
+ * you'll need to specify the `/accounts/{accountID}/terminal-applications.read` scope.
36
+ */
37
+ async list(
38
+ request: operations.ListAccountTerminalApplicationsRequest,
39
+ options?: RequestOptions,
40
+ ): Promise<operations.ListAccountTerminalApplicationsResponse> {
41
+ return unwrapAsync(accountTerminalApplicationsList(
42
+ this,
43
+ request,
44
+ options,
45
+ ));
46
+ }
47
+
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
+ async get(
55
+ request: operations.GetAccountTerminalApplicationRequest,
56
+ options?: RequestOptions,
57
+ ): Promise<operations.GetAccountTerminalApplicationResponse> {
58
+ return unwrapAsync(accountTerminalApplicationsGet(
59
+ this,
60
+ request,
61
+ options,
62
+ ));
63
+ }
64
+
65
+ /**
66
+ * Fetch the configuration for a given Terminal Application linked to a specific Account.
67
+ *
68
+ * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69
+ * you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
70
+ */
71
+ async getConfiguration(
72
+ request: operations.GetTerminalConfigurationRequest,
73
+ options?: RequestOptions,
74
+ ): Promise<operations.GetTerminalConfigurationResponse> {
75
+ return unwrapAsync(accountTerminalApplicationsGetConfiguration(
76
+ this,
77
+ request,
78
+ options,
79
+ ));
80
+ }
81
+ }
package/src/sdk/sdk.ts CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
6
  import { Accounts } from "./accounts.js";
7
+ import { AccountTerminalApplications } from "./accountterminalapplications.js";
7
8
  import { Adjustments } from "./adjustments.js";
8
9
  import { ApplePay } from "./applepay.js";
9
10
  import { Authentication } from "./authentication.js";
@@ -31,7 +32,6 @@ import { Representatives } from "./representatives.js";
31
32
  import { Scheduling } from "./scheduling.js";
32
33
  import { Sweeps } from "./sweeps.js";
33
34
  import { TerminalApplications } from "./terminalapplications.js";
34
- import { TerminalConfigurations } from "./terminalconfigurations.js";
35
35
  import { Transfers } from "./transfers.js";
36
36
  import { Underwriting } from "./underwriting.js";
37
37
  import { Wallets } from "./wallets.js";
@@ -113,11 +113,10 @@ export class Moov extends ClientSDK {
113
113
  return (this._sweeps ??= new Sweeps(this._options));
114
114
  }
115
115
 
116
- private _terminalConfigurations?: TerminalConfigurations;
117
- get terminalConfigurations(): TerminalConfigurations {
118
- return (this._terminalConfigurations ??= new TerminalConfigurations(
119
- this._options,
120
- ));
116
+ private _accountTerminalApplications?: AccountTerminalApplications;
117
+ get accountTerminalApplications(): AccountTerminalApplications {
118
+ return (this._accountTerminalApplications ??=
119
+ new AccountTerminalApplications(this._options));
121
120
  }
122
121
 
123
122
  private _transfers?: Transfers;
@@ -16,7 +16,7 @@ export class TerminalApplications extends ClientSDK {
16
16
  * Create a new 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.write` scope.
19
+ * you'll need to specify the `/terminal-applications.write` scope.
20
20
  */
21
21
  async create(
22
22
  request: components.CreateTerminalApplication,
@@ -33,7 +33,7 @@ export class TerminalApplications extends ClientSDK {
33
33
  * List all the terminal applications for a Moov Account.
34
34
  *
35
35
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
36
- * you'll need to specify the `/terminalApplications.read` scope.
36
+ * you'll need to specify the `/terminal-applications.read` scope.
37
37
  */
38
38
  async list(
39
39
  request: operations.ListTerminalApplicationsRequest,
@@ -50,7 +50,7 @@ export class TerminalApplications extends ClientSDK {
50
50
  * Fetch a specific terminal application.
51
51
  *
52
52
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
53
- * you'll need to specify the `/terminalApplications.read` scope.
53
+ * you'll need to specify the `/terminal-applications.read` scope.
54
54
  */
55
55
  async get(
56
56
  request: operations.GetTerminalApplicationRequest,
@@ -67,7 +67,7 @@ export class TerminalApplications extends ClientSDK {
67
67
  * Delete a specific terminal application.
68
68
  *
69
69
  * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70
- * you'll need to specify the `/terminalApplications.write` scope.
70
+ * you'll need to specify the `/terminal-applications.write` scope.
71
71
  */
72
72
  async delete(
73
73
  request: operations.DeleteTerminalApplicationRequest,
@@ -1,98 +0,0 @@
1
- # TerminalConfigurations
2
- (*terminalConfigurations*)
3
-
4
- ## Overview
5
-
6
- ### Available Operations
7
-
8
- * [get](#get) - Fetch the configuration for a given 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-configuration.read` scope.
12
-
13
- ## get
14
-
15
- Fetch the configuration for a given Terminal Application
16
-
17
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
- you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
19
-
20
- ### Example Usage
21
-
22
- ```typescript
23
- import { Moov } from "@moovio/sdk";
24
-
25
- const moov = new Moov({
26
- security: {
27
- username: "",
28
- password: "",
29
- },
30
- });
31
-
32
- async function run() {
33
- const result = await moov.terminalConfigurations.get({
34
- accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
35
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
36
- });
37
-
38
- // Handle the result
39
- console.log(result);
40
- }
41
-
42
- run();
43
- ```
44
-
45
- ### Standalone function
46
-
47
- The standalone function version of this method:
48
-
49
- ```typescript
50
- import { MoovCore } from "@moovio/sdk/core.js";
51
- import { terminalConfigurationsGet } from "@moovio/sdk/funcs/terminalConfigurationsGet.js";
52
-
53
- // Use `MoovCore` for best tree-shaking performance.
54
- // You can create one instance of it to use across an application.
55
- const moov = new MoovCore({
56
- security: {
57
- username: "",
58
- password: "",
59
- },
60
- });
61
-
62
- async function run() {
63
- const res = await terminalConfigurationsGet(moov, {
64
- accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
65
- terminalApplicationID: "01234567-89ab-cdef-0123-456789abcdef",
66
- });
67
-
68
- if (!res.ok) {
69
- throw res.error;
70
- }
71
-
72
- const { value: result } = res;
73
-
74
- // Handle the result
75
- console.log(result);
76
- }
77
-
78
- run();
79
- ```
80
-
81
- ### Parameters
82
-
83
- | Parameter | Type | Required | Description |
84
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
85
- | `request` | [operations.GetTerminalConfigurationRequest](../../models/operations/getterminalconfigurationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
86
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
87
- | `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. |
88
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
89
-
90
- ### Response
91
-
92
- **Promise\<[operations.GetTerminalConfigurationResponse](../../models/operations/getterminalconfigurationresponse.md)\>**
93
-
94
- ### Errors
95
-
96
- | Error Type | Status Code | Content Type |
97
- | --------------- | --------------- | --------------- |
98
- | errors.APIError | 4XX, 5XX | \*/\* |
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalConfigurationsGet.d.ts","sourceRoot":"","sources":["../src/funcs/terminalConfigurationsGet.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,yBAAyB,CACvC,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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalConfigurationsGet.js","sourceRoot":"","sources":["../src/funcs/terminalConfigurationsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;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AAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalConfigurationsGet.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/terminalConfigurationsGet.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBtE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalConfigurationsGet.js","sourceRoot":"","sources":["../../src/mcp-server/tools/terminalConfigurationsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2FAAqF;AACrF,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,6CAA6C;CAClE,CAAC;AAEW,QAAA,8BAA8B,GAAgC;IACzE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;;wFAGyE;IACtF,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,wDAAyB,EACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -1,12 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class TerminalConfigurations extends ClientSDK {
4
- /**
5
- * Fetch the configuration for a given Terminal Application
6
- *
7
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
8
- * you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
9
- */
10
- get(request: operations.GetTerminalConfigurationRequest, options?: RequestOptions): Promise<operations.GetTerminalConfigurationResponse>;
11
- }
12
- //# sourceMappingURL=terminalconfigurations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalconfigurations.d.ts","sourceRoot":"","sources":["../src/sdk/terminalconfigurations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,sBAAuB,SAAQ,SAAS;IACnD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;CAOxD"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TerminalConfigurations = void 0;
7
- const terminalConfigurationsGet_js_1 = require("../funcs/terminalConfigurationsGet.js");
8
- const sdks_js_1 = require("../lib/sdks.js");
9
- const fp_js_1 = require("../types/fp.js");
10
- class TerminalConfigurations extends sdks_js_1.ClientSDK {
11
- /**
12
- * Fetch the configuration for a given Terminal Application
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-configuration.read` scope.
16
- */
17
- async get(request, options) {
18
- return (0, fp_js_1.unwrapAsync)((0, terminalConfigurationsGet_js_1.terminalConfigurationsGet)(this, request, options));
19
- }
20
- }
21
- exports.TerminalConfigurations = TerminalConfigurations;
22
- //# sourceMappingURL=terminalconfigurations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminalconfigurations.js","sourceRoot":"","sources":["../src/sdk/terminalconfigurations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wFAAkF;AAClF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,sBAAuB,SAAQ,mBAAS;IACnD;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAmD,EACnD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,wDAiBC"}
@@ -1,27 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { terminalConfigurationsGet } from "../funcs/terminalConfigurationsGet.js";
6
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { unwrapAsync } from "../types/fp.js";
9
-
10
- export class TerminalConfigurations extends ClientSDK {
11
- /**
12
- * Fetch the configuration for a given Terminal Application
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-configuration.read` scope.
16
- */
17
- async get(
18
- request: operations.GetTerminalConfigurationRequest,
19
- options?: RequestOptions,
20
- ): Promise<operations.GetTerminalConfigurationResponse> {
21
- return unwrapAsync(terminalConfigurationsGet(
22
- this,
23
- request,
24
- options,
25
- ));
26
- }
27
- }