@moovio/sdk 0.21.7 → 0.21.9

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 (37) hide show
  1. package/bin/mcp-server.js +48 -44
  2. package/bin/mcp-server.js.map +11 -9
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/createaccount.d.ts +3 -13
  10. package/models/components/createaccount.d.ts.map +1 -1
  11. package/models/components/createaccount.js +4 -29
  12. package/models/components/createaccount.js.map +1 -1
  13. package/models/components/index.d.ts +2 -0
  14. package/models/components/index.d.ts.map +1 -1
  15. package/models/components/index.js +2 -0
  16. package/models/components/index.js.map +1 -1
  17. package/models/components/patchaccount.d.ts +3 -13
  18. package/models/components/patchaccount.d.ts.map +1 -1
  19. package/models/components/patchaccount.js +4 -29
  20. package/models/components/patchaccount.js.map +1 -1
  21. package/models/components/termsofservicepayload.d.ts +27 -0
  22. package/models/components/termsofservicepayload.d.ts.map +1 -0
  23. package/models/components/termsofservicepayload.js +62 -0
  24. package/models/components/termsofservicepayload.js.map +1 -0
  25. package/models/components/termsofservicepayloadupdate.d.ts +27 -0
  26. package/models/components/termsofservicepayloadupdate.d.ts.map +1 -0
  27. package/models/components/termsofservicepayloadupdate.js +62 -0
  28. package/models/components/termsofservicepayloadupdate.js.map +1 -0
  29. package/package.json +1 -1
  30. package/src/lib/config.ts +3 -3
  31. package/src/mcp-server/mcp-server.ts +1 -1
  32. package/src/mcp-server/server.ts +1 -1
  33. package/src/models/components/createaccount.ts +9 -71
  34. package/src/models/components/index.ts +2 -0
  35. package/src/models/components/patchaccount.ts +9 -72
  36. package/src/models/components/termsofservicepayload.ts +73 -0
  37. package/src/models/components/termsofservicepayloadupdate.ts +75 -0
package/bin/mcp-server.js CHANGED
@@ -34030,9 +34030,9 @@ var init_config = __esm(() => {
34030
34030
  SDK_METADATA = {
34031
34031
  language: "typescript",
34032
34032
  openapiDocVersion: "latest",
34033
- sdkVersion: "0.21.7",
34034
- genVersion: "2.745.2",
34035
- userAgent: "speakeasy-sdk/typescript 0.21.7 2.745.2 latest @moovio/sdk"
34033
+ sdkVersion: "0.21.9",
34034
+ genVersion: "2.748.0",
34035
+ userAgent: "speakeasy-sdk/typescript 0.21.9 2.748.0 latest @moovio/sdk"
34036
34036
  };
34037
34037
  });
34038
34038
 
@@ -41762,34 +41762,38 @@ var init_termsofservicetoken = __esm(() => {
41762
41762
  });
41763
41763
  });
41764
41764
 
41765
+ // src/models/components/termsofservicepayload.ts
41766
+ var TermsOfServicePayload$inboundSchema, TermsOfServicePayload$outboundSchema;
41767
+ var init_termsofservicepayload = __esm(() => {
41768
+ init_esm();
41769
+ init_manualtermsofservice();
41770
+ init_termsofservicetoken();
41771
+ TermsOfServicePayload$inboundSchema = objectType({
41772
+ token: TermsOfServiceToken$inboundSchema.optional(),
41773
+ manual: ManualTermsOfService$inboundSchema.optional()
41774
+ });
41775
+ TermsOfServicePayload$outboundSchema = objectType({
41776
+ token: TermsOfServiceToken$outboundSchema.optional(),
41777
+ manual: ManualTermsOfService$outboundSchema.optional()
41778
+ });
41779
+ });
41780
+
41765
41781
  // src/models/components/createaccount.ts
41766
- var CreateAccountTermsOfService$inboundSchema, CreateAccountTermsOfService$outboundSchema, CreateAccount$inboundSchema, CreateAccount$outboundSchema;
41782
+ var CreateAccount$inboundSchema, CreateAccount$outboundSchema;
41767
41783
  var init_createaccount = __esm(() => {
41768
41784
  init_esm();
41769
41785
  init_capabilityid();
41770
41786
  init_createaccounttype();
41771
41787
  init_createprofile();
41772
41788
  init_customersupport();
41773
- init_manualtermsofservice();
41774
41789
  init_mode();
41775
41790
  init_settings();
41776
- init_termsofservicetoken();
41777
- CreateAccountTermsOfService$inboundSchema = unionType([
41778
- ManualTermsOfService$inboundSchema,
41779
- TermsOfServiceToken$inboundSchema
41780
- ]);
41781
- CreateAccountTermsOfService$outboundSchema = unionType([
41782
- ManualTermsOfService$outboundSchema,
41783
- TermsOfServiceToken$outboundSchema
41784
- ]);
41791
+ init_termsofservicepayload();
41785
41792
  CreateAccount$inboundSchema = objectType({
41786
41793
  accountType: CreateAccountType$inboundSchema,
41787
41794
  profile: CreateProfile$inboundSchema,
41788
41795
  metadata: recordType(stringType()).optional(),
41789
- termsOfService: unionType([
41790
- ManualTermsOfService$inboundSchema,
41791
- TermsOfServiceToken$inboundSchema
41792
- ]).optional(),
41796
+ termsOfService: TermsOfServicePayload$inboundSchema.optional(),
41793
41797
  foreignID: stringType().optional(),
41794
41798
  customerSupport: CustomerSupport$inboundSchema.optional(),
41795
41799
  settings: Settings$inboundSchema.optional(),
@@ -41800,10 +41804,7 @@ var init_createaccount = __esm(() => {
41800
41804
  accountType: CreateAccountType$outboundSchema,
41801
41805
  profile: CreateProfile$outboundSchema,
41802
41806
  metadata: recordType(stringType()).optional(),
41803
- termsOfService: unionType([
41804
- ManualTermsOfService$outboundSchema,
41805
- TermsOfServiceToken$outboundSchema
41806
- ]).optional(),
41807
+ termsOfService: TermsOfServicePayload$outboundSchema.optional(),
41807
41808
  foreignID: stringType().optional(),
41808
41809
  customerSupport: CustomerSupport$outboundSchema.optional(),
41809
41810
  settings: Settings$outboundSchema.optional(),
@@ -45333,24 +45334,31 @@ var init_termsofservicetokenupdate = __esm(() => {
45333
45334
  });
45334
45335
  });
45335
45336
 
45337
+ // src/models/components/termsofservicepayloadupdate.ts
45338
+ var TermsOfServicePayloadUpdate$inboundSchema, TermsOfServicePayloadUpdate$outboundSchema;
45339
+ var init_termsofservicepayloadupdate = __esm(() => {
45340
+ init_esm();
45341
+ init_manualtermsofserviceupdate();
45342
+ init_termsofservicetokenupdate();
45343
+ TermsOfServicePayloadUpdate$inboundSchema = objectType({
45344
+ token: TermsOfServiceTokenUpdate$inboundSchema.optional(),
45345
+ manual: ManualTermsOfServiceUpdate$inboundSchema.optional()
45346
+ });
45347
+ TermsOfServicePayloadUpdate$outboundSchema = objectType({
45348
+ token: TermsOfServiceTokenUpdate$outboundSchema.optional(),
45349
+ manual: ManualTermsOfServiceUpdate$outboundSchema.optional()
45350
+ });
45351
+ });
45352
+
45336
45353
  // src/models/components/patchaccount.ts
45337
- var PatchAccountTermsOfService$inboundSchema, PatchAccountTermsOfService$outboundSchema, PatchAccountCustomerSupport$inboundSchema, PatchAccountCustomerSupport$outboundSchema, PatchAccount$inboundSchema, PatchAccount$outboundSchema;
45354
+ var PatchAccountCustomerSupport$inboundSchema, PatchAccountCustomerSupport$outboundSchema, PatchAccount$inboundSchema, PatchAccount$outboundSchema;
45338
45355
  var init_patchaccount = __esm(() => {
45339
45356
  init_esm();
45340
45357
  init_addressupdate();
45341
45358
  init_createaccountsettings();
45342
- init_manualtermsofserviceupdate();
45343
45359
  init_patchprofile();
45344
45360
  init_phonenumber();
45345
- init_termsofservicetokenupdate();
45346
- PatchAccountTermsOfService$inboundSchema = unionType([
45347
- TermsOfServiceTokenUpdate$inboundSchema,
45348
- ManualTermsOfServiceUpdate$inboundSchema
45349
- ]);
45350
- PatchAccountTermsOfService$outboundSchema = unionType([
45351
- TermsOfServiceTokenUpdate$outboundSchema,
45352
- ManualTermsOfServiceUpdate$outboundSchema
45353
- ]);
45361
+ init_termsofservicepayloadupdate();
45354
45362
  PatchAccountCustomerSupport$inboundSchema = objectType({
45355
45363
  phone: PhoneNumber$inboundSchema.optional(),
45356
45364
  email: stringType().optional(),
@@ -45366,10 +45374,7 @@ var init_patchaccount = __esm(() => {
45366
45374
  PatchAccount$inboundSchema = objectType({
45367
45375
  profile: PatchProfile$inboundSchema.optional(),
45368
45376
  metadata: nullableType(recordType(stringType())).optional(),
45369
- termsOfService: unionType([
45370
- TermsOfServiceTokenUpdate$inboundSchema,
45371
- ManualTermsOfServiceUpdate$inboundSchema
45372
- ]).optional(),
45377
+ termsOfService: TermsOfServicePayloadUpdate$inboundSchema.optional(),
45373
45378
  foreignID: stringType().optional(),
45374
45379
  customerSupport: nullableType(lazyType(() => PatchAccountCustomerSupport$inboundSchema)).optional(),
45375
45380
  settings: CreateAccountSettings$inboundSchema.optional()
@@ -45377,10 +45382,7 @@ var init_patchaccount = __esm(() => {
45377
45382
  PatchAccount$outboundSchema = objectType({
45378
45383
  profile: PatchProfile$outboundSchema.optional(),
45379
45384
  metadata: nullableType(recordType(stringType())).optional(),
45380
- termsOfService: unionType([
45381
- TermsOfServiceTokenUpdate$outboundSchema,
45382
- ManualTermsOfServiceUpdate$outboundSchema
45383
- ]).optional(),
45385
+ termsOfService: TermsOfServicePayloadUpdate$outboundSchema.optional(),
45384
45386
  foreignID: stringType().optional(),
45385
45387
  customerSupport: nullableType(lazyType(() => PatchAccountCustomerSupport$outboundSchema)).optional(),
45386
45388
  settings: CreateAccountSettings$outboundSchema.optional()
@@ -48966,6 +48968,8 @@ var init_components = __esm(() => {
48966
48968
  init_terminalconfiguration();
48967
48969
  init_termsofservice();
48968
48970
  init_termsofserviceerror();
48971
+ init_termsofservicepayload();
48972
+ init_termsofservicepayloadupdate();
48969
48973
  init_termsofservicetoken();
48970
48974
  init_termsofservicetokenupdate();
48971
48975
  init_ticket();
@@ -79666,7 +79670,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
79666
79670
  function createMCPServer(deps) {
79667
79671
  const server = new McpServer({
79668
79672
  name: "Moov",
79669
- version: "0.21.7"
79673
+ version: "0.21.9"
79670
79674
  });
79671
79675
  const client = new MoovCore({
79672
79676
  security: deps.security,
@@ -81214,7 +81218,7 @@ var routes = rn({
81214
81218
  var app = Ve(routes, {
81215
81219
  name: "mcp",
81216
81220
  versionInfo: {
81217
- currentVersion: "0.21.7"
81221
+ currentVersion: "0.21.9"
81218
81222
  }
81219
81223
  });
81220
81224
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -81222,5 +81226,5 @@ export {
81222
81226
  app
81223
81227
  };
81224
81228
 
81225
- //# debugId=AA3359D324F4831E64756E2164756E21
81229
+ //# debugId=6C2F7333ACACEC7664756E2164756E21
81226
81230
  //# sourceMappingURL=mcp-server.js.map