@moovio/sdk 0.22.1 → 0.22.2
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.
- package/README.md +60 -64
- package/bin/mcp-server.js +940 -1165
- package/bin/mcp-server.js.map +10 -16
- package/examples/package-lock.json +1 -1
- package/funcs/institutionsSearch.d.ts +4 -0
- package/funcs/institutionsSearch.d.ts.map +1 -1
- package/funcs/institutionsSearch.js +4 -0
- package/funcs/institutionsSearch.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/institutionsSearch.d.ts.map +1 -1
- package/mcp-server/tools/institutionsSearch.js +3 -1
- package/mcp-server/tools/institutionsSearch.js.map +1 -1
- package/models/components/index.d.ts +0 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -3
- package/models/components/index.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/branding.d.ts +0 -7
- package/sdk/branding.d.ts.map +1 -1
- package/sdk/branding.js +0 -10
- package/sdk/branding.js.map +1 -1
- package/sdk/institutions.d.ts +4 -0
- package/sdk/institutions.d.ts.map +1 -1
- package/sdk/institutions.js +4 -0
- package/sdk/institutions.js.map +1 -1
- package/src/funcs/institutionsSearch.ts +4 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/mcp-server/tools/institutionsSearch.ts +4 -1
- package/src/models/components/index.ts +0 -3
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/branding.ts +0 -18
- package/src/sdk/institutions.ts +4 -0
- package/funcs/brandingUpdate.d.ts +0 -18
- package/funcs/brandingUpdate.d.ts.map +0 -1
- package/funcs/brandingUpdate.js +0 -139
- package/funcs/brandingUpdate.js.map +0 -1
- package/mcp-server/tools/brandingUpdate.d.ts +0 -8
- package/mcp-server/tools/brandingUpdate.d.ts.map +0 -1
- package/mcp-server/tools/brandingUpdate.js +0 -65
- package/mcp-server/tools/brandingUpdate.js.map +0 -1
- package/models/components/updatebrand.d.ts +0 -18
- package/models/components/updatebrand.d.ts.map +0 -1
- package/models/components/updatebrand.js +0 -59
- package/models/components/updatebrand.js.map +0 -1
- package/models/components/updatecolor.d.ts +0 -17
- package/models/components/updatecolor.d.ts.map +0 -1
- package/models/components/updatecolor.js +0 -58
- package/models/components/updatecolor.js.map +0 -1
- package/models/components/updatecolors.d.ts +0 -20
- package/models/components/updatecolors.d.ts.map +0 -1
- package/models/components/updatecolors.js +0 -61
- package/models/components/updatecolors.js.map +0 -1
- package/models/operations/updatebrand.d.ts +0 -66
- package/models/operations/updatebrand.d.ts.map +0 -1
- package/models/operations/updatebrand.js +0 -122
- package/models/operations/updatebrand.js.map +0 -1
- package/src/funcs/brandingUpdate.ts +0 -201
- package/src/mcp-server/tools/brandingUpdate.ts +0 -38
- package/src/models/components/updatebrand.ts +0 -53
- package/src/models/components/updatecolor.ts +0 -47
- package/src/models/components/updatecolors.ts +0 -57
- package/src/models/operations/updatebrand.ts +0 -187
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type UpdateBrandGlobals = {
|
|
13
|
-
/**
|
|
14
|
-
* Specify an API version.
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
*
|
|
18
|
-
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
19
|
-
* - `YYYY` is the year
|
|
20
|
-
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
21
|
-
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
|
-
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
|
-
*
|
|
24
|
-
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
|
-
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
|
-
*/
|
|
27
|
-
xMoovVersion?: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export type UpdateBrandRequest = {
|
|
31
|
-
accountID: string;
|
|
32
|
-
updateBrand: components.UpdateBrand;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export type UpdateBrandResponse = {
|
|
36
|
-
headers: { [k: string]: Array<string> };
|
|
37
|
-
result: components.BrandProperties;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const UpdateBrandGlobals$inboundSchema: z.ZodType<
|
|
42
|
-
UpdateBrandGlobals,
|
|
43
|
-
z.ZodTypeDef,
|
|
44
|
-
unknown
|
|
45
|
-
> = z.object({
|
|
46
|
-
"X-Moov-Version": z.string().optional(),
|
|
47
|
-
}).transform((v) => {
|
|
48
|
-
return remap$(v, {
|
|
49
|
-
"X-Moov-Version": "xMoovVersion",
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
/** @internal */
|
|
53
|
-
export type UpdateBrandGlobals$Outbound = {
|
|
54
|
-
"X-Moov-Version"?: string | undefined;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
/** @internal */
|
|
58
|
-
export const UpdateBrandGlobals$outboundSchema: z.ZodType<
|
|
59
|
-
UpdateBrandGlobals$Outbound,
|
|
60
|
-
z.ZodTypeDef,
|
|
61
|
-
UpdateBrandGlobals
|
|
62
|
-
> = z.object({
|
|
63
|
-
xMoovVersion: z.string().optional(),
|
|
64
|
-
}).transform((v) => {
|
|
65
|
-
return remap$(v, {
|
|
66
|
-
xMoovVersion: "X-Moov-Version",
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
export function updateBrandGlobalsToJSON(
|
|
71
|
-
updateBrandGlobals: UpdateBrandGlobals,
|
|
72
|
-
): string {
|
|
73
|
-
return JSON.stringify(
|
|
74
|
-
UpdateBrandGlobals$outboundSchema.parse(updateBrandGlobals),
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
export function updateBrandGlobalsFromJSON(
|
|
78
|
-
jsonString: string,
|
|
79
|
-
): SafeParseResult<UpdateBrandGlobals, SDKValidationError> {
|
|
80
|
-
return safeParse(
|
|
81
|
-
jsonString,
|
|
82
|
-
(x) => UpdateBrandGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
-
`Failed to parse 'UpdateBrandGlobals' from JSON`,
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/** @internal */
|
|
88
|
-
export const UpdateBrandRequest$inboundSchema: z.ZodType<
|
|
89
|
-
UpdateBrandRequest,
|
|
90
|
-
z.ZodTypeDef,
|
|
91
|
-
unknown
|
|
92
|
-
> = z.object({
|
|
93
|
-
accountID: z.string(),
|
|
94
|
-
UpdateBrand: components.UpdateBrand$inboundSchema,
|
|
95
|
-
}).transform((v) => {
|
|
96
|
-
return remap$(v, {
|
|
97
|
-
"UpdateBrand": "updateBrand",
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
/** @internal */
|
|
101
|
-
export type UpdateBrandRequest$Outbound = {
|
|
102
|
-
accountID: string;
|
|
103
|
-
UpdateBrand: components.UpdateBrand$Outbound;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/** @internal */
|
|
107
|
-
export const UpdateBrandRequest$outboundSchema: z.ZodType<
|
|
108
|
-
UpdateBrandRequest$Outbound,
|
|
109
|
-
z.ZodTypeDef,
|
|
110
|
-
UpdateBrandRequest
|
|
111
|
-
> = z.object({
|
|
112
|
-
accountID: z.string(),
|
|
113
|
-
updateBrand: components.UpdateBrand$outboundSchema,
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
updateBrand: "UpdateBrand",
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
export function updateBrandRequestToJSON(
|
|
121
|
-
updateBrandRequest: UpdateBrandRequest,
|
|
122
|
-
): string {
|
|
123
|
-
return JSON.stringify(
|
|
124
|
-
UpdateBrandRequest$outboundSchema.parse(updateBrandRequest),
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
export function updateBrandRequestFromJSON(
|
|
128
|
-
jsonString: string,
|
|
129
|
-
): SafeParseResult<UpdateBrandRequest, SDKValidationError> {
|
|
130
|
-
return safeParse(
|
|
131
|
-
jsonString,
|
|
132
|
-
(x) => UpdateBrandRequest$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
-
`Failed to parse 'UpdateBrandRequest' from JSON`,
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/** @internal */
|
|
138
|
-
export const UpdateBrandResponse$inboundSchema: z.ZodType<
|
|
139
|
-
UpdateBrandResponse,
|
|
140
|
-
z.ZodTypeDef,
|
|
141
|
-
unknown
|
|
142
|
-
> = z.object({
|
|
143
|
-
Headers: z.record(z.array(z.string())).default({}),
|
|
144
|
-
Result: components.BrandProperties$inboundSchema,
|
|
145
|
-
}).transform((v) => {
|
|
146
|
-
return remap$(v, {
|
|
147
|
-
"Headers": "headers",
|
|
148
|
-
"Result": "result",
|
|
149
|
-
});
|
|
150
|
-
});
|
|
151
|
-
/** @internal */
|
|
152
|
-
export type UpdateBrandResponse$Outbound = {
|
|
153
|
-
Headers: { [k: string]: Array<string> };
|
|
154
|
-
Result: components.BrandProperties$Outbound;
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
/** @internal */
|
|
158
|
-
export const UpdateBrandResponse$outboundSchema: z.ZodType<
|
|
159
|
-
UpdateBrandResponse$Outbound,
|
|
160
|
-
z.ZodTypeDef,
|
|
161
|
-
UpdateBrandResponse
|
|
162
|
-
> = z.object({
|
|
163
|
-
headers: z.record(z.array(z.string())),
|
|
164
|
-
result: components.BrandProperties$outboundSchema,
|
|
165
|
-
}).transform((v) => {
|
|
166
|
-
return remap$(v, {
|
|
167
|
-
headers: "Headers",
|
|
168
|
-
result: "Result",
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
export function updateBrandResponseToJSON(
|
|
173
|
-
updateBrandResponse: UpdateBrandResponse,
|
|
174
|
-
): string {
|
|
175
|
-
return JSON.stringify(
|
|
176
|
-
UpdateBrandResponse$outboundSchema.parse(updateBrandResponse),
|
|
177
|
-
);
|
|
178
|
-
}
|
|
179
|
-
export function updateBrandResponseFromJSON(
|
|
180
|
-
jsonString: string,
|
|
181
|
-
): SafeParseResult<UpdateBrandResponse, SDKValidationError> {
|
|
182
|
-
return safeParse(
|
|
183
|
-
jsonString,
|
|
184
|
-
(x) => UpdateBrandResponse$inboundSchema.parse(JSON.parse(x)),
|
|
185
|
-
`Failed to parse 'UpdateBrandResponse' from JSON`,
|
|
186
|
-
);
|
|
187
|
-
}
|