@moovio/sdk 0.14.18 → 0.14.21

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 +20 -20
  2. package/bin/mcp-server.js.map +10 -10
  3. package/examples/package-lock.json +3 -3
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/encodings.d.ts.map +1 -1
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/components/index.d.ts +1 -1
  11. package/models/components/index.d.ts.map +1 -1
  12. package/models/components/index.js +1 -1
  13. package/models/components/index.js.map +1 -1
  14. package/models/components/webhookdata.d.ts +3 -3
  15. package/models/components/webhookdata.d.ts.map +1 -1
  16. package/models/components/webhookdata.js +3 -3
  17. package/models/components/webhookdata.js.map +1 -1
  18. package/models/components/webhookdataaccountdisconnected.d.ts +31 -0
  19. package/models/components/webhookdataaccountdisconnected.d.ts.map +1 -0
  20. package/models/components/{webhookdataaccountdeleted.js → webhookdataaccountdisconnected.js} +17 -17
  21. package/models/components/webhookdataaccountdisconnected.js.map +1 -0
  22. package/models/components/webhookeventtype.d.ts +3 -3
  23. package/models/components/webhookeventtype.js +1 -1
  24. package/models/components/webhookeventtype.js.map +1 -1
  25. package/package.json +3 -3
  26. package/renovate.json +30 -0
  27. package/src/lib/config.ts +3 -3
  28. package/src/mcp-server/mcp-server.ts +1 -1
  29. package/src/mcp-server/server.ts +1 -1
  30. package/src/models/components/index.ts +1 -1
  31. package/src/models/components/webhookdata.ts +9 -9
  32. package/src/models/components/webhookdataaccountdisconnected.ts +72 -0
  33. package/src/models/components/webhookeventtype.ts +1 -1
  34. package/models/components/webhookdataaccountdeleted.d.ts +0 -31
  35. package/models/components/webhookdataaccountdeleted.d.ts.map +0 -1
  36. package/models/components/webhookdataaccountdeleted.js.map +0 -1
  37. package/src/models/components/webhookdataaccountdeleted.ts +0 -70
@@ -0,0 +1,72 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type WebhookDataAccountDisconnected = {
11
+ accountID: string;
12
+ foreignID?: string | undefined;
13
+ };
14
+
15
+ /** @internal */
16
+ export const WebhookDataAccountDisconnected$inboundSchema: z.ZodType<
17
+ WebhookDataAccountDisconnected,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ accountID: z.string(),
22
+ foreignID: z.string().optional(),
23
+ });
24
+
25
+ /** @internal */
26
+ export type WebhookDataAccountDisconnected$Outbound = {
27
+ accountID: string;
28
+ foreignID?: string | undefined;
29
+ };
30
+
31
+ /** @internal */
32
+ export const WebhookDataAccountDisconnected$outboundSchema: z.ZodType<
33
+ WebhookDataAccountDisconnected$Outbound,
34
+ z.ZodTypeDef,
35
+ WebhookDataAccountDisconnected
36
+ > = z.object({
37
+ accountID: z.string(),
38
+ foreignID: z.string().optional(),
39
+ });
40
+
41
+ /**
42
+ * @internal
43
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
+ */
45
+ export namespace WebhookDataAccountDisconnected$ {
46
+ /** @deprecated use `WebhookDataAccountDisconnected$inboundSchema` instead. */
47
+ export const inboundSchema = WebhookDataAccountDisconnected$inboundSchema;
48
+ /** @deprecated use `WebhookDataAccountDisconnected$outboundSchema` instead. */
49
+ export const outboundSchema = WebhookDataAccountDisconnected$outboundSchema;
50
+ /** @deprecated use `WebhookDataAccountDisconnected$Outbound` instead. */
51
+ export type Outbound = WebhookDataAccountDisconnected$Outbound;
52
+ }
53
+
54
+ export function webhookDataAccountDisconnectedToJSON(
55
+ webhookDataAccountDisconnected: WebhookDataAccountDisconnected,
56
+ ): string {
57
+ return JSON.stringify(
58
+ WebhookDataAccountDisconnected$outboundSchema.parse(
59
+ webhookDataAccountDisconnected,
60
+ ),
61
+ );
62
+ }
63
+
64
+ export function webhookDataAccountDisconnectedFromJSON(
65
+ jsonString: string,
66
+ ): SafeParseResult<WebhookDataAccountDisconnected, SDKValidationError> {
67
+ return safeParse(
68
+ jsonString,
69
+ (x) => WebhookDataAccountDisconnected$inboundSchema.parse(JSON.parse(x)),
70
+ `Failed to parse 'WebhookDataAccountDisconnected' from JSON`,
71
+ );
72
+ }
@@ -12,7 +12,7 @@ export const WebhookEventType = {
12
12
  Wildcard: "*",
13
13
  AccountCreated: "account.created",
14
14
  AccountUpdated: "account.updated",
15
- AccountDeleted: "account.deleted",
15
+ AccountDisconnected: "account.disconnected",
16
16
  BalanceUpdated: "balance.updated",
17
17
  BankAccountCreated: "bankAccount.created",
18
18
  BankAccountUpdated: "bankAccount.updated",
@@ -1,31 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type WebhookDataAccountDeleted = {
5
- accountID: string;
6
- foreignID?: string | undefined;
7
- };
8
- /** @internal */
9
- export declare const WebhookDataAccountDeleted$inboundSchema: z.ZodType<WebhookDataAccountDeleted, z.ZodTypeDef, unknown>;
10
- /** @internal */
11
- export type WebhookDataAccountDeleted$Outbound = {
12
- accountID: string;
13
- foreignID?: string | undefined;
14
- };
15
- /** @internal */
16
- export declare const WebhookDataAccountDeleted$outboundSchema: z.ZodType<WebhookDataAccountDeleted$Outbound, z.ZodTypeDef, WebhookDataAccountDeleted>;
17
- /**
18
- * @internal
19
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
- */
21
- export declare namespace WebhookDataAccountDeleted$ {
22
- /** @deprecated use `WebhookDataAccountDeleted$inboundSchema` instead. */
23
- const inboundSchema: z.ZodType<WebhookDataAccountDeleted, z.ZodTypeDef, unknown>;
24
- /** @deprecated use `WebhookDataAccountDeleted$outboundSchema` instead. */
25
- const outboundSchema: z.ZodType<WebhookDataAccountDeleted$Outbound, z.ZodTypeDef, WebhookDataAccountDeleted>;
26
- /** @deprecated use `WebhookDataAccountDeleted$Outbound` instead. */
27
- type Outbound = WebhookDataAccountDeleted$Outbound;
28
- }
29
- export declare function webhookDataAccountDeletedToJSON(webhookDataAccountDeleted: WebhookDataAccountDeleted): string;
30
- export declare function webhookDataAccountDeletedFromJSON(jsonString: string): SafeParseResult<WebhookDataAccountDeleted, SDKValidationError>;
31
- //# sourceMappingURL=webhookdataaccountdeleted.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhookdataaccountdeleted.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdataaccountdeleted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAIzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhookdataaccountdeleted.js","sourceRoot":"","sources":["../../src/models/components/webhookdataaccountdeleted.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDH,0EAMC;AAED,8EAQC;AAjED,uCAAyB;AACzB,qDAAiD;AASjD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -1,70 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type WebhookDataAccountDeleted = {
11
- accountID: string;
12
- foreignID?: string | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const WebhookDataAccountDeleted$inboundSchema: z.ZodType<
17
- WebhookDataAccountDeleted,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- accountID: z.string(),
22
- foreignID: z.string().optional(),
23
- });
24
-
25
- /** @internal */
26
- export type WebhookDataAccountDeleted$Outbound = {
27
- accountID: string;
28
- foreignID?: string | undefined;
29
- };
30
-
31
- /** @internal */
32
- export const WebhookDataAccountDeleted$outboundSchema: z.ZodType<
33
- WebhookDataAccountDeleted$Outbound,
34
- z.ZodTypeDef,
35
- WebhookDataAccountDeleted
36
- > = z.object({
37
- accountID: z.string(),
38
- foreignID: z.string().optional(),
39
- });
40
-
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- export namespace WebhookDataAccountDeleted$ {
46
- /** @deprecated use `WebhookDataAccountDeleted$inboundSchema` instead. */
47
- export const inboundSchema = WebhookDataAccountDeleted$inboundSchema;
48
- /** @deprecated use `WebhookDataAccountDeleted$outboundSchema` instead. */
49
- export const outboundSchema = WebhookDataAccountDeleted$outboundSchema;
50
- /** @deprecated use `WebhookDataAccountDeleted$Outbound` instead. */
51
- export type Outbound = WebhookDataAccountDeleted$Outbound;
52
- }
53
-
54
- export function webhookDataAccountDeletedToJSON(
55
- webhookDataAccountDeleted: WebhookDataAccountDeleted,
56
- ): string {
57
- return JSON.stringify(
58
- WebhookDataAccountDeleted$outboundSchema.parse(webhookDataAccountDeleted),
59
- );
60
- }
61
-
62
- export function webhookDataAccountDeletedFromJSON(
63
- jsonString: string,
64
- ): SafeParseResult<WebhookDataAccountDeleted, SDKValidationError> {
65
- return safeParse(
66
- jsonString,
67
- (x) => WebhookDataAccountDeleted$inboundSchema.parse(JSON.parse(x)),
68
- `Failed to parse 'WebhookDataAccountDeleted' from JSON`,
69
- );
70
- }