@moovio/sdk 0.14.15 → 0.14.17
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/README.md +32 -2
- package/bin/mcp-server.js +399 -392
- package/bin/mcp-server.js.map +30 -32
- package/docs/sdks/accounts/README.md +19 -10
- package/docs/sdks/accountterminalapplications/README.md +4 -0
- package/docs/sdks/adjustments/README.md +2 -0
- package/docs/sdks/applepay/README.md +5 -0
- package/docs/sdks/authentication/README.md +2 -0
- package/docs/sdks/avatars/README.md +1 -0
- package/docs/sdks/bankaccounts/README.md +9 -0
- package/docs/sdks/branding/README.md +4 -0
- package/docs/sdks/capabilities/README.md +4 -0
- package/docs/sdks/cardissuing/README.md +5 -0
- package/docs/sdks/cards/README.md +5 -0
- package/docs/sdks/disputes/README.md +11 -0
- package/docs/sdks/endtoendencryption/README.md +2 -0
- package/docs/sdks/enrichedaddress/README.md +1 -0
- package/docs/sdks/enrichedprofile/README.md +1 -0
- package/docs/sdks/feeplans/README.md +7 -0
- package/docs/sdks/files/README.md +3 -0
- package/docs/sdks/industries/README.md +1 -0
- package/docs/sdks/institutions/README.md +2 -0
- package/docs/sdks/issuingtransactions/README.md +5 -0
- package/docs/sdks/onboarding/README.md +4 -0
- package/docs/sdks/paymentlinks/README.md +6 -0
- package/docs/sdks/paymentmethods/README.md +2 -0
- package/docs/sdks/ping/README.md +1 -0
- package/docs/sdks/receipts/README.md +2 -0
- package/docs/sdks/representatives/README.md +5 -0
- package/docs/sdks/scheduling/README.md +6 -0
- package/docs/sdks/support/README.md +35 -0
- package/docs/sdks/sweeps/README.md +6 -0
- package/docs/sdks/terminalapplications/README.md +5 -0
- package/docs/sdks/transfers/README.md +11 -0
- package/docs/sdks/underwriting/README.md +3 -0
- package/docs/sdks/wallets/README.md +2 -0
- package/docs/sdks/wallettransactions/README.md +2 -0
- package/examples/package-lock.json +1 -1
- package/funcs/accountsCreate.d.ts +1 -1
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +1 -3
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsUpdate.d.ts +1 -1
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +1 -3
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/supportCreateTicket.d.ts +3 -0
- package/funcs/supportCreateTicket.d.ts.map +1 -1
- package/funcs/supportCreateTicket.js +3 -0
- package/funcs/supportCreateTicket.js.map +1 -1
- package/funcs/supportGetTicket.d.ts +3 -0
- package/funcs/supportGetTicket.d.ts.map +1 -1
- package/funcs/supportGetTicket.js +3 -0
- package/funcs/supportGetTicket.js.map +1 -1
- package/funcs/supportListTicketMessages.d.ts +3 -0
- package/funcs/supportListTicketMessages.d.ts.map +1 -1
- package/funcs/supportListTicketMessages.js +3 -0
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts +3 -0
- package/funcs/supportListTickets.d.ts.map +1 -1
- package/funcs/supportListTickets.js +3 -0
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts +3 -0
- package/funcs/supportUpdateTicket.d.ts.map +1 -1
- package/funcs/supportUpdateTicket.js +3 -0
- package/funcs/supportUpdateTicket.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportCreateTicket.js +4 -1
- package/mcp-server/tools/supportCreateTicket.js.map +1 -1
- package/mcp-server/tools/supportGetTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportGetTicket.js +4 -1
- package/mcp-server/tools/supportGetTicket.js.map +1 -1
- package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -1
- package/mcp-server/tools/supportListTicketMessages.js +4 -1
- package/mcp-server/tools/supportListTicketMessages.js.map +1 -1
- package/mcp-server/tools/supportListTickets.d.ts.map +1 -1
- package/mcp-server/tools/supportListTickets.js +4 -1
- package/mcp-server/tools/supportListTickets.js.map +1 -1
- package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportUpdateTicket.js +4 -1
- package/mcp-server/tools/supportUpdateTicket.js.map +1 -1
- package/models/components/index.d.ts +0 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -2
- package/models/components/index.js.map +1 -1
- package/models/components/underwritingstatus.d.ts +6 -6
- package/models/components/underwritingstatus.js +2 -2
- package/models/components/underwritingstatus.js.map +1 -1
- package/models/errors/createaccounterror.d.ts +64 -0
- package/models/errors/createaccounterror.d.ts.map +1 -0
- package/models/{components → errors}/createaccounterror.js +52 -24
- package/models/errors/createaccounterror.js.map +1 -0
- package/models/errors/index.d.ts +2 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/patchaccounterror.d.ts +52 -0
- package/models/errors/patchaccounterror.d.ts.map +1 -0
- package/models/{components → errors}/patchaccounterror.js +48 -24
- package/models/errors/patchaccounterror.js.map +1 -0
- package/package.json +1 -1
- package/sdk/support.d.ts +15 -0
- package/sdk/support.d.ts.map +1 -1
- package/sdk/support.js +15 -0
- package/sdk/support.js.map +1 -1
- package/src/funcs/accountsCreate.ts +4 -6
- package/src/funcs/accountsUpdate.ts +4 -6
- package/src/funcs/supportCreateTicket.ts +3 -0
- package/src/funcs/supportGetTicket.ts +3 -0
- package/src/funcs/supportListTicketMessages.ts +3 -0
- package/src/funcs/supportListTickets.ts +3 -0
- package/src/funcs/supportUpdateTicket.ts +3 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/supportCreateTicket.ts +4 -1
- package/src/mcp-server/tools/supportGetTicket.ts +4 -1
- package/src/mcp-server/tools/supportListTicketMessages.ts +4 -1
- package/src/mcp-server/tools/supportListTickets.ts +4 -1
- package/src/mcp-server/tools/supportUpdateTicket.ts +4 -1
- package/src/models/components/index.ts +0 -2
- package/src/models/components/underwritingstatus.ts +2 -2
- package/src/models/errors/createaccounterror.ts +122 -0
- package/src/models/errors/index.ts +2 -2
- package/src/models/errors/patchaccounterror.ts +110 -0
- package/src/sdk/support.ts +15 -0
- package/models/components/createaccounterror.d.ts +0 -51
- package/models/components/createaccounterror.d.ts.map +0 -1
- package/models/components/createaccounterror.js.map +0 -1
- package/models/components/patchaccounterror.d.ts +0 -43
- package/models/components/patchaccounterror.d.ts.map +0 -1
- package/models/components/patchaccounterror.js.map +0 -1
- package/models/errors/createaccount.d.ts +0 -43
- package/models/errors/createaccount.d.ts.map +0 -1
- package/models/errors/createaccount.js +0 -89
- package/models/errors/createaccount.js.map +0 -1
- package/models/errors/updateaccount.d.ts +0 -43
- package/models/errors/updateaccount.d.ts.map +0 -1
- package/models/errors/updateaccount.js +0 -89
- package/models/errors/updateaccount.js.map +0 -1
- package/src/models/components/createaccounterror.ts +0 -118
- package/src/models/components/patchaccounterror.ts +0 -110
- package/src/models/errors/createaccount.ts +0 -86
- package/src/models/errors/updateaccount.ts +0 -86
|
@@ -35,6 +35,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
35
35
|
|
|
36
36
|
### Example Usage
|
|
37
37
|
|
|
38
|
+
<!-- UsageSnippet language="typescript" operationID="listIssuedCardAuthorizations" method="get" path="/issuing/{accountID}/authorizations" -->
|
|
38
39
|
```typescript
|
|
39
40
|
import { Moov } from "@moovio/sdk";
|
|
40
41
|
|
|
@@ -122,6 +123,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
122
123
|
|
|
123
124
|
### Example Usage
|
|
124
125
|
|
|
126
|
+
<!-- UsageSnippet language="typescript" operationID="getIssuedCardAuthorization" method="get" path="/issuing/{accountID}/authorizations/{authorizationID}" -->
|
|
125
127
|
```typescript
|
|
126
128
|
import { Moov } from "@moovio/sdk";
|
|
127
129
|
|
|
@@ -207,6 +209,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
207
209
|
|
|
208
210
|
### Example Usage
|
|
209
211
|
|
|
212
|
+
<!-- UsageSnippet language="typescript" operationID="listIssuedCardAuthorizationEvents" method="get" path="/issuing/{accountID}/authorizations/{authorizationID}/events" -->
|
|
210
213
|
```typescript
|
|
211
214
|
import { Moov } from "@moovio/sdk";
|
|
212
215
|
|
|
@@ -296,6 +299,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
296
299
|
|
|
297
300
|
### Example Usage
|
|
298
301
|
|
|
302
|
+
<!-- UsageSnippet language="typescript" operationID="listIssuedCardTransactions" method="get" path="/issuing/{accountID}/card-transactions" -->
|
|
299
303
|
```typescript
|
|
300
304
|
import { Moov } from "@moovio/sdk";
|
|
301
305
|
|
|
@@ -383,6 +387,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
383
387
|
|
|
384
388
|
### Example Usage
|
|
385
389
|
|
|
390
|
+
<!-- UsageSnippet language="typescript" operationID="getIssuedCardTransaction" method="get" path="/issuing/{accountID}/card-transactions/{cardTransactionID}" -->
|
|
386
391
|
```typescript
|
|
387
392
|
import { Moov } from "@moovio/sdk";
|
|
388
393
|
|
|
@@ -31,6 +31,7 @@ you'll need to specify the `/accounts.write` scope.
|
|
|
31
31
|
|
|
32
32
|
### Example Usage
|
|
33
33
|
|
|
34
|
+
<!-- UsageSnippet language="typescript" operationID="createOnboardingInvite" method="post" path="/onboarding-invites" -->
|
|
34
35
|
```typescript
|
|
35
36
|
import { Moov } from "@moovio/sdk";
|
|
36
37
|
|
|
@@ -148,6 +149,7 @@ you'll need to specify the `/accounts.read` scope.
|
|
|
148
149
|
|
|
149
150
|
### Example Usage
|
|
150
151
|
|
|
152
|
+
<!-- UsageSnippet language="typescript" operationID="listOnboardingInvites" method="get" path="/onboarding-invites" -->
|
|
151
153
|
```typescript
|
|
152
154
|
import { Moov } from "@moovio/sdk";
|
|
153
155
|
|
|
@@ -227,6 +229,7 @@ you'll need to specify the `/accounts.read` scope.
|
|
|
227
229
|
|
|
228
230
|
### Example Usage
|
|
229
231
|
|
|
232
|
+
<!-- UsageSnippet language="typescript" operationID="getOnboardingInvite" method="get" path="/onboarding-invites/{code}" -->
|
|
230
233
|
```typescript
|
|
231
234
|
import { Moov } from "@moovio/sdk";
|
|
232
235
|
|
|
@@ -310,6 +313,7 @@ you'll need to specify the `/accounts.write` scope.
|
|
|
310
313
|
|
|
311
314
|
### Example Usage
|
|
312
315
|
|
|
316
|
+
<!-- UsageSnippet language="typescript" operationID="revokeOnboardingInvite" method="delete" path="/onboarding-invites/{code}" -->
|
|
313
317
|
```typescript
|
|
314
318
|
import { Moov } from "@moovio/sdk";
|
|
315
319
|
|
|
@@ -41,6 +41,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
41
41
|
|
|
42
42
|
### Example Usage
|
|
43
43
|
|
|
44
|
+
<!-- UsageSnippet language="typescript" operationID="createPaymentLink" method="post" path="/accounts/{accountID}/payment-links" -->
|
|
44
45
|
```typescript
|
|
45
46
|
import { Moov } from "@moovio/sdk";
|
|
46
47
|
|
|
@@ -170,6 +171,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
170
171
|
|
|
171
172
|
### Example Usage
|
|
172
173
|
|
|
174
|
+
<!-- UsageSnippet language="typescript" operationID="listPaymentLinks" method="get" path="/accounts/{accountID}/payment-links" -->
|
|
173
175
|
```typescript
|
|
174
176
|
import { Moov } from "@moovio/sdk";
|
|
175
177
|
|
|
@@ -253,6 +255,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
253
255
|
|
|
254
256
|
### Example Usage
|
|
255
257
|
|
|
258
|
+
<!-- UsageSnippet language="typescript" operationID="getPaymentLink" method="get" path="/accounts/{accountID}/payment-links/{paymentLinkCode}" -->
|
|
256
259
|
```typescript
|
|
257
260
|
import { Moov } from "@moovio/sdk";
|
|
258
261
|
|
|
@@ -338,6 +341,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
338
341
|
|
|
339
342
|
### Example Usage
|
|
340
343
|
|
|
344
|
+
<!-- UsageSnippet language="typescript" operationID="updatePaymentLink" method="patch" path="/accounts/{accountID}/payment-links/{paymentLinkCode}" -->
|
|
341
345
|
```typescript
|
|
342
346
|
import { Moov } from "@moovio/sdk";
|
|
343
347
|
|
|
@@ -445,6 +449,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
445
449
|
|
|
446
450
|
### Example Usage
|
|
447
451
|
|
|
452
|
+
<!-- UsageSnippet language="typescript" operationID="disablePaymentLink" method="delete" path="/accounts/{accountID}/payment-links/{paymentLinkCode}" -->
|
|
448
453
|
```typescript
|
|
449
454
|
import { Moov } from "@moovio/sdk";
|
|
450
455
|
|
|
@@ -532,6 +537,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
532
537
|
|
|
533
538
|
### Example Usage
|
|
534
539
|
|
|
540
|
+
<!-- UsageSnippet language="typescript" operationID="getPaymentLinkQRCode" method="get" path="/accounts/{accountID}/payment-links/{paymentLinkCode}/qrcode" -->
|
|
535
541
|
```typescript
|
|
536
542
|
import { Moov } from "@moovio/sdk";
|
|
537
543
|
|
|
@@ -25,6 +25,7 @@ you'll need to specify the `/accounts/{accountID}/payment-methods.read` scope.
|
|
|
25
25
|
|
|
26
26
|
### Example Usage
|
|
27
27
|
|
|
28
|
+
<!-- UsageSnippet language="typescript" operationID="listPaymentMethods" method="get" path="/accounts/{accountID}/payment-methods" -->
|
|
28
29
|
```typescript
|
|
29
30
|
import { Moov } from "@moovio/sdk";
|
|
30
31
|
|
|
@@ -108,6 +109,7 @@ you'll need to specify the `/accounts/{accountID}/payment-methods.read` scope.
|
|
|
108
109
|
|
|
109
110
|
### Example Usage
|
|
110
111
|
|
|
112
|
+
<!-- UsageSnippet language="typescript" operationID="getPaymentMethod" method="get" path="/accounts/{accountID}/payment-methods/{paymentMethodID}" -->
|
|
111
113
|
```typescript
|
|
112
114
|
import { Moov } from "@moovio/sdk";
|
|
113
115
|
|
package/docs/sdks/ping/README.md
CHANGED
|
@@ -23,6 +23,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
23
23
|
|
|
24
24
|
### Example Usage
|
|
25
25
|
|
|
26
|
+
<!-- UsageSnippet language="typescript" operationID="createReceipts" method="post" path="/receipts" -->
|
|
26
27
|
```typescript
|
|
27
28
|
import { Moov } from "@moovio/sdk";
|
|
28
29
|
|
|
@@ -103,6 +104,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
103
104
|
|
|
104
105
|
### Example Usage
|
|
105
106
|
|
|
107
|
+
<!-- UsageSnippet language="typescript" operationID="listReceipts" method="get" path="/receipts" -->
|
|
106
108
|
```typescript
|
|
107
109
|
import { Moov } from "@moovio/sdk";
|
|
108
110
|
|
|
@@ -55,6 +55,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
55
55
|
|
|
56
56
|
### Example Usage
|
|
57
57
|
|
|
58
|
+
<!-- UsageSnippet language="typescript" operationID="createRepresentative" method="post" path="/accounts/{accountID}/representatives" -->
|
|
58
59
|
```typescript
|
|
59
60
|
import { Moov } from "@moovio/sdk";
|
|
60
61
|
|
|
@@ -203,6 +204,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
|
|
|
203
204
|
|
|
204
205
|
### Example Usage
|
|
205
206
|
|
|
207
|
+
<!-- UsageSnippet language="typescript" operationID="listRepresentatives" method="get" path="/accounts/{accountID}/representatives" -->
|
|
206
208
|
```typescript
|
|
207
209
|
import { Moov } from "@moovio/sdk";
|
|
208
210
|
|
|
@@ -286,6 +288,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
286
288
|
|
|
287
289
|
### Example Usage
|
|
288
290
|
|
|
291
|
+
<!-- UsageSnippet language="typescript" operationID="deleteRepresentative" method="delete" path="/accounts/{accountID}/representatives/{representativeID}" -->
|
|
289
292
|
```typescript
|
|
290
293
|
import { Moov } from "@moovio/sdk";
|
|
291
294
|
|
|
@@ -372,6 +375,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
|
|
|
372
375
|
|
|
373
376
|
### Example Usage
|
|
374
377
|
|
|
378
|
+
<!-- UsageSnippet language="typescript" operationID="getRepresentative" method="get" path="/accounts/{accountID}/representatives/{representativeID}" -->
|
|
375
379
|
```typescript
|
|
376
380
|
import { Moov } from "@moovio/sdk";
|
|
377
381
|
|
|
@@ -470,6 +474,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
470
474
|
|
|
471
475
|
### Example Usage
|
|
472
476
|
|
|
477
|
+
<!-- UsageSnippet language="typescript" operationID="updateRepresentative" method="patch" path="/accounts/{accountID}/representatives/{representativeID}" -->
|
|
473
478
|
```typescript
|
|
474
479
|
import { Moov } from "@moovio/sdk";
|
|
475
480
|
|
|
@@ -39,6 +39,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
39
39
|
|
|
40
40
|
### Example Usage
|
|
41
41
|
|
|
42
|
+
<!-- UsageSnippet language="typescript" operationID="createSchedule" method="post" path="/accounts/{accountID}/schedules" -->
|
|
42
43
|
```typescript
|
|
43
44
|
import { Moov } from "@moovio/sdk";
|
|
44
45
|
|
|
@@ -324,6 +325,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
324
325
|
|
|
325
326
|
### Example Usage
|
|
326
327
|
|
|
328
|
+
<!-- UsageSnippet language="typescript" operationID="listSchedules" method="get" path="/accounts/{accountID}/schedules" -->
|
|
327
329
|
```typescript
|
|
328
330
|
import { Moov } from "@moovio/sdk";
|
|
329
331
|
|
|
@@ -411,6 +413,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
411
413
|
|
|
412
414
|
### Example Usage
|
|
413
415
|
|
|
416
|
+
<!-- UsageSnippet language="typescript" operationID="updateSchedule" method="put" path="/accounts/{accountID}/schedules/{scheduleID}" -->
|
|
414
417
|
```typescript
|
|
415
418
|
import { Moov } from "@moovio/sdk";
|
|
416
419
|
|
|
@@ -762,6 +765,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
762
765
|
|
|
763
766
|
### Example Usage
|
|
764
767
|
|
|
768
|
+
<!-- UsageSnippet language="typescript" operationID="getSchedules" method="get" path="/accounts/{accountID}/schedules/{scheduleID}" -->
|
|
765
769
|
```typescript
|
|
766
770
|
import { Moov } from "@moovio/sdk";
|
|
767
771
|
|
|
@@ -847,6 +851,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
847
851
|
|
|
848
852
|
### Example Usage
|
|
849
853
|
|
|
854
|
+
<!-- UsageSnippet language="typescript" operationID="cancelSchedule" method="delete" path="/accounts/{accountID}/schedules/{scheduleID}" -->
|
|
850
855
|
```typescript
|
|
851
856
|
import { Moov } from "@moovio/sdk";
|
|
852
857
|
|
|
@@ -933,6 +938,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
933
938
|
|
|
934
939
|
### Example Usage
|
|
935
940
|
|
|
941
|
+
<!-- UsageSnippet language="typescript" operationID="getScheduledOccurrence" method="get" path="/accounts/{accountID}/schedules/{scheduleID}/occurrences/{occurrenceFilter}" -->
|
|
936
942
|
```typescript
|
|
937
943
|
import { Moov } from "@moovio/sdk";
|
|
938
944
|
|
|
@@ -9,23 +9,38 @@
|
|
|
9
9
|
|
|
10
10
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
11
11
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
12
|
+
|
|
13
|
+
If you're creating the ticket on behalf of another account, then you'll need to
|
|
14
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
12
15
|
* [listTickets](#listtickets) - List all the support tickets created under a Moov account.
|
|
13
16
|
|
|
14
17
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
15
18
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
19
|
+
|
|
20
|
+
If you're listing another account's tickets, then you'll need to
|
|
21
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
16
22
|
* [getTicket](#getticket) - Retrieve a support ticket by ID.
|
|
17
23
|
|
|
18
24
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
19
25
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
26
|
+
|
|
27
|
+
If you're retrieving another account's ticket, then you'll need to
|
|
28
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
20
29
|
* [updateTicket](#updateticket) - Updates a support ticket.
|
|
21
30
|
|
|
22
31
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
23
32
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
33
|
+
|
|
34
|
+
If you're updating the ticket on behalf of another account, then you'll need to
|
|
35
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
24
36
|
* [listTicketMessages](#listticketmessages) - List all the messages for a support ticket.
|
|
25
37
|
|
|
26
38
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
27
39
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
28
40
|
|
|
41
|
+
If you're listing another account's messages, then you'll need to
|
|
42
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
43
|
+
|
|
29
44
|
## createTicket
|
|
30
45
|
|
|
31
46
|
Create a support ticket for a Moov account.
|
|
@@ -33,8 +48,12 @@ Create a support ticket for a Moov account.
|
|
|
33
48
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
34
49
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
35
50
|
|
|
51
|
+
If you're creating the ticket on behalf of another account, then you'll need to
|
|
52
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
53
|
+
|
|
36
54
|
### Example Usage
|
|
37
55
|
|
|
56
|
+
<!-- UsageSnippet language="typescript" operationID="createTicket" method="post" path="/accounts/{accountID}/tickets" -->
|
|
38
57
|
```typescript
|
|
39
58
|
import { Moov } from "@moovio/sdk";
|
|
40
59
|
|
|
@@ -132,8 +151,12 @@ List all the support tickets created under a Moov account.
|
|
|
132
151
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
133
152
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
134
153
|
|
|
154
|
+
If you're listing another account's tickets, then you'll need to
|
|
155
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
156
|
+
|
|
135
157
|
### Example Usage
|
|
136
158
|
|
|
159
|
+
<!-- UsageSnippet language="typescript" operationID="listTickets" method="get" path="/accounts/{accountID}/tickets" -->
|
|
137
160
|
```typescript
|
|
138
161
|
import { Moov } from "@moovio/sdk";
|
|
139
162
|
|
|
@@ -217,8 +240,12 @@ Retrieve a support ticket by ID.
|
|
|
217
240
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
218
241
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
219
242
|
|
|
243
|
+
If you're retrieving another account's ticket, then you'll need to
|
|
244
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
245
|
+
|
|
220
246
|
### Example Usage
|
|
221
247
|
|
|
248
|
+
<!-- UsageSnippet language="typescript" operationID="getTicket" method="get" path="/accounts/{accountID}/tickets/{ticketID}" -->
|
|
222
249
|
```typescript
|
|
223
250
|
import { Moov } from "@moovio/sdk";
|
|
224
251
|
|
|
@@ -302,8 +329,12 @@ Updates a support ticket.
|
|
|
302
329
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
303
330
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
304
331
|
|
|
332
|
+
If you're updating the ticket on behalf of another account, then you'll need to
|
|
333
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
334
|
+
|
|
305
335
|
### Example Usage
|
|
306
336
|
|
|
337
|
+
<!-- UsageSnippet language="typescript" operationID="updateTicket" method="patch" path="/accounts/{accountID}/tickets/{ticketID}" -->
|
|
307
338
|
```typescript
|
|
308
339
|
import { Moov } from "@moovio/sdk";
|
|
309
340
|
|
|
@@ -391,8 +422,12 @@ List all the messages for a support ticket.
|
|
|
391
422
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
392
423
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
393
424
|
|
|
425
|
+
If you're listing another account's messages, then you'll need to
|
|
426
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
427
|
+
|
|
394
428
|
### Example Usage
|
|
395
429
|
|
|
430
|
+
<!-- UsageSnippet language="typescript" operationID="listTicketMessages" method="get" path="/accounts/{accountID}/tickets/{ticketID}/messages" -->
|
|
396
431
|
```typescript
|
|
397
432
|
import { Moov } from "@moovio/sdk";
|
|
398
433
|
|
|
@@ -39,6 +39,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
|
|
|
39
39
|
|
|
40
40
|
### Example Usage
|
|
41
41
|
|
|
42
|
+
<!-- UsageSnippet language="typescript" operationID="createSweepConfig" method="post" path="/accounts/{accountID}/sweep-configs" -->
|
|
42
43
|
```typescript
|
|
43
44
|
import { Moov } from "@moovio/sdk";
|
|
44
45
|
|
|
@@ -136,6 +137,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
136
137
|
|
|
137
138
|
### Example Usage
|
|
138
139
|
|
|
140
|
+
<!-- UsageSnippet language="typescript" operationID="listSweepConfigs" method="get" path="/accounts/{accountID}/sweep-configs" -->
|
|
139
141
|
```typescript
|
|
140
142
|
import { Moov } from "@moovio/sdk";
|
|
141
143
|
|
|
@@ -219,6 +221,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
219
221
|
|
|
220
222
|
### Example Usage
|
|
221
223
|
|
|
224
|
+
<!-- UsageSnippet language="typescript" operationID="getSweepConfig" method="get" path="/accounts/{accountID}/sweep-configs/{sweepConfigID}" -->
|
|
222
225
|
```typescript
|
|
223
226
|
import { Moov } from "@moovio/sdk";
|
|
224
227
|
|
|
@@ -304,6 +307,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
|
|
|
304
307
|
|
|
305
308
|
### Example Usage
|
|
306
309
|
|
|
310
|
+
<!-- UsageSnippet language="typescript" operationID="updateSweepConfig" method="patch" path="/accounts/{accountID}/sweep-configs/{sweepConfigID}" -->
|
|
307
311
|
```typescript
|
|
308
312
|
import { Moov } from "@moovio/sdk";
|
|
309
313
|
|
|
@@ -397,6 +401,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
397
401
|
|
|
398
402
|
### Example Usage
|
|
399
403
|
|
|
404
|
+
<!-- UsageSnippet language="typescript" operationID="listSweeps" method="get" path="/accounts/{accountID}/wallets/{walletID}/sweeps" -->
|
|
400
405
|
```typescript
|
|
401
406
|
import { Moov } from "@moovio/sdk";
|
|
402
407
|
|
|
@@ -486,6 +491,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
486
491
|
|
|
487
492
|
### Example Usage
|
|
488
493
|
|
|
494
|
+
<!-- UsageSnippet language="typescript" operationID="getSweep" method="get" path="/accounts/{accountID}/wallets/{walletID}/sweeps/{sweepID}" -->
|
|
489
495
|
```typescript
|
|
490
496
|
import { Moov } from "@moovio/sdk";
|
|
491
497
|
|
|
@@ -35,6 +35,7 @@ you'll need to specify the `/terminal-applications.write` scope.
|
|
|
35
35
|
|
|
36
36
|
### Example Usage
|
|
37
37
|
|
|
38
|
+
<!-- UsageSnippet language="typescript" operationID="createTerminalApplication" method="post" path="/terminal-applications" -->
|
|
38
39
|
```typescript
|
|
39
40
|
import { Moov } from "@moovio/sdk";
|
|
40
41
|
|
|
@@ -126,6 +127,7 @@ you'll need to specify the `/terminal-applications.read` scope.
|
|
|
126
127
|
|
|
127
128
|
### Example Usage
|
|
128
129
|
|
|
130
|
+
<!-- UsageSnippet language="typescript" operationID="listTerminalApplications" method="get" path="/terminal-applications" -->
|
|
129
131
|
```typescript
|
|
130
132
|
import { Moov } from "@moovio/sdk";
|
|
131
133
|
|
|
@@ -205,6 +207,7 @@ you'll need to specify the `/terminal-applications.read` scope.
|
|
|
205
207
|
|
|
206
208
|
### Example Usage
|
|
207
209
|
|
|
210
|
+
<!-- UsageSnippet language="typescript" operationID="getTerminalApplication" method="get" path="/terminal-applications/{terminalApplicationID}" -->
|
|
208
211
|
```typescript
|
|
209
212
|
import { Moov } from "@moovio/sdk";
|
|
210
213
|
|
|
@@ -288,6 +291,7 @@ you'll need to specify the `/terminal-applications.write` scope.
|
|
|
288
291
|
|
|
289
292
|
### Example Usage
|
|
290
293
|
|
|
294
|
+
<!-- UsageSnippet language="typescript" operationID="deleteTerminalApplication" method="delete" path="/terminal-applications/{terminalApplicationID}" -->
|
|
291
295
|
```typescript
|
|
292
296
|
import { Moov } from "@moovio/sdk";
|
|
293
297
|
|
|
@@ -372,6 +376,7 @@ you'll need to specify the `/terminal-applications.write` scope.
|
|
|
372
376
|
|
|
373
377
|
### Example Usage
|
|
374
378
|
|
|
379
|
+
<!-- UsageSnippet language="typescript" operationID="createTerminalApplicationVersion" method="post" path="/terminal-applications/{terminalApplicationID}/versions" -->
|
|
375
380
|
```typescript
|
|
376
381
|
import { Moov } from "@moovio/sdk";
|
|
377
382
|
|
|
@@ -88,6 +88,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
88
88
|
|
|
89
89
|
### Example Usage
|
|
90
90
|
|
|
91
|
+
<!-- UsageSnippet language="typescript" operationID="createTransferOptions" method="post" path="/accounts/{accountID}/transfer-options" -->
|
|
91
92
|
```typescript
|
|
92
93
|
import { Moov } from "@moovio/sdk";
|
|
93
94
|
|
|
@@ -191,6 +192,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
191
192
|
|
|
192
193
|
### Example Usage
|
|
193
194
|
|
|
195
|
+
<!-- UsageSnippet language="typescript" operationID="createTransfer" method="post" path="/accounts/{accountID}/transfers" -->
|
|
194
196
|
```typescript
|
|
195
197
|
import { Moov } from "@moovio/sdk";
|
|
196
198
|
|
|
@@ -318,6 +320,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
318
320
|
|
|
319
321
|
### Example Usage
|
|
320
322
|
|
|
323
|
+
<!-- UsageSnippet language="typescript" operationID="listTransfers" method="get" path="/accounts/{accountID}/transfers" -->
|
|
321
324
|
```typescript
|
|
322
325
|
import { Moov } from "@moovio/sdk";
|
|
323
326
|
|
|
@@ -408,6 +411,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
408
411
|
|
|
409
412
|
### Example Usage
|
|
410
413
|
|
|
414
|
+
<!-- UsageSnippet language="typescript" operationID="getTransfer" method="get" path="/accounts/{accountID}/transfers/{transferID}" -->
|
|
411
415
|
```typescript
|
|
412
416
|
import { Moov } from "@moovio/sdk";
|
|
413
417
|
|
|
@@ -495,6 +499,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
495
499
|
|
|
496
500
|
### Example Usage
|
|
497
501
|
|
|
502
|
+
<!-- UsageSnippet language="typescript" operationID="updateTransfer" method="patch" path="/accounts/{accountID}/transfers/{transferID}" -->
|
|
498
503
|
```typescript
|
|
499
504
|
import { Moov } from "@moovio/sdk";
|
|
500
505
|
|
|
@@ -590,6 +595,7 @@ run();
|
|
|
590
595
|
|
|
591
596
|
### Example Usage
|
|
592
597
|
|
|
598
|
+
<!-- UsageSnippet language="typescript" operationID="createCancellation" method="post" path="/accounts/{accountID}/transfers/{transferID}/cancellations" -->
|
|
593
599
|
```typescript
|
|
594
600
|
import { Moov } from "@moovio/sdk";
|
|
595
601
|
|
|
@@ -676,6 +682,7 @@ run();
|
|
|
676
682
|
|
|
677
683
|
### Example Usage
|
|
678
684
|
|
|
685
|
+
<!-- UsageSnippet language="typescript" operationID="getCancellation" method="get" path="/accounts/{accountID}/transfers/{transferID}/cancellations/{cancellationID}" -->
|
|
679
686
|
```typescript
|
|
680
687
|
import { Moov } from "@moovio/sdk";
|
|
681
688
|
|
|
@@ -766,6 +773,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
766
773
|
|
|
767
774
|
### Example Usage
|
|
768
775
|
|
|
776
|
+
<!-- UsageSnippet language="typescript" operationID="initiateRefund" method="post" path="/accounts/{accountID}/transfers/{transferID}/refunds" -->
|
|
769
777
|
```typescript
|
|
770
778
|
import { Moov } from "@moovio/sdk";
|
|
771
779
|
|
|
@@ -862,6 +870,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
862
870
|
|
|
863
871
|
### Example Usage
|
|
864
872
|
|
|
873
|
+
<!-- UsageSnippet language="typescript" operationID="listRefunds" method="get" path="/accounts/{accountID}/transfers/{transferID}/refunds" -->
|
|
865
874
|
```typescript
|
|
866
875
|
import { Moov } from "@moovio/sdk";
|
|
867
876
|
|
|
@@ -947,6 +956,7 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
947
956
|
|
|
948
957
|
### Example Usage
|
|
949
958
|
|
|
959
|
+
<!-- UsageSnippet language="typescript" operationID="getRefund" method="get" path="/accounts/{accountID}/transfers/{transferID}/refunds/{refundID}" -->
|
|
950
960
|
```typescript
|
|
951
961
|
import { Moov } from "@moovio/sdk";
|
|
952
962
|
|
|
@@ -1036,6 +1046,7 @@ to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
1036
1046
|
|
|
1037
1047
|
### Example Usage
|
|
1038
1048
|
|
|
1049
|
+
<!-- UsageSnippet language="typescript" operationID="createReversal" method="post" path="/accounts/{accountID}/transfers/{transferID}/reversals" -->
|
|
1039
1050
|
```typescript
|
|
1040
1051
|
import { Moov } from "@moovio/sdk";
|
|
1041
1052
|
|
|
@@ -35,6 +35,7 @@ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
|
35
35
|
|
|
36
36
|
### Example Usage
|
|
37
37
|
|
|
38
|
+
<!-- UsageSnippet language="typescript" operationID="getUnderwriting" method="get" path="/accounts/{accountID}/underwriting" -->
|
|
38
39
|
```typescript
|
|
39
40
|
import { Moov } from "@moovio/sdk";
|
|
40
41
|
|
|
@@ -120,6 +121,7 @@ you'll need to specify the `/accounts/{accountID}/profile.write` scope.
|
|
|
120
121
|
|
|
121
122
|
### Example Usage
|
|
122
123
|
|
|
124
|
+
<!-- UsageSnippet language="typescript" operationID="saveUnderwriting" method="post" path="/accounts/{accountID}/underwriting" -->
|
|
123
125
|
```typescript
|
|
124
126
|
import { Moov } from "@moovio/sdk";
|
|
125
127
|
|
|
@@ -209,6 +211,7 @@ you'll need to specify the `/accounts/{accountID}/profile.write` scope.
|
|
|
209
211
|
|
|
210
212
|
### Example Usage
|
|
211
213
|
|
|
214
|
+
<!-- UsageSnippet language="typescript" operationID="upsertUnderwriting" method="put" path="/accounts/{accountID}/underwriting" -->
|
|
212
215
|
```typescript
|
|
213
216
|
import { Moov } from "@moovio/sdk";
|
|
214
217
|
|
|
@@ -29,6 +29,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
29
29
|
|
|
30
30
|
### Example Usage
|
|
31
31
|
|
|
32
|
+
<!-- UsageSnippet language="typescript" operationID="listWallets" method="get" path="/accounts/{accountID}/wallets" -->
|
|
32
33
|
```typescript
|
|
33
34
|
import { Moov } from "@moovio/sdk";
|
|
34
35
|
|
|
@@ -114,6 +115,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
114
115
|
|
|
115
116
|
### Example Usage
|
|
116
117
|
|
|
118
|
+
<!-- UsageSnippet language="typescript" operationID="getWallet" method="get" path="/accounts/{accountID}/wallets/{walletID}" -->
|
|
117
119
|
```typescript
|
|
118
120
|
import { Moov } from "@moovio/sdk";
|
|
119
121
|
|
|
@@ -29,6 +29,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
29
29
|
|
|
30
30
|
### Example Usage
|
|
31
31
|
|
|
32
|
+
<!-- UsageSnippet language="typescript" operationID="listWalletTransactions" method="get" path="/accounts/{accountID}/wallets/{walletID}/transactions" -->
|
|
32
33
|
```typescript
|
|
33
34
|
import { Moov } from "@moovio/sdk";
|
|
34
35
|
|
|
@@ -120,6 +121,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
120
121
|
|
|
121
122
|
### Example Usage
|
|
122
123
|
|
|
124
|
+
<!-- UsageSnippet language="typescript" operationID="getWalletTransaction" method="get" path="/accounts/{accountID}/wallets/{walletID}/transactions/{transactionID}" -->
|
|
123
125
|
```typescript
|
|
124
126
|
import { Moov } from "@moovio/sdk";
|
|
125
127
|
|
|
@@ -26,5 +26,5 @@ import { Result } from "../types/fp.js";
|
|
|
26
26
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
27
27
|
* to specify the `/accounts.write` scope.
|
|
28
28
|
*/
|
|
29
|
-
export declare function accountsCreate(client: MoovCore, request: components.CreateAccount, options?: RequestOptions): APIPromise<Result<operations.CreateAccountResponse, errors.GenericError | errors.
|
|
29
|
+
export declare function accountsCreate(client: MoovCore, request: components.CreateAccount, options?: RequestOptions): APIPromise<Result<operations.CreateAccountResponse, errors.GenericError | errors.CreateAccountError | MoovError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
30
30
|
//# sourceMappingURL=accountsCreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountsCreate.d.ts","sourceRoot":"","sources":["../src/funcs/accountsCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,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;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"accountsCreate.d.ts","sourceRoot":"","sources":["../src/funcs/accountsCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,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;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,kBAAkB,GACzB,SAAS,GACT,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/accountsCreate.js
CHANGED
|
@@ -136,9 +136,7 @@ async function $do(client, request, options) {
|
|
|
136
136
|
const [result] = await M.match(M.json(200, operations.CreateAccountResponse$inboundSchema, {
|
|
137
137
|
hdrs: true,
|
|
138
138
|
key: "Result",
|
|
139
|
-
}), M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.
|
|
140
|
-
hdrs: true,
|
|
141
|
-
}), M.fail([401, 403, 404, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
139
|
+
}), M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.CreateAccountError$inboundSchema, { hdrs: true }), M.fail([401, 403, 404, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
142
140
|
if (!result.ok) {
|
|
143
141
|
return [result, { status: "complete", request: req, response }];
|
|
144
142
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountsCreate.js","sourceRoot":"","sources":["../src/funcs/accountsCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CH,wCAwBC;AAhED,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAC5B,MAAgB,EAChB,OAAiC,EACjC,OAAwB;IAgBxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAgB,EAChB,OAAiC,EACjC,OAAwB;IAmBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,4BAA4B,CAAC,KAAK,CAAC,KAAK,CAAC,EAC/D,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC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CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACxE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACvE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EAC5B,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,EAClB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,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"}
|
|
@@ -22,5 +22,5 @@ import { Result } from "../types/fp.js";
|
|
|
22
22
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
23
23
|
* to specify the `/accounts/{accountID}/profile.write` scope.
|
|
24
24
|
*/
|
|
25
|
-
export declare function accountsUpdate(client: MoovCore, request: operations.UpdateAccountRequest, options?: RequestOptions): APIPromise<Result<operations.UpdateAccountResponse, errors.GenericError | errors.
|
|
25
|
+
export declare function accountsUpdate(client: MoovCore, request: operations.UpdateAccountRequest, options?: RequestOptions): APIPromise<Result<operations.UpdateAccountResponse, errors.GenericError | errors.PatchAccountError | MoovError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
26
26
|
//# sourceMappingURL=accountsUpdate.d.ts.map
|