@moovio/sdk 0.10.6 → 0.10.8
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 +5 -5
- package/bin/mcp-server.js +407 -398
- package/bin/mcp-server.js.map +33 -34
- package/docs/sdks/accounts/README.md +10 -30
- package/docs/sdks/adjustments/README.md +6 -6
- package/docs/sdks/applepay/README.md +12 -12
- package/docs/sdks/bankaccounts/README.md +24 -26
- package/docs/sdks/branding/README.md +4 -4
- package/docs/sdks/capabilities/README.md +10 -10
- package/docs/sdks/cardissuing/README.md +30 -22
- package/docs/sdks/cards/README.md +10 -16
- package/docs/sdks/disputes/README.md +54 -54
- package/docs/sdks/enrichedprofile/README.md +2 -2
- package/docs/sdks/files/README.md +8 -8
- package/docs/sdks/issuingtransactions/README.md +16 -16
- package/docs/sdks/paymentlinks/README.md +14 -14
- package/docs/sdks/paymentmethods/README.md +6 -6
- package/docs/sdks/receipts/README.md +12 -9
- package/docs/sdks/representatives/README.md +16 -16
- package/docs/sdks/scheduling/README.md +96 -96
- package/docs/sdks/sweeps/README.md +18 -18
- package/docs/sdks/transfers/README.md +10 -10
- package/docs/sdks/underwriting/README.md +2 -2
- package/docs/sdks/wallets/README.md +6 -6
- package/docs/sdks/wallettransactions/README.md +10 -10
- package/funcs/receiptsCreate.d.ts +1 -1
- package/funcs/receiptsCreate.d.ts.map +1 -1
- package/funcs/receiptsCreate.js +1 -1
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.d.ts +1 -1
- package/funcs/receiptsList.js +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/prompts.d.ts.map +1 -1
- package/mcp-server/prompts.js +5 -1
- package/mcp-server/prompts.js.map +1 -1
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js +10 -2
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +2 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/receiptsList.js +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -3
- package/mcp-server/tools.js.map +1 -1
- package/models/components/achtransactionstatus.d.ts +3 -0
- package/models/components/achtransactionstatus.d.ts.map +1 -1
- package/models/components/achtransactionstatus.js +1 -0
- package/models/components/achtransactionstatus.js.map +1 -1
- package/models/components/createdtransfer.d.ts +116 -0
- package/models/components/createdtransfer.d.ts.map +1 -0
- package/models/components/createdtransfer.js +126 -0
- package/models/components/createdtransfer.js.map +1 -0
- package/models/components/createevidencefilemultipart.d.ts +2 -2
- package/models/components/createevidencefilemultipart.d.ts.map +1 -1
- package/models/components/createevidencefilemultipart.js +2 -2
- package/models/components/createevidencefilemultipart.js.map +1 -1
- package/models/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -1
- package/models/components/index.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createreceipts.d.ts +2 -2
- package/models/operations/createreceipts.d.ts.map +1 -1
- package/models/operations/createreceipts.js +2 -2
- package/models/operations/createreceipts.js.map +1 -1
- package/models/operations/createtransfer.d.ts +4 -4
- package/models/operations/createtransfer.d.ts.map +1 -1
- package/models/operations/createtransfer.js +4 -4
- package/models/operations/createtransfer.js.map +1 -1
- package/models/operations/listreceipts.d.ts +3 -3
- package/models/operations/listreceipts.d.ts.map +1 -1
- package/models/operations/listreceipts.js +2 -2
- package/models/operations/listreceipts.js.map +1 -1
- package/package.json +1 -1
- package/sdk/receipts.d.ts +1 -1
- package/sdk/receipts.js +1 -1
- package/src/funcs/receiptsCreate.ts +1 -5
- package/src/funcs/receiptsList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +8 -1
- package/src/mcp-server/resources.ts +16 -2
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/receiptsList.ts +1 -1
- package/src/mcp-server/tools.ts +6 -3
- package/src/models/components/achtransactionstatus.ts +1 -0
- package/src/models/components/createdtransfer.ts +242 -0
- package/src/models/components/createevidencefilemultipart.ts +4 -4
- package/src/models/components/index.ts +1 -1
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createreceipts.ts +4 -4
- package/src/models/operations/createtransfer.ts +12 -12
- package/src/models/operations/listreceipts.ts +5 -5
- package/src/sdk/receipts.ts +1 -1
- package/models/components/transferresponse.d.ts +0 -27
- package/models/components/transferresponse.d.ts.map +0 -1
- package/models/components/transferresponse.js +0 -67
- package/models/components/transferresponse.js.map +0 -1
- package/models/errors/receiptvalidationerror.d.ts +0 -46
- package/models/errors/receiptvalidationerror.d.ts.map +0 -1
- package/models/errors/receiptvalidationerror.js +0 -98
- package/models/errors/receiptvalidationerror.js.map +0 -1
- package/src/models/components/transferresponse.ts +0 -72
- package/src/models/errors/receiptvalidationerror.ts +0 -99
|
@@ -454,7 +454,7 @@ const moov = new Moov({
|
|
|
454
454
|
|
|
455
455
|
async function run() {
|
|
456
456
|
const result = await moov.accounts.get({
|
|
457
|
-
accountID: "
|
|
457
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
458
458
|
});
|
|
459
459
|
|
|
460
460
|
// Handle the result
|
|
@@ -483,7 +483,7 @@ const moov = new MoovCore({
|
|
|
483
483
|
|
|
484
484
|
async function run() {
|
|
485
485
|
const res = await accountsGet(moov, {
|
|
486
|
-
accountID: "
|
|
486
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
487
487
|
});
|
|
488
488
|
|
|
489
489
|
if (!res.ok) {
|
|
@@ -547,7 +547,7 @@ const moov = new Moov({
|
|
|
547
547
|
|
|
548
548
|
async function run() {
|
|
549
549
|
const result = await moov.accounts.update({
|
|
550
|
-
accountID: "
|
|
550
|
+
accountID: "95fa7f0e-7432-4ce4-a7cb-60cc78135dde",
|
|
551
551
|
patchAccount: {
|
|
552
552
|
profile: {
|
|
553
553
|
individual: {
|
|
@@ -577,7 +577,6 @@ async function run() {
|
|
|
577
577
|
},
|
|
578
578
|
},
|
|
579
579
|
business: {
|
|
580
|
-
legalBusinessName: "Classbooker, LLC",
|
|
581
580
|
businessType: "llc",
|
|
582
581
|
address: {
|
|
583
582
|
addressLine1: "123 Main Street",
|
|
@@ -592,7 +591,6 @@ async function run() {
|
|
|
592
591
|
countryCode: "1",
|
|
593
592
|
},
|
|
594
593
|
email: "jordan.lee@classbooker.dev",
|
|
595
|
-
description: "Local fitness gym paying out instructors",
|
|
596
594
|
taxID: {
|
|
597
595
|
ein: {
|
|
598
596
|
number: "12-3456789",
|
|
@@ -627,14 +625,6 @@ async function run() {
|
|
|
627
625
|
country: "US",
|
|
628
626
|
},
|
|
629
627
|
},
|
|
630
|
-
settings: {
|
|
631
|
-
cardPayment: {
|
|
632
|
-
statementDescriptor: "Whole Body Fitness",
|
|
633
|
-
},
|
|
634
|
-
achPayment: {
|
|
635
|
-
companyName: "WholeBodyFitness",
|
|
636
|
-
},
|
|
637
|
-
},
|
|
638
628
|
},
|
|
639
629
|
});
|
|
640
630
|
|
|
@@ -664,7 +654,7 @@ const moov = new MoovCore({
|
|
|
664
654
|
|
|
665
655
|
async function run() {
|
|
666
656
|
const res = await accountsUpdate(moov, {
|
|
667
|
-
accountID: "
|
|
657
|
+
accountID: "95fa7f0e-7432-4ce4-a7cb-60cc78135dde",
|
|
668
658
|
patchAccount: {
|
|
669
659
|
profile: {
|
|
670
660
|
individual: {
|
|
@@ -694,7 +684,6 @@ async function run() {
|
|
|
694
684
|
},
|
|
695
685
|
},
|
|
696
686
|
business: {
|
|
697
|
-
legalBusinessName: "Classbooker, LLC",
|
|
698
687
|
businessType: "llc",
|
|
699
688
|
address: {
|
|
700
689
|
addressLine1: "123 Main Street",
|
|
@@ -709,7 +698,6 @@ async function run() {
|
|
|
709
698
|
countryCode: "1",
|
|
710
699
|
},
|
|
711
700
|
email: "jordan.lee@classbooker.dev",
|
|
712
|
-
description: "Local fitness gym paying out instructors",
|
|
713
701
|
taxID: {
|
|
714
702
|
ein: {
|
|
715
703
|
number: "12-3456789",
|
|
@@ -744,14 +732,6 @@ async function run() {
|
|
|
744
732
|
country: "US",
|
|
745
733
|
},
|
|
746
734
|
},
|
|
747
|
-
settings: {
|
|
748
|
-
cardPayment: {
|
|
749
|
-
statementDescriptor: "Whole Body Fitness",
|
|
750
|
-
},
|
|
751
|
-
achPayment: {
|
|
752
|
-
companyName: "WholeBodyFitness",
|
|
753
|
-
},
|
|
754
|
-
},
|
|
755
735
|
},
|
|
756
736
|
});
|
|
757
737
|
|
|
@@ -812,7 +792,7 @@ const moov = new Moov({
|
|
|
812
792
|
|
|
813
793
|
async function run() {
|
|
814
794
|
const result = await moov.accounts.disconnect({
|
|
815
|
-
accountID: "
|
|
795
|
+
accountID: "ac3cbe09-fcd4-4c5e-ada2-89eaaa9c149e",
|
|
816
796
|
});
|
|
817
797
|
|
|
818
798
|
// Handle the result
|
|
@@ -841,7 +821,7 @@ const moov = new MoovCore({
|
|
|
841
821
|
|
|
842
822
|
async function run() {
|
|
843
823
|
const res = await accountsDisconnect(moov, {
|
|
844
|
-
accountID: "
|
|
824
|
+
accountID: "ac3cbe09-fcd4-4c5e-ada2-89eaaa9c149e",
|
|
845
825
|
});
|
|
846
826
|
|
|
847
827
|
if (!res.ok) {
|
|
@@ -898,7 +878,7 @@ const moov = new Moov({
|
|
|
898
878
|
|
|
899
879
|
async function run() {
|
|
900
880
|
const result = await moov.accounts.getCountries({
|
|
901
|
-
accountID: "
|
|
881
|
+
accountID: "b49c57bf-7b36-4308-8206-c1f5ce8067ac",
|
|
902
882
|
});
|
|
903
883
|
|
|
904
884
|
// Handle the result
|
|
@@ -927,7 +907,7 @@ const moov = new MoovCore({
|
|
|
927
907
|
|
|
928
908
|
async function run() {
|
|
929
909
|
const res = await accountsGetCountries(moov, {
|
|
930
|
-
accountID: "
|
|
910
|
+
accountID: "b49c57bf-7b36-4308-8206-c1f5ce8067ac",
|
|
931
911
|
});
|
|
932
912
|
|
|
933
913
|
if (!res.ok) {
|
|
@@ -985,7 +965,7 @@ const moov = new Moov({
|
|
|
985
965
|
|
|
986
966
|
async function run() {
|
|
987
967
|
const result = await moov.accounts.assignCountries({
|
|
988
|
-
accountID: "
|
|
968
|
+
accountID: "aa2dc19b-77dd-481f-a0a8-c76f2cfc1372",
|
|
989
969
|
accountCountries: {
|
|
990
970
|
countries: [
|
|
991
971
|
"United States",
|
|
@@ -1019,7 +999,7 @@ const moov = new MoovCore({
|
|
|
1019
999
|
|
|
1020
1000
|
async function run() {
|
|
1021
1001
|
const res = await accountsAssignCountries(moov, {
|
|
1022
|
-
accountID: "
|
|
1002
|
+
accountID: "aa2dc19b-77dd-481f-a0a8-c76f2cfc1372",
|
|
1023
1003
|
accountCountries: {
|
|
1024
1004
|
countries: [
|
|
1025
1005
|
"United States",
|
|
@@ -35,7 +35,7 @@ const moov = new Moov({
|
|
|
35
35
|
|
|
36
36
|
async function run() {
|
|
37
37
|
const result = await moov.adjustments.list({
|
|
38
|
-
accountID: "
|
|
38
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
// Handle the result
|
|
@@ -64,7 +64,7 @@ const moov = new MoovCore({
|
|
|
64
64
|
|
|
65
65
|
async function run() {
|
|
66
66
|
const res = await adjustmentsList(moov, {
|
|
67
|
-
accountID: "
|
|
67
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
if (!res.ok) {
|
|
@@ -120,8 +120,8 @@ const moov = new Moov({
|
|
|
120
120
|
|
|
121
121
|
async function run() {
|
|
122
122
|
const result = await moov.adjustments.get({
|
|
123
|
-
accountID: "
|
|
124
|
-
adjustmentID: "
|
|
123
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
124
|
+
adjustmentID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
125
125
|
});
|
|
126
126
|
|
|
127
127
|
// Handle the result
|
|
@@ -150,8 +150,8 @@ const moov = new MoovCore({
|
|
|
150
150
|
|
|
151
151
|
async function run() {
|
|
152
152
|
const res = await adjustmentsGet(moov, {
|
|
153
|
-
accountID: "
|
|
154
|
-
adjustmentID: "
|
|
153
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
154
|
+
adjustmentID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
155
155
|
});
|
|
156
156
|
|
|
157
157
|
if (!res.ok) {
|
|
@@ -64,7 +64,7 @@ const moov = new Moov({
|
|
|
64
64
|
|
|
65
65
|
async function run() {
|
|
66
66
|
const result = await moov.applePay.registerMerchantDomains({
|
|
67
|
-
accountID: "
|
|
67
|
+
accountID: "c62b8770-bdbc-406f-8160-fddb553f5b33",
|
|
68
68
|
registerApplePayMerchantDomains: {
|
|
69
69
|
domains: [
|
|
70
70
|
"checkout.classbooker.dev",
|
|
@@ -98,7 +98,7 @@ const moov = new MoovCore({
|
|
|
98
98
|
|
|
99
99
|
async function run() {
|
|
100
100
|
const res = await applePayRegisterMerchantDomains(moov, {
|
|
101
|
-
accountID: "
|
|
101
|
+
accountID: "c62b8770-bdbc-406f-8160-fddb553f5b33",
|
|
102
102
|
registerApplePayMerchantDomains: {
|
|
103
103
|
domains: [
|
|
104
104
|
"checkout.classbooker.dev",
|
|
@@ -163,7 +163,7 @@ const moov = new Moov({
|
|
|
163
163
|
|
|
164
164
|
async function run() {
|
|
165
165
|
const result = await moov.applePay.updateMerchantDomains({
|
|
166
|
-
accountID: "
|
|
166
|
+
accountID: "4dfea880-7ff8-42f8-bc8d-392cba179113",
|
|
167
167
|
updateApplePayMerchantDomains: {
|
|
168
168
|
addDomains: [
|
|
169
169
|
"pay.classbooker.dev",
|
|
@@ -200,7 +200,7 @@ const moov = new MoovCore({
|
|
|
200
200
|
|
|
201
201
|
async function run() {
|
|
202
202
|
const res = await applePayUpdateMerchantDomains(moov, {
|
|
203
|
-
accountID: "
|
|
203
|
+
accountID: "4dfea880-7ff8-42f8-bc8d-392cba179113",
|
|
204
204
|
updateApplePayMerchantDomains: {
|
|
205
205
|
addDomains: [
|
|
206
206
|
"pay.classbooker.dev",
|
|
@@ -267,7 +267,7 @@ const moov = new Moov({
|
|
|
267
267
|
|
|
268
268
|
async function run() {
|
|
269
269
|
const result = await moov.applePay.getMerchantDomains({
|
|
270
|
-
accountID: "
|
|
270
|
+
accountID: "5f873241-11ec-45e4-929d-00a704a9b582",
|
|
271
271
|
});
|
|
272
272
|
|
|
273
273
|
// Handle the result
|
|
@@ -296,7 +296,7 @@ const moov = new MoovCore({
|
|
|
296
296
|
|
|
297
297
|
async function run() {
|
|
298
298
|
const res = await applePayGetMerchantDomains(moov, {
|
|
299
|
-
accountID: "
|
|
299
|
+
accountID: "5f873241-11ec-45e4-929d-00a704a9b582",
|
|
300
300
|
});
|
|
301
301
|
|
|
302
302
|
if (!res.ok) {
|
|
@@ -355,10 +355,10 @@ const moov = new Moov({
|
|
|
355
355
|
|
|
356
356
|
async function run() {
|
|
357
357
|
const result = await moov.applePay.createSession({
|
|
358
|
-
accountID: "
|
|
358
|
+
accountID: "7f4bef45-927c-48cf-9312-d337467ac9fb",
|
|
359
359
|
createApplePaySession: {
|
|
360
360
|
domain: "checkout.classbooker.dev",
|
|
361
|
-
displayName: "
|
|
361
|
+
displayName: "Kaylee40",
|
|
362
362
|
},
|
|
363
363
|
});
|
|
364
364
|
|
|
@@ -388,10 +388,10 @@ const moov = new MoovCore({
|
|
|
388
388
|
|
|
389
389
|
async function run() {
|
|
390
390
|
const res = await applePayCreateSession(moov, {
|
|
391
|
-
accountID: "
|
|
391
|
+
accountID: "7f4bef45-927c-48cf-9312-d337467ac9fb",
|
|
392
392
|
createApplePaySession: {
|
|
393
393
|
domain: "checkout.classbooker.dev",
|
|
394
|
-
displayName: "
|
|
394
|
+
displayName: "Kaylee40",
|
|
395
395
|
},
|
|
396
396
|
});
|
|
397
397
|
|
|
@@ -452,7 +452,7 @@ const moov = new Moov({
|
|
|
452
452
|
|
|
453
453
|
async function run() {
|
|
454
454
|
const result = await moov.applePay.linkToken({
|
|
455
|
-
accountID: "
|
|
455
|
+
accountID: "3f415d64-c57f-409e-80d0-cb8bd8246ace",
|
|
456
456
|
linkApplePay: {
|
|
457
457
|
token: {
|
|
458
458
|
paymentData: {
|
|
@@ -510,7 +510,7 @@ const moov = new MoovCore({
|
|
|
510
510
|
|
|
511
511
|
async function run() {
|
|
512
512
|
const res = await applePayLinkToken(moov, {
|
|
513
|
-
accountID: "
|
|
513
|
+
accountID: "3f415d64-c57f-409e-80d0-cb8bd8246ace",
|
|
514
514
|
linkApplePay: {
|
|
515
515
|
token: {
|
|
516
516
|
paymentData: {
|
|
@@ -119,7 +119,7 @@ const moov = new Moov({
|
|
|
119
119
|
|
|
120
120
|
async function run() {
|
|
121
121
|
const result = await moov.bankAccounts.link({
|
|
122
|
-
accountID: "
|
|
122
|
+
accountID: "0ffc839a-9198-4ea1-98a2-6cccee057439",
|
|
123
123
|
linkBankAccount: {
|
|
124
124
|
plaid: {
|
|
125
125
|
token: "<value>",
|
|
@@ -153,7 +153,7 @@ const moov = new MoovCore({
|
|
|
153
153
|
|
|
154
154
|
async function run() {
|
|
155
155
|
const res = await bankAccountsLink(moov, {
|
|
156
|
-
accountID: "
|
|
156
|
+
accountID: "0ffc839a-9198-4ea1-98a2-6cccee057439",
|
|
157
157
|
linkBankAccount: {
|
|
158
158
|
plaid: {
|
|
159
159
|
token: "<value>",
|
|
@@ -218,7 +218,7 @@ const moov = new Moov({
|
|
|
218
218
|
|
|
219
219
|
async function run() {
|
|
220
220
|
const result = await moov.bankAccounts.list({
|
|
221
|
-
accountID: "
|
|
221
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
222
222
|
});
|
|
223
223
|
|
|
224
224
|
// Handle the result
|
|
@@ -247,7 +247,7 @@ const moov = new MoovCore({
|
|
|
247
247
|
|
|
248
248
|
async function run() {
|
|
249
249
|
const res = await bankAccountsList(moov, {
|
|
250
|
-
accountID: "
|
|
250
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
251
251
|
});
|
|
252
252
|
|
|
253
253
|
if (!res.ok) {
|
|
@@ -305,8 +305,8 @@ const moov = new Moov({
|
|
|
305
305
|
|
|
306
306
|
async function run() {
|
|
307
307
|
const result = await moov.bankAccounts.get({
|
|
308
|
-
accountID: "
|
|
309
|
-
bankAccountID: "
|
|
308
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
309
|
+
bankAccountID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
310
310
|
});
|
|
311
311
|
|
|
312
312
|
// Handle the result
|
|
@@ -335,8 +335,8 @@ const moov = new MoovCore({
|
|
|
335
335
|
|
|
336
336
|
async function run() {
|
|
337
337
|
const res = await bankAccountsGet(moov, {
|
|
338
|
-
accountID: "
|
|
339
|
-
bankAccountID: "
|
|
338
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
339
|
+
bankAccountID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
340
340
|
});
|
|
341
341
|
|
|
342
342
|
if (!res.ok) {
|
|
@@ -392,8 +392,8 @@ const moov = new Moov({
|
|
|
392
392
|
|
|
393
393
|
async function run() {
|
|
394
394
|
const result = await moov.bankAccounts.disable({
|
|
395
|
-
accountID: "
|
|
396
|
-
bankAccountID: "
|
|
395
|
+
accountID: "cd7cd1ce-90cc-444b-ac3e-badb79be277f",
|
|
396
|
+
bankAccountID: "0f131553-3a08-4820-a7ac-ba935765809c",
|
|
397
397
|
});
|
|
398
398
|
|
|
399
399
|
// Handle the result
|
|
@@ -422,8 +422,8 @@ const moov = new MoovCore({
|
|
|
422
422
|
|
|
423
423
|
async function run() {
|
|
424
424
|
const res = await bankAccountsDisable(moov, {
|
|
425
|
-
accountID: "
|
|
426
|
-
bankAccountID: "
|
|
425
|
+
accountID: "cd7cd1ce-90cc-444b-ac3e-badb79be277f",
|
|
426
|
+
bankAccountID: "0f131553-3a08-4820-a7ac-ba935765809c",
|
|
427
427
|
});
|
|
428
428
|
|
|
429
429
|
if (!res.ok) {
|
|
@@ -689,8 +689,8 @@ const moov = new Moov({
|
|
|
689
689
|
|
|
690
690
|
async function run() {
|
|
691
691
|
const result = await moov.bankAccounts.getVerification({
|
|
692
|
-
accountID: "
|
|
693
|
-
bankAccountID: "
|
|
692
|
+
accountID: "eb35bc20-d74d-4acc-b152-c4db94d9355b",
|
|
693
|
+
bankAccountID: "2572c1db-032d-464b-b55d-1fd7052232be",
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
// Handle the result
|
|
@@ -719,8 +719,8 @@ const moov = new MoovCore({
|
|
|
719
719
|
|
|
720
720
|
async function run() {
|
|
721
721
|
const res = await bankAccountsGetVerification(moov, {
|
|
722
|
-
accountID: "
|
|
723
|
-
bankAccountID: "
|
|
722
|
+
accountID: "eb35bc20-d74d-4acc-b152-c4db94d9355b",
|
|
723
|
+
bankAccountID: "2572c1db-032d-464b-b55d-1fd7052232be",
|
|
724
724
|
});
|
|
725
725
|
|
|
726
726
|
if (!res.ok) {
|
|
@@ -791,9 +791,8 @@ const moov = new Moov({
|
|
|
791
791
|
|
|
792
792
|
async function run() {
|
|
793
793
|
const result = await moov.bankAccounts.initiateVerification({
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
bankAccountID: "d648f8f3-7641-4e40-8a99-c08de14889c8",
|
|
794
|
+
accountID: "96925880-1f29-484d-9ce4-a55f78c3d5fc",
|
|
795
|
+
bankAccountID: "c9cadc5c-d322-467d-bc62-d133abcc5ec1",
|
|
797
796
|
});
|
|
798
797
|
|
|
799
798
|
// Handle the result
|
|
@@ -822,9 +821,8 @@ const moov = new MoovCore({
|
|
|
822
821
|
|
|
823
822
|
async function run() {
|
|
824
823
|
const res = await bankAccountsInitiateVerification(moov, {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
bankAccountID: "d648f8f3-7641-4e40-8a99-c08de14889c8",
|
|
824
|
+
accountID: "96925880-1f29-484d-9ce4-a55f78c3d5fc",
|
|
825
|
+
bankAccountID: "c9cadc5c-d322-467d-bc62-d133abcc5ec1",
|
|
828
826
|
});
|
|
829
827
|
|
|
830
828
|
if (!res.ok) {
|
|
@@ -888,8 +886,8 @@ const moov = new Moov({
|
|
|
888
886
|
|
|
889
887
|
async function run() {
|
|
890
888
|
const result = await moov.bankAccounts.completeVerification({
|
|
891
|
-
accountID: "
|
|
892
|
-
bankAccountID: "
|
|
889
|
+
accountID: "3b83f70f-82ce-4e0f-8a75-e4717ad684e4",
|
|
890
|
+
bankAccountID: "c4c7442d-4aa1-4dfe-9ab1-5206164dce64",
|
|
893
891
|
completeBankAccountVerification: {
|
|
894
892
|
code: "MV1234",
|
|
895
893
|
},
|
|
@@ -921,8 +919,8 @@ const moov = new MoovCore({
|
|
|
921
919
|
|
|
922
920
|
async function run() {
|
|
923
921
|
const res = await bankAccountsCompleteVerification(moov, {
|
|
924
|
-
accountID: "
|
|
925
|
-
bankAccountID: "
|
|
922
|
+
accountID: "3b83f70f-82ce-4e0f-8a75-e4717ad684e4",
|
|
923
|
+
bankAccountID: "c4c7442d-4aa1-4dfe-9ab1-5206164dce64",
|
|
926
924
|
completeBankAccountVerification: {
|
|
927
925
|
code: "MV1234",
|
|
928
926
|
},
|
|
@@ -257,7 +257,7 @@ const moov = new Moov({
|
|
|
257
257
|
|
|
258
258
|
async function run() {
|
|
259
259
|
const result = await moov.branding.get({
|
|
260
|
-
accountID: "
|
|
260
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
261
261
|
});
|
|
262
262
|
|
|
263
263
|
// Handle the result
|
|
@@ -286,7 +286,7 @@ const moov = new MoovCore({
|
|
|
286
286
|
|
|
287
287
|
async function run() {
|
|
288
288
|
const res = await brandingGet(moov, {
|
|
289
|
-
accountID: "
|
|
289
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
290
290
|
});
|
|
291
291
|
|
|
292
292
|
if (!res.ok) {
|
|
@@ -342,7 +342,7 @@ const moov = new Moov({
|
|
|
342
342
|
|
|
343
343
|
async function run() {
|
|
344
344
|
const result = await moov.branding.update({
|
|
345
|
-
accountID: "
|
|
345
|
+
accountID: "d95fa7f0-e743-42ce-b47c-b60cc78135dd",
|
|
346
346
|
updateBrand: {},
|
|
347
347
|
});
|
|
348
348
|
|
|
@@ -372,7 +372,7 @@ const moov = new MoovCore({
|
|
|
372
372
|
|
|
373
373
|
async function run() {
|
|
374
374
|
const res = await brandingUpdate(moov, {
|
|
375
|
-
accountID: "
|
|
375
|
+
accountID: "d95fa7f0-e743-42ce-b47c-b60cc78135dd",
|
|
376
376
|
updateBrand: {},
|
|
377
377
|
});
|
|
378
378
|
|
|
@@ -47,7 +47,7 @@ const moov = new Moov({
|
|
|
47
47
|
|
|
48
48
|
async function run() {
|
|
49
49
|
const result = await moov.capabilities.list({
|
|
50
|
-
accountID: "
|
|
50
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
// Handle the result
|
|
@@ -76,7 +76,7 @@ const moov = new MoovCore({
|
|
|
76
76
|
|
|
77
77
|
async function run() {
|
|
78
78
|
const res = await capabilitiesList(moov, {
|
|
79
|
-
accountID: "
|
|
79
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
80
80
|
});
|
|
81
81
|
|
|
82
82
|
if (!res.ok) {
|
|
@@ -229,8 +229,8 @@ const moov = new Moov({
|
|
|
229
229
|
|
|
230
230
|
async function run() {
|
|
231
231
|
const result = await moov.capabilities.get({
|
|
232
|
-
accountID: "
|
|
233
|
-
capabilityID: "
|
|
232
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
233
|
+
capabilityID: "production-app",
|
|
234
234
|
});
|
|
235
235
|
|
|
236
236
|
// Handle the result
|
|
@@ -259,8 +259,8 @@ const moov = new MoovCore({
|
|
|
259
259
|
|
|
260
260
|
async function run() {
|
|
261
261
|
const res = await capabilitiesGet(moov, {
|
|
262
|
-
accountID: "
|
|
263
|
-
capabilityID: "
|
|
262
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
263
|
+
capabilityID: "production-app",
|
|
264
264
|
});
|
|
265
265
|
|
|
266
266
|
if (!res.ok) {
|
|
@@ -316,8 +316,8 @@ const moov = new Moov({
|
|
|
316
316
|
|
|
317
317
|
async function run() {
|
|
318
318
|
const result = await moov.capabilities.disable({
|
|
319
|
-
accountID: "
|
|
320
|
-
capabilityID: "
|
|
319
|
+
accountID: "cd7cd1ce-90cc-444b-ac3e-badb79be277f",
|
|
320
|
+
capabilityID: "transfers",
|
|
321
321
|
});
|
|
322
322
|
|
|
323
323
|
// Handle the result
|
|
@@ -346,8 +346,8 @@ const moov = new MoovCore({
|
|
|
346
346
|
|
|
347
347
|
async function run() {
|
|
348
348
|
const res = await capabilitiesDisable(moov, {
|
|
349
|
-
accountID: "
|
|
350
|
-
capabilityID: "
|
|
349
|
+
accountID: "cd7cd1ce-90cc-444b-ac3e-badb79be277f",
|
|
350
|
+
capabilityID: "transfers",
|
|
351
351
|
});
|
|
352
352
|
|
|
353
353
|
if (!res.ok) {
|
|
@@ -49,12 +49,12 @@ const moov = new Moov({
|
|
|
49
49
|
|
|
50
50
|
async function run() {
|
|
51
51
|
const result = await moov.cardIssuing.request({
|
|
52
|
-
accountID: "
|
|
52
|
+
accountID: "bd26796d-dd52-401c-9686-e370e79ebc50",
|
|
53
53
|
requestCard: {
|
|
54
|
-
fundingWalletID: "
|
|
54
|
+
fundingWalletID: "32613610-de25-446e-8662-ec2709ffea9d",
|
|
55
55
|
authorizedUser: {
|
|
56
|
-
firstName: "
|
|
57
|
-
lastName: "
|
|
56
|
+
firstName: "Leta",
|
|
57
|
+
lastName: "Satterfield",
|
|
58
58
|
birthDate: {
|
|
59
59
|
day: 9,
|
|
60
60
|
month: 11,
|
|
@@ -76,6 +76,10 @@ async function run() {
|
|
|
76
76
|
amount: 10000,
|
|
77
77
|
interval: "per-transaction",
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
amount: 10000,
|
|
81
|
+
interval: "per-transaction",
|
|
82
|
+
},
|
|
79
83
|
],
|
|
80
84
|
},
|
|
81
85
|
},
|
|
@@ -107,12 +111,12 @@ const moov = new MoovCore({
|
|
|
107
111
|
|
|
108
112
|
async function run() {
|
|
109
113
|
const res = await cardIssuingRequest(moov, {
|
|
110
|
-
accountID: "
|
|
114
|
+
accountID: "bd26796d-dd52-401c-9686-e370e79ebc50",
|
|
111
115
|
requestCard: {
|
|
112
|
-
fundingWalletID: "
|
|
116
|
+
fundingWalletID: "32613610-de25-446e-8662-ec2709ffea9d",
|
|
113
117
|
authorizedUser: {
|
|
114
|
-
firstName: "
|
|
115
|
-
lastName: "
|
|
118
|
+
firstName: "Leta",
|
|
119
|
+
lastName: "Satterfield",
|
|
116
120
|
birthDate: {
|
|
117
121
|
day: 9,
|
|
118
122
|
month: 11,
|
|
@@ -134,6 +138,10 @@ async function run() {
|
|
|
134
138
|
amount: 10000,
|
|
135
139
|
interval: "per-transaction",
|
|
136
140
|
},
|
|
141
|
+
{
|
|
142
|
+
amount: 10000,
|
|
143
|
+
interval: "per-transaction",
|
|
144
|
+
},
|
|
137
145
|
],
|
|
138
146
|
},
|
|
139
147
|
},
|
|
@@ -194,7 +202,7 @@ const moov = new Moov({
|
|
|
194
202
|
|
|
195
203
|
async function run() {
|
|
196
204
|
const result = await moov.cardIssuing.list({
|
|
197
|
-
accountID: "
|
|
205
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
198
206
|
skip: 60,
|
|
199
207
|
count: 20,
|
|
200
208
|
});
|
|
@@ -225,7 +233,7 @@ const moov = new MoovCore({
|
|
|
225
233
|
|
|
226
234
|
async function run() {
|
|
227
235
|
const res = await cardIssuingList(moov, {
|
|
228
|
-
accountID: "
|
|
236
|
+
accountID: "c8a232aa-0b11-4b8a-b005-71e9e705d0e6",
|
|
229
237
|
skip: 60,
|
|
230
238
|
count: 20,
|
|
231
239
|
});
|
|
@@ -283,8 +291,8 @@ const moov = new Moov({
|
|
|
283
291
|
|
|
284
292
|
async function run() {
|
|
285
293
|
const result = await moov.cardIssuing.get({
|
|
286
|
-
accountID: "
|
|
287
|
-
issuedCardID: "
|
|
294
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
295
|
+
issuedCardID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
288
296
|
});
|
|
289
297
|
|
|
290
298
|
// Handle the result
|
|
@@ -313,8 +321,8 @@ const moov = new MoovCore({
|
|
|
313
321
|
|
|
314
322
|
async function run() {
|
|
315
323
|
const res = await cardIssuingGet(moov, {
|
|
316
|
-
accountID: "
|
|
317
|
-
issuedCardID: "
|
|
324
|
+
accountID: "b888f774-3e7c-4135-a18c-6b985523c4bc",
|
|
325
|
+
issuedCardID: "e50f7622-81da-484b-9c66-1c8a99c6b71b",
|
|
318
326
|
});
|
|
319
327
|
|
|
320
328
|
if (!res.ok) {
|
|
@@ -370,8 +378,8 @@ const moov = new Moov({
|
|
|
370
378
|
|
|
371
379
|
async function run() {
|
|
372
380
|
const result = await moov.cardIssuing.update({
|
|
373
|
-
accountID: "
|
|
374
|
-
issuedCardID: "
|
|
381
|
+
accountID: "d95fa7f0-e743-42ce-b47c-b60cc78135dd",
|
|
382
|
+
issuedCardID: "b85898c1-25a1-4907-a1c5-562af6646dad",
|
|
375
383
|
updateIssuedCard: {
|
|
376
384
|
authorizedUser: {
|
|
377
385
|
birthDate: {
|
|
@@ -409,8 +417,8 @@ const moov = new MoovCore({
|
|
|
409
417
|
|
|
410
418
|
async function run() {
|
|
411
419
|
const res = await cardIssuingUpdate(moov, {
|
|
412
|
-
accountID: "
|
|
413
|
-
issuedCardID: "
|
|
420
|
+
accountID: "d95fa7f0-e743-42ce-b47c-b60cc78135dd",
|
|
421
|
+
issuedCardID: "b85898c1-25a1-4907-a1c5-562af6646dad",
|
|
414
422
|
updateIssuedCard: {
|
|
415
423
|
authorizedUser: {
|
|
416
424
|
birthDate: {
|
|
@@ -479,8 +487,8 @@ const moov = new Moov({
|
|
|
479
487
|
|
|
480
488
|
async function run() {
|
|
481
489
|
const result = await moov.cardIssuing.getFull({
|
|
482
|
-
accountID: "
|
|
483
|
-
issuedCardID: "
|
|
490
|
+
accountID: "04e9a1b9-0751-4f2d-b0d4-51e47b62623c",
|
|
491
|
+
issuedCardID: "13ddb970-c10a-44bb-a2e6-73beac428022",
|
|
484
492
|
});
|
|
485
493
|
|
|
486
494
|
// Handle the result
|
|
@@ -509,8 +517,8 @@ const moov = new MoovCore({
|
|
|
509
517
|
|
|
510
518
|
async function run() {
|
|
511
519
|
const res = await cardIssuingGetFull(moov, {
|
|
512
|
-
accountID: "
|
|
513
|
-
issuedCardID: "
|
|
520
|
+
accountID: "04e9a1b9-0751-4f2d-b0d4-51e47b62623c",
|
|
521
|
+
issuedCardID: "13ddb970-c10a-44bb-a2e6-73beac428022",
|
|
514
522
|
});
|
|
515
523
|
|
|
516
524
|
if (!res.ok) {
|