@moovio/sdk 0.14.14 → 0.14.16

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 (155) hide show
  1. package/README.md +32 -2
  2. package/bin/mcp-server.js +419 -392
  3. package/bin/mcp-server.js.map +31 -32
  4. package/docs/sdks/accounts/README.md +19 -10
  5. package/docs/sdks/accountterminalapplications/README.md +4 -0
  6. package/docs/sdks/adjustments/README.md +2 -0
  7. package/docs/sdks/applepay/README.md +5 -0
  8. package/docs/sdks/authentication/README.md +2 -0
  9. package/docs/sdks/avatars/README.md +1 -0
  10. package/docs/sdks/bankaccounts/README.md +9 -0
  11. package/docs/sdks/branding/README.md +4 -0
  12. package/docs/sdks/capabilities/README.md +4 -0
  13. package/docs/sdks/cardissuing/README.md +5 -0
  14. package/docs/sdks/cards/README.md +5 -0
  15. package/docs/sdks/disputes/README.md +11 -0
  16. package/docs/sdks/endtoendencryption/README.md +2 -0
  17. package/docs/sdks/enrichedaddress/README.md +1 -0
  18. package/docs/sdks/enrichedprofile/README.md +1 -0
  19. package/docs/sdks/feeplans/README.md +7 -0
  20. package/docs/sdks/files/README.md +3 -0
  21. package/docs/sdks/industries/README.md +1 -0
  22. package/docs/sdks/institutions/README.md +2 -0
  23. package/docs/sdks/issuingtransactions/README.md +5 -0
  24. package/docs/sdks/onboarding/README.md +4 -0
  25. package/docs/sdks/paymentlinks/README.md +6 -0
  26. package/docs/sdks/paymentmethods/README.md +2 -0
  27. package/docs/sdks/ping/README.md +1 -0
  28. package/docs/sdks/receipts/README.md +2 -0
  29. package/docs/sdks/representatives/README.md +5 -0
  30. package/docs/sdks/scheduling/README.md +6 -0
  31. package/docs/sdks/support/README.md +35 -0
  32. package/docs/sdks/sweeps/README.md +6 -0
  33. package/docs/sdks/terminalapplications/README.md +5 -0
  34. package/docs/sdks/transfers/README.md +11 -0
  35. package/docs/sdks/underwriting/README.md +3 -0
  36. package/docs/sdks/wallets/README.md +2 -0
  37. package/docs/sdks/wallettransactions/README.md +2 -0
  38. package/examples/package-lock.json +1 -1
  39. package/funcs/accountsCreate.d.ts +1 -1
  40. package/funcs/accountsCreate.d.ts.map +1 -1
  41. package/funcs/accountsCreate.js +1 -3
  42. package/funcs/accountsCreate.js.map +1 -1
  43. package/funcs/accountsUpdate.d.ts +1 -1
  44. package/funcs/accountsUpdate.d.ts.map +1 -1
  45. package/funcs/accountsUpdate.js +1 -3
  46. package/funcs/accountsUpdate.js.map +1 -1
  47. package/funcs/supportCreateTicket.d.ts +3 -0
  48. package/funcs/supportCreateTicket.d.ts.map +1 -1
  49. package/funcs/supportCreateTicket.js +3 -0
  50. package/funcs/supportCreateTicket.js.map +1 -1
  51. package/funcs/supportGetTicket.d.ts +3 -0
  52. package/funcs/supportGetTicket.d.ts.map +1 -1
  53. package/funcs/supportGetTicket.js +3 -0
  54. package/funcs/supportGetTicket.js.map +1 -1
  55. package/funcs/supportListTicketMessages.d.ts +3 -0
  56. package/funcs/supportListTicketMessages.d.ts.map +1 -1
  57. package/funcs/supportListTicketMessages.js +3 -0
  58. package/funcs/supportListTicketMessages.js.map +1 -1
  59. package/funcs/supportListTickets.d.ts +3 -0
  60. package/funcs/supportListTickets.d.ts.map +1 -1
  61. package/funcs/supportListTickets.js +3 -0
  62. package/funcs/supportListTickets.js.map +1 -1
  63. package/funcs/supportUpdateTicket.d.ts +3 -0
  64. package/funcs/supportUpdateTicket.d.ts.map +1 -1
  65. package/funcs/supportUpdateTicket.js +3 -0
  66. package/funcs/supportUpdateTicket.js.map +1 -1
  67. package/jsr.json +1 -1
  68. package/lib/config.d.ts +3 -3
  69. package/lib/config.js +3 -3
  70. package/mcp-server/mcp-server.js +1 -1
  71. package/mcp-server/server.js +1 -1
  72. package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -1
  73. package/mcp-server/tools/supportCreateTicket.js +4 -1
  74. package/mcp-server/tools/supportCreateTicket.js.map +1 -1
  75. package/mcp-server/tools/supportGetTicket.d.ts.map +1 -1
  76. package/mcp-server/tools/supportGetTicket.js +4 -1
  77. package/mcp-server/tools/supportGetTicket.js.map +1 -1
  78. package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -1
  79. package/mcp-server/tools/supportListTicketMessages.js +4 -1
  80. package/mcp-server/tools/supportListTicketMessages.js.map +1 -1
  81. package/mcp-server/tools/supportListTickets.d.ts.map +1 -1
  82. package/mcp-server/tools/supportListTickets.js +4 -1
  83. package/mcp-server/tools/supportListTickets.js.map +1 -1
  84. package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -1
  85. package/mcp-server/tools/supportUpdateTicket.js +4 -1
  86. package/mcp-server/tools/supportUpdateTicket.js.map +1 -1
  87. package/models/components/index.d.ts +1 -2
  88. package/models/components/index.d.ts.map +1 -1
  89. package/models/components/index.js +1 -2
  90. package/models/components/index.js.map +1 -1
  91. package/models/components/submissionintent.d.ts +28 -0
  92. package/models/components/submissionintent.d.ts.map +1 -0
  93. package/models/components/submissionintent.js +60 -0
  94. package/models/components/submissionintent.js.map +1 -0
  95. package/models/components/upsertunderwriting.d.ts +3 -0
  96. package/models/components/upsertunderwriting.d.ts.map +1 -1
  97. package/models/components/upsertunderwriting.js +3 -0
  98. package/models/components/upsertunderwriting.js.map +1 -1
  99. package/models/errors/createaccounterror.d.ts +64 -0
  100. package/models/errors/createaccounterror.d.ts.map +1 -0
  101. package/models/{components → errors}/createaccounterror.js +52 -24
  102. package/models/errors/createaccounterror.js.map +1 -0
  103. package/models/errors/index.d.ts +2 -2
  104. package/models/errors/index.d.ts.map +1 -1
  105. package/models/errors/index.js +2 -2
  106. package/models/errors/index.js.map +1 -1
  107. package/models/errors/patchaccounterror.d.ts +52 -0
  108. package/models/errors/patchaccounterror.d.ts.map +1 -0
  109. package/models/{components → errors}/patchaccounterror.js +48 -24
  110. package/models/errors/patchaccounterror.js.map +1 -0
  111. package/package.json +1 -1
  112. package/sdk/support.d.ts +15 -0
  113. package/sdk/support.d.ts.map +1 -1
  114. package/sdk/support.js +15 -0
  115. package/sdk/support.js.map +1 -1
  116. package/src/funcs/accountsCreate.ts +4 -6
  117. package/src/funcs/accountsUpdate.ts +4 -6
  118. package/src/funcs/supportCreateTicket.ts +3 -0
  119. package/src/funcs/supportGetTicket.ts +3 -0
  120. package/src/funcs/supportListTicketMessages.ts +3 -0
  121. package/src/funcs/supportListTickets.ts +3 -0
  122. package/src/funcs/supportUpdateTicket.ts +3 -0
  123. package/src/lib/config.ts +3 -3
  124. package/src/mcp-server/mcp-server.ts +1 -1
  125. package/src/mcp-server/server.ts +1 -1
  126. package/src/mcp-server/tools/supportCreateTicket.ts +4 -1
  127. package/src/mcp-server/tools/supportGetTicket.ts +4 -1
  128. package/src/mcp-server/tools/supportListTicketMessages.ts +4 -1
  129. package/src/mcp-server/tools/supportListTickets.ts +4 -1
  130. package/src/mcp-server/tools/supportUpdateTicket.ts +4 -1
  131. package/src/models/components/index.ts +1 -2
  132. package/src/models/components/submissionintent.ts +33 -0
  133. package/src/models/components/upsertunderwriting.ts +9 -0
  134. package/src/models/errors/createaccounterror.ts +122 -0
  135. package/src/models/errors/index.ts +2 -2
  136. package/src/models/errors/patchaccounterror.ts +110 -0
  137. package/src/sdk/support.ts +15 -0
  138. package/models/components/createaccounterror.d.ts +0 -51
  139. package/models/components/createaccounterror.d.ts.map +0 -1
  140. package/models/components/createaccounterror.js.map +0 -1
  141. package/models/components/patchaccounterror.d.ts +0 -43
  142. package/models/components/patchaccounterror.d.ts.map +0 -1
  143. package/models/components/patchaccounterror.js.map +0 -1
  144. package/models/errors/createaccount.d.ts +0 -43
  145. package/models/errors/createaccount.d.ts.map +0 -1
  146. package/models/errors/createaccount.js +0 -89
  147. package/models/errors/createaccount.js.map +0 -1
  148. package/models/errors/updateaccount.d.ts +0 -43
  149. package/models/errors/updateaccount.d.ts.map +0 -1
  150. package/models/errors/updateaccount.js +0 -89
  151. package/models/errors/updateaccount.js.map +0 -1
  152. package/src/models/components/createaccounterror.ts +0 -118
  153. package/src/models/components/patchaccounterror.ts +0 -110
  154. package/src/models/errors/createaccount.ts +0 -86
  155. package/src/models/errors/updateaccount.ts +0 -86
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.14",
34179
- genVersion: "2.662.0",
34180
- userAgent: "speakeasy-sdk/typescript 0.14.14 2.662.0 latest @moovio/sdk"
34178
+ sdkVersion: "0.14.16",
34179
+ genVersion: "2.667.0",
34180
+ userAgent: "speakeasy-sdk/typescript 0.14.16 2.667.0 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -39821,6 +39821,87 @@ var init_createaccountsettings = __esm(() => {
39821
39821
  })(CreateAccountSettings$ ||= {});
39822
39822
  });
39823
39823
 
39824
+ // src/models/components/createapplepaysession.ts
39825
+ var CreateApplePaySession$inboundSchema, CreateApplePaySession$outboundSchema, CreateApplePaySession$;
39826
+ var init_createapplepaysession = __esm(() => {
39827
+ init_esm();
39828
+ CreateApplePaySession$inboundSchema = objectType({
39829
+ domain: stringType(),
39830
+ displayName: stringType()
39831
+ });
39832
+ CreateApplePaySession$outboundSchema = objectType({
39833
+ domain: stringType(),
39834
+ displayName: stringType()
39835
+ });
39836
+ ((CreateApplePaySession$) => {
39837
+ CreateApplePaySession$.inboundSchema = CreateApplePaySession$inboundSchema;
39838
+ CreateApplePaySession$.outboundSchema = CreateApplePaySession$outboundSchema;
39839
+ })(CreateApplePaySession$ ||= {});
39840
+ });
39841
+
39842
+ // src/models/components/createauthorizeduser.ts
39843
+ var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema, CreateAuthorizedUser$;
39844
+ var init_createauthorizeduser = __esm(() => {
39845
+ init_esm();
39846
+ init_birthdate();
39847
+ CreateAuthorizedUser$inboundSchema = objectType({
39848
+ firstName: stringType(),
39849
+ lastName: stringType(),
39850
+ birthDate: BirthDate$inboundSchema.optional()
39851
+ });
39852
+ CreateAuthorizedUser$outboundSchema = objectType({
39853
+ firstName: stringType(),
39854
+ lastName: stringType(),
39855
+ birthDate: BirthDate$outboundSchema.optional()
39856
+ });
39857
+ ((CreateAuthorizedUser$) => {
39858
+ CreateAuthorizedUser$.inboundSchema = CreateAuthorizedUser$inboundSchema;
39859
+ CreateAuthorizedUser$.outboundSchema = CreateAuthorizedUser$outboundSchema;
39860
+ })(CreateAuthorizedUser$ ||= {});
39861
+ });
39862
+
39863
+ // src/models/components/createauthorizedusererror.ts
39864
+ var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema, CreateAuthorizedUserError$;
39865
+ var init_createauthorizedusererror = __esm(() => {
39866
+ init_esm();
39867
+ init_birthdateerror();
39868
+ CreateAuthorizedUserError$inboundSchema = objectType({
39869
+ firstName: stringType().optional(),
39870
+ lastName: stringType().optional(),
39871
+ birthDate: BirthDateError$inboundSchema.optional()
39872
+ });
39873
+ CreateAuthorizedUserError$outboundSchema = objectType({
39874
+ firstName: stringType().optional(),
39875
+ lastName: stringType().optional(),
39876
+ birthDate: BirthDateError$outboundSchema.optional()
39877
+ });
39878
+ ((CreateAuthorizedUserError$) => {
39879
+ CreateAuthorizedUserError$.inboundSchema = CreateAuthorizedUserError$inboundSchema;
39880
+ CreateAuthorizedUserError$.outboundSchema = CreateAuthorizedUserError$outboundSchema;
39881
+ })(CreateAuthorizedUserError$ ||= {});
39882
+ });
39883
+
39884
+ // src/models/components/createauthorizeduserupdate.ts
39885
+ var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema, CreateAuthorizedUserUpdate$;
39886
+ var init_createauthorizeduserupdate = __esm(() => {
39887
+ init_esm();
39888
+ init_birthdateupdate();
39889
+ CreateAuthorizedUserUpdate$inboundSchema = objectType({
39890
+ firstName: stringType().optional(),
39891
+ lastName: stringType().optional(),
39892
+ birthDate: BirthDateUpdate$inboundSchema.optional()
39893
+ });
39894
+ CreateAuthorizedUserUpdate$outboundSchema = objectType({
39895
+ firstName: stringType().optional(),
39896
+ lastName: stringType().optional(),
39897
+ birthDate: BirthDateUpdate$outboundSchema.optional()
39898
+ });
39899
+ ((CreateAuthorizedUserUpdate$) => {
39900
+ CreateAuthorizedUserUpdate$.inboundSchema = CreateAuthorizedUserUpdate$inboundSchema;
39901
+ CreateAuthorizedUserUpdate$.outboundSchema = CreateAuthorizedUserUpdate$outboundSchema;
39902
+ })(CreateAuthorizedUserUpdate$ ||= {});
39903
+ });
39904
+
39824
39905
  // src/models/components/phonenumbererror.ts
39825
39906
  var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema, PhoneNumberError$;
39826
39907
  var init_phonenumbererror = __esm(() => {
@@ -39911,287 +39992,6 @@ var init_createbusinesserror = __esm(() => {
39911
39992
  })(CreateBusinessError$ ||= {});
39912
39993
  });
39913
39994
 
39914
- // src/models/components/individualnameerror.ts
39915
- var IndividualNameError$inboundSchema, IndividualNameError$outboundSchema, IndividualNameError$;
39916
- var init_individualnameerror = __esm(() => {
39917
- init_esm();
39918
- IndividualNameError$inboundSchema = objectType({
39919
- firstName: stringType().optional(),
39920
- middleName: stringType().optional(),
39921
- lastName: stringType().optional(),
39922
- suffix: stringType().optional()
39923
- });
39924
- IndividualNameError$outboundSchema = objectType({
39925
- firstName: stringType().optional(),
39926
- middleName: stringType().optional(),
39927
- lastName: stringType().optional(),
39928
- suffix: stringType().optional()
39929
- });
39930
- ((IndividualNameError$) => {
39931
- IndividualNameError$.inboundSchema = IndividualNameError$inboundSchema;
39932
- IndividualNameError$.outboundSchema = IndividualNameError$outboundSchema;
39933
- })(IndividualNameError$ ||= {});
39934
- });
39935
-
39936
- // src/models/components/createindividualerror.ts
39937
- var CreateIndividualErrorSsn$inboundSchema, CreateIndividualErrorSsn$outboundSchema, CreateIndividualErrorSsn$, CreateIndividualErrorItin$inboundSchema, CreateIndividualErrorItin$outboundSchema, CreateIndividualErrorItin$, CreateIndividualErrorGovernmentID$inboundSchema, CreateIndividualErrorGovernmentID$outboundSchema, CreateIndividualErrorGovernmentID$, CreateIndividualError$inboundSchema, CreateIndividualError$outboundSchema, CreateIndividualError$;
39938
- var init_createindividualerror = __esm(() => {
39939
- init_esm();
39940
- init_addresserror();
39941
- init_birthdateerror();
39942
- init_individualnameerror();
39943
- init_phonenumbererror();
39944
- CreateIndividualErrorSsn$inboundSchema = objectType({
39945
- full: stringType().optional(),
39946
- lastFour: stringType().optional()
39947
- });
39948
- CreateIndividualErrorSsn$outboundSchema = objectType({
39949
- full: stringType().optional(),
39950
- lastFour: stringType().optional()
39951
- });
39952
- ((CreateIndividualErrorSsn$) => {
39953
- CreateIndividualErrorSsn$.inboundSchema = CreateIndividualErrorSsn$inboundSchema;
39954
- CreateIndividualErrorSsn$.outboundSchema = CreateIndividualErrorSsn$outboundSchema;
39955
- })(CreateIndividualErrorSsn$ ||= {});
39956
- CreateIndividualErrorItin$inboundSchema = objectType({
39957
- full: stringType().optional(),
39958
- lastFour: stringType().optional()
39959
- });
39960
- CreateIndividualErrorItin$outboundSchema = objectType({
39961
- full: stringType().optional(),
39962
- lastFour: stringType().optional()
39963
- });
39964
- ((CreateIndividualErrorItin$) => {
39965
- CreateIndividualErrorItin$.inboundSchema = CreateIndividualErrorItin$inboundSchema;
39966
- CreateIndividualErrorItin$.outboundSchema = CreateIndividualErrorItin$outboundSchema;
39967
- })(CreateIndividualErrorItin$ ||= {});
39968
- CreateIndividualErrorGovernmentID$inboundSchema = objectType({
39969
- ssn: lazyType(() => CreateIndividualErrorSsn$inboundSchema).optional(),
39970
- itin: lazyType(() => CreateIndividualErrorItin$inboundSchema).optional()
39971
- });
39972
- CreateIndividualErrorGovernmentID$outboundSchema = objectType({
39973
- ssn: lazyType(() => CreateIndividualErrorSsn$outboundSchema).optional(),
39974
- itin: lazyType(() => CreateIndividualErrorItin$outboundSchema).optional()
39975
- });
39976
- ((CreateIndividualErrorGovernmentID$) => {
39977
- CreateIndividualErrorGovernmentID$.inboundSchema = CreateIndividualErrorGovernmentID$inboundSchema;
39978
- CreateIndividualErrorGovernmentID$.outboundSchema = CreateIndividualErrorGovernmentID$outboundSchema;
39979
- })(CreateIndividualErrorGovernmentID$ ||= {});
39980
- CreateIndividualError$inboundSchema = objectType({
39981
- name: IndividualNameError$inboundSchema.optional(),
39982
- phone: PhoneNumberError$inboundSchema.optional(),
39983
- email: stringType().optional(),
39984
- address: AddressError$inboundSchema.optional(),
39985
- birthDate: BirthDateError$inboundSchema.optional(),
39986
- governmentID: lazyType(() => CreateIndividualErrorGovernmentID$inboundSchema).optional()
39987
- });
39988
- CreateIndividualError$outboundSchema = objectType({
39989
- name: IndividualNameError$outboundSchema.optional(),
39990
- phone: PhoneNumberError$outboundSchema.optional(),
39991
- email: stringType().optional(),
39992
- address: AddressError$outboundSchema.optional(),
39993
- birthDate: BirthDateError$outboundSchema.optional(),
39994
- governmentID: lazyType(() => CreateIndividualErrorGovernmentID$outboundSchema).optional()
39995
- });
39996
- ((CreateIndividualError$) => {
39997
- CreateIndividualError$.inboundSchema = CreateIndividualError$inboundSchema;
39998
- CreateIndividualError$.outboundSchema = CreateIndividualError$outboundSchema;
39999
- })(CreateIndividualError$ ||= {});
40000
- });
40001
-
40002
- // src/models/components/createprofileerror.ts
40003
- var CreateProfileError$inboundSchema, CreateProfileError$outboundSchema, CreateProfileError$;
40004
- var init_createprofileerror = __esm(() => {
40005
- init_esm();
40006
- init_createbusinesserror();
40007
- init_createindividualerror();
40008
- CreateProfileError$inboundSchema = objectType({
40009
- individual: CreateIndividualError$inboundSchema.optional(),
40010
- business: CreateBusinessError$inboundSchema.optional()
40011
- });
40012
- CreateProfileError$outboundSchema = objectType({
40013
- individual: CreateIndividualError$outboundSchema.optional(),
40014
- business: CreateBusinessError$outboundSchema.optional()
40015
- });
40016
- ((CreateProfileError$) => {
40017
- CreateProfileError$.inboundSchema = CreateProfileError$inboundSchema;
40018
- CreateProfileError$.outboundSchema = CreateProfileError$outboundSchema;
40019
- })(CreateProfileError$ ||= {});
40020
- });
40021
-
40022
- // src/models/components/customersupporterror.ts
40023
- var CustomerSupportError$inboundSchema, CustomerSupportError$outboundSchema, CustomerSupportError$;
40024
- var init_customersupporterror = __esm(() => {
40025
- init_esm();
40026
- init_addresserror();
40027
- init_phonenumbererror();
40028
- CustomerSupportError$inboundSchema = objectType({
40029
- phone: PhoneNumberError$inboundSchema.optional(),
40030
- email: stringType().optional(),
40031
- address: AddressError$inboundSchema.optional(),
40032
- website: stringType().optional()
40033
- });
40034
- CustomerSupportError$outboundSchema = objectType({
40035
- phone: PhoneNumberError$outboundSchema.optional(),
40036
- email: stringType().optional(),
40037
- address: AddressError$outboundSchema.optional(),
40038
- website: stringType().optional()
40039
- });
40040
- ((CustomerSupportError$) => {
40041
- CustomerSupportError$.inboundSchema = CustomerSupportError$inboundSchema;
40042
- CustomerSupportError$.outboundSchema = CustomerSupportError$outboundSchema;
40043
- })(CustomerSupportError$ ||= {});
40044
- });
40045
-
40046
- // src/models/components/termsofserviceerror.ts
40047
- var Manual$inboundSchema, Manual$outboundSchema, Manual$, TermsOfServiceError$inboundSchema, TermsOfServiceError$outboundSchema, TermsOfServiceError$;
40048
- var init_termsofserviceerror = __esm(() => {
40049
- init_esm();
40050
- Manual$inboundSchema = objectType({
40051
- acceptedDate: stringType().optional(),
40052
- acceptedDomain: stringType().optional(),
40053
- acceptedIP: stringType().optional(),
40054
- acceptedUserAgent: stringType().optional()
40055
- });
40056
- Manual$outboundSchema = objectType({
40057
- acceptedDate: stringType().optional(),
40058
- acceptedDomain: stringType().optional(),
40059
- acceptedIP: stringType().optional(),
40060
- acceptedUserAgent: stringType().optional()
40061
- });
40062
- ((Manual$) => {
40063
- Manual$.inboundSchema = Manual$inboundSchema;
40064
- Manual$.outboundSchema = Manual$outboundSchema;
40065
- })(Manual$ ||= {});
40066
- TermsOfServiceError$inboundSchema = objectType({
40067
- token: stringType().optional(),
40068
- manual: lazyType(() => Manual$inboundSchema).optional()
40069
- });
40070
- TermsOfServiceError$outboundSchema = objectType({
40071
- token: stringType().optional(),
40072
- manual: lazyType(() => Manual$outboundSchema).optional()
40073
- });
40074
- ((TermsOfServiceError$) => {
40075
- TermsOfServiceError$.inboundSchema = TermsOfServiceError$inboundSchema;
40076
- TermsOfServiceError$.outboundSchema = TermsOfServiceError$outboundSchema;
40077
- })(TermsOfServiceError$ ||= {});
40078
- });
40079
-
40080
- // src/models/components/createaccounterror.ts
40081
- var CreateAccountError$inboundSchema, CreateAccountError$outboundSchema, CreateAccountError$;
40082
- var init_createaccounterror = __esm(() => {
40083
- init_esm();
40084
- init_createaccountsettings();
40085
- init_createprofileerror();
40086
- init_customersupporterror();
40087
- init_termsofserviceerror();
40088
- CreateAccountError$inboundSchema = objectType({
40089
- accountType: stringType().optional(),
40090
- profile: CreateProfileError$inboundSchema.optional(),
40091
- metadata: stringType().optional(),
40092
- termsOfService: TermsOfServiceError$inboundSchema.optional(),
40093
- foreignID: stringType().optional(),
40094
- customerSupport: CustomerSupportError$inboundSchema.optional(),
40095
- settings: CreateAccountSettings$inboundSchema.optional(),
40096
- capabilities: recordType(stringType()).optional()
40097
- });
40098
- CreateAccountError$outboundSchema = objectType({
40099
- accountType: stringType().optional(),
40100
- profile: CreateProfileError$outboundSchema.optional(),
40101
- metadata: stringType().optional(),
40102
- termsOfService: TermsOfServiceError$outboundSchema.optional(),
40103
- foreignID: stringType().optional(),
40104
- customerSupport: CustomerSupportError$outboundSchema.optional(),
40105
- settings: CreateAccountSettings$outboundSchema.optional(),
40106
- capabilities: recordType(stringType()).optional()
40107
- });
40108
- ((CreateAccountError$) => {
40109
- CreateAccountError$.inboundSchema = CreateAccountError$inboundSchema;
40110
- CreateAccountError$.outboundSchema = CreateAccountError$outboundSchema;
40111
- })(CreateAccountError$ ||= {});
40112
- });
40113
-
40114
- // src/models/components/createapplepaysession.ts
40115
- var CreateApplePaySession$inboundSchema, CreateApplePaySession$outboundSchema, CreateApplePaySession$;
40116
- var init_createapplepaysession = __esm(() => {
40117
- init_esm();
40118
- CreateApplePaySession$inboundSchema = objectType({
40119
- domain: stringType(),
40120
- displayName: stringType()
40121
- });
40122
- CreateApplePaySession$outboundSchema = objectType({
40123
- domain: stringType(),
40124
- displayName: stringType()
40125
- });
40126
- ((CreateApplePaySession$) => {
40127
- CreateApplePaySession$.inboundSchema = CreateApplePaySession$inboundSchema;
40128
- CreateApplePaySession$.outboundSchema = CreateApplePaySession$outboundSchema;
40129
- })(CreateApplePaySession$ ||= {});
40130
- });
40131
-
40132
- // src/models/components/createauthorizeduser.ts
40133
- var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema, CreateAuthorizedUser$;
40134
- var init_createauthorizeduser = __esm(() => {
40135
- init_esm();
40136
- init_birthdate();
40137
- CreateAuthorizedUser$inboundSchema = objectType({
40138
- firstName: stringType(),
40139
- lastName: stringType(),
40140
- birthDate: BirthDate$inboundSchema.optional()
40141
- });
40142
- CreateAuthorizedUser$outboundSchema = objectType({
40143
- firstName: stringType(),
40144
- lastName: stringType(),
40145
- birthDate: BirthDate$outboundSchema.optional()
40146
- });
40147
- ((CreateAuthorizedUser$) => {
40148
- CreateAuthorizedUser$.inboundSchema = CreateAuthorizedUser$inboundSchema;
40149
- CreateAuthorizedUser$.outboundSchema = CreateAuthorizedUser$outboundSchema;
40150
- })(CreateAuthorizedUser$ ||= {});
40151
- });
40152
-
40153
- // src/models/components/createauthorizedusererror.ts
40154
- var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema, CreateAuthorizedUserError$;
40155
- var init_createauthorizedusererror = __esm(() => {
40156
- init_esm();
40157
- init_birthdateerror();
40158
- CreateAuthorizedUserError$inboundSchema = objectType({
40159
- firstName: stringType().optional(),
40160
- lastName: stringType().optional(),
40161
- birthDate: BirthDateError$inboundSchema.optional()
40162
- });
40163
- CreateAuthorizedUserError$outboundSchema = objectType({
40164
- firstName: stringType().optional(),
40165
- lastName: stringType().optional(),
40166
- birthDate: BirthDateError$outboundSchema.optional()
40167
- });
40168
- ((CreateAuthorizedUserError$) => {
40169
- CreateAuthorizedUserError$.inboundSchema = CreateAuthorizedUserError$inboundSchema;
40170
- CreateAuthorizedUserError$.outboundSchema = CreateAuthorizedUserError$outboundSchema;
40171
- })(CreateAuthorizedUserError$ ||= {});
40172
- });
40173
-
40174
- // src/models/components/createauthorizeduserupdate.ts
40175
- var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema, CreateAuthorizedUserUpdate$;
40176
- var init_createauthorizeduserupdate = __esm(() => {
40177
- init_esm();
40178
- init_birthdateupdate();
40179
- CreateAuthorizedUserUpdate$inboundSchema = objectType({
40180
- firstName: stringType().optional(),
40181
- lastName: stringType().optional(),
40182
- birthDate: BirthDateUpdate$inboundSchema.optional()
40183
- });
40184
- CreateAuthorizedUserUpdate$outboundSchema = objectType({
40185
- firstName: stringType().optional(),
40186
- lastName: stringType().optional(),
40187
- birthDate: BirthDateUpdate$outboundSchema.optional()
40188
- });
40189
- ((CreateAuthorizedUserUpdate$) => {
40190
- CreateAuthorizedUserUpdate$.inboundSchema = CreateAuthorizedUserUpdate$inboundSchema;
40191
- CreateAuthorizedUserUpdate$.outboundSchema = CreateAuthorizedUserUpdate$outboundSchema;
40192
- })(CreateAuthorizedUserUpdate$ ||= {});
40193
- });
40194
-
40195
39995
  // src/models/components/facilitatorfee.ts
40196
39996
  var FacilitatorFee$inboundSchema, FacilitatorFee$outboundSchema, FacilitatorFee$;
40197
39997
  var init_facilitatorfee = __esm(() => {
@@ -40673,6 +40473,94 @@ var init_createfeeplanagreement = __esm(() => {
40673
40473
  })(CreateFeePlanAgreement$ ||= {});
40674
40474
  });
40675
40475
 
40476
+ // src/models/components/individualnameerror.ts
40477
+ var IndividualNameError$inboundSchema, IndividualNameError$outboundSchema, IndividualNameError$;
40478
+ var init_individualnameerror = __esm(() => {
40479
+ init_esm();
40480
+ IndividualNameError$inboundSchema = objectType({
40481
+ firstName: stringType().optional(),
40482
+ middleName: stringType().optional(),
40483
+ lastName: stringType().optional(),
40484
+ suffix: stringType().optional()
40485
+ });
40486
+ IndividualNameError$outboundSchema = objectType({
40487
+ firstName: stringType().optional(),
40488
+ middleName: stringType().optional(),
40489
+ lastName: stringType().optional(),
40490
+ suffix: stringType().optional()
40491
+ });
40492
+ ((IndividualNameError$) => {
40493
+ IndividualNameError$.inboundSchema = IndividualNameError$inboundSchema;
40494
+ IndividualNameError$.outboundSchema = IndividualNameError$outboundSchema;
40495
+ })(IndividualNameError$ ||= {});
40496
+ });
40497
+
40498
+ // src/models/components/createindividualerror.ts
40499
+ var CreateIndividualErrorSsn$inboundSchema, CreateIndividualErrorSsn$outboundSchema, CreateIndividualErrorSsn$, CreateIndividualErrorItin$inboundSchema, CreateIndividualErrorItin$outboundSchema, CreateIndividualErrorItin$, CreateIndividualErrorGovernmentID$inboundSchema, CreateIndividualErrorGovernmentID$outboundSchema, CreateIndividualErrorGovernmentID$, CreateIndividualError$inboundSchema, CreateIndividualError$outboundSchema, CreateIndividualError$;
40500
+ var init_createindividualerror = __esm(() => {
40501
+ init_esm();
40502
+ init_addresserror();
40503
+ init_birthdateerror();
40504
+ init_individualnameerror();
40505
+ init_phonenumbererror();
40506
+ CreateIndividualErrorSsn$inboundSchema = objectType({
40507
+ full: stringType().optional(),
40508
+ lastFour: stringType().optional()
40509
+ });
40510
+ CreateIndividualErrorSsn$outboundSchema = objectType({
40511
+ full: stringType().optional(),
40512
+ lastFour: stringType().optional()
40513
+ });
40514
+ ((CreateIndividualErrorSsn$) => {
40515
+ CreateIndividualErrorSsn$.inboundSchema = CreateIndividualErrorSsn$inboundSchema;
40516
+ CreateIndividualErrorSsn$.outboundSchema = CreateIndividualErrorSsn$outboundSchema;
40517
+ })(CreateIndividualErrorSsn$ ||= {});
40518
+ CreateIndividualErrorItin$inboundSchema = objectType({
40519
+ full: stringType().optional(),
40520
+ lastFour: stringType().optional()
40521
+ });
40522
+ CreateIndividualErrorItin$outboundSchema = objectType({
40523
+ full: stringType().optional(),
40524
+ lastFour: stringType().optional()
40525
+ });
40526
+ ((CreateIndividualErrorItin$) => {
40527
+ CreateIndividualErrorItin$.inboundSchema = CreateIndividualErrorItin$inboundSchema;
40528
+ CreateIndividualErrorItin$.outboundSchema = CreateIndividualErrorItin$outboundSchema;
40529
+ })(CreateIndividualErrorItin$ ||= {});
40530
+ CreateIndividualErrorGovernmentID$inboundSchema = objectType({
40531
+ ssn: lazyType(() => CreateIndividualErrorSsn$inboundSchema).optional(),
40532
+ itin: lazyType(() => CreateIndividualErrorItin$inboundSchema).optional()
40533
+ });
40534
+ CreateIndividualErrorGovernmentID$outboundSchema = objectType({
40535
+ ssn: lazyType(() => CreateIndividualErrorSsn$outboundSchema).optional(),
40536
+ itin: lazyType(() => CreateIndividualErrorItin$outboundSchema).optional()
40537
+ });
40538
+ ((CreateIndividualErrorGovernmentID$) => {
40539
+ CreateIndividualErrorGovernmentID$.inboundSchema = CreateIndividualErrorGovernmentID$inboundSchema;
40540
+ CreateIndividualErrorGovernmentID$.outboundSchema = CreateIndividualErrorGovernmentID$outboundSchema;
40541
+ })(CreateIndividualErrorGovernmentID$ ||= {});
40542
+ CreateIndividualError$inboundSchema = objectType({
40543
+ name: IndividualNameError$inboundSchema.optional(),
40544
+ phone: PhoneNumberError$inboundSchema.optional(),
40545
+ email: stringType().optional(),
40546
+ address: AddressError$inboundSchema.optional(),
40547
+ birthDate: BirthDateError$inboundSchema.optional(),
40548
+ governmentID: lazyType(() => CreateIndividualErrorGovernmentID$inboundSchema).optional()
40549
+ });
40550
+ CreateIndividualError$outboundSchema = objectType({
40551
+ name: IndividualNameError$outboundSchema.optional(),
40552
+ phone: PhoneNumberError$outboundSchema.optional(),
40553
+ email: stringType().optional(),
40554
+ address: AddressError$outboundSchema.optional(),
40555
+ birthDate: BirthDateError$outboundSchema.optional(),
40556
+ governmentID: lazyType(() => CreateIndividualErrorGovernmentID$outboundSchema).optional()
40557
+ });
40558
+ ((CreateIndividualError$) => {
40559
+ CreateIndividualError$.inboundSchema = CreateIndividualError$inboundSchema;
40560
+ CreateIndividualError$.outboundSchema = CreateIndividualError$outboundSchema;
40561
+ })(CreateIndividualError$ ||= {});
40562
+ });
40563
+
40676
40564
  // src/models/components/paymentlinkcustomeroptions.ts
40677
40565
  var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema, PaymentLinkCustomerOptions$;
40678
40566
  var init_paymentlinkcustomeroptions = __esm(() => {
@@ -40828,6 +40716,26 @@ var init_createpaymentlink = __esm(() => {
40828
40716
  })(CreatePaymentLink$ ||= {});
40829
40717
  });
40830
40718
 
40719
+ // src/models/components/createprofileerror.ts
40720
+ var CreateProfileError$inboundSchema, CreateProfileError$outboundSchema, CreateProfileError$;
40721
+ var init_createprofileerror = __esm(() => {
40722
+ init_esm();
40723
+ init_createbusinesserror();
40724
+ init_createindividualerror();
40725
+ CreateProfileError$inboundSchema = objectType({
40726
+ individual: CreateIndividualError$inboundSchema.optional(),
40727
+ business: CreateBusinessError$inboundSchema.optional()
40728
+ });
40729
+ CreateProfileError$outboundSchema = objectType({
40730
+ individual: CreateIndividualError$outboundSchema.optional(),
40731
+ business: CreateBusinessError$outboundSchema.optional()
40732
+ });
40733
+ ((CreateProfileError$) => {
40734
+ CreateProfileError$.inboundSchema = CreateProfileError$inboundSchema;
40735
+ CreateProfileError$.outboundSchema = CreateProfileError$outboundSchema;
40736
+ })(CreateProfileError$ ||= {});
40737
+ });
40738
+
40831
40739
  // src/models/components/createrefund.ts
40832
40740
  var CreateRefund$inboundSchema, CreateRefund$outboundSchema, CreateRefund$;
40833
40741
  var init_createrefund = __esm(() => {
@@ -41255,6 +41163,30 @@ var init_createtransferoptions = __esm(() => {
41255
41163
  })(CreateTransferOptions$ ||= {});
41256
41164
  });
41257
41165
 
41166
+ // src/models/components/customersupporterror.ts
41167
+ var CustomerSupportError$inboundSchema, CustomerSupportError$outboundSchema, CustomerSupportError$;
41168
+ var init_customersupporterror = __esm(() => {
41169
+ init_esm();
41170
+ init_addresserror();
41171
+ init_phonenumbererror();
41172
+ CustomerSupportError$inboundSchema = objectType({
41173
+ phone: PhoneNumberError$inboundSchema.optional(),
41174
+ email: stringType().optional(),
41175
+ address: AddressError$inboundSchema.optional(),
41176
+ website: stringType().optional()
41177
+ });
41178
+ CustomerSupportError$outboundSchema = objectType({
41179
+ phone: PhoneNumberError$outboundSchema.optional(),
41180
+ email: stringType().optional(),
41181
+ address: AddressError$outboundSchema.optional(),
41182
+ website: stringType().optional()
41183
+ });
41184
+ ((CustomerSupportError$) => {
41185
+ CustomerSupportError$.inboundSchema = CustomerSupportError$inboundSchema;
41186
+ CustomerSupportError$.outboundSchema = CustomerSupportError$outboundSchema;
41187
+ })(CustomerSupportError$ ||= {});
41188
+ });
41189
+
41258
41190
  // src/models/components/displayoptionserror.ts
41259
41191
  var DisplayOptionsError$inboundSchema, DisplayOptionsError$outboundSchema, DisplayOptionsError$;
41260
41192
  var init_displayoptionserror = __esm(() => {
@@ -43836,36 +43768,6 @@ var init_patchaccount = __esm(() => {
43836
43768
  })(PatchAccount$ ||= {});
43837
43769
  });
43838
43770
 
43839
- // src/models/components/patchaccounterror.ts
43840
- var PatchAccountError$inboundSchema, PatchAccountError$outboundSchema, PatchAccountError$;
43841
- var init_patchaccounterror = __esm(() => {
43842
- init_esm();
43843
- init_createaccountsettings();
43844
- init_createprofileerror();
43845
- init_customersupporterror();
43846
- init_termsofserviceerror();
43847
- PatchAccountError$inboundSchema = objectType({
43848
- profile: CreateProfileError$inboundSchema.optional(),
43849
- metadata: stringType().optional(),
43850
- termsOfService: TermsOfServiceError$inboundSchema.optional(),
43851
- foreignID: stringType().optional(),
43852
- customerSupport: CustomerSupportError$inboundSchema.optional(),
43853
- settings: CreateAccountSettings$inboundSchema.optional()
43854
- });
43855
- PatchAccountError$outboundSchema = objectType({
43856
- profile: CreateProfileError$outboundSchema.optional(),
43857
- metadata: stringType().optional(),
43858
- termsOfService: TermsOfServiceError$outboundSchema.optional(),
43859
- foreignID: stringType().optional(),
43860
- customerSupport: CustomerSupportError$outboundSchema.optional(),
43861
- settings: CreateAccountSettings$outboundSchema.optional()
43862
- });
43863
- ((PatchAccountError$) => {
43864
- PatchAccountError$.inboundSchema = PatchAccountError$inboundSchema;
43865
- PatchAccountError$.outboundSchema = PatchAccountError$outboundSchema;
43866
- })(PatchAccountError$ ||= {});
43867
- });
43868
-
43869
43771
  // src/models/components/patchsweepconfig.ts
43870
43772
  var Status, Status$inboundSchema, Status$outboundSchema, Status$, PushPaymentMethodId2$inboundSchema, PushPaymentMethodId2$outboundSchema, PushPaymentMethodId2$, PushPaymentMethodID$inboundSchema, PushPaymentMethodID$outboundSchema, PushPaymentMethodID$, PullPaymentMethodId2$inboundSchema, PullPaymentMethodId2$outboundSchema, PullPaymentMethodId2$, PullPaymentMethodID$inboundSchema, PullPaymentMethodID$outboundSchema, PullPaymentMethodID$, StatementDescriptor2$inboundSchema, StatementDescriptor2$outboundSchema, StatementDescriptor2$, StatementDescriptor$inboundSchema, StatementDescriptor$outboundSchema, StatementDescriptor$, PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema, PatchSweepConfig$;
43871
43773
  var init_patchsweepconfig = __esm(() => {
@@ -44906,6 +44808,22 @@ var init_sendfundserror = __esm(() => {
44906
44808
  })(SendFundsError$ ||= {});
44907
44809
  });
44908
44810
 
44811
+ // src/models/components/submissionintent.ts
44812
+ var SubmissionIntent, SubmissionIntent$inboundSchema, SubmissionIntent$outboundSchema, SubmissionIntent$;
44813
+ var init_submissionintent = __esm(() => {
44814
+ init_esm();
44815
+ SubmissionIntent = {
44816
+ Wait: "wait",
44817
+ Submit: "submit"
44818
+ };
44819
+ SubmissionIntent$inboundSchema = nativeEnumType(SubmissionIntent);
44820
+ SubmissionIntent$outboundSchema = SubmissionIntent$inboundSchema;
44821
+ ((SubmissionIntent$) => {
44822
+ SubmissionIntent$.inboundSchema = SubmissionIntent$inboundSchema;
44823
+ SubmissionIntent$.outboundSchema = SubmissionIntent$outboundSchema;
44824
+ })(SubmissionIntent$ ||= {});
44825
+ });
44826
+
44909
44827
  // src/models/components/sweepstatus.ts
44910
44828
  var SweepStatus, SweepStatus$inboundSchema, SweepStatus$outboundSchema, SweepStatus$;
44911
44829
  var init_sweepstatus = __esm(() => {
@@ -45163,6 +45081,40 @@ var init_terminalconfiguration = __esm(() => {
45163
45081
  })(TerminalConfiguration$ ||= {});
45164
45082
  });
45165
45083
 
45084
+ // src/models/components/termsofserviceerror.ts
45085
+ var Manual$inboundSchema, Manual$outboundSchema, Manual$, TermsOfServiceError$inboundSchema, TermsOfServiceError$outboundSchema, TermsOfServiceError$;
45086
+ var init_termsofserviceerror = __esm(() => {
45087
+ init_esm();
45088
+ Manual$inboundSchema = objectType({
45089
+ acceptedDate: stringType().optional(),
45090
+ acceptedDomain: stringType().optional(),
45091
+ acceptedIP: stringType().optional(),
45092
+ acceptedUserAgent: stringType().optional()
45093
+ });
45094
+ Manual$outboundSchema = objectType({
45095
+ acceptedDate: stringType().optional(),
45096
+ acceptedDomain: stringType().optional(),
45097
+ acceptedIP: stringType().optional(),
45098
+ acceptedUserAgent: stringType().optional()
45099
+ });
45100
+ ((Manual$) => {
45101
+ Manual$.inboundSchema = Manual$inboundSchema;
45102
+ Manual$.outboundSchema = Manual$outboundSchema;
45103
+ })(Manual$ ||= {});
45104
+ TermsOfServiceError$inboundSchema = objectType({
45105
+ token: stringType().optional(),
45106
+ manual: lazyType(() => Manual$inboundSchema).optional()
45107
+ });
45108
+ TermsOfServiceError$outboundSchema = objectType({
45109
+ token: stringType().optional(),
45110
+ manual: lazyType(() => Manual$outboundSchema).optional()
45111
+ });
45112
+ ((TermsOfServiceError$) => {
45113
+ TermsOfServiceError$.inboundSchema = TermsOfServiceError$inboundSchema;
45114
+ TermsOfServiceError$.outboundSchema = TermsOfServiceError$outboundSchema;
45115
+ })(TermsOfServiceError$ ||= {});
45116
+ });
45117
+
45166
45118
  // src/models/components/ticketstatus.ts
45167
45119
  var TicketStatus, TicketStatus$inboundSchema, TicketStatus$outboundSchema, TicketStatus$;
45168
45120
  var init_ticketstatus = __esm(() => {
@@ -45909,6 +45861,7 @@ var init_upsertunderwriting = __esm(() => {
45909
45861
  init_moneytransfer();
45910
45862
  init_pendinglitigation();
45911
45863
  init_sendfunds();
45864
+ init_submissionintent();
45912
45865
  init_volumesharebycustomertype();
45913
45866
  UpsertUnderwriting$inboundSchema = objectType({
45914
45867
  geographicReach: GeographicReach$inboundSchema.optional(),
@@ -45917,7 +45870,8 @@ var init_upsertunderwriting = __esm(() => {
45917
45870
  volumeShareByCustomerType: VolumeShareByCustomerType$inboundSchema.optional(),
45918
45871
  collectFunds: CollectFunds$inboundSchema.optional(),
45919
45872
  moneyTransfer: MoneyTransfer$inboundSchema.optional(),
45920
- sendFunds: SendFunds$inboundSchema.optional()
45873
+ sendFunds: SendFunds$inboundSchema.optional(),
45874
+ submissionIntent: SubmissionIntent$inboundSchema.optional()
45921
45875
  });
45922
45876
  UpsertUnderwriting$outboundSchema = objectType({
45923
45877
  geographicReach: GeographicReach$outboundSchema.optional(),
@@ -45926,7 +45880,8 @@ var init_upsertunderwriting = __esm(() => {
45926
45880
  volumeShareByCustomerType: VolumeShareByCustomerType$outboundSchema.optional(),
45927
45881
  collectFunds: CollectFunds$outboundSchema.optional(),
45928
45882
  moneyTransfer: MoneyTransfer$outboundSchema.optional(),
45929
- sendFunds: SendFunds$outboundSchema.optional()
45883
+ sendFunds: SendFunds$outboundSchema.optional(),
45884
+ submissionIntent: SubmissionIntent$outboundSchema.optional()
45930
45885
  });
45931
45886
  ((UpsertUnderwriting$) => {
45932
45887
  UpsertUnderwriting$.inboundSchema = UpsertUnderwriting$inboundSchema;
@@ -47068,7 +47023,6 @@ var init_components = __esm(() => {
47068
47023
  init_contact();
47069
47024
  init_countrieserrors();
47070
47025
  init_createaccount();
47071
- init_createaccounterror();
47072
47026
  init_createaccountsettings();
47073
47027
  init_createaccounttype();
47074
47028
  init_createapplepaysession();
@@ -47223,7 +47177,6 @@ var init_components = __esm(() => {
47223
47177
  init_partnerpricing();
47224
47178
  init_partnerpricingagreement();
47225
47179
  init_patchaccount();
47226
- init_patchaccounterror();
47227
47180
  init_patchbusiness();
47228
47181
  init_patchindividual();
47229
47182
  init_patchprofile();
@@ -47305,6 +47258,7 @@ var init_components = __esm(() => {
47305
47258
  init_sentreceipt();
47306
47259
  init_settings();
47307
47260
  init_sourcedestinationoptions();
47261
+ init_submissionintent();
47308
47262
  init_sweep();
47309
47263
  init_sweepconfig();
47310
47264
  init_sweepconfigpaymentmethod();
@@ -47691,42 +47645,78 @@ var init_cardacquiringrefund2 = __esm(() => {
47691
47645
  })(CardAcquiringRefund$2 ||= {});
47692
47646
  });
47693
47647
 
47694
- // src/models/errors/createaccount.ts
47695
- var CreateAccountResponseBody, CreateAccountResponseBody$inboundSchema, CreateAccountResponseBody$outboundSchema, CreateAccountResponseBody$;
47696
- var init_createaccount2 = __esm(() => {
47648
+ // src/models/errors/createaccounterror.ts
47649
+ var CreateAccountError, CreateAccountError$inboundSchema, CreateAccountError$outboundSchema, CreateAccountError$;
47650
+ var init_createaccounterror = __esm(() => {
47697
47651
  init_esm();
47698
47652
  init_components();
47699
47653
  init_mooverror();
47700
- CreateAccountResponseBody = class CreateAccountResponseBody extends MoovError {
47701
- error;
47654
+ CreateAccountError = class CreateAccountError extends MoovError {
47655
+ accountType;
47656
+ profile;
47657
+ metadata;
47658
+ termsOfService;
47659
+ foreignID;
47660
+ customerSupport;
47661
+ settings;
47662
+ capabilities;
47702
47663
  data$;
47703
47664
  constructor(err, httpMeta) {
47704
47665
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
47705
47666
  super(message, httpMeta);
47706
47667
  this.data$ = err;
47707
- this.error = err.error;
47708
- this.name = "CreateAccountResponseBody";
47668
+ if (err.accountType != null)
47669
+ this.accountType = err.accountType;
47670
+ if (err.profile != null)
47671
+ this.profile = err.profile;
47672
+ if (err.metadata != null)
47673
+ this.metadata = err.metadata;
47674
+ if (err.termsOfService != null)
47675
+ this.termsOfService = err.termsOfService;
47676
+ if (err.foreignID != null)
47677
+ this.foreignID = err.foreignID;
47678
+ if (err.customerSupport != null)
47679
+ this.customerSupport = err.customerSupport;
47680
+ if (err.settings != null)
47681
+ this.settings = err.settings;
47682
+ if (err.capabilities != null)
47683
+ this.capabilities = err.capabilities;
47684
+ this.name = "CreateAccountError";
47709
47685
  }
47710
47686
  };
47711
- CreateAccountResponseBody$inboundSchema = objectType({
47712
- error: CreateAccountError$inboundSchema,
47687
+ CreateAccountError$inboundSchema = objectType({
47688
+ accountType: stringType().optional(),
47689
+ profile: CreateProfileError$inboundSchema.optional(),
47690
+ metadata: stringType().optional(),
47691
+ termsOfService: TermsOfServiceError$inboundSchema.optional(),
47692
+ foreignID: stringType().optional(),
47693
+ customerSupport: CustomerSupportError$inboundSchema.optional(),
47694
+ settings: CreateAccountSettings$inboundSchema.optional(),
47695
+ capabilities: recordType(stringType()).optional(),
47713
47696
  request$: instanceOfType(Request),
47714
47697
  response$: instanceOfType(Response),
47715
47698
  body$: stringType()
47716
47699
  }).transform((v2) => {
47717
- return new CreateAccountResponseBody(v2, {
47700
+ return new CreateAccountError(v2, {
47718
47701
  request: v2.request$,
47719
47702
  response: v2.response$,
47720
47703
  body: v2.body$
47721
47704
  });
47722
47705
  });
47723
- CreateAccountResponseBody$outboundSchema = instanceOfType(CreateAccountResponseBody).transform((v2) => v2.data$).pipe(objectType({
47724
- error: CreateAccountError$outboundSchema
47706
+ CreateAccountError$outboundSchema = instanceOfType(CreateAccountError).transform((v2) => v2.data$).pipe(objectType({
47707
+ accountType: stringType().optional(),
47708
+ profile: CreateProfileError$outboundSchema.optional(),
47709
+ metadata: stringType().optional(),
47710
+ termsOfService: TermsOfServiceError$outboundSchema.optional(),
47711
+ foreignID: stringType().optional(),
47712
+ customerSupport: CustomerSupportError$outboundSchema.optional(),
47713
+ settings: CreateAccountSettings$outboundSchema.optional(),
47714
+ capabilities: recordType(stringType()).optional()
47725
47715
  }));
47726
- ((CreateAccountResponseBody$) => {
47727
- CreateAccountResponseBody$.inboundSchema = CreateAccountResponseBody$inboundSchema;
47728
- CreateAccountResponseBody$.outboundSchema = CreateAccountResponseBody$outboundSchema;
47729
- })(CreateAccountResponseBody$ ||= {});
47716
+ ((CreateAccountError$) => {
47717
+ CreateAccountError$.inboundSchema = CreateAccountError$inboundSchema;
47718
+ CreateAccountError$.outboundSchema = CreateAccountError$outboundSchema;
47719
+ })(CreateAccountError$ ||= {});
47730
47720
  });
47731
47721
 
47732
47722
  // src/models/errors/createpaymentlinkerror.ts
@@ -48336,6 +48326,70 @@ var init_onboardinginviteerror = __esm(() => {
48336
48326
  })(OnboardingInviteError$ ||= {});
48337
48327
  });
48338
48328
 
48329
+ // src/models/errors/patchaccounterror.ts
48330
+ var PatchAccountError, PatchAccountError$inboundSchema, PatchAccountError$outboundSchema, PatchAccountError$;
48331
+ var init_patchaccounterror = __esm(() => {
48332
+ init_esm();
48333
+ init_components();
48334
+ init_mooverror();
48335
+ PatchAccountError = class PatchAccountError extends MoovError {
48336
+ profile;
48337
+ metadata;
48338
+ termsOfService;
48339
+ foreignID;
48340
+ customerSupport;
48341
+ settings;
48342
+ data$;
48343
+ constructor(err, httpMeta) {
48344
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
48345
+ super(message, httpMeta);
48346
+ this.data$ = err;
48347
+ if (err.profile != null)
48348
+ this.profile = err.profile;
48349
+ if (err.metadata != null)
48350
+ this.metadata = err.metadata;
48351
+ if (err.termsOfService != null)
48352
+ this.termsOfService = err.termsOfService;
48353
+ if (err.foreignID != null)
48354
+ this.foreignID = err.foreignID;
48355
+ if (err.customerSupport != null)
48356
+ this.customerSupport = err.customerSupport;
48357
+ if (err.settings != null)
48358
+ this.settings = err.settings;
48359
+ this.name = "PatchAccountError";
48360
+ }
48361
+ };
48362
+ PatchAccountError$inboundSchema = objectType({
48363
+ profile: CreateProfileError$inboundSchema.optional(),
48364
+ metadata: stringType().optional(),
48365
+ termsOfService: TermsOfServiceError$inboundSchema.optional(),
48366
+ foreignID: stringType().optional(),
48367
+ customerSupport: CustomerSupportError$inboundSchema.optional(),
48368
+ settings: CreateAccountSettings$inboundSchema.optional(),
48369
+ request$: instanceOfType(Request),
48370
+ response$: instanceOfType(Response),
48371
+ body$: stringType()
48372
+ }).transform((v2) => {
48373
+ return new PatchAccountError(v2, {
48374
+ request: v2.request$,
48375
+ response: v2.response$,
48376
+ body: v2.body$
48377
+ });
48378
+ });
48379
+ PatchAccountError$outboundSchema = instanceOfType(PatchAccountError).transform((v2) => v2.data$).pipe(objectType({
48380
+ profile: CreateProfileError$outboundSchema.optional(),
48381
+ metadata: stringType().optional(),
48382
+ termsOfService: TermsOfServiceError$outboundSchema.optional(),
48383
+ foreignID: stringType().optional(),
48384
+ customerSupport: CustomerSupportError$outboundSchema.optional(),
48385
+ settings: CreateAccountSettings$outboundSchema.optional()
48386
+ }));
48387
+ ((PatchAccountError$) => {
48388
+ PatchAccountError$.inboundSchema = PatchAccountError$inboundSchema;
48389
+ PatchAccountError$.outboundSchema = PatchAccountError$outboundSchema;
48390
+ })(PatchAccountError$ ||= {});
48391
+ });
48392
+
48339
48393
  // src/models/errors/patchsweepconfigerror.ts
48340
48394
  var PatchSweepConfigError, PatchSweepConfigError$inboundSchema, PatchSweepConfigError$outboundSchema, PatchSweepConfigError$;
48341
48395
  var init_patchsweepconfigerror = __esm(() => {
@@ -49069,44 +49123,6 @@ var init_transfervalidationerror = __esm(() => {
49069
49123
  })(TransferValidationError$ ||= {});
49070
49124
  });
49071
49125
 
49072
- // src/models/errors/updateaccount.ts
49073
- var UpdateAccountResponseBody, UpdateAccountResponseBody$inboundSchema, UpdateAccountResponseBody$outboundSchema, UpdateAccountResponseBody$;
49074
- var init_updateaccount = __esm(() => {
49075
- init_esm();
49076
- init_components();
49077
- init_mooverror();
49078
- UpdateAccountResponseBody = class UpdateAccountResponseBody extends MoovError {
49079
- error;
49080
- data$;
49081
- constructor(err, httpMeta) {
49082
- const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
49083
- super(message, httpMeta);
49084
- this.data$ = err;
49085
- this.error = err.error;
49086
- this.name = "UpdateAccountResponseBody";
49087
- }
49088
- };
49089
- UpdateAccountResponseBody$inboundSchema = objectType({
49090
- error: PatchAccountError$inboundSchema,
49091
- request$: instanceOfType(Request),
49092
- response$: instanceOfType(Response),
49093
- body$: stringType()
49094
- }).transform((v2) => {
49095
- return new UpdateAccountResponseBody(v2, {
49096
- request: v2.request$,
49097
- response: v2.response$,
49098
- body: v2.body$
49099
- });
49100
- });
49101
- UpdateAccountResponseBody$outboundSchema = instanceOfType(UpdateAccountResponseBody).transform((v2) => v2.data$).pipe(objectType({
49102
- error: PatchAccountError$outboundSchema
49103
- }));
49104
- ((UpdateAccountResponseBody$) => {
49105
- UpdateAccountResponseBody$.inboundSchema = UpdateAccountResponseBody$inboundSchema;
49106
- UpdateAccountResponseBody$.outboundSchema = UpdateAccountResponseBody$outboundSchema;
49107
- })(UpdateAccountResponseBody$ ||= {});
49108
- });
49109
-
49110
49126
  // src/models/errors/updatecarderror.ts
49111
49127
  var UpdateCardError, UpdateCardError$inboundSchema, UpdateCardError$outboundSchema, UpdateCardError$;
49112
49128
  var init_updatecarderror = __esm(() => {
@@ -49503,7 +49519,7 @@ var init_errors2 = __esm(() => {
49503
49519
  init_bankaccountvalidationerror();
49504
49520
  init_brandvalidationerror();
49505
49521
  init_cardacquiringrefund2();
49506
- init_createaccount2();
49522
+ init_createaccounterror();
49507
49523
  init_createpaymentlinkerror();
49508
49524
  init_createsweepconfigerror();
49509
49525
  init_createticketerror();
@@ -49516,6 +49532,7 @@ var init_errors2 = __esm(() => {
49516
49532
  init_linkcarderror();
49517
49533
  init_microdepositvalidationerror();
49518
49534
  init_onboardinginviteerror();
49535
+ init_patchaccounterror();
49519
49536
  init_patchsweepconfigerror();
49520
49537
  init_refundvalidationerror();
49521
49538
  init_representativevalidationerror();
@@ -49529,7 +49546,6 @@ var init_errors2 = __esm(() => {
49529
49546
  init_transfer2();
49530
49547
  init_transferoptionsvalidationerror();
49531
49548
  init_transfervalidationerror();
49532
- init_updateaccount();
49533
49549
  init_updatecarderror();
49534
49550
  init_updateissuedcarderror();
49535
49551
  init_updatepaymentlinkerror();
@@ -49911,7 +49927,7 @@ var init_createaccesstoken = __esm(() => {
49911
49927
 
49912
49928
  // src/models/operations/createaccount.ts
49913
49929
  var CreateAccountGlobals$inboundSchema, CreateAccountGlobals$outboundSchema, CreateAccountGlobals$, CreateAccountResponse$inboundSchema, CreateAccountResponse$outboundSchema, CreateAccountResponse$;
49914
- var init_createaccount3 = __esm(() => {
49930
+ var init_createaccount2 = __esm(() => {
49915
49931
  init_esm();
49916
49932
  init_primitives();
49917
49933
  init_components();
@@ -57409,7 +57425,7 @@ var init_testendtoendtoken = __esm(() => {
57409
57425
 
57410
57426
  // src/models/operations/updateaccount.ts
57411
57427
  var UpdateAccountGlobals$inboundSchema, UpdateAccountGlobals$outboundSchema, UpdateAccountGlobals$, UpdateAccountRequest$inboundSchema, UpdateAccountRequest$outboundSchema, UpdateAccountRequest$, UpdateAccountResponse$inboundSchema, UpdateAccountResponse$outboundSchema, UpdateAccountResponse$;
57412
- var init_updateaccount2 = __esm(() => {
57428
+ var init_updateaccount = __esm(() => {
57413
57429
  init_esm();
57414
57430
  init_primitives();
57415
57431
  init_components();
@@ -58587,7 +58603,7 @@ var init_operations = __esm(() => {
58587
58603
  init_completebankaccountverification2();
58588
58604
  init_completemicrodeposits2();
58589
58605
  init_createaccesstoken();
58590
- init_createaccount3();
58606
+ init_createaccount2();
58591
58607
  init_createapplepaysession2();
58592
58608
  init_createbrand();
58593
58609
  init_createcancellation();
@@ -58707,7 +58723,7 @@ var init_operations = __esm(() => {
58707
58723
  init_searchinstitutions();
58708
58724
  init_submitdisputeevidence();
58709
58725
  init_testendtoendtoken();
58710
- init_updateaccount2();
58726
+ init_updateaccount();
58711
58727
  init_updateapplepaymerchantdomains2();
58712
58728
  init_updatebrand2();
58713
58729
  init_updatecard2();
@@ -58950,9 +58966,7 @@ async function $do2(client, request, options) {
58950
58966
  const [result] = await match(json(200, CreateAccountResponse$inboundSchema, {
58951
58967
  hdrs: true,
58952
58968
  key: "Result"
58953
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateAccountResponseBody$inboundSchema, {
58954
- hdrs: true
58955
- }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
58969
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateAccountError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
58956
58970
  if (!result.ok) {
58957
58971
  return [result, { status: "complete", request: req, response }];
58958
58972
  }
@@ -59778,9 +59792,7 @@ async function $do9(client, request, options) {
59778
59792
  const [result] = await match(json(200, UpdateAccountResponse$inboundSchema, {
59779
59793
  hdrs: true,
59780
59794
  key: "Result"
59781
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpdateAccountResponseBody$inboundSchema, {
59782
- hdrs: true
59783
- }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
59795
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, PatchAccountError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
59784
59796
  if (!result.ok) {
59785
59797
  return [result, { status: "complete", request: req, response }];
59786
59798
  }
@@ -71997,7 +72009,10 @@ var init_supportCreateTicket2 = __esm(() => {
71997
72009
  description: `Create a support ticket for a Moov account.
71998
72010
 
71999
72011
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
72000
- you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.`,
72012
+ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
72013
+
72014
+ If you're creating the ticket on behalf of another account, then you'll need to
72015
+ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
72001
72016
  args: args110,
72002
72017
  tool: async (client, args111, ctx) => {
72003
72018
  const [result, apiCall] = await supportCreateTicket(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -72112,7 +72127,10 @@ var init_supportGetTicket2 = __esm(() => {
72112
72127
  description: `Retrieve a support ticket by ID.
72113
72128
 
72114
72129
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
72115
- you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
72130
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
72131
+
72132
+ If you're retrieving another account's ticket, then you'll need to
72133
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
72116
72134
  args: args111,
72117
72135
  tool: async (client, args112, ctx) => {
72118
72136
  const [result, apiCall] = await supportGetTicket(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -72227,7 +72245,10 @@ var init_supportListTicketMessages2 = __esm(() => {
72227
72245
  description: `List all the messages for a support ticket.
72228
72246
 
72229
72247
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
72230
- you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
72248
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
72249
+
72250
+ If you're listing another account's messages, then you'll need to
72251
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
72231
72252
  args: args112,
72232
72253
  tool: async (client, args113, ctx) => {
72233
72254
  const [result, apiCall] = await supportListTicketMessages(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -72344,7 +72365,10 @@ var init_supportListTickets2 = __esm(() => {
72344
72365
  description: `List all the support tickets created under a Moov account.
72345
72366
 
72346
72367
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
72347
- you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
72368
+ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
72369
+
72370
+ If you're listing another account's tickets, then you'll need to
72371
+ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
72348
72372
  args: args113,
72349
72373
  tool: async (client, args114, ctx) => {
72350
72374
  const [result, apiCall] = await supportListTickets(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -72473,7 +72497,10 @@ var init_supportUpdateTicket2 = __esm(() => {
72473
72497
  description: `Updates a support ticket.
72474
72498
 
72475
72499
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
72476
- you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.`,
72500
+ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
72501
+
72502
+ If you're updating the ticket on behalf of another account, then you'll need to
72503
+ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
72477
72504
  args: args114,
72478
72505
  tool: async (client, args115, ctx) => {
72479
72506
  const [result, apiCall] = await supportUpdateTicket(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -75988,7 +76015,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75988
76015
  function createMCPServer(deps) {
75989
76016
  const server = new McpServer({
75990
76017
  name: "Moov",
75991
- version: "0.14.14"
76018
+ version: "0.14.16"
75992
76019
  });
75993
76020
  const client = new MoovCore({
75994
76021
  security: deps.security,
@@ -77498,7 +77525,7 @@ var routes = rn({
77498
77525
  var app = Ve(routes, {
77499
77526
  name: "mcp",
77500
77527
  versionInfo: {
77501
- currentVersion: "0.14.14"
77528
+ currentVersion: "0.14.16"
77502
77529
  }
77503
77530
  });
77504
77531
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -77506,5 +77533,5 @@ export {
77506
77533
  app
77507
77534
  };
77508
77535
 
77509
- //# debugId=6CC63C2844B7722864756E2164756E21
77536
+ //# debugId=855DC8641649F7E264756E2164756E21
77510
77537
  //# sourceMappingURL=mcp-server.js.map