@moovio/sdk 0.10.17 → 0.11.1

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 (197) hide show
  1. package/bin/mcp-server.js +868 -18
  2. package/bin/mcp-server.js.map +43 -9
  3. package/funcs/paymentLinksDisable.js +2 -2
  4. package/funcs/paymentLinksDisable.js.map +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/lib/config.js.map +1 -1
  9. package/lib/sdks.d.ts +3 -1
  10. package/lib/sdks.d.ts.map +1 -1
  11. package/lib/sdks.js +6 -11
  12. package/lib/sdks.js.map +1 -1
  13. package/mcp-server/mcp-server.js +1 -1
  14. package/mcp-server/mcp-server.js.map +1 -1
  15. package/mcp-server/server.js +1 -1
  16. package/mcp-server/server.js.map +1 -1
  17. package/models/components/index.d.ts +34 -0
  18. package/models/components/index.d.ts.map +1 -1
  19. package/models/components/index.js +34 -0
  20. package/models/components/index.js.map +1 -1
  21. package/models/components/webhookdata.d.ts +57 -0
  22. package/models/components/webhookdata.d.ts.map +1 -0
  23. package/models/components/webhookdata.js +154 -0
  24. package/models/components/webhookdata.js.map +1 -0
  25. package/models/components/webhookdataaccountcreated.d.ts +31 -0
  26. package/models/components/webhookdataaccountcreated.d.ts.map +1 -0
  27. package/models/components/webhookdataaccountcreated.js +71 -0
  28. package/models/components/webhookdataaccountcreated.js.map +1 -0
  29. package/models/components/webhookdataaccountdeleted.d.ts +31 -0
  30. package/models/components/webhookdataaccountdeleted.d.ts.map +1 -0
  31. package/models/components/webhookdataaccountdeleted.js +71 -0
  32. package/models/components/webhookdataaccountdeleted.js.map +1 -0
  33. package/models/components/webhookdataaccountupdated.d.ts +31 -0
  34. package/models/components/webhookdataaccountupdated.d.ts.map +1 -0
  35. package/models/components/webhookdataaccountupdated.js +71 -0
  36. package/models/components/webhookdataaccountupdated.js.map +1 -0
  37. package/models/components/webhookdatabalanceupdated.d.ts +31 -0
  38. package/models/components/webhookdatabalanceupdated.d.ts.map +1 -0
  39. package/models/components/webhookdatabalanceupdated.js +71 -0
  40. package/models/components/webhookdatabalanceupdated.js.map +1 -0
  41. package/models/components/webhookdatabankaccountcreated.d.ts +31 -0
  42. package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -0
  43. package/models/components/webhookdatabankaccountcreated.js +71 -0
  44. package/models/components/webhookdatabankaccountcreated.js.map +1 -0
  45. package/models/components/webhookdatabankaccountdeleted.d.ts +31 -0
  46. package/models/components/webhookdatabankaccountdeleted.d.ts.map +1 -0
  47. package/models/components/webhookdatabankaccountdeleted.js +71 -0
  48. package/models/components/webhookdatabankaccountdeleted.js.map +1 -0
  49. package/models/components/webhookdatabankaccountupdated.d.ts +46 -0
  50. package/models/components/webhookdatabankaccountupdated.d.ts.map +1 -0
  51. package/models/components/webhookdatabankaccountupdated.js +80 -0
  52. package/models/components/webhookdatabankaccountupdated.js.map +1 -0
  53. package/models/components/webhookdatacancellationcreated.d.ts +34 -0
  54. package/models/components/webhookdatacancellationcreated.d.ts.map +1 -0
  55. package/models/components/webhookdatacancellationcreated.js +74 -0
  56. package/models/components/webhookdatacancellationcreated.js.map +1 -0
  57. package/models/components/webhookdatacancellationupdated.d.ts +34 -0
  58. package/models/components/webhookdatacancellationupdated.d.ts.map +1 -0
  59. package/models/components/webhookdatacancellationupdated.js +74 -0
  60. package/models/components/webhookdatacancellationupdated.js.map +1 -0
  61. package/models/components/webhookdatacapabilityrequested.d.ts +41 -0
  62. package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -0
  63. package/models/components/webhookdatacapabilityrequested.js +74 -0
  64. package/models/components/webhookdatacapabilityrequested.js.map +1 -0
  65. package/models/components/webhookdatacapabilityupdated.d.ts +47 -0
  66. package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -0
  67. package/models/components/webhookdatacapabilityupdated.js +77 -0
  68. package/models/components/webhookdatacapabilityupdated.js.map +1 -0
  69. package/models/components/webhookdatacardautoupdated.d.ts +37 -0
  70. package/models/components/webhookdatacardautoupdated.d.ts.map +1 -0
  71. package/models/components/webhookdatacardautoupdated.js +74 -0
  72. package/models/components/webhookdatacardautoupdated.js.map +1 -0
  73. package/models/components/webhookdatadisputecreated.d.ts +51 -0
  74. package/models/components/webhookdatadisputecreated.d.ts.map +1 -0
  75. package/models/components/webhookdatadisputecreated.js +81 -0
  76. package/models/components/webhookdatadisputecreated.js.map +1 -0
  77. package/models/components/webhookdatadisputeupdated.d.ts +51 -0
  78. package/models/components/webhookdatadisputeupdated.d.ts.map +1 -0
  79. package/models/components/webhookdatadisputeupdated.js +81 -0
  80. package/models/components/webhookdatadisputeupdated.js.map +1 -0
  81. package/models/components/webhookdatanetworkidupdated.d.ts +39 -0
  82. package/models/components/webhookdatanetworkidupdated.d.ts.map +1 -0
  83. package/models/components/webhookdatanetworkidupdated.js +80 -0
  84. package/models/components/webhookdatanetworkidupdated.js.map +1 -0
  85. package/models/components/webhookdatapaymentmethoddisabled.d.ts +33 -0
  86. package/models/components/webhookdatapaymentmethoddisabled.d.ts.map +1 -0
  87. package/models/components/webhookdatapaymentmethoddisabled.js +73 -0
  88. package/models/components/webhookdatapaymentmethoddisabled.js.map +1 -0
  89. package/models/components/webhookdatapaymentmethodenabled.d.ts +33 -0
  90. package/models/components/webhookdatapaymentmethodenabled.d.ts.map +1 -0
  91. package/models/components/webhookdatapaymentmethodenabled.js +73 -0
  92. package/models/components/webhookdatapaymentmethodenabled.js.map +1 -0
  93. package/models/components/webhookdatarefundcreated.d.ts +33 -0
  94. package/models/components/webhookdatarefundcreated.d.ts.map +1 -0
  95. package/models/components/webhookdatarefundcreated.js +73 -0
  96. package/models/components/webhookdatarefundcreated.js.map +1 -0
  97. package/models/components/webhookdatarefundupdated.d.ts +36 -0
  98. package/models/components/webhookdatarefundupdated.d.ts.map +1 -0
  99. package/models/components/webhookdatarefundupdated.js +76 -0
  100. package/models/components/webhookdatarefundupdated.js.map +1 -0
  101. package/models/components/webhookdatarepresentativecreated.d.ts +31 -0
  102. package/models/components/webhookdatarepresentativecreated.d.ts.map +1 -0
  103. package/models/components/webhookdatarepresentativecreated.js +71 -0
  104. package/models/components/webhookdatarepresentativecreated.js.map +1 -0
  105. package/models/components/webhookdatarepresentativedisabled.d.ts +31 -0
  106. package/models/components/webhookdatarepresentativedisabled.d.ts.map +1 -0
  107. package/models/components/webhookdatarepresentativedisabled.js +71 -0
  108. package/models/components/webhookdatarepresentativedisabled.js.map +1 -0
  109. package/models/components/webhookdatarepresentativeupdated.d.ts +31 -0
  110. package/models/components/webhookdatarepresentativeupdated.d.ts.map +1 -0
  111. package/models/components/webhookdatarepresentativeupdated.js +71 -0
  112. package/models/components/webhookdatarepresentativeupdated.js.map +1 -0
  113. package/models/components/webhookdatasweepcreated.d.ts +31 -0
  114. package/models/components/webhookdatasweepcreated.d.ts.map +1 -0
  115. package/models/components/webhookdatasweepcreated.js +71 -0
  116. package/models/components/webhookdatasweepcreated.js.map +1 -0
  117. package/models/components/webhookdatasweepupdated.d.ts +36 -0
  118. package/models/components/webhookdatasweepupdated.d.ts.map +1 -0
  119. package/models/components/webhookdatasweepupdated.js +76 -0
  120. package/models/components/webhookdatasweepupdated.js.map +1 -0
  121. package/models/components/webhookdataterminalapplicationcreated.d.ts +35 -0
  122. package/models/components/webhookdataterminalapplicationcreated.d.ts.map +1 -0
  123. package/models/components/webhookdataterminalapplicationcreated.js +72 -0
  124. package/models/components/webhookdataterminalapplicationcreated.js.map +1 -0
  125. package/models/components/webhookdataterminalapplicationupdated.d.ts +35 -0
  126. package/models/components/webhookdataterminalapplicationupdated.d.ts.map +1 -0
  127. package/models/components/webhookdataterminalapplicationupdated.js +72 -0
  128. package/models/components/webhookdataterminalapplicationupdated.js.map +1 -0
  129. package/models/components/webhookdatatransfercreated.d.ts +40 -0
  130. package/models/components/webhookdatatransfercreated.d.ts.map +1 -0
  131. package/models/components/webhookdatatransfercreated.js +74 -0
  132. package/models/components/webhookdatatransfercreated.js.map +1 -0
  133. package/models/components/webhookdatatransferupdated.d.ts +51 -0
  134. package/models/components/webhookdatatransferupdated.d.ts.map +1 -0
  135. package/models/components/webhookdatatransferupdated.js +79 -0
  136. package/models/components/webhookdatatransferupdated.js.map +1 -0
  137. package/models/components/webhookdatawallettransactionupdated.d.ts +42 -0
  138. package/models/components/webhookdatawallettransactionupdated.d.ts.map +1 -0
  139. package/models/components/webhookdatawallettransactionupdated.js +79 -0
  140. package/models/components/webhookdatawallettransactionupdated.js.map +1 -0
  141. package/models/components/webhookevent.d.ts +49 -0
  142. package/models/components/webhookevent.d.ts.map +1 -0
  143. package/models/components/webhookevent.js +77 -0
  144. package/models/components/webhookevent.js.map +1 -0
  145. package/models/components/webhookeventtype.d.ts +115 -0
  146. package/models/components/webhookeventtype.d.ts.map +1 -0
  147. package/models/components/webhookeventtype.js +90 -0
  148. package/models/components/webhookeventtype.js.map +1 -0
  149. package/models/components/webhooktransferpaymentmethoddetails.d.ts +34 -0
  150. package/models/components/webhooktransferpaymentmethoddetails.d.ts.map +1 -0
  151. package/models/components/webhooktransferpaymentmethoddetails.js +71 -0
  152. package/models/components/webhooktransferpaymentmethoddetails.js.map +1 -0
  153. package/models/components/webhookwalletavailablebalance.d.ts +36 -0
  154. package/models/components/webhookwalletavailablebalance.d.ts.map +1 -0
  155. package/models/components/webhookwalletavailablebalance.js +73 -0
  156. package/models/components/webhookwalletavailablebalance.js.map +1 -0
  157. package/package.json +1 -1
  158. package/src/funcs/paymentLinksDisable.ts +3 -1
  159. package/src/lib/config.ts +3 -3
  160. package/src/lib/sdks.ts +11 -11
  161. package/src/mcp-server/mcp-server.ts +1 -1
  162. package/src/mcp-server/server.ts +1 -1
  163. package/src/models/components/index.ts +34 -0
  164. package/src/models/components/webhookdata.ts +349 -0
  165. package/src/models/components/webhookdataaccountcreated.ts +70 -0
  166. package/src/models/components/webhookdataaccountdeleted.ts +70 -0
  167. package/src/models/components/webhookdataaccountupdated.ts +70 -0
  168. package/src/models/components/webhookdatabalanceupdated.ts +70 -0
  169. package/src/models/components/webhookdatabankaccountcreated.ts +72 -0
  170. package/src/models/components/webhookdatabankaccountdeleted.ts +72 -0
  171. package/src/models/components/webhookdatabankaccountupdated.ts +106 -0
  172. package/src/models/components/webhookdatacancellationcreated.ts +81 -0
  173. package/src/models/components/webhookdatacancellationupdated.ts +81 -0
  174. package/src/models/components/webhookdatacapabilityrequested.ts +88 -0
  175. package/src/models/components/webhookdatacapabilityupdated.ts +100 -0
  176. package/src/models/components/webhookdatacardautoupdated.ts +82 -0
  177. package/src/models/components/webhookdatadisputecreated.ts +106 -0
  178. package/src/models/components/webhookdatadisputeupdated.ts +106 -0
  179. package/src/models/components/webhookdatanetworkidupdated.ts +89 -0
  180. package/src/models/components/webhookdatapaymentmethoddisabled.ts +76 -0
  181. package/src/models/components/webhookdatapaymentmethodenabled.ts +76 -0
  182. package/src/models/components/webhookdatarefundcreated.ts +74 -0
  183. package/src/models/components/webhookdatarefundupdated.ts +83 -0
  184. package/src/models/components/webhookdatarepresentativecreated.ts +72 -0
  185. package/src/models/components/webhookdatarepresentativedisabled.ts +73 -0
  186. package/src/models/components/webhookdatarepresentativeupdated.ts +72 -0
  187. package/src/models/components/webhookdatasweepcreated.ts +70 -0
  188. package/src/models/components/webhookdatasweepupdated.ts +83 -0
  189. package/src/models/components/webhookdataterminalapplicationcreated.ts +83 -0
  190. package/src/models/components/webhookdataterminalapplicationupdated.ts +83 -0
  191. package/src/models/components/webhookdatatransfercreated.ts +85 -0
  192. package/src/models/components/webhookdatatransferupdated.ts +105 -0
  193. package/src/models/components/webhookdatawallettransactionupdated.ts +101 -0
  194. package/src/models/components/webhookevent.ts +97 -0
  195. package/src/models/components/webhookeventtype.ts +66 -0
  196. package/src/models/components/webhooktransferpaymentmethoddetails.ts +78 -0
  197. package/src/models/components/webhookwalletavailablebalance.ts +79 -0
package/bin/mcp-server.js CHANGED
@@ -34207,9 +34207,9 @@ var init_config = __esm(() => {
34207
34207
  SDK_METADATA = {
34208
34208
  language: "typescript",
34209
34209
  openapiDocVersion: "latest",
34210
- sdkVersion: "0.10.17",
34211
- genVersion: "2.591.1",
34212
- userAgent: "speakeasy-sdk/typescript 0.10.17 2.591.1 latest @moovio/sdk"
34210
+ sdkVersion: "0.11.1",
34211
+ genVersion: "2.595.4",
34212
+ userAgent: "speakeasy-sdk/typescript 0.11.1 2.595.4 latest @moovio/sdk"
34213
34213
  };
34214
34214
  });
34215
34215
 
@@ -34815,26 +34815,22 @@ class ClientSDK {
34815
34815
  }
34816
34816
  cookie = cookie.startsWith("; ") ? cookie.slice(2) : cookie;
34817
34817
  headers.set("cookie", cookie);
34818
- const userHeaders = new Headers(options?.fetchOptions?.headers);
34818
+ const userHeaders = new Headers(options?.headers ?? options?.fetchOptions?.headers);
34819
34819
  for (const [k2, v2] of userHeaders) {
34820
34820
  headers.set(k2, v2);
34821
34821
  }
34822
34822
  if (!isBrowserLike) {
34823
34823
  headers.set(conf.uaHeader ?? "user-agent", SDK_METADATA.userAgent);
34824
34824
  }
34825
- let fetchOptions = options?.fetchOptions;
34825
+ const fetchOptions = {
34826
+ ...options?.fetchOptions,
34827
+ ...options
34828
+ };
34826
34829
  if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
34827
34830
  const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
34828
- if (!fetchOptions) {
34829
- fetchOptions = { signal: timeoutSignal };
34830
- } else {
34831
- fetchOptions.signal = timeoutSignal;
34832
- }
34831
+ fetchOptions.signal = timeoutSignal;
34833
34832
  }
34834
34833
  if (conf.body instanceof ReadableStream) {
34835
- if (!fetchOptions) {
34836
- fetchOptions = {};
34837
- }
34838
34834
  Object.assign(fetchOptions, { duplex: "half" });
34839
34835
  }
34840
34836
  let input;
@@ -44833,6 +44829,826 @@ var init_wallettransaction = __esm(() => {
44833
44829
  })(WalletTransaction$ ||= {});
44834
44830
  });
44835
44831
 
44832
+ // src/models/components/webhookdataaccountcreated.ts
44833
+ var WebhookDataAccountCreated$inboundSchema, WebhookDataAccountCreated$outboundSchema, WebhookDataAccountCreated$;
44834
+ var init_webhookdataaccountcreated = __esm(() => {
44835
+ init_lib();
44836
+ WebhookDataAccountCreated$inboundSchema = objectType({
44837
+ accountID: stringType(),
44838
+ foreignID: stringType().optional()
44839
+ });
44840
+ WebhookDataAccountCreated$outboundSchema = objectType({
44841
+ accountID: stringType(),
44842
+ foreignID: stringType().optional()
44843
+ });
44844
+ ((WebhookDataAccountCreated$) => {
44845
+ WebhookDataAccountCreated$.inboundSchema = WebhookDataAccountCreated$inboundSchema;
44846
+ WebhookDataAccountCreated$.outboundSchema = WebhookDataAccountCreated$outboundSchema;
44847
+ })(WebhookDataAccountCreated$ ||= {});
44848
+ });
44849
+
44850
+ // src/models/components/webhookdataaccountdeleted.ts
44851
+ var WebhookDataAccountDeleted$inboundSchema, WebhookDataAccountDeleted$outboundSchema, WebhookDataAccountDeleted$;
44852
+ var init_webhookdataaccountdeleted = __esm(() => {
44853
+ init_lib();
44854
+ WebhookDataAccountDeleted$inboundSchema = objectType({
44855
+ accountID: stringType(),
44856
+ foreignID: stringType().optional()
44857
+ });
44858
+ WebhookDataAccountDeleted$outboundSchema = objectType({
44859
+ accountID: stringType(),
44860
+ foreignID: stringType().optional()
44861
+ });
44862
+ ((WebhookDataAccountDeleted$) => {
44863
+ WebhookDataAccountDeleted$.inboundSchema = WebhookDataAccountDeleted$inboundSchema;
44864
+ WebhookDataAccountDeleted$.outboundSchema = WebhookDataAccountDeleted$outboundSchema;
44865
+ })(WebhookDataAccountDeleted$ ||= {});
44866
+ });
44867
+
44868
+ // src/models/components/webhookdataaccountupdated.ts
44869
+ var WebhookDataAccountUpdated$inboundSchema, WebhookDataAccountUpdated$outboundSchema, WebhookDataAccountUpdated$;
44870
+ var init_webhookdataaccountupdated = __esm(() => {
44871
+ init_lib();
44872
+ WebhookDataAccountUpdated$inboundSchema = objectType({
44873
+ accountID: stringType(),
44874
+ foreignID: stringType().optional()
44875
+ });
44876
+ WebhookDataAccountUpdated$outboundSchema = objectType({
44877
+ accountID: stringType(),
44878
+ foreignID: stringType().optional()
44879
+ });
44880
+ ((WebhookDataAccountUpdated$) => {
44881
+ WebhookDataAccountUpdated$.inboundSchema = WebhookDataAccountUpdated$inboundSchema;
44882
+ WebhookDataAccountUpdated$.outboundSchema = WebhookDataAccountUpdated$outboundSchema;
44883
+ })(WebhookDataAccountUpdated$ ||= {});
44884
+ });
44885
+
44886
+ // src/models/components/webhookdatabalanceupdated.ts
44887
+ var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema, WebhookDataBalanceUpdated$;
44888
+ var init_webhookdatabalanceupdated = __esm(() => {
44889
+ init_lib();
44890
+ WebhookDataBalanceUpdated$inboundSchema = objectType({
44891
+ accountID: stringType(),
44892
+ walletID: stringType()
44893
+ });
44894
+ WebhookDataBalanceUpdated$outboundSchema = objectType({
44895
+ accountID: stringType(),
44896
+ walletID: stringType()
44897
+ });
44898
+ ((WebhookDataBalanceUpdated$) => {
44899
+ WebhookDataBalanceUpdated$.inboundSchema = WebhookDataBalanceUpdated$inboundSchema;
44900
+ WebhookDataBalanceUpdated$.outboundSchema = WebhookDataBalanceUpdated$outboundSchema;
44901
+ })(WebhookDataBalanceUpdated$ ||= {});
44902
+ });
44903
+
44904
+ // src/models/components/webhookdatabankaccountcreated.ts
44905
+ var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema, WebhookDataBankAccountCreated$;
44906
+ var init_webhookdatabankaccountcreated = __esm(() => {
44907
+ init_lib();
44908
+ WebhookDataBankAccountCreated$inboundSchema = objectType({
44909
+ bankAccountID: stringType(),
44910
+ accountID: stringType()
44911
+ });
44912
+ WebhookDataBankAccountCreated$outboundSchema = objectType({
44913
+ bankAccountID: stringType(),
44914
+ accountID: stringType()
44915
+ });
44916
+ ((WebhookDataBankAccountCreated$) => {
44917
+ WebhookDataBankAccountCreated$.inboundSchema = WebhookDataBankAccountCreated$inboundSchema;
44918
+ WebhookDataBankAccountCreated$.outboundSchema = WebhookDataBankAccountCreated$outboundSchema;
44919
+ })(WebhookDataBankAccountCreated$ ||= {});
44920
+ });
44921
+
44922
+ // src/models/components/webhookdatabankaccountdeleted.ts
44923
+ var WebhookDataBankAccountDeleted$inboundSchema, WebhookDataBankAccountDeleted$outboundSchema, WebhookDataBankAccountDeleted$;
44924
+ var init_webhookdatabankaccountdeleted = __esm(() => {
44925
+ init_lib();
44926
+ WebhookDataBankAccountDeleted$inboundSchema = objectType({
44927
+ bankAccountID: stringType(),
44928
+ accountID: stringType()
44929
+ });
44930
+ WebhookDataBankAccountDeleted$outboundSchema = objectType({
44931
+ bankAccountID: stringType(),
44932
+ accountID: stringType()
44933
+ });
44934
+ ((WebhookDataBankAccountDeleted$) => {
44935
+ WebhookDataBankAccountDeleted$.inboundSchema = WebhookDataBankAccountDeleted$inboundSchema;
44936
+ WebhookDataBankAccountDeleted$.outboundSchema = WebhookDataBankAccountDeleted$outboundSchema;
44937
+ })(WebhookDataBankAccountDeleted$ ||= {});
44938
+ });
44939
+
44940
+ // src/models/components/webhookdatabankaccountupdated.ts
44941
+ var WebhookDataBankAccountUpdated$inboundSchema, WebhookDataBankAccountUpdated$outboundSchema, WebhookDataBankAccountUpdated$;
44942
+ var init_webhookdatabankaccountupdated = __esm(() => {
44943
+ init_lib();
44944
+ init_bankaccountexception();
44945
+ init_bankaccountstatus();
44946
+ init_bankaccountstatusreason();
44947
+ WebhookDataBankAccountUpdated$inboundSchema = objectType({
44948
+ bankAccountID: stringType(),
44949
+ accountID: stringType(),
44950
+ status: BankAccountStatus$inboundSchema,
44951
+ statusReason: BankAccountStatusReason$inboundSchema,
44952
+ exceptionDetails: BankAccountException$inboundSchema.optional()
44953
+ });
44954
+ WebhookDataBankAccountUpdated$outboundSchema = objectType({
44955
+ bankAccountID: stringType(),
44956
+ accountID: stringType(),
44957
+ status: BankAccountStatus$outboundSchema,
44958
+ statusReason: BankAccountStatusReason$outboundSchema,
44959
+ exceptionDetails: BankAccountException$outboundSchema.optional()
44960
+ });
44961
+ ((WebhookDataBankAccountUpdated$) => {
44962
+ WebhookDataBankAccountUpdated$.inboundSchema = WebhookDataBankAccountUpdated$inboundSchema;
44963
+ WebhookDataBankAccountUpdated$.outboundSchema = WebhookDataBankAccountUpdated$outboundSchema;
44964
+ })(WebhookDataBankAccountUpdated$ ||= {});
44965
+ });
44966
+
44967
+ // src/models/components/webhookdatacancellationcreated.ts
44968
+ var WebhookDataCancellationCreated$inboundSchema, WebhookDataCancellationCreated$outboundSchema, WebhookDataCancellationCreated$;
44969
+ var init_webhookdatacancellationcreated = __esm(() => {
44970
+ init_lib();
44971
+ init_cancellationstatus();
44972
+ WebhookDataCancellationCreated$inboundSchema = objectType({
44973
+ cancellationID: stringType(),
44974
+ transferID: stringType(),
44975
+ status: CancellationStatus$inboundSchema
44976
+ });
44977
+ WebhookDataCancellationCreated$outboundSchema = objectType({
44978
+ cancellationID: stringType(),
44979
+ transferID: stringType(),
44980
+ status: CancellationStatus$outboundSchema
44981
+ });
44982
+ ((WebhookDataCancellationCreated$) => {
44983
+ WebhookDataCancellationCreated$.inboundSchema = WebhookDataCancellationCreated$inboundSchema;
44984
+ WebhookDataCancellationCreated$.outboundSchema = WebhookDataCancellationCreated$outboundSchema;
44985
+ })(WebhookDataCancellationCreated$ ||= {});
44986
+ });
44987
+
44988
+ // src/models/components/webhookdatacancellationupdated.ts
44989
+ var WebhookDataCancellationUpdated$inboundSchema, WebhookDataCancellationUpdated$outboundSchema, WebhookDataCancellationUpdated$;
44990
+ var init_webhookdatacancellationupdated = __esm(() => {
44991
+ init_lib();
44992
+ init_cancellationstatus();
44993
+ WebhookDataCancellationUpdated$inboundSchema = objectType({
44994
+ cancellationID: stringType(),
44995
+ transferID: stringType(),
44996
+ status: CancellationStatus$inboundSchema
44997
+ });
44998
+ WebhookDataCancellationUpdated$outboundSchema = objectType({
44999
+ cancellationID: stringType(),
45000
+ transferID: stringType(),
45001
+ status: CancellationStatus$outboundSchema
45002
+ });
45003
+ ((WebhookDataCancellationUpdated$) => {
45004
+ WebhookDataCancellationUpdated$.inboundSchema = WebhookDataCancellationUpdated$inboundSchema;
45005
+ WebhookDataCancellationUpdated$.outboundSchema = WebhookDataCancellationUpdated$outboundSchema;
45006
+ })(WebhookDataCancellationUpdated$ ||= {});
45007
+ });
45008
+
45009
+ // src/models/components/webhookdatacapabilityrequested.ts
45010
+ var WebhookDataCapabilityRequested$inboundSchema, WebhookDataCapabilityRequested$outboundSchema, WebhookDataCapabilityRequested$;
45011
+ var init_webhookdatacapabilityrequested = __esm(() => {
45012
+ init_lib();
45013
+ init_capabilityid();
45014
+ WebhookDataCapabilityRequested$inboundSchema = objectType({
45015
+ accountID: stringType(),
45016
+ foreignID: stringType().optional(),
45017
+ capabilityID: CapabilityID$inboundSchema
45018
+ });
45019
+ WebhookDataCapabilityRequested$outboundSchema = objectType({
45020
+ accountID: stringType(),
45021
+ foreignID: stringType().optional(),
45022
+ capabilityID: CapabilityID$outboundSchema
45023
+ });
45024
+ ((WebhookDataCapabilityRequested$) => {
45025
+ WebhookDataCapabilityRequested$.inboundSchema = WebhookDataCapabilityRequested$inboundSchema;
45026
+ WebhookDataCapabilityRequested$.outboundSchema = WebhookDataCapabilityRequested$outboundSchema;
45027
+ })(WebhookDataCapabilityRequested$ ||= {});
45028
+ });
45029
+
45030
+ // src/models/components/webhookdatacapabilityupdated.ts
45031
+ var WebhookDataCapabilityUpdated$inboundSchema, WebhookDataCapabilityUpdated$outboundSchema, WebhookDataCapabilityUpdated$;
45032
+ var init_webhookdatacapabilityupdated = __esm(() => {
45033
+ init_lib();
45034
+ init_capabilityid();
45035
+ init_capabilitystatus();
45036
+ WebhookDataCapabilityUpdated$inboundSchema = objectType({
45037
+ accountID: stringType(),
45038
+ foreignID: stringType().optional(),
45039
+ capabilityID: CapabilityID$inboundSchema,
45040
+ status: CapabilityStatus$inboundSchema
45041
+ });
45042
+ WebhookDataCapabilityUpdated$outboundSchema = objectType({
45043
+ accountID: stringType(),
45044
+ foreignID: stringType().optional(),
45045
+ capabilityID: CapabilityID$outboundSchema,
45046
+ status: CapabilityStatus$outboundSchema
45047
+ });
45048
+ ((WebhookDataCapabilityUpdated$) => {
45049
+ WebhookDataCapabilityUpdated$.inboundSchema = WebhookDataCapabilityUpdated$inboundSchema;
45050
+ WebhookDataCapabilityUpdated$.outboundSchema = WebhookDataCapabilityUpdated$outboundSchema;
45051
+ })(WebhookDataCapabilityUpdated$ ||= {});
45052
+ });
45053
+
45054
+ // src/models/components/webhookdatacardautoupdated.ts
45055
+ var WebhookDataCardAutoUpdated$inboundSchema, WebhookDataCardAutoUpdated$outboundSchema, WebhookDataCardAutoUpdated$;
45056
+ var init_webhookdatacardautoupdated = __esm(() => {
45057
+ init_lib();
45058
+ init_cardupdatereason();
45059
+ WebhookDataCardAutoUpdated$inboundSchema = objectType({
45060
+ cardID: stringType(),
45061
+ accountID: stringType(),
45062
+ updateType: CardUpdateReason$inboundSchema
45063
+ });
45064
+ WebhookDataCardAutoUpdated$outboundSchema = objectType({
45065
+ cardID: stringType(),
45066
+ accountID: stringType(),
45067
+ updateType: CardUpdateReason$outboundSchema
45068
+ });
45069
+ ((WebhookDataCardAutoUpdated$) => {
45070
+ WebhookDataCardAutoUpdated$.inboundSchema = WebhookDataCardAutoUpdated$inboundSchema;
45071
+ WebhookDataCardAutoUpdated$.outboundSchema = WebhookDataCardAutoUpdated$outboundSchema;
45072
+ })(WebhookDataCardAutoUpdated$ ||= {});
45073
+ });
45074
+
45075
+ // src/models/components/webhookdatadisputecreated.ts
45076
+ var WebhookDataDisputeCreated$inboundSchema, WebhookDataDisputeCreated$outboundSchema, WebhookDataDisputeCreated$;
45077
+ var init_webhookdatadisputecreated = __esm(() => {
45078
+ init_lib();
45079
+ init_disputephase();
45080
+ init_disputestatus();
45081
+ WebhookDataDisputeCreated$inboundSchema = objectType({
45082
+ accountID: stringType(),
45083
+ transferID: stringType(),
45084
+ transactionID: stringType(),
45085
+ disputeID: stringType(),
45086
+ status: DisputeStatus$inboundSchema,
45087
+ phase: DisputePhase$inboundSchema
45088
+ });
45089
+ WebhookDataDisputeCreated$outboundSchema = objectType({
45090
+ accountID: stringType(),
45091
+ transferID: stringType(),
45092
+ transactionID: stringType(),
45093
+ disputeID: stringType(),
45094
+ status: DisputeStatus$outboundSchema,
45095
+ phase: DisputePhase$outboundSchema
45096
+ });
45097
+ ((WebhookDataDisputeCreated$) => {
45098
+ WebhookDataDisputeCreated$.inboundSchema = WebhookDataDisputeCreated$inboundSchema;
45099
+ WebhookDataDisputeCreated$.outboundSchema = WebhookDataDisputeCreated$outboundSchema;
45100
+ })(WebhookDataDisputeCreated$ ||= {});
45101
+ });
45102
+
45103
+ // src/models/components/webhookdatadisputeupdated.ts
45104
+ var WebhookDataDisputeUpdated$inboundSchema, WebhookDataDisputeUpdated$outboundSchema, WebhookDataDisputeUpdated$;
45105
+ var init_webhookdatadisputeupdated = __esm(() => {
45106
+ init_lib();
45107
+ init_disputephase();
45108
+ init_disputestatus();
45109
+ WebhookDataDisputeUpdated$inboundSchema = objectType({
45110
+ accountID: stringType(),
45111
+ transferID: stringType(),
45112
+ transactionID: stringType(),
45113
+ disputeID: stringType(),
45114
+ status: DisputeStatus$inboundSchema,
45115
+ phase: DisputePhase$inboundSchema
45116
+ });
45117
+ WebhookDataDisputeUpdated$outboundSchema = objectType({
45118
+ accountID: stringType(),
45119
+ transferID: stringType(),
45120
+ transactionID: stringType(),
45121
+ disputeID: stringType(),
45122
+ status: DisputeStatus$outboundSchema,
45123
+ phase: DisputePhase$outboundSchema
45124
+ });
45125
+ ((WebhookDataDisputeUpdated$) => {
45126
+ WebhookDataDisputeUpdated$.inboundSchema = WebhookDataDisputeUpdated$inboundSchema;
45127
+ WebhookDataDisputeUpdated$.outboundSchema = WebhookDataDisputeUpdated$outboundSchema;
45128
+ })(WebhookDataDisputeUpdated$ ||= {});
45129
+ });
45130
+
45131
+ // src/models/components/webhookdatanetworkidupdated.ts
45132
+ var WebhookDataNetworkIDUpdated$inboundSchema, WebhookDataNetworkIDUpdated$outboundSchema, WebhookDataNetworkIDUpdated$;
45133
+ var init_webhookdatanetworkidupdated = __esm(() => {
45134
+ init_lib();
45135
+ WebhookDataNetworkIDUpdated$inboundSchema = objectType({
45136
+ accountID: stringType(),
45137
+ visaMid: stringType().optional(),
45138
+ mastercardMid: stringType().optional(),
45139
+ discoverMid: stringType().optional(),
45140
+ amexMid: stringType().optional(),
45141
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
45142
+ });
45143
+ WebhookDataNetworkIDUpdated$outboundSchema = objectType({
45144
+ accountID: stringType(),
45145
+ visaMid: stringType().optional(),
45146
+ mastercardMid: stringType().optional(),
45147
+ discoverMid: stringType().optional(),
45148
+ amexMid: stringType().optional(),
45149
+ updatedOn: dateType().transform((v2) => v2.toISOString()).optional()
45150
+ });
45151
+ ((WebhookDataNetworkIDUpdated$) => {
45152
+ WebhookDataNetworkIDUpdated$.inboundSchema = WebhookDataNetworkIDUpdated$inboundSchema;
45153
+ WebhookDataNetworkIDUpdated$.outboundSchema = WebhookDataNetworkIDUpdated$outboundSchema;
45154
+ })(WebhookDataNetworkIDUpdated$ ||= {});
45155
+ });
45156
+
45157
+ // src/models/components/webhookdatapaymentmethoddisabled.ts
45158
+ var WebhookDataPaymentMethodDisabled$inboundSchema, WebhookDataPaymentMethodDisabled$outboundSchema, WebhookDataPaymentMethodDisabled$;
45159
+ var init_webhookdatapaymentmethoddisabled = __esm(() => {
45160
+ init_lib();
45161
+ WebhookDataPaymentMethodDisabled$inboundSchema = objectType({
45162
+ accountID: stringType(),
45163
+ paymentMethodID: stringType(),
45164
+ sourceID: stringType()
45165
+ });
45166
+ WebhookDataPaymentMethodDisabled$outboundSchema = objectType({
45167
+ accountID: stringType(),
45168
+ paymentMethodID: stringType(),
45169
+ sourceID: stringType()
45170
+ });
45171
+ ((WebhookDataPaymentMethodDisabled$) => {
45172
+ WebhookDataPaymentMethodDisabled$.inboundSchema = WebhookDataPaymentMethodDisabled$inboundSchema;
45173
+ WebhookDataPaymentMethodDisabled$.outboundSchema = WebhookDataPaymentMethodDisabled$outboundSchema;
45174
+ })(WebhookDataPaymentMethodDisabled$ ||= {});
45175
+ });
45176
+
45177
+ // src/models/components/webhookdatapaymentmethodenabled.ts
45178
+ var WebhookDataPaymentMethodEnabled$inboundSchema, WebhookDataPaymentMethodEnabled$outboundSchema, WebhookDataPaymentMethodEnabled$;
45179
+ var init_webhookdatapaymentmethodenabled = __esm(() => {
45180
+ init_lib();
45181
+ WebhookDataPaymentMethodEnabled$inboundSchema = objectType({
45182
+ accountID: stringType(),
45183
+ paymentMethodID: stringType(),
45184
+ sourceID: stringType()
45185
+ });
45186
+ WebhookDataPaymentMethodEnabled$outboundSchema = objectType({
45187
+ accountID: stringType(),
45188
+ paymentMethodID: stringType(),
45189
+ sourceID: stringType()
45190
+ });
45191
+ ((WebhookDataPaymentMethodEnabled$) => {
45192
+ WebhookDataPaymentMethodEnabled$.inboundSchema = WebhookDataPaymentMethodEnabled$inboundSchema;
45193
+ WebhookDataPaymentMethodEnabled$.outboundSchema = WebhookDataPaymentMethodEnabled$outboundSchema;
45194
+ })(WebhookDataPaymentMethodEnabled$ ||= {});
45195
+ });
45196
+
45197
+ // src/models/components/webhookdatarefundcreated.ts
45198
+ var WebhookDataRefundCreated$inboundSchema, WebhookDataRefundCreated$outboundSchema, WebhookDataRefundCreated$;
45199
+ var init_webhookdatarefundcreated = __esm(() => {
45200
+ init_lib();
45201
+ WebhookDataRefundCreated$inboundSchema = objectType({
45202
+ accountID: stringType(),
45203
+ transferID: stringType(),
45204
+ refundID: stringType()
45205
+ });
45206
+ WebhookDataRefundCreated$outboundSchema = objectType({
45207
+ accountID: stringType(),
45208
+ transferID: stringType(),
45209
+ refundID: stringType()
45210
+ });
45211
+ ((WebhookDataRefundCreated$) => {
45212
+ WebhookDataRefundCreated$.inboundSchema = WebhookDataRefundCreated$inboundSchema;
45213
+ WebhookDataRefundCreated$.outboundSchema = WebhookDataRefundCreated$outboundSchema;
45214
+ })(WebhookDataRefundCreated$ ||= {});
45215
+ });
45216
+
45217
+ // src/models/components/webhookdatarefundupdated.ts
45218
+ var WebhookDataRefundUpdated$inboundSchema, WebhookDataRefundUpdated$outboundSchema, WebhookDataRefundUpdated$;
45219
+ var init_webhookdatarefundupdated = __esm(() => {
45220
+ init_lib();
45221
+ init_refundstatus();
45222
+ WebhookDataRefundUpdated$inboundSchema = objectType({
45223
+ accountID: stringType(),
45224
+ transferID: stringType(),
45225
+ refundID: stringType(),
45226
+ status: RefundStatus$inboundSchema
45227
+ });
45228
+ WebhookDataRefundUpdated$outboundSchema = objectType({
45229
+ accountID: stringType(),
45230
+ transferID: stringType(),
45231
+ refundID: stringType(),
45232
+ status: RefundStatus$outboundSchema
45233
+ });
45234
+ ((WebhookDataRefundUpdated$) => {
45235
+ WebhookDataRefundUpdated$.inboundSchema = WebhookDataRefundUpdated$inboundSchema;
45236
+ WebhookDataRefundUpdated$.outboundSchema = WebhookDataRefundUpdated$outboundSchema;
45237
+ })(WebhookDataRefundUpdated$ ||= {});
45238
+ });
45239
+
45240
+ // src/models/components/webhookdatarepresentativecreated.ts
45241
+ var WebhookDataRepresentativeCreated$inboundSchema, WebhookDataRepresentativeCreated$outboundSchema, WebhookDataRepresentativeCreated$;
45242
+ var init_webhookdatarepresentativecreated = __esm(() => {
45243
+ init_lib();
45244
+ WebhookDataRepresentativeCreated$inboundSchema = objectType({
45245
+ accountID: stringType(),
45246
+ representativeID: stringType()
45247
+ });
45248
+ WebhookDataRepresentativeCreated$outboundSchema = objectType({
45249
+ accountID: stringType(),
45250
+ representativeID: stringType()
45251
+ });
45252
+ ((WebhookDataRepresentativeCreated$) => {
45253
+ WebhookDataRepresentativeCreated$.inboundSchema = WebhookDataRepresentativeCreated$inboundSchema;
45254
+ WebhookDataRepresentativeCreated$.outboundSchema = WebhookDataRepresentativeCreated$outboundSchema;
45255
+ })(WebhookDataRepresentativeCreated$ ||= {});
45256
+ });
45257
+
45258
+ // src/models/components/webhookdatarepresentativedisabled.ts
45259
+ var WebhookDataRepresentativeDisabled$inboundSchema, WebhookDataRepresentativeDisabled$outboundSchema, WebhookDataRepresentativeDisabled$;
45260
+ var init_webhookdatarepresentativedisabled = __esm(() => {
45261
+ init_lib();
45262
+ WebhookDataRepresentativeDisabled$inboundSchema = objectType({
45263
+ accountID: stringType(),
45264
+ representativeID: stringType()
45265
+ });
45266
+ WebhookDataRepresentativeDisabled$outboundSchema = objectType({
45267
+ accountID: stringType(),
45268
+ representativeID: stringType()
45269
+ });
45270
+ ((WebhookDataRepresentativeDisabled$) => {
45271
+ WebhookDataRepresentativeDisabled$.inboundSchema = WebhookDataRepresentativeDisabled$inboundSchema;
45272
+ WebhookDataRepresentativeDisabled$.outboundSchema = WebhookDataRepresentativeDisabled$outboundSchema;
45273
+ })(WebhookDataRepresentativeDisabled$ ||= {});
45274
+ });
45275
+
45276
+ // src/models/components/webhookdatarepresentativeupdated.ts
45277
+ var WebhookDataRepresentativeUpdated$inboundSchema, WebhookDataRepresentativeUpdated$outboundSchema, WebhookDataRepresentativeUpdated$;
45278
+ var init_webhookdatarepresentativeupdated = __esm(() => {
45279
+ init_lib();
45280
+ WebhookDataRepresentativeUpdated$inboundSchema = objectType({
45281
+ accountID: stringType(),
45282
+ representativeID: stringType()
45283
+ });
45284
+ WebhookDataRepresentativeUpdated$outboundSchema = objectType({
45285
+ accountID: stringType(),
45286
+ representativeID: stringType()
45287
+ });
45288
+ ((WebhookDataRepresentativeUpdated$) => {
45289
+ WebhookDataRepresentativeUpdated$.inboundSchema = WebhookDataRepresentativeUpdated$inboundSchema;
45290
+ WebhookDataRepresentativeUpdated$.outboundSchema = WebhookDataRepresentativeUpdated$outboundSchema;
45291
+ })(WebhookDataRepresentativeUpdated$ ||= {});
45292
+ });
45293
+
45294
+ // src/models/components/webhookdatasweepcreated.ts
45295
+ var WebhookDataSweepCreated$inboundSchema, WebhookDataSweepCreated$outboundSchema, WebhookDataSweepCreated$;
45296
+ var init_webhookdatasweepcreated = __esm(() => {
45297
+ init_lib();
45298
+ WebhookDataSweepCreated$inboundSchema = objectType({
45299
+ walletID: stringType(),
45300
+ sweepID: stringType()
45301
+ });
45302
+ WebhookDataSweepCreated$outboundSchema = objectType({
45303
+ walletID: stringType(),
45304
+ sweepID: stringType()
45305
+ });
45306
+ ((WebhookDataSweepCreated$) => {
45307
+ WebhookDataSweepCreated$.inboundSchema = WebhookDataSweepCreated$inboundSchema;
45308
+ WebhookDataSweepCreated$.outboundSchema = WebhookDataSweepCreated$outboundSchema;
45309
+ })(WebhookDataSweepCreated$ ||= {});
45310
+ });
45311
+
45312
+ // src/models/components/webhookdatasweepupdated.ts
45313
+ var WebhookDataSweepUpdated$inboundSchema, WebhookDataSweepUpdated$outboundSchema, WebhookDataSweepUpdated$;
45314
+ var init_webhookdatasweepupdated = __esm(() => {
45315
+ init_lib();
45316
+ init_sweepstatus();
45317
+ WebhookDataSweepUpdated$inboundSchema = objectType({
45318
+ walletID: stringType(),
45319
+ sweepID: stringType(),
45320
+ transferID: stringType().optional(),
45321
+ status: SweepStatus$inboundSchema
45322
+ });
45323
+ WebhookDataSweepUpdated$outboundSchema = objectType({
45324
+ walletID: stringType(),
45325
+ sweepID: stringType(),
45326
+ transferID: stringType().optional(),
45327
+ status: SweepStatus$outboundSchema
45328
+ });
45329
+ ((WebhookDataSweepUpdated$) => {
45330
+ WebhookDataSweepUpdated$.inboundSchema = WebhookDataSweepUpdated$inboundSchema;
45331
+ WebhookDataSweepUpdated$.outboundSchema = WebhookDataSweepUpdated$outboundSchema;
45332
+ })(WebhookDataSweepUpdated$ ||= {});
45333
+ });
45334
+
45335
+ // src/models/components/webhookdataterminalapplicationcreated.ts
45336
+ var WebhookDataTerminalApplicationCreated$inboundSchema, WebhookDataTerminalApplicationCreated$outboundSchema, WebhookDataTerminalApplicationCreated$;
45337
+ var init_webhookdataterminalapplicationcreated = __esm(() => {
45338
+ init_lib();
45339
+ init_terminalapplicationstatus();
45340
+ WebhookDataTerminalApplicationCreated$inboundSchema = objectType({
45341
+ terminalApplicationID: stringType(),
45342
+ status: TerminalApplicationStatus$inboundSchema
45343
+ });
45344
+ WebhookDataTerminalApplicationCreated$outboundSchema = objectType({
45345
+ terminalApplicationID: stringType(),
45346
+ status: TerminalApplicationStatus$outboundSchema
45347
+ });
45348
+ ((WebhookDataTerminalApplicationCreated$) => {
45349
+ WebhookDataTerminalApplicationCreated$.inboundSchema = WebhookDataTerminalApplicationCreated$inboundSchema;
45350
+ WebhookDataTerminalApplicationCreated$.outboundSchema = WebhookDataTerminalApplicationCreated$outboundSchema;
45351
+ })(WebhookDataTerminalApplicationCreated$ ||= {});
45352
+ });
45353
+
45354
+ // src/models/components/webhookdataterminalapplicationupdated.ts
45355
+ var WebhookDataTerminalApplicationUpdated$inboundSchema, WebhookDataTerminalApplicationUpdated$outboundSchema, WebhookDataTerminalApplicationUpdated$;
45356
+ var init_webhookdataterminalapplicationupdated = __esm(() => {
45357
+ init_lib();
45358
+ init_terminalapplicationstatus();
45359
+ WebhookDataTerminalApplicationUpdated$inboundSchema = objectType({
45360
+ terminalApplicationID: stringType(),
45361
+ status: TerminalApplicationStatus$inboundSchema
45362
+ });
45363
+ WebhookDataTerminalApplicationUpdated$outboundSchema = objectType({
45364
+ terminalApplicationID: stringType(),
45365
+ status: TerminalApplicationStatus$outboundSchema
45366
+ });
45367
+ ((WebhookDataTerminalApplicationUpdated$) => {
45368
+ WebhookDataTerminalApplicationUpdated$.inboundSchema = WebhookDataTerminalApplicationUpdated$inboundSchema;
45369
+ WebhookDataTerminalApplicationUpdated$.outboundSchema = WebhookDataTerminalApplicationUpdated$outboundSchema;
45370
+ })(WebhookDataTerminalApplicationUpdated$ ||= {});
45371
+ });
45372
+
45373
+ // src/models/components/webhookdatatransfercreated.ts
45374
+ var WebhookDataTransferCreated$inboundSchema, WebhookDataTransferCreated$outboundSchema, WebhookDataTransferCreated$;
45375
+ var init_webhookdatatransfercreated = __esm(() => {
45376
+ init_lib();
45377
+ init_transferstatus();
45378
+ WebhookDataTransferCreated$inboundSchema = objectType({
45379
+ accountID: stringType(),
45380
+ transferID: stringType(),
45381
+ status: TransferStatus$inboundSchema
45382
+ });
45383
+ WebhookDataTransferCreated$outboundSchema = objectType({
45384
+ accountID: stringType(),
45385
+ transferID: stringType(),
45386
+ status: TransferStatus$outboundSchema
45387
+ });
45388
+ ((WebhookDataTransferCreated$) => {
45389
+ WebhookDataTransferCreated$.inboundSchema = WebhookDataTransferCreated$inboundSchema;
45390
+ WebhookDataTransferCreated$.outboundSchema = WebhookDataTransferCreated$outboundSchema;
45391
+ })(WebhookDataTransferCreated$ ||= {});
45392
+ });
45393
+
45394
+ // src/models/components/webhooktransferpaymentmethoddetails.ts
45395
+ var WebhookTransferPaymentMethodDetails$inboundSchema, WebhookTransferPaymentMethodDetails$outboundSchema, WebhookTransferPaymentMethodDetails$;
45396
+ var init_webhooktransferpaymentmethoddetails = __esm(() => {
45397
+ init_lib();
45398
+ WebhookTransferPaymentMethodDetails$inboundSchema = objectType({
45399
+ accountID: stringType(),
45400
+ paymentMethodID: stringType()
45401
+ });
45402
+ WebhookTransferPaymentMethodDetails$outboundSchema = objectType({
45403
+ accountID: stringType(),
45404
+ paymentMethodID: stringType()
45405
+ });
45406
+ ((WebhookTransferPaymentMethodDetails$) => {
45407
+ WebhookTransferPaymentMethodDetails$.inboundSchema = WebhookTransferPaymentMethodDetails$inboundSchema;
45408
+ WebhookTransferPaymentMethodDetails$.outboundSchema = WebhookTransferPaymentMethodDetails$outboundSchema;
45409
+ })(WebhookTransferPaymentMethodDetails$ ||= {});
45410
+ });
45411
+
45412
+ // src/models/components/webhookdatatransferupdated.ts
45413
+ var WebhookDataTransferUpdated$inboundSchema, WebhookDataTransferUpdated$outboundSchema, WebhookDataTransferUpdated$;
45414
+ var init_webhookdatatransferupdated = __esm(() => {
45415
+ init_lib();
45416
+ init_transferstatus();
45417
+ init_webhooktransferpaymentmethoddetails();
45418
+ WebhookDataTransferUpdated$inboundSchema = objectType({
45419
+ accountID: stringType(),
45420
+ transferID: stringType(),
45421
+ status: TransferStatus$inboundSchema,
45422
+ source: WebhookTransferPaymentMethodDetails$inboundSchema,
45423
+ destination: WebhookTransferPaymentMethodDetails$inboundSchema
45424
+ });
45425
+ WebhookDataTransferUpdated$outboundSchema = objectType({
45426
+ accountID: stringType(),
45427
+ transferID: stringType(),
45428
+ status: TransferStatus$outboundSchema,
45429
+ source: WebhookTransferPaymentMethodDetails$outboundSchema,
45430
+ destination: WebhookTransferPaymentMethodDetails$outboundSchema
45431
+ });
45432
+ ((WebhookDataTransferUpdated$) => {
45433
+ WebhookDataTransferUpdated$.inboundSchema = WebhookDataTransferUpdated$inboundSchema;
45434
+ WebhookDataTransferUpdated$.outboundSchema = WebhookDataTransferUpdated$outboundSchema;
45435
+ })(WebhookDataTransferUpdated$ ||= {});
45436
+ });
45437
+
45438
+ // src/models/components/webhookwalletavailablebalance.ts
45439
+ var WebhookWalletAvailableBalance$inboundSchema, WebhookWalletAvailableBalance$outboundSchema, WebhookWalletAvailableBalance$;
45440
+ var init_webhookwalletavailablebalance = __esm(() => {
45441
+ init_lib();
45442
+ WebhookWalletAvailableBalance$inboundSchema = objectType({
45443
+ currency: stringType(),
45444
+ value: numberType().int(),
45445
+ valueDecimal: stringType()
45446
+ });
45447
+ WebhookWalletAvailableBalance$outboundSchema = objectType({
45448
+ currency: stringType(),
45449
+ value: numberType().int(),
45450
+ valueDecimal: stringType()
45451
+ });
45452
+ ((WebhookWalletAvailableBalance$) => {
45453
+ WebhookWalletAvailableBalance$.inboundSchema = WebhookWalletAvailableBalance$inboundSchema;
45454
+ WebhookWalletAvailableBalance$.outboundSchema = WebhookWalletAvailableBalance$outboundSchema;
45455
+ })(WebhookWalletAvailableBalance$ ||= {});
45456
+ });
45457
+
45458
+ // src/models/components/webhookdatawallettransactionupdated.ts
45459
+ var WebhookDataWalletTransactionUpdated$inboundSchema, WebhookDataWalletTransactionUpdated$outboundSchema, WebhookDataWalletTransactionUpdated$;
45460
+ var init_webhookdatawallettransactionupdated = __esm(() => {
45461
+ init_lib();
45462
+ init_wallettransactionstatus();
45463
+ init_webhookwalletavailablebalance();
45464
+ WebhookDataWalletTransactionUpdated$inboundSchema = objectType({
45465
+ accountID: stringType(),
45466
+ walletID: stringType(),
45467
+ transactionID: stringType(),
45468
+ status: WalletTransactionStatus$inboundSchema,
45469
+ availableBalance: WebhookWalletAvailableBalance$inboundSchema.optional()
45470
+ });
45471
+ WebhookDataWalletTransactionUpdated$outboundSchema = objectType({
45472
+ accountID: stringType(),
45473
+ walletID: stringType(),
45474
+ transactionID: stringType(),
45475
+ status: WalletTransactionStatus$outboundSchema,
45476
+ availableBalance: WebhookWalletAvailableBalance$outboundSchema.optional()
45477
+ });
45478
+ ((WebhookDataWalletTransactionUpdated$) => {
45479
+ WebhookDataWalletTransactionUpdated$.inboundSchema = WebhookDataWalletTransactionUpdated$inboundSchema;
45480
+ WebhookDataWalletTransactionUpdated$.outboundSchema = WebhookDataWalletTransactionUpdated$outboundSchema;
45481
+ })(WebhookDataWalletTransactionUpdated$ ||= {});
45482
+ });
45483
+
45484
+ // src/models/components/webhookdata.ts
45485
+ var WebhookData$inboundSchema, WebhookData$outboundSchema, WebhookData$;
45486
+ var init_webhookdata = __esm(() => {
45487
+ init_lib();
45488
+ init_webhookdataaccountcreated();
45489
+ init_webhookdataaccountdeleted();
45490
+ init_webhookdataaccountupdated();
45491
+ init_webhookdatabalanceupdated();
45492
+ init_webhookdatabankaccountcreated();
45493
+ init_webhookdatabankaccountdeleted();
45494
+ init_webhookdatabankaccountupdated();
45495
+ init_webhookdatacancellationcreated();
45496
+ init_webhookdatacancellationupdated();
45497
+ init_webhookdatacapabilityrequested();
45498
+ init_webhookdatacapabilityupdated();
45499
+ init_webhookdatacardautoupdated();
45500
+ init_webhookdatadisputecreated();
45501
+ init_webhookdatadisputeupdated();
45502
+ init_webhookdatanetworkidupdated();
45503
+ init_webhookdatapaymentmethoddisabled();
45504
+ init_webhookdatapaymentmethodenabled();
45505
+ init_webhookdatarefundcreated();
45506
+ init_webhookdatarefundupdated();
45507
+ init_webhookdatarepresentativecreated();
45508
+ init_webhookdatarepresentativedisabled();
45509
+ init_webhookdatarepresentativeupdated();
45510
+ init_webhookdatasweepcreated();
45511
+ init_webhookdatasweepupdated();
45512
+ init_webhookdataterminalapplicationcreated();
45513
+ init_webhookdataterminalapplicationupdated();
45514
+ init_webhookdatatransfercreated();
45515
+ init_webhookdatatransferupdated();
45516
+ init_webhookdatawallettransactionupdated();
45517
+ WebhookData$inboundSchema = unionType([
45518
+ WebhookDataAccountCreated$inboundSchema,
45519
+ WebhookDataAccountUpdated$inboundSchema,
45520
+ WebhookDataAccountDeleted$inboundSchema,
45521
+ WebhookDataBalanceUpdated$inboundSchema,
45522
+ WebhookDataBankAccountCreated$inboundSchema,
45523
+ WebhookDataBankAccountDeleted$inboundSchema,
45524
+ WebhookDataRepresentativeCreated$inboundSchema,
45525
+ WebhookDataRepresentativeUpdated$inboundSchema,
45526
+ WebhookDataRepresentativeDisabled$inboundSchema,
45527
+ WebhookDataSweepCreated$inboundSchema,
45528
+ WebhookDataTerminalApplicationCreated$inboundSchema,
45529
+ WebhookDataTerminalApplicationUpdated$inboundSchema,
45530
+ WebhookDataCancellationCreated$inboundSchema,
45531
+ WebhookDataCancellationUpdated$inboundSchema,
45532
+ WebhookDataCardAutoUpdated$inboundSchema,
45533
+ WebhookDataCapabilityRequested$inboundSchema,
45534
+ WebhookDataPaymentMethodEnabled$inboundSchema,
45535
+ WebhookDataPaymentMethodDisabled$inboundSchema,
45536
+ WebhookDataRefundCreated$inboundSchema,
45537
+ WebhookDataTransferCreated$inboundSchema,
45538
+ WebhookDataCapabilityUpdated$inboundSchema,
45539
+ WebhookDataRefundUpdated$inboundSchema,
45540
+ WebhookDataSweepUpdated$inboundSchema,
45541
+ WebhookDataBankAccountUpdated$inboundSchema,
45542
+ WebhookDataTransferUpdated$inboundSchema,
45543
+ WebhookDataWalletTransactionUpdated$inboundSchema,
45544
+ WebhookDataDisputeCreated$inboundSchema,
45545
+ WebhookDataDisputeUpdated$inboundSchema,
45546
+ WebhookDataNetworkIDUpdated$inboundSchema
45547
+ ]);
45548
+ WebhookData$outboundSchema = unionType([
45549
+ WebhookDataAccountCreated$outboundSchema,
45550
+ WebhookDataAccountUpdated$outboundSchema,
45551
+ WebhookDataAccountDeleted$outboundSchema,
45552
+ WebhookDataBalanceUpdated$outboundSchema,
45553
+ WebhookDataBankAccountCreated$outboundSchema,
45554
+ WebhookDataBankAccountDeleted$outboundSchema,
45555
+ WebhookDataRepresentativeCreated$outboundSchema,
45556
+ WebhookDataRepresentativeUpdated$outboundSchema,
45557
+ WebhookDataRepresentativeDisabled$outboundSchema,
45558
+ WebhookDataSweepCreated$outboundSchema,
45559
+ WebhookDataTerminalApplicationCreated$outboundSchema,
45560
+ WebhookDataTerminalApplicationUpdated$outboundSchema,
45561
+ WebhookDataCancellationCreated$outboundSchema,
45562
+ WebhookDataCancellationUpdated$outboundSchema,
45563
+ WebhookDataCardAutoUpdated$outboundSchema,
45564
+ WebhookDataCapabilityRequested$outboundSchema,
45565
+ WebhookDataPaymentMethodEnabled$outboundSchema,
45566
+ WebhookDataPaymentMethodDisabled$outboundSchema,
45567
+ WebhookDataRefundCreated$outboundSchema,
45568
+ WebhookDataTransferCreated$outboundSchema,
45569
+ WebhookDataCapabilityUpdated$outboundSchema,
45570
+ WebhookDataRefundUpdated$outboundSchema,
45571
+ WebhookDataSweepUpdated$outboundSchema,
45572
+ WebhookDataBankAccountUpdated$outboundSchema,
45573
+ WebhookDataTransferUpdated$outboundSchema,
45574
+ WebhookDataWalletTransactionUpdated$outboundSchema,
45575
+ WebhookDataDisputeCreated$outboundSchema,
45576
+ WebhookDataDisputeUpdated$outboundSchema,
45577
+ WebhookDataNetworkIDUpdated$outboundSchema
45578
+ ]);
45579
+ ((WebhookData$) => {
45580
+ WebhookData$.inboundSchema = WebhookData$inboundSchema;
45581
+ WebhookData$.outboundSchema = WebhookData$outboundSchema;
45582
+ })(WebhookData$ ||= {});
45583
+ });
45584
+
45585
+ // src/models/components/webhookeventtype.ts
45586
+ var WebhookEventType, WebhookEventType$inboundSchema, WebhookEventType$outboundSchema, WebhookEventType$;
45587
+ var init_webhookeventtype = __esm(() => {
45588
+ init_lib();
45589
+ WebhookEventType = {
45590
+ AccountCreated: "account.created",
45591
+ AccountUpdated: "account.updated",
45592
+ AccountDeleted: "account.deleted",
45593
+ BalanceUpdated: "balance.updated",
45594
+ BankAccountCreated: "bankAccount.created",
45595
+ BankAccountUpdated: "bankAccount.updated",
45596
+ BankAccountDeleted: "bankAccount.deleted",
45597
+ CancellationCreated: "cancellation.created",
45598
+ CancellationUpdated: "cancellation.updated",
45599
+ CardAutoUpdated: "card.autoUpdated",
45600
+ CapabilityRequested: "capability.requested",
45601
+ CapabilityUpdated: "capability.updated",
45602
+ DisputeCreated: "dispute.created",
45603
+ DisputeUpdated: "dispute.updated",
45604
+ NetworkIDUpdated: "networkID.updated",
45605
+ PaymentMethodEnabled: "paymentMethod.enabled",
45606
+ PaymentMethodDisabled: "paymentMethod.disabled",
45607
+ RefundCreated: "refund.created",
45608
+ RefundUpdated: "refund.updated",
45609
+ RepresentativeCreated: "representative.created",
45610
+ RepresentativeUpdated: "representative.updated",
45611
+ RepresentativeDeleted: "representative.deleted",
45612
+ SweepCreated: "sweep.created",
45613
+ SweepUpdated: "sweep.updated",
45614
+ TerminalApplicationCreated: "terminalApplication.created",
45615
+ TerminalApplicationUpdated: "terminalApplication.updated",
45616
+ TransferCreated: "transfer.created",
45617
+ TransferUpdated: "transfer.updated",
45618
+ WalletTransactionUpdated: "walletTransaction.updated"
45619
+ };
45620
+ WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
45621
+ WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
45622
+ ((WebhookEventType$) => {
45623
+ WebhookEventType$.inboundSchema = WebhookEventType$inboundSchema;
45624
+ WebhookEventType$.outboundSchema = WebhookEventType$outboundSchema;
45625
+ })(WebhookEventType$ ||= {});
45626
+ });
45627
+
45628
+ // src/models/components/webhookevent.ts
45629
+ var WebhookEvent$inboundSchema, WebhookEvent$outboundSchema, WebhookEvent$;
45630
+ var init_webhookevent = __esm(() => {
45631
+ init_lib();
45632
+ init_webhookdata();
45633
+ init_webhookeventtype();
45634
+ WebhookEvent$inboundSchema = objectType({
45635
+ eventID: stringType(),
45636
+ type: WebhookEventType$inboundSchema,
45637
+ data: WebhookData$inboundSchema,
45638
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
45639
+ });
45640
+ WebhookEvent$outboundSchema = objectType({
45641
+ eventID: stringType(),
45642
+ type: WebhookEventType$outboundSchema,
45643
+ data: WebhookData$outboundSchema,
45644
+ createdOn: dateType().transform((v2) => v2.toISOString())
45645
+ });
45646
+ ((WebhookEvent$) => {
45647
+ WebhookEvent$.inboundSchema = WebhookEvent$inboundSchema;
45648
+ WebhookEvent$.outboundSchema = WebhookEvent$outboundSchema;
45649
+ })(WebhookEvent$ ||= {});
45650
+ });
45651
+
44836
45652
  // src/models/components/index.ts
44837
45653
  var init_components = __esm(() => {
44838
45654
  init_account();
@@ -45197,6 +46013,40 @@ var init_components = __esm(() => {
45197
46013
  init_wallettransactionsourcetype();
45198
46014
  init_wallettransactionstatus();
45199
46015
  init_wallettransactiontype();
46016
+ init_webhookdata();
46017
+ init_webhookdataaccountcreated();
46018
+ init_webhookdataaccountdeleted();
46019
+ init_webhookdataaccountupdated();
46020
+ init_webhookdatabalanceupdated();
46021
+ init_webhookdatabankaccountcreated();
46022
+ init_webhookdatabankaccountdeleted();
46023
+ init_webhookdatabankaccountupdated();
46024
+ init_webhookdatacancellationcreated();
46025
+ init_webhookdatacancellationupdated();
46026
+ init_webhookdatacapabilityrequested();
46027
+ init_webhookdatacapabilityupdated();
46028
+ init_webhookdatacardautoupdated();
46029
+ init_webhookdatadisputecreated();
46030
+ init_webhookdatadisputeupdated();
46031
+ init_webhookdatanetworkidupdated();
46032
+ init_webhookdatapaymentmethoddisabled();
46033
+ init_webhookdatapaymentmethodenabled();
46034
+ init_webhookdatarefundcreated();
46035
+ init_webhookdatarefundupdated();
46036
+ init_webhookdatarepresentativecreated();
46037
+ init_webhookdatarepresentativedisabled();
46038
+ init_webhookdatarepresentativeupdated();
46039
+ init_webhookdatasweepcreated();
46040
+ init_webhookdatasweepupdated();
46041
+ init_webhookdataterminalapplicationcreated();
46042
+ init_webhookdataterminalapplicationupdated();
46043
+ init_webhookdatatransfercreated();
46044
+ init_webhookdatatransferupdated();
46045
+ init_webhookdatawallettransactionupdated();
46046
+ init_webhookevent();
46047
+ init_webhookeventtype();
46048
+ init_webhooktransferpaymentmethoddetails();
46049
+ init_webhookwalletavailablebalance();
45200
46050
  });
45201
46051
 
45202
46052
  // src/models/errors/addcapabilitieserror.ts
@@ -65872,7 +66722,7 @@ async function $do88(client, request, options) {
65872
66722
  const req = requestRes.value;
65873
66723
  const doResult = await client._do(req, {
65874
66724
  context,
65875
- errorCodes: ["4XX", "5XX"],
66725
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
65876
66726
  retryConfig: context.retryConfig,
65877
66727
  retryCodes: context.retryCodes
65878
66728
  });
@@ -65885,7 +66735,7 @@ async function $do88(client, request, options) {
65885
66735
  };
65886
66736
  const [result] = await match(nil(204, DisablePaymentLinkResponse$inboundSchema.optional(), {
65887
66737
  hdrs: true
65888
- }), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
66738
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
65889
66739
  if (!result.ok) {
65890
66740
  return [result, { status: "complete", request: req, response }];
65891
66741
  }
@@ -71453,7 +72303,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
71453
72303
  function createMCPServer(deps) {
71454
72304
  const server = new McpServer({
71455
72305
  name: "Moov",
71456
- version: "0.10.17"
72306
+ version: "0.11.1"
71457
72307
  });
71458
72308
  const client = new MoovCore({
71459
72309
  security: deps.security,
@@ -72963,7 +73813,7 @@ var routes = rn({
72963
73813
  var app = Ve(routes, {
72964
73814
  name: "mcp",
72965
73815
  versionInfo: {
72966
- currentVersion: "0.10.17"
73816
+ currentVersion: "0.11.1"
72967
73817
  }
72968
73818
  });
72969
73819
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -72971,5 +73821,5 @@ export {
72971
73821
  app
72972
73822
  };
72973
73823
 
72974
- //# debugId=F04A982EFB4CEE9B64756E2164756E21
73824
+ //# debugId=09015DBEA1FFF3A164756E2164756E21
72975
73825
  //# sourceMappingURL=mcp-server.js.map