@moovio/sdk 0.14.24 → 0.14.26

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 (78) hide show
  1. package/bin/mcp-server.js +292 -228
  2. package/bin/mcp-server.js.map +20 -19
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/security.d.ts.map +1 -1
  8. package/lib/security.js.map +1 -1
  9. package/mcp-server/mcp-server.js +1 -1
  10. package/mcp-server/server.js +1 -1
  11. package/models/components/index.d.ts +3 -2
  12. package/models/components/index.d.ts.map +1 -1
  13. package/models/components/index.js +3 -2
  14. package/models/components/index.js.map +1 -1
  15. package/models/components/webhookdata.d.ts +5 -2
  16. package/models/components/webhookdata.d.ts.map +1 -1
  17. package/models/components/webhookdata.js +9 -0
  18. package/models/components/webhookdata.js.map +1 -1
  19. package/models/components/webhookdataticketcreated.d.ts +31 -0
  20. package/models/components/webhookdataticketcreated.d.ts.map +1 -0
  21. package/models/components/{countrieserrors.js → webhookdataticketcreated.js} +21 -19
  22. package/models/components/webhookdataticketcreated.js.map +1 -0
  23. package/models/components/webhookdataticketmessageadded.d.ts +31 -0
  24. package/models/components/webhookdataticketmessageadded.d.ts.map +1 -0
  25. package/models/components/{capabilitieserror.js → webhookdataticketmessageadded.js} +21 -19
  26. package/models/components/webhookdataticketmessageadded.js.map +1 -0
  27. package/models/components/webhookdataticketupdated.d.ts +34 -0
  28. package/models/components/webhookdataticketupdated.d.ts.map +1 -0
  29. package/models/components/webhookdataticketupdated.js +74 -0
  30. package/models/components/webhookdataticketupdated.js.map +1 -0
  31. package/models/components/webhookeventtype.d.ts +9 -0
  32. package/models/components/webhookeventtype.d.ts.map +1 -1
  33. package/models/components/webhookeventtype.js +3 -0
  34. package/models/components/webhookeventtype.js.map +1 -1
  35. package/models/errors/addcapabilitieserror.d.ts +12 -4
  36. package/models/errors/addcapabilitieserror.d.ts.map +1 -1
  37. package/models/errors/addcapabilitieserror.js +6 -3
  38. package/models/errors/addcapabilitieserror.js.map +1 -1
  39. package/models/errors/assigncountrieserror.d.ts +9 -4
  40. package/models/errors/assigncountrieserror.d.ts.map +1 -1
  41. package/models/errors/assigncountrieserror.js +3 -4
  42. package/models/errors/assigncountrieserror.js.map +1 -1
  43. package/models/errors/filevalidationerror.d.ts +3 -0
  44. package/models/errors/filevalidationerror.d.ts.map +1 -1
  45. package/models/errors/filevalidationerror.js +13 -1
  46. package/models/errors/filevalidationerror.js.map +1 -1
  47. package/models/errors/patchaccounterror.d.ts +3 -0
  48. package/models/errors/patchaccounterror.d.ts.map +1 -1
  49. package/models/errors/patchaccounterror.js +4 -0
  50. package/models/errors/patchaccounterror.js.map +1 -1
  51. package/models/errors/upsertunderwritingerror.d.ts +3 -0
  52. package/models/errors/upsertunderwritingerror.d.ts.map +1 -1
  53. package/models/errors/upsertunderwritingerror.js +4 -0
  54. package/models/errors/upsertunderwritingerror.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/lib/config.ts +3 -3
  57. package/src/lib/security.ts +4 -1
  58. package/src/mcp-server/mcp-server.ts +1 -1
  59. package/src/mcp-server/server.ts +1 -1
  60. package/src/models/components/index.ts +3 -2
  61. package/src/models/components/webhookdata.ts +30 -0
  62. package/src/models/components/webhookdataticketcreated.ts +70 -0
  63. package/src/models/components/webhookdataticketmessageadded.ts +72 -0
  64. package/src/models/components/webhookdataticketupdated.ts +79 -0
  65. package/src/models/components/webhookeventtype.ts +3 -0
  66. package/src/models/errors/addcapabilitieserror.ts +11 -6
  67. package/src/models/errors/assigncountrieserror.ts +6 -7
  68. package/src/models/errors/filevalidationerror.ts +24 -7
  69. package/src/models/errors/patchaccounterror.ts +6 -0
  70. package/src/models/errors/upsertunderwritingerror.ts +6 -0
  71. package/models/components/capabilitieserror.d.ts +0 -33
  72. package/models/components/capabilitieserror.d.ts.map +0 -1
  73. package/models/components/capabilitieserror.js.map +0 -1
  74. package/models/components/countrieserrors.d.ts +0 -33
  75. package/models/components/countrieserrors.d.ts.map +0 -1
  76. package/models/components/countrieserrors.js.map +0 -1
  77. package/src/models/components/capabilitieserror.ts +0 -66
  78. package/src/models/components/countrieserrors.ts +0 -64
package/bin/mcp-server.js CHANGED
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
34175
34175
  SDK_METADATA = {
34176
34176
  language: "typescript",
34177
34177
  openapiDocVersion: "latest",
34178
- sdkVersion: "0.14.24",
34179
- genVersion: "2.681.1",
34180
- userAgent: "speakeasy-sdk/typescript 0.14.24 2.681.1 latest @moovio/sdk"
34178
+ sdkVersion: "0.14.26",
34179
+ genVersion: "2.684.0",
34180
+ userAgent: "speakeasy-sdk/typescript 0.14.26 2.684.0 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -35634,6 +35634,195 @@ var init_accountterminalapplicationerror = __esm(() => {
35634
35634
  })(AccountTerminalApplicationError$ ||= {});
35635
35635
  });
35636
35636
 
35637
+ // src/models/errors/addcapabilitieserror.ts
35638
+ var AddCapabilitiesError, AddCapabilitiesError$inboundSchema, AddCapabilitiesError$outboundSchema, AddCapabilitiesError$;
35639
+ var init_addcapabilitieserror = __esm(() => {
35640
+ init_esm();
35641
+ init_mooverror();
35642
+ AddCapabilitiesError = class AddCapabilitiesError extends MoovError {
35643
+ error;
35644
+ capabilities;
35645
+ data$;
35646
+ constructor(err, httpMeta) {
35647
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
35648
+ super(message, httpMeta);
35649
+ this.data$ = err;
35650
+ if (err.error != null)
35651
+ this.error = err.error;
35652
+ if (err.capabilities != null)
35653
+ this.capabilities = err.capabilities;
35654
+ this.name = "AddCapabilitiesError";
35655
+ }
35656
+ };
35657
+ AddCapabilitiesError$inboundSchema = objectType({
35658
+ error: stringType().optional(),
35659
+ capabilities: recordType(stringType()).optional(),
35660
+ request$: instanceOfType(Request),
35661
+ response$: instanceOfType(Response),
35662
+ body$: stringType()
35663
+ }).transform((v2) => {
35664
+ return new AddCapabilitiesError(v2, {
35665
+ request: v2.request$,
35666
+ response: v2.response$,
35667
+ body: v2.body$
35668
+ });
35669
+ });
35670
+ AddCapabilitiesError$outboundSchema = instanceOfType(AddCapabilitiesError).transform((v2) => v2.data$).pipe(objectType({
35671
+ error: stringType().optional(),
35672
+ capabilities: recordType(stringType()).optional()
35673
+ }));
35674
+ ((AddCapabilitiesError$) => {
35675
+ AddCapabilitiesError$.inboundSchema = AddCapabilitiesError$inboundSchema;
35676
+ AddCapabilitiesError$.outboundSchema = AddCapabilitiesError$outboundSchema;
35677
+ })(AddCapabilitiesError$ ||= {});
35678
+ });
35679
+
35680
+ // src/models/errors/assigncountrieserror.ts
35681
+ var AssignCountriesError, AssignCountriesError$inboundSchema, AssignCountriesError$outboundSchema, AssignCountriesError$;
35682
+ var init_assigncountrieserror = __esm(() => {
35683
+ init_esm();
35684
+ init_mooverror();
35685
+ AssignCountriesError = class AssignCountriesError extends MoovError {
35686
+ countries;
35687
+ data$;
35688
+ constructor(err, httpMeta) {
35689
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
35690
+ super(message, httpMeta);
35691
+ this.data$ = err;
35692
+ this.countries = err.countries;
35693
+ this.name = "AssignCountriesError";
35694
+ }
35695
+ };
35696
+ AssignCountriesError$inboundSchema = objectType({
35697
+ countries: recordType(stringType()),
35698
+ request$: instanceOfType(Request),
35699
+ response$: instanceOfType(Response),
35700
+ body$: stringType()
35701
+ }).transform((v2) => {
35702
+ return new AssignCountriesError(v2, {
35703
+ request: v2.request$,
35704
+ response: v2.response$,
35705
+ body: v2.body$
35706
+ });
35707
+ });
35708
+ AssignCountriesError$outboundSchema = instanceOfType(AssignCountriesError).transform((v2) => v2.data$).pipe(objectType({
35709
+ countries: recordType(stringType())
35710
+ }));
35711
+ ((AssignCountriesError$) => {
35712
+ AssignCountriesError$.inboundSchema = AssignCountriesError$inboundSchema;
35713
+ AssignCountriesError$.outboundSchema = AssignCountriesError$outboundSchema;
35714
+ })(AssignCountriesError$ ||= {});
35715
+ });
35716
+
35717
+ // src/models/errors/authtokenrequesterror.ts
35718
+ var AuthTokenRequestError, AuthTokenRequestError$inboundSchema, AuthTokenRequestError$outboundSchema, AuthTokenRequestError$;
35719
+ var init_authtokenrequesterror = __esm(() => {
35720
+ init_esm();
35721
+ init_primitives();
35722
+ init_mooverror();
35723
+ AuthTokenRequestError = class AuthTokenRequestError extends MoovError {
35724
+ scope;
35725
+ refreshToken;
35726
+ data$;
35727
+ constructor(err, httpMeta) {
35728
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
35729
+ super(message, httpMeta);
35730
+ this.data$ = err;
35731
+ if (err.scope != null)
35732
+ this.scope = err.scope;
35733
+ if (err.refreshToken != null)
35734
+ this.refreshToken = err.refreshToken;
35735
+ this.name = "AuthTokenRequestError";
35736
+ }
35737
+ };
35738
+ AuthTokenRequestError$inboundSchema = objectType({
35739
+ scope: stringType().optional(),
35740
+ refresh_token: stringType().optional(),
35741
+ request$: instanceOfType(Request),
35742
+ response$: instanceOfType(Response),
35743
+ body$: stringType()
35744
+ }).transform((v2) => {
35745
+ const remapped = remap(v2, {
35746
+ refresh_token: "refreshToken"
35747
+ });
35748
+ return new AuthTokenRequestError(remapped, {
35749
+ request: v2.request$,
35750
+ response: v2.response$,
35751
+ body: v2.body$
35752
+ });
35753
+ });
35754
+ AuthTokenRequestError$outboundSchema = instanceOfType(AuthTokenRequestError).transform((v2) => v2.data$).pipe(objectType({
35755
+ scope: stringType().optional(),
35756
+ refreshToken: stringType().optional()
35757
+ }).transform((v2) => {
35758
+ return remap(v2, {
35759
+ refreshToken: "refresh_token"
35760
+ });
35761
+ }));
35762
+ ((AuthTokenRequestError$) => {
35763
+ AuthTokenRequestError$.inboundSchema = AuthTokenRequestError$inboundSchema;
35764
+ AuthTokenRequestError$.outboundSchema = AuthTokenRequestError$outboundSchema;
35765
+ })(AuthTokenRequestError$ ||= {});
35766
+ });
35767
+
35768
+ // src/models/errors/bankaccountvalidationerror.ts
35769
+ var BankAccountValidationError, BankAccountValidationError$inboundSchema, BankAccountValidationError$outboundSchema, BankAccountValidationError$;
35770
+ var init_bankaccountvalidationerror = __esm(() => {
35771
+ init_esm();
35772
+ init_mooverror();
35773
+ BankAccountValidationError = class BankAccountValidationError extends MoovError {
35774
+ account;
35775
+ plaid;
35776
+ plaidLink;
35777
+ mx;
35778
+ error;
35779
+ data$;
35780
+ constructor(err, httpMeta) {
35781
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
35782
+ super(message, httpMeta);
35783
+ this.data$ = err;
35784
+ if (err.account != null)
35785
+ this.account = err.account;
35786
+ if (err.plaid != null)
35787
+ this.plaid = err.plaid;
35788
+ if (err.plaidLink != null)
35789
+ this.plaidLink = err.plaidLink;
35790
+ if (err.mx != null)
35791
+ this.mx = err.mx;
35792
+ if (err.error != null)
35793
+ this.error = err.error;
35794
+ this.name = "BankAccountValidationError";
35795
+ }
35796
+ };
35797
+ BankAccountValidationError$inboundSchema = objectType({
35798
+ account: stringType().optional(),
35799
+ plaid: stringType().optional(),
35800
+ plaidLink: stringType().optional(),
35801
+ mx: stringType().optional(),
35802
+ error: stringType().optional(),
35803
+ request$: instanceOfType(Request),
35804
+ response$: instanceOfType(Response),
35805
+ body$: stringType()
35806
+ }).transform((v2) => {
35807
+ return new BankAccountValidationError(v2, {
35808
+ request: v2.request$,
35809
+ response: v2.response$,
35810
+ body: v2.body$
35811
+ });
35812
+ });
35813
+ BankAccountValidationError$outboundSchema = instanceOfType(BankAccountValidationError).transform((v2) => v2.data$).pipe(objectType({
35814
+ account: stringType().optional(),
35815
+ plaid: stringType().optional(),
35816
+ plaidLink: stringType().optional(),
35817
+ mx: stringType().optional(),
35818
+ error: stringType().optional()
35819
+ }));
35820
+ ((BankAccountValidationError$) => {
35821
+ BankAccountValidationError$.inboundSchema = BankAccountValidationError$inboundSchema;
35822
+ BankAccountValidationError$.outboundSchema = BankAccountValidationError$outboundSchema;
35823
+ })(BankAccountValidationError$ ||= {});
35824
+ });
35825
+
35637
35826
  // src/models/components/accountcapability.ts
35638
35827
  var AccountCapability$inboundSchema, AccountCapability$outboundSchema, AccountCapability$;
35639
35828
  var init_accountcapability = __esm(() => {
@@ -38108,22 +38297,6 @@ var init_cancellation = __esm(() => {
38108
38297
  })(Cancellation$ ||= {});
38109
38298
  });
38110
38299
 
38111
- // src/models/components/capabilitieserror.ts
38112
- var CapabilitiesError$inboundSchema, CapabilitiesError$outboundSchema, CapabilitiesError$;
38113
- var init_capabilitieserror = __esm(() => {
38114
- init_esm();
38115
- CapabilitiesError$inboundSchema = objectType({
38116
- capabilities: recordType(stringType()).optional()
38117
- });
38118
- CapabilitiesError$outboundSchema = objectType({
38119
- capabilities: recordType(stringType()).optional()
38120
- });
38121
- ((CapabilitiesError$) => {
38122
- CapabilitiesError$.inboundSchema = CapabilitiesError$inboundSchema;
38123
- CapabilitiesError$.outboundSchema = CapabilitiesError$outboundSchema;
38124
- })(CapabilitiesError$ ||= {});
38125
- });
38126
-
38127
38300
  // src/models/components/requirementerrorcode.ts
38128
38301
  var RequirementErrorCode, RequirementErrorCode$inboundSchema, RequirementErrorCode$outboundSchema, RequirementErrorCode$;
38129
38302
  var init_requirementerrorcode = __esm(() => {
@@ -39495,22 +39668,6 @@ var init_completemicrodeposits = __esm(() => {
39495
39668
  })(CompleteMicroDeposits$ ||= {});
39496
39669
  });
39497
39670
 
39498
- // src/models/components/countrieserrors.ts
39499
- var CountriesErrors$inboundSchema, CountriesErrors$outboundSchema, CountriesErrors$;
39500
- var init_countrieserrors = __esm(() => {
39501
- init_esm();
39502
- CountriesErrors$inboundSchema = objectType({
39503
- countries: recordType(stringType())
39504
- });
39505
- CountriesErrors$outboundSchema = objectType({
39506
- countries: recordType(stringType())
39507
- });
39508
- ((CountriesErrors$) => {
39509
- CountriesErrors$.inboundSchema = CountriesErrors$inboundSchema;
39510
- CountriesErrors$.outboundSchema = CountriesErrors$outboundSchema;
39511
- })(CountriesErrors$ ||= {});
39512
- });
39513
-
39514
39671
  // src/models/components/createaccounttype.ts
39515
39672
  var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema, CreateAccountType$;
39516
39673
  var init_createaccounttype = __esm(() => {
@@ -46604,6 +46761,63 @@ var init_webhookdataterminalapplicationupdated = __esm(() => {
46604
46761
  })(WebhookDataTerminalApplicationUpdated$ ||= {});
46605
46762
  });
46606
46763
 
46764
+ // src/models/components/webhookdataticketcreated.ts
46765
+ var WebhookDataTicketCreated$inboundSchema, WebhookDataTicketCreated$outboundSchema, WebhookDataTicketCreated$;
46766
+ var init_webhookdataticketcreated = __esm(() => {
46767
+ init_esm();
46768
+ WebhookDataTicketCreated$inboundSchema = objectType({
46769
+ accountID: stringType(),
46770
+ ticketID: stringType()
46771
+ });
46772
+ WebhookDataTicketCreated$outboundSchema = objectType({
46773
+ accountID: stringType(),
46774
+ ticketID: stringType()
46775
+ });
46776
+ ((WebhookDataTicketCreated$) => {
46777
+ WebhookDataTicketCreated$.inboundSchema = WebhookDataTicketCreated$inboundSchema;
46778
+ WebhookDataTicketCreated$.outboundSchema = WebhookDataTicketCreated$outboundSchema;
46779
+ })(WebhookDataTicketCreated$ ||= {});
46780
+ });
46781
+
46782
+ // src/models/components/webhookdataticketmessageadded.ts
46783
+ var WebhookDataTicketMessageAdded$inboundSchema, WebhookDataTicketMessageAdded$outboundSchema, WebhookDataTicketMessageAdded$;
46784
+ var init_webhookdataticketmessageadded = __esm(() => {
46785
+ init_esm();
46786
+ WebhookDataTicketMessageAdded$inboundSchema = objectType({
46787
+ accountID: stringType(),
46788
+ ticketID: stringType()
46789
+ });
46790
+ WebhookDataTicketMessageAdded$outboundSchema = objectType({
46791
+ accountID: stringType(),
46792
+ ticketID: stringType()
46793
+ });
46794
+ ((WebhookDataTicketMessageAdded$) => {
46795
+ WebhookDataTicketMessageAdded$.inboundSchema = WebhookDataTicketMessageAdded$inboundSchema;
46796
+ WebhookDataTicketMessageAdded$.outboundSchema = WebhookDataTicketMessageAdded$outboundSchema;
46797
+ })(WebhookDataTicketMessageAdded$ ||= {});
46798
+ });
46799
+
46800
+ // src/models/components/webhookdataticketupdated.ts
46801
+ var WebhookDataTicketUpdated$inboundSchema, WebhookDataTicketUpdated$outboundSchema, WebhookDataTicketUpdated$;
46802
+ var init_webhookdataticketupdated = __esm(() => {
46803
+ init_esm();
46804
+ init_ticketstatus();
46805
+ WebhookDataTicketUpdated$inboundSchema = objectType({
46806
+ accountID: stringType(),
46807
+ ticketID: stringType(),
46808
+ status: TicketStatus$inboundSchema
46809
+ });
46810
+ WebhookDataTicketUpdated$outboundSchema = objectType({
46811
+ accountID: stringType(),
46812
+ ticketID: stringType(),
46813
+ status: TicketStatus$outboundSchema
46814
+ });
46815
+ ((WebhookDataTicketUpdated$) => {
46816
+ WebhookDataTicketUpdated$.inboundSchema = WebhookDataTicketUpdated$inboundSchema;
46817
+ WebhookDataTicketUpdated$.outboundSchema = WebhookDataTicketUpdated$outboundSchema;
46818
+ })(WebhookDataTicketUpdated$ ||= {});
46819
+ });
46820
+
46607
46821
  // src/models/components/webhookdatatransferstatus.ts
46608
46822
  var WebhookDataTransferStatus, WebhookDataTransferStatus$inboundSchema, WebhookDataTransferStatus$outboundSchema, WebhookDataTransferStatus$;
46609
46823
  var init_webhookdatatransferstatus = __esm(() => {
@@ -46767,6 +46981,9 @@ var init_webhookdata = __esm(() => {
46767
46981
  init_webhookdatasweepupdated();
46768
46982
  init_webhookdataterminalapplicationcreated();
46769
46983
  init_webhookdataterminalapplicationupdated();
46984
+ init_webhookdataticketcreated();
46985
+ init_webhookdataticketmessageadded();
46986
+ init_webhookdataticketupdated();
46770
46987
  init_webhookdatatransfercreated();
46771
46988
  init_webhookdatatransferupdated();
46772
46989
  init_webhookdatawallettransactionupdated();
@@ -46785,6 +47002,7 @@ var init_webhookdata = __esm(() => {
46785
47002
  WebhookDataPaymentMethodDisabled$inboundSchema,
46786
47003
  WebhookDataRefundCreated$inboundSchema,
46787
47004
  WebhookDataSweepUpdated$inboundSchema,
47005
+ WebhookDataTicketUpdated$inboundSchema,
46788
47006
  WebhookDataTransferCreated$inboundSchema,
46789
47007
  WebhookDataBalanceUpdated$inboundSchema,
46790
47008
  WebhookDataBankAccountCreated$inboundSchema,
@@ -46796,6 +47014,8 @@ var init_webhookdata = __esm(() => {
46796
47014
  WebhookDataSweepCreated$inboundSchema,
46797
47015
  WebhookDataTerminalApplicationCreated$inboundSchema,
46798
47016
  WebhookDataTerminalApplicationUpdated$inboundSchema,
47017
+ WebhookDataTicketCreated$inboundSchema,
47018
+ WebhookDataTicketMessageAdded$inboundSchema,
46799
47019
  WebhookDataAccountCreated$inboundSchema,
46800
47020
  WebhookDataAccountUpdated$inboundSchema,
46801
47021
  WebhookDataAccountDisconnected$inboundSchema,
@@ -46816,6 +47036,7 @@ var init_webhookdata = __esm(() => {
46816
47036
  WebhookDataPaymentMethodDisabled$outboundSchema,
46817
47037
  WebhookDataRefundCreated$outboundSchema,
46818
47038
  WebhookDataSweepUpdated$outboundSchema,
47039
+ WebhookDataTicketUpdated$outboundSchema,
46819
47040
  WebhookDataTransferCreated$outboundSchema,
46820
47041
  WebhookDataBalanceUpdated$outboundSchema,
46821
47042
  WebhookDataBankAccountCreated$outboundSchema,
@@ -46827,6 +47048,8 @@ var init_webhookdata = __esm(() => {
46827
47048
  WebhookDataSweepCreated$outboundSchema,
46828
47049
  WebhookDataTerminalApplicationCreated$outboundSchema,
46829
47050
  WebhookDataTerminalApplicationUpdated$outboundSchema,
47051
+ WebhookDataTicketCreated$outboundSchema,
47052
+ WebhookDataTicketMessageAdded$outboundSchema,
46830
47053
  WebhookDataAccountCreated$outboundSchema,
46831
47054
  WebhookDataAccountUpdated$outboundSchema,
46832
47055
  WebhookDataAccountDisconnected$outboundSchema,
@@ -46870,6 +47093,9 @@ var init_webhookeventtype = __esm(() => {
46870
47093
  SweepUpdated: "sweep.updated",
46871
47094
  TerminalApplicationCreated: "terminalApplication.created",
46872
47095
  TerminalApplicationUpdated: "terminalApplication.updated",
47096
+ TicketCreated: "ticket.created",
47097
+ TicketUpdated: "ticket.updated",
47098
+ TicketMessageAdded: "ticket.messageAdded",
46873
47099
  TransferCreated: "transfer.created",
46874
47100
  TransferUpdated: "transfer.updated",
46875
47101
  WalletTransactionUpdated: "walletTransaction.updated"
@@ -46979,7 +47205,6 @@ var init_components = __esm(() => {
46979
47205
  init_calltoaction();
46980
47206
  init_cancellation();
46981
47207
  init_cancellationstatus();
46982
- init_capabilitieserror();
46983
47208
  init_capability();
46984
47209
  init_capabilityid();
46985
47210
  init_capabilityrequirement();
@@ -47022,7 +47247,6 @@ var init_components = __esm(() => {
47022
47247
  init_completedmicrodeposits();
47023
47248
  init_completemicrodeposits();
47024
47249
  init_contact();
47025
- init_countrieserrors();
47026
47250
  init_createaccount();
47027
47251
  init_createaccountsettings();
47028
47252
  init_createaccounttype();
@@ -47351,6 +47575,9 @@ var init_components = __esm(() => {
47351
47575
  init_webhookdatasweepupdated();
47352
47576
  init_webhookdataterminalapplicationcreated();
47353
47577
  init_webhookdataterminalapplicationupdated();
47578
+ init_webhookdataticketcreated();
47579
+ init_webhookdataticketmessageadded();
47580
+ init_webhookdataticketupdated();
47354
47581
  init_webhookdatatransfercreated();
47355
47582
  init_webhookdatatransferstatus();
47356
47583
  init_webhookdatatransferupdated();
@@ -47362,192 +47589,6 @@ var init_components = __esm(() => {
47362
47589
  init_wireservices();
47363
47590
  });
47364
47591
 
47365
- // src/models/errors/addcapabilitieserror.ts
47366
- var AddCapabilitiesError, AddCapabilitiesError$inboundSchema, AddCapabilitiesError$outboundSchema, AddCapabilitiesError$;
47367
- var init_addcapabilitieserror = __esm(() => {
47368
- init_esm();
47369
- init_components();
47370
- init_mooverror();
47371
- AddCapabilitiesError = class AddCapabilitiesError extends MoovError {
47372
- error;
47373
- data$;
47374
- constructor(err, httpMeta) {
47375
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
47376
- super(message, httpMeta);
47377
- this.data$ = err;
47378
- if (err.error != null)
47379
- this.error = err.error;
47380
- this.name = "AddCapabilitiesError";
47381
- }
47382
- };
47383
- AddCapabilitiesError$inboundSchema = objectType({
47384
- error: CapabilitiesError$inboundSchema.optional(),
47385
- request$: instanceOfType(Request),
47386
- response$: instanceOfType(Response),
47387
- body$: stringType()
47388
- }).transform((v2) => {
47389
- return new AddCapabilitiesError(v2, {
47390
- request: v2.request$,
47391
- response: v2.response$,
47392
- body: v2.body$
47393
- });
47394
- });
47395
- AddCapabilitiesError$outboundSchema = instanceOfType(AddCapabilitiesError).transform((v2) => v2.data$).pipe(objectType({
47396
- error: CapabilitiesError$outboundSchema.optional()
47397
- }));
47398
- ((AddCapabilitiesError$) => {
47399
- AddCapabilitiesError$.inboundSchema = AddCapabilitiesError$inboundSchema;
47400
- AddCapabilitiesError$.outboundSchema = AddCapabilitiesError$outboundSchema;
47401
- })(AddCapabilitiesError$ ||= {});
47402
- });
47403
-
47404
- // src/models/errors/assigncountrieserror.ts
47405
- var AssignCountriesError, AssignCountriesError$inboundSchema, AssignCountriesError$outboundSchema, AssignCountriesError$;
47406
- var init_assigncountrieserror = __esm(() => {
47407
- init_esm();
47408
- init_components();
47409
- init_mooverror();
47410
- AssignCountriesError = class AssignCountriesError extends MoovError {
47411
- error;
47412
- data$;
47413
- constructor(err, httpMeta) {
47414
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
47415
- super(message, httpMeta);
47416
- this.data$ = err;
47417
- this.error = err.error;
47418
- this.name = "AssignCountriesError";
47419
- }
47420
- };
47421
- AssignCountriesError$inboundSchema = objectType({
47422
- error: CountriesErrors$inboundSchema,
47423
- request$: instanceOfType(Request),
47424
- response$: instanceOfType(Response),
47425
- body$: stringType()
47426
- }).transform((v2) => {
47427
- return new AssignCountriesError(v2, {
47428
- request: v2.request$,
47429
- response: v2.response$,
47430
- body: v2.body$
47431
- });
47432
- });
47433
- AssignCountriesError$outboundSchema = instanceOfType(AssignCountriesError).transform((v2) => v2.data$).pipe(objectType({
47434
- error: CountriesErrors$outboundSchema
47435
- }));
47436
- ((AssignCountriesError$) => {
47437
- AssignCountriesError$.inboundSchema = AssignCountriesError$inboundSchema;
47438
- AssignCountriesError$.outboundSchema = AssignCountriesError$outboundSchema;
47439
- })(AssignCountriesError$ ||= {});
47440
- });
47441
-
47442
- // src/models/errors/authtokenrequesterror.ts
47443
- var AuthTokenRequestError, AuthTokenRequestError$inboundSchema, AuthTokenRequestError$outboundSchema, AuthTokenRequestError$;
47444
- var init_authtokenrequesterror = __esm(() => {
47445
- init_esm();
47446
- init_primitives();
47447
- init_mooverror();
47448
- AuthTokenRequestError = class AuthTokenRequestError extends MoovError {
47449
- scope;
47450
- refreshToken;
47451
- data$;
47452
- constructor(err, httpMeta) {
47453
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
47454
- super(message, httpMeta);
47455
- this.data$ = err;
47456
- if (err.scope != null)
47457
- this.scope = err.scope;
47458
- if (err.refreshToken != null)
47459
- this.refreshToken = err.refreshToken;
47460
- this.name = "AuthTokenRequestError";
47461
- }
47462
- };
47463
- AuthTokenRequestError$inboundSchema = objectType({
47464
- scope: stringType().optional(),
47465
- refresh_token: stringType().optional(),
47466
- request$: instanceOfType(Request),
47467
- response$: instanceOfType(Response),
47468
- body$: stringType()
47469
- }).transform((v2) => {
47470
- const remapped = remap(v2, {
47471
- refresh_token: "refreshToken"
47472
- });
47473
- return new AuthTokenRequestError(remapped, {
47474
- request: v2.request$,
47475
- response: v2.response$,
47476
- body: v2.body$
47477
- });
47478
- });
47479
- AuthTokenRequestError$outboundSchema = instanceOfType(AuthTokenRequestError).transform((v2) => v2.data$).pipe(objectType({
47480
- scope: stringType().optional(),
47481
- refreshToken: stringType().optional()
47482
- }).transform((v2) => {
47483
- return remap(v2, {
47484
- refreshToken: "refresh_token"
47485
- });
47486
- }));
47487
- ((AuthTokenRequestError$) => {
47488
- AuthTokenRequestError$.inboundSchema = AuthTokenRequestError$inboundSchema;
47489
- AuthTokenRequestError$.outboundSchema = AuthTokenRequestError$outboundSchema;
47490
- })(AuthTokenRequestError$ ||= {});
47491
- });
47492
-
47493
- // src/models/errors/bankaccountvalidationerror.ts
47494
- var BankAccountValidationError, BankAccountValidationError$inboundSchema, BankAccountValidationError$outboundSchema, BankAccountValidationError$;
47495
- var init_bankaccountvalidationerror = __esm(() => {
47496
- init_esm();
47497
- init_mooverror();
47498
- BankAccountValidationError = class BankAccountValidationError extends MoovError {
47499
- account;
47500
- plaid;
47501
- plaidLink;
47502
- mx;
47503
- error;
47504
- data$;
47505
- constructor(err, httpMeta) {
47506
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
47507
- super(message, httpMeta);
47508
- this.data$ = err;
47509
- if (err.account != null)
47510
- this.account = err.account;
47511
- if (err.plaid != null)
47512
- this.plaid = err.plaid;
47513
- if (err.plaidLink != null)
47514
- this.plaidLink = err.plaidLink;
47515
- if (err.mx != null)
47516
- this.mx = err.mx;
47517
- if (err.error != null)
47518
- this.error = err.error;
47519
- this.name = "BankAccountValidationError";
47520
- }
47521
- };
47522
- BankAccountValidationError$inboundSchema = objectType({
47523
- account: stringType().optional(),
47524
- plaid: stringType().optional(),
47525
- plaidLink: stringType().optional(),
47526
- mx: stringType().optional(),
47527
- error: stringType().optional(),
47528
- request$: instanceOfType(Request),
47529
- response$: instanceOfType(Response),
47530
- body$: stringType()
47531
- }).transform((v2) => {
47532
- return new BankAccountValidationError(v2, {
47533
- request: v2.request$,
47534
- response: v2.response$,
47535
- body: v2.body$
47536
- });
47537
- });
47538
- BankAccountValidationError$outboundSchema = instanceOfType(BankAccountValidationError).transform((v2) => v2.data$).pipe(objectType({
47539
- account: stringType().optional(),
47540
- plaid: stringType().optional(),
47541
- plaidLink: stringType().optional(),
47542
- mx: stringType().optional(),
47543
- error: stringType().optional()
47544
- }));
47545
- ((BankAccountValidationError$) => {
47546
- BankAccountValidationError$.inboundSchema = BankAccountValidationError$inboundSchema;
47547
- BankAccountValidationError$.outboundSchema = BankAccountValidationError$outboundSchema;
47548
- })(BankAccountValidationError$ ||= {});
47549
- });
47550
-
47551
47592
  // src/models/errors/brandvalidationerror.ts
47552
47593
  var BrandValidationError, BrandValidationError$inboundSchema, BrandValidationError$outboundSchema, BrandValidationError$;
47553
47594
  var init_brandvalidationerror = __esm(() => {
@@ -48005,10 +48046,12 @@ var init_fileuploadvalidationerror = __esm(() => {
48005
48046
  var FileValidationError, FileValidationError$inboundSchema, FileValidationError$outboundSchema, FileValidationError$;
48006
48047
  var init_filevalidationerror = __esm(() => {
48007
48048
  init_esm();
48049
+ init_primitives();
48008
48050
  init_mooverror();
48009
48051
  FileValidationError = class FileValidationError extends MoovError {
48010
48052
  error;
48011
48053
  file;
48054
+ fileName;
48012
48055
  filePurpose;
48013
48056
  metadata;
48014
48057
  data$;
@@ -48020,6 +48063,8 @@ var init_filevalidationerror = __esm(() => {
48020
48063
  this.error = err.error;
48021
48064
  if (err.file != null)
48022
48065
  this.file = err.file;
48066
+ if (err.fileName != null)
48067
+ this.fileName = err.fileName;
48023
48068
  if (err.filePurpose != null)
48024
48069
  this.filePurpose = err.filePurpose;
48025
48070
  if (err.metadata != null)
@@ -48030,13 +48075,17 @@ var init_filevalidationerror = __esm(() => {
48030
48075
  FileValidationError$inboundSchema = objectType({
48031
48076
  error: stringType().optional(),
48032
48077
  file: stringType().optional(),
48078
+ FileName: stringType().optional(),
48033
48079
  filePurpose: stringType().optional(),
48034
48080
  metadata: stringType().optional(),
48035
48081
  request$: instanceOfType(Request),
48036
48082
  response$: instanceOfType(Response),
48037
48083
  body$: stringType()
48038
48084
  }).transform((v2) => {
48039
- return new FileValidationError(v2, {
48085
+ const remapped = remap(v2, {
48086
+ FileName: "fileName"
48087
+ });
48088
+ return new FileValidationError(remapped, {
48040
48089
  request: v2.request$,
48041
48090
  response: v2.response$,
48042
48091
  body: v2.body$
@@ -48045,8 +48094,13 @@ var init_filevalidationerror = __esm(() => {
48045
48094
  FileValidationError$outboundSchema = instanceOfType(FileValidationError).transform((v2) => v2.data$).pipe(objectType({
48046
48095
  error: stringType().optional(),
48047
48096
  file: stringType().optional(),
48097
+ fileName: stringType().optional(),
48048
48098
  filePurpose: stringType().optional(),
48049
48099
  metadata: stringType().optional()
48100
+ }).transform((v2) => {
48101
+ return remap(v2, {
48102
+ fileName: "FileName"
48103
+ });
48050
48104
  }));
48051
48105
  ((FileValidationError$) => {
48052
48106
  FileValidationError$.inboundSchema = FileValidationError$inboundSchema;
@@ -48340,6 +48394,7 @@ var init_patchaccounterror = __esm(() => {
48340
48394
  foreignID;
48341
48395
  customerSupport;
48342
48396
  settings;
48397
+ error;
48343
48398
  data$;
48344
48399
  constructor(err, httpMeta) {
48345
48400
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -48357,6 +48412,8 @@ var init_patchaccounterror = __esm(() => {
48357
48412
  this.customerSupport = err.customerSupport;
48358
48413
  if (err.settings != null)
48359
48414
  this.settings = err.settings;
48415
+ if (err.error != null)
48416
+ this.error = err.error;
48360
48417
  this.name = "PatchAccountError";
48361
48418
  }
48362
48419
  };
@@ -48367,6 +48424,7 @@ var init_patchaccounterror = __esm(() => {
48367
48424
  foreignID: stringType().optional(),
48368
48425
  customerSupport: CustomerSupportError$inboundSchema.optional(),
48369
48426
  settings: CreateAccountSettings$inboundSchema.optional(),
48427
+ error: stringType().optional(),
48370
48428
  request$: instanceOfType(Request),
48371
48429
  response$: instanceOfType(Response),
48372
48430
  body$: stringType()
@@ -48383,7 +48441,8 @@ var init_patchaccounterror = __esm(() => {
48383
48441
  termsOfService: TermsOfServiceError$outboundSchema.optional(),
48384
48442
  foreignID: stringType().optional(),
48385
48443
  customerSupport: CustomerSupportError$outboundSchema.optional(),
48386
- settings: CreateAccountSettings$outboundSchema.optional()
48444
+ settings: CreateAccountSettings$outboundSchema.optional(),
48445
+ error: stringType().optional()
48387
48446
  }));
48388
48447
  ((PatchAccountError$) => {
48389
48448
  PatchAccountError$.inboundSchema = PatchAccountError$inboundSchema;
@@ -49418,6 +49477,7 @@ var init_upsertunderwritingerror = __esm(() => {
49418
49477
  moneyTransfer;
49419
49478
  sendFunds;
49420
49479
  averageMonthlyTransactionVolume;
49480
+ error;
49421
49481
  averageTransactionSize;
49422
49482
  maxTransactionSize;
49423
49483
  volumeByCustomerType;
@@ -49448,6 +49508,8 @@ var init_upsertunderwritingerror = __esm(() => {
49448
49508
  if (err.averageMonthlyTransactionVolume != null) {
49449
49509
  this.averageMonthlyTransactionVolume = err.averageMonthlyTransactionVolume;
49450
49510
  }
49511
+ if (err.error != null)
49512
+ this.error = err.error;
49451
49513
  if (err.averageTransactionSize != null) {
49452
49514
  this.averageTransactionSize = err.averageTransactionSize;
49453
49515
  }
@@ -49474,6 +49536,7 @@ var init_upsertunderwritingerror = __esm(() => {
49474
49536
  moneyTransfer: MoneyTransferError$inboundSchema.optional(),
49475
49537
  sendFunds: SendFundsError$inboundSchema.optional(),
49476
49538
  averageMonthlyTransactionVolume: stringType().optional(),
49539
+ error: stringType().optional(),
49477
49540
  averageTransactionSize: stringType().optional(),
49478
49541
  maxTransactionSize: stringType().optional(),
49479
49542
  volumeByCustomerType: VolumeByCustomerTypeError$inboundSchema.optional(),
@@ -49498,6 +49561,7 @@ var init_upsertunderwritingerror = __esm(() => {
49498
49561
  moneyTransfer: MoneyTransferError$outboundSchema.optional(),
49499
49562
  sendFunds: SendFundsError$outboundSchema.optional(),
49500
49563
  averageMonthlyTransactionVolume: stringType().optional(),
49564
+ error: stringType().optional(),
49501
49565
  averageTransactionSize: stringType().optional(),
49502
49566
  maxTransactionSize: stringType().optional(),
49503
49567
  volumeByCustomerType: VolumeByCustomerTypeError$outboundSchema.optional(),
@@ -76016,7 +76080,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
76016
76080
  function createMCPServer(deps) {
76017
76081
  const server = new McpServer({
76018
76082
  name: "Moov",
76019
- version: "0.14.24"
76083
+ version: "0.14.26"
76020
76084
  });
76021
76085
  const client = new MoovCore({
76022
76086
  security: deps.security,
@@ -77526,7 +77590,7 @@ var routes = rn({
77526
77590
  var app = Ve(routes, {
77527
77591
  name: "mcp",
77528
77592
  versionInfo: {
77529
- currentVersion: "0.14.24"
77593
+ currentVersion: "0.14.26"
77530
77594
  }
77531
77595
  });
77532
77596
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -77534,5 +77598,5 @@ export {
77534
77598
  app
77535
77599
  };
77536
77600
 
77537
- //# debugId=4F369DBCB2E2A1D064756E2164756E21
77601
+ //# debugId=70187C3DECB831F564756E2164756E21
77538
77602
  //# sourceMappingURL=mcp-server.js.map