@moovio/sdk 0.10.6 → 0.10.7

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 (77) hide show
  1. package/README.md +5 -5
  2. package/bin/mcp-server.js +17 -72
  3. package/bin/mcp-server.js.map +14 -15
  4. package/docs/sdks/accounts/README.md +10 -30
  5. package/docs/sdks/adjustments/README.md +6 -6
  6. package/docs/sdks/applepay/README.md +12 -12
  7. package/docs/sdks/bankaccounts/README.md +24 -26
  8. package/docs/sdks/branding/README.md +4 -4
  9. package/docs/sdks/capabilities/README.md +10 -10
  10. package/docs/sdks/cardissuing/README.md +30 -22
  11. package/docs/sdks/cards/README.md +10 -16
  12. package/docs/sdks/disputes/README.md +54 -54
  13. package/docs/sdks/enrichedprofile/README.md +2 -2
  14. package/docs/sdks/files/README.md +8 -8
  15. package/docs/sdks/issuingtransactions/README.md +16 -16
  16. package/docs/sdks/paymentlinks/README.md +14 -14
  17. package/docs/sdks/paymentmethods/README.md +6 -6
  18. package/docs/sdks/receipts/README.md +12 -9
  19. package/docs/sdks/representatives/README.md +16 -16
  20. package/docs/sdks/scheduling/README.md +96 -96
  21. package/docs/sdks/sweeps/README.md +18 -18
  22. package/docs/sdks/transfers/README.md +10 -10
  23. package/docs/sdks/underwriting/README.md +2 -2
  24. package/docs/sdks/wallets/README.md +6 -6
  25. package/docs/sdks/wallettransactions/README.md +10 -10
  26. package/funcs/receiptsCreate.d.ts +1 -1
  27. package/funcs/receiptsCreate.d.ts.map +1 -1
  28. package/funcs/receiptsCreate.js +1 -1
  29. package/funcs/receiptsCreate.js.map +1 -1
  30. package/funcs/receiptsList.d.ts +1 -1
  31. package/funcs/receiptsList.js +1 -1
  32. package/jsr.json +1 -1
  33. package/lib/config.d.ts +3 -3
  34. package/lib/config.js +3 -3
  35. package/mcp-server/mcp-server.js +1 -1
  36. package/mcp-server/server.js +1 -1
  37. package/mcp-server/tools/receiptsList.js +1 -1
  38. package/models/components/achtransactionstatus.d.ts +3 -0
  39. package/models/components/achtransactionstatus.d.ts.map +1 -1
  40. package/models/components/achtransactionstatus.js +1 -0
  41. package/models/components/achtransactionstatus.js.map +1 -1
  42. package/models/components/createevidencefilemultipart.d.ts +2 -2
  43. package/models/components/createevidencefilemultipart.d.ts.map +1 -1
  44. package/models/components/createevidencefilemultipart.js +2 -2
  45. package/models/components/createevidencefilemultipart.js.map +1 -1
  46. package/models/errors/index.d.ts +0 -1
  47. package/models/errors/index.d.ts.map +1 -1
  48. package/models/errors/index.js +0 -1
  49. package/models/errors/index.js.map +1 -1
  50. package/models/operations/createreceipts.d.ts +2 -2
  51. package/models/operations/createreceipts.d.ts.map +1 -1
  52. package/models/operations/createreceipts.js +2 -2
  53. package/models/operations/createreceipts.js.map +1 -1
  54. package/models/operations/listreceipts.d.ts +3 -3
  55. package/models/operations/listreceipts.d.ts.map +1 -1
  56. package/models/operations/listreceipts.js +2 -2
  57. package/models/operations/listreceipts.js.map +1 -1
  58. package/package.json +1 -1
  59. package/sdk/receipts.d.ts +1 -1
  60. package/sdk/receipts.js +1 -1
  61. package/src/funcs/receiptsCreate.ts +1 -5
  62. package/src/funcs/receiptsList.ts +1 -1
  63. package/src/lib/config.ts +3 -3
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +1 -1
  66. package/src/mcp-server/tools/receiptsList.ts +1 -1
  67. package/src/models/components/achtransactionstatus.ts +1 -0
  68. package/src/models/components/createevidencefilemultipart.ts +4 -4
  69. package/src/models/errors/index.ts +0 -1
  70. package/src/models/operations/createreceipts.ts +4 -4
  71. package/src/models/operations/listreceipts.ts +5 -5
  72. package/src/sdk/receipts.ts +1 -1
  73. package/models/errors/receiptvalidationerror.d.ts +0 -46
  74. package/models/errors/receiptvalidationerror.d.ts.map +0 -1
  75. package/models/errors/receiptvalidationerror.js +0 -98
  76. package/models/errors/receiptvalidationerror.js.map +0 -1
  77. package/src/models/errors/receiptvalidationerror.ts +0 -99
package/README.md CHANGED
@@ -1002,7 +1002,7 @@ you'll need to specify the `/ping.read` scope.
1002
1002
 
1003
1003
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1004
1004
  you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
1005
- * [list](docs/sdks/receipts/README.md#list) - List receipts by trasnferID, scheduleID, or occurrenceID.
1005
+ * [list](docs/sdks/receipts/README.md#list) - List receipts by transferID, scheduleID, or occurrenceID.
1006
1006
 
1007
1007
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1008
1008
  you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -1777,7 +1777,7 @@ you'll need to specify the `/ping.read` scope.
1777
1777
 
1778
1778
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1779
1779
  you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
1780
- - [`receiptsList`](docs/sdks/receipts/README.md#list) - List receipts by trasnferID, scheduleID, or occurrenceID.
1780
+ - [`receiptsList`](docs/sdks/receipts/README.md#list) - List receipts by transferID, scheduleID, or occurrenceID.
1781
1781
 
1782
1782
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1783
1783
  you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -2020,11 +2020,11 @@ const moov = new Moov({
2020
2020
 
2021
2021
  async function run() {
2022
2022
  const result = await moov.disputes.uploadEvidenceFile({
2023
- accountID: "ac81921c-4c1a-4e7a-8a8f-dfc0d0027ac5",
2024
- disputeID: "49c04fa3-f5c3-4ddd-aece-4b5fb6e8a071",
2023
+ accountID: "190d267b-ea77-4231-9939-ba89cb7df82b",
2024
+ disputeID: "94aabddc-d855-40e6-ab0a-1e547e0dcc9d",
2025
2025
  createEvidenceFileMultiPart: {
2026
- evidenceType: "customer-communication",
2027
2026
  file: await openAsBlob("example.file"),
2027
+ evidenceType: "customer-communication",
2028
2028
  },
2029
2029
  });
2030
2030
 
package/bin/mcp-server.js CHANGED
@@ -34213,9 +34213,9 @@ var init_config = __esm(() => {
34213
34213
  SDK_METADATA = {
34214
34214
  language: "typescript",
34215
34215
  openapiDocVersion: "latest",
34216
- sdkVersion: "0.10.6",
34217
- genVersion: "2.565.1",
34218
- userAgent: "speakeasy-sdk/typescript 0.10.6 2.565.1 latest @moovio/sdk"
34216
+ sdkVersion: "0.10.7",
34217
+ genVersion: "2.566.5",
34218
+ userAgent: "speakeasy-sdk/typescript 0.10.7 2.566.5 latest @moovio/sdk"
34219
34219
  };
34220
34220
  });
34221
34221
 
@@ -36596,6 +36596,7 @@ var ACHTransactionStatus, ACHTransactionStatus$inboundSchema, ACHTransactionStat
36596
36596
  var init_achtransactionstatus = __esm(() => {
36597
36597
  init_lib();
36598
36598
  ACHTransactionStatus = {
36599
+ Unknown: "",
36599
36600
  Initiated: "initiated",
36600
36601
  Originated: "originated",
36601
36602
  Corrected: "corrected",
@@ -39691,12 +39692,12 @@ var init_createevidencefilemultipart = __esm(() => {
39691
39692
  FileT$.outboundSchema = FileT$outboundSchema;
39692
39693
  })(FileT$ ||= {});
39693
39694
  CreateEvidenceFileMultiPart$inboundSchema = objectType({
39694
- evidenceType: EvidenceType$inboundSchema,
39695
- file: lazyType(() => FileT$inboundSchema)
39695
+ file: lazyType(() => FileT$inboundSchema),
39696
+ evidenceType: EvidenceType$inboundSchema
39696
39697
  });
39697
39698
  CreateEvidenceFileMultiPart$outboundSchema = objectType({
39698
- evidenceType: EvidenceType$outboundSchema,
39699
- file: lazyType(() => FileT$outboundSchema).or(blobLikeSchema)
39699
+ file: lazyType(() => FileT$outboundSchema).or(blobLikeSchema),
39700
+ evidenceType: EvidenceType$outboundSchema
39700
39701
  });
39701
39702
  ((CreateEvidenceFileMultiPart$) => {
39702
39703
  CreateEvidenceFileMultiPart$.inboundSchema = CreateEvidenceFileMultiPart$inboundSchema;
@@ -45833,61 +45834,6 @@ var init_patchsweepconfigerror = __esm(() => {
45833
45834
  })(PatchSweepConfigError$ ||= {});
45834
45835
  });
45835
45836
 
45836
- // src/models/errors/receiptvalidationerror.ts
45837
- var ReceiptValidationError, ReceiptValidationError$inboundSchema, ReceiptValidationError$outboundSchema, ReceiptValidationError$;
45838
- var init_receiptvalidationerror = __esm(() => {
45839
- init_lib();
45840
- ReceiptValidationError = class ReceiptValidationError extends Error {
45841
- kind;
45842
- email;
45843
- emailAccountID;
45844
- forTransferID;
45845
- forScheduleID;
45846
- forOccurrenceID;
45847
- data$;
45848
- constructor(err) {
45849
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
45850
- super(message);
45851
- this.data$ = err;
45852
- if (err.kind != null)
45853
- this.kind = err.kind;
45854
- if (err.email != null)
45855
- this.email = err.email;
45856
- if (err.emailAccountID != null)
45857
- this.emailAccountID = err.emailAccountID;
45858
- if (err.forTransferID != null)
45859
- this.forTransferID = err.forTransferID;
45860
- if (err.forScheduleID != null)
45861
- this.forScheduleID = err.forScheduleID;
45862
- if (err.forOccurrenceID != null)
45863
- this.forOccurrenceID = err.forOccurrenceID;
45864
- this.name = "ReceiptValidationError";
45865
- }
45866
- };
45867
- ReceiptValidationError$inboundSchema = objectType({
45868
- kind: stringType().optional(),
45869
- email: stringType().optional(),
45870
- emailAccountID: stringType().optional(),
45871
- forTransferID: stringType().optional(),
45872
- forScheduleID: stringType().optional(),
45873
- forOccurrenceID: stringType().optional()
45874
- }).transform((v2) => {
45875
- return new ReceiptValidationError(v2);
45876
- });
45877
- ReceiptValidationError$outboundSchema = instanceOfType(ReceiptValidationError).transform((v2) => v2.data$).pipe(objectType({
45878
- kind: stringType().optional(),
45879
- email: stringType().optional(),
45880
- emailAccountID: stringType().optional(),
45881
- forTransferID: stringType().optional(),
45882
- forScheduleID: stringType().optional(),
45883
- forOccurrenceID: stringType().optional()
45884
- }));
45885
- ((ReceiptValidationError$) => {
45886
- ReceiptValidationError$.inboundSchema = ReceiptValidationError$inboundSchema;
45887
- ReceiptValidationError$.outboundSchema = ReceiptValidationError$outboundSchema;
45888
- })(ReceiptValidationError$ ||= {});
45889
- });
45890
-
45891
45837
  // src/models/errors/refundvalidationerror.ts
45892
45838
  var RefundValidationError, RefundValidationError$inboundSchema, RefundValidationError$outboundSchema, RefundValidationError$;
45893
45839
  var init_refundvalidationerror = __esm(() => {
@@ -46726,7 +46672,6 @@ var init_errors = __esm(() => {
46726
46672
  init_microdepositvalidationerror();
46727
46673
  init_onboardinginviteerror();
46728
46674
  init_patchsweepconfigerror();
46729
- init_receiptvalidationerror();
46730
46675
  init_refundvalidationerror();
46731
46676
  init_representativevalidationerror();
46732
46677
  init_requestcarderror();
@@ -47570,7 +47515,7 @@ var init_createreceipts = __esm(() => {
47570
47515
  })(CreateReceiptsGlobals$ ||= {});
47571
47516
  CreateReceiptsResponse$inboundSchema = objectType({
47572
47517
  Headers: recordType(arrayType(stringType())),
47573
- Result: ReceiptResponse$inboundSchema
47518
+ Result: arrayType(ReceiptResponse$inboundSchema)
47574
47519
  }).transform((v2) => {
47575
47520
  return remap(v2, {
47576
47521
  Headers: "headers",
@@ -47579,7 +47524,7 @@ var init_createreceipts = __esm(() => {
47579
47524
  });
47580
47525
  CreateReceiptsResponse$outboundSchema = objectType({
47581
47526
  headers: recordType(arrayType(stringType())),
47582
- result: ReceiptResponse$outboundSchema
47527
+ result: arrayType(ReceiptResponse$outboundSchema)
47583
47528
  }).transform((v2) => {
47584
47529
  return remap(v2, {
47585
47530
  headers: "Headers",
@@ -52794,10 +52739,10 @@ var init_listreceipts = __esm(() => {
52794
52739
  ListReceiptsGlobals$.outboundSchema = ListReceiptsGlobals$outboundSchema;
52795
52740
  })(ListReceiptsGlobals$ ||= {});
52796
52741
  ListReceiptsRequest$inboundSchema = objectType({
52797
- id: stringType().optional()
52742
+ id: stringType()
52798
52743
  });
52799
52744
  ListReceiptsRequest$outboundSchema = objectType({
52800
- id: stringType().optional()
52745
+ id: stringType()
52801
52746
  });
52802
52747
  ((ListReceiptsRequest$) => {
52803
52748
  ListReceiptsRequest$.inboundSchema = ListReceiptsRequest$inboundSchema;
@@ -66037,7 +65982,7 @@ async function $do92(client, request, options) {
66037
65982
  const [result] = await match(json(201, CreateReceiptsResponse$inboundSchema, {
66038
65983
  hdrs: true,
66039
65984
  key: "Result"
66040
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ReceiptValidationError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
65985
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 422, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
66041
65986
  if (!result.ok) {
66042
65987
  return [result, { status: "complete", request: req, response }];
66043
65988
  }
@@ -66176,7 +66121,7 @@ var init_receiptsList2 = __esm(() => {
66176
66121
  };
66177
66122
  tool$receiptsList = {
66178
66123
  name: "receipts-list",
66179
- description: `List receipts by trasnferID, scheduleID, or occurrenceID.
66124
+ description: `List receipts by transferID, scheduleID, or occurrenceID.
66180
66125
 
66181
66126
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66182
66127
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
@@ -70811,7 +70756,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70811
70756
  function createMCPServer(deps) {
70812
70757
  const server = new McpServer({
70813
70758
  name: "Moov",
70814
- version: "0.10.6"
70759
+ version: "0.10.7"
70815
70760
  });
70816
70761
  const client = new MoovCore({
70817
70762
  security: deps.security,
@@ -72312,7 +72257,7 @@ var routes = rn({
72312
72257
  var app = Ve(routes, {
72313
72258
  name: "mcp",
72314
72259
  versionInfo: {
72315
- currentVersion: "0.10.6"
72260
+ currentVersion: "0.10.7"
72316
72261
  }
72317
72262
  });
72318
72263
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -72320,5 +72265,5 @@ export {
72320
72265
  app
72321
72266
  };
72322
72267
 
72323
- //# debugId=F04ABC7E21358ACC64756E2164756E21
72268
+ //# debugId=645A8604EF65A64A64756E2164756E21
72324
72269
  //# sourceMappingURL=mcp-server.js.map