@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
|
@@ -149,7 +149,6 @@ export * from "./submitdisputeevidence.js";
|
|
|
149
149
|
export * from "./testendtoendtoken.js";
|
|
150
150
|
export * from "./updateaccount.js";
|
|
151
151
|
export * from "./updateapplepaymerchantdomains.js";
|
|
152
|
-
export * from "./updatebrand.js";
|
|
153
152
|
export * from "./updatecard.js";
|
|
154
153
|
export * from "./updatedisputeevidence.js";
|
|
155
154
|
export * from "./updateimage.js";
|
package/src/sdk/branding.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import { brandingCreate } from "../funcs/brandingCreate.js";
|
|
6
6
|
import { brandingGet } from "../funcs/brandingGet.js";
|
|
7
|
-
import { brandingUpdate } from "../funcs/brandingUpdate.js";
|
|
8
7
|
import { brandingUpsert } from "../funcs/brandingUpsert.js";
|
|
9
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
9
|
import * as operations from "../models/operations/index.js";
|
|
@@ -61,21 +60,4 @@ export class Branding extends ClientSDK {
|
|
|
61
60
|
options,
|
|
62
61
|
));
|
|
63
62
|
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Updates the brand properties for the specified account.
|
|
67
|
-
*
|
|
68
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69
|
-
* you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
70
|
-
*/
|
|
71
|
-
async update(
|
|
72
|
-
request: operations.UpdateBrandRequest,
|
|
73
|
-
options?: RequestOptions,
|
|
74
|
-
): Promise<operations.UpdateBrandResponse> {
|
|
75
|
-
return unwrapAsync(brandingUpdate(
|
|
76
|
-
this,
|
|
77
|
-
request,
|
|
78
|
-
options,
|
|
79
|
-
));
|
|
80
|
-
}
|
|
81
63
|
}
|
package/src/sdk/institutions.ts
CHANGED
|
@@ -31,10 +31,14 @@ export class Institutions extends ClientSDK {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
+
* This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
|
|
35
|
+
*
|
|
34
36
|
* Search for institutions by either their name or routing number.
|
|
35
37
|
*
|
|
36
38
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
37
39
|
* you'll need to specify the `/fed.read` scope.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
42
|
*/
|
|
39
43
|
async search(
|
|
40
44
|
request: operations.ListInstitutionsRequest,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MoovCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { MoovError } from "../models/errors/mooverror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Updates the brand properties for the specified account.
|
|
13
|
-
*
|
|
14
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
15
|
-
* you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
16
|
-
*/
|
|
17
|
-
export declare function brandingUpdate(client: MoovCore, request: operations.UpdateBrandRequest, options?: RequestOptions): APIPromise<Result<operations.UpdateBrandResponse, errors.GenericError | errors.BrandValidationError | MoovError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
-
//# sourceMappingURL=brandingUpdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brandingUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/brandingUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,mBAAmB,EAC5B,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,oBAAoB,GAC3B,SAAS,GACT,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/brandingUpdate.js
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.brandingUpdate = brandingUpdate;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
-
const security_js_1 = require("../lib/security.js");
|
|
45
|
-
const url_js_1 = require("../lib/url.js");
|
|
46
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
47
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Updates the brand properties for the specified account.
|
|
51
|
-
*
|
|
52
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
53
|
-
* you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
54
|
-
*/
|
|
55
|
-
function brandingUpdate(client, request, options) {
|
|
56
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
57
|
-
}
|
|
58
|
-
async function $do(client, request, options) {
|
|
59
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.UpdateBrandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60
|
-
if (!parsed.ok) {
|
|
61
|
-
return [parsed, { status: "invalid" }];
|
|
62
|
-
}
|
|
63
|
-
const payload = parsed.value;
|
|
64
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.UpdateBrand, { explode: true });
|
|
65
|
-
const pathParams = {
|
|
66
|
-
accountID: (0, encodings_js_1.encodeSimple)("accountID", payload.accountID, {
|
|
67
|
-
explode: false,
|
|
68
|
-
charEncoding: "percent",
|
|
69
|
-
}),
|
|
70
|
-
};
|
|
71
|
-
const path = (0, url_js_1.pathToFunc)("/accounts/{accountID}/branding")(pathParams);
|
|
72
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
73
|
-
"Content-Type": "application/json",
|
|
74
|
-
Accept: "application/json",
|
|
75
|
-
"X-Moov-Version": (0, encodings_js_1.encodeSimple)("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" }),
|
|
76
|
-
}));
|
|
77
|
-
const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
|
|
78
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
79
|
-
const context = {
|
|
80
|
-
options: client._options,
|
|
81
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
82
|
-
operationID: "updateBrand",
|
|
83
|
-
oAuth2Scopes: null,
|
|
84
|
-
resolvedSecurity: requestSecurity,
|
|
85
|
-
securitySource: client._options.security,
|
|
86
|
-
retryConfig: options?.retries
|
|
87
|
-
|| client._options.retryConfig
|
|
88
|
-
|| { strategy: "none" },
|
|
89
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
90
|
-
};
|
|
91
|
-
const requestRes = client._createRequest(context, {
|
|
92
|
-
security: requestSecurity,
|
|
93
|
-
method: "PATCH",
|
|
94
|
-
baseURL: options?.serverURL,
|
|
95
|
-
path: path,
|
|
96
|
-
headers: headers,
|
|
97
|
-
body: body,
|
|
98
|
-
userAgent: client._options.userAgent,
|
|
99
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
|
-
}, options);
|
|
101
|
-
if (!requestRes.ok) {
|
|
102
|
-
return [requestRes, { status: "invalid" }];
|
|
103
|
-
}
|
|
104
|
-
const req = requestRes.value;
|
|
105
|
-
const doResult = await client._do(req, {
|
|
106
|
-
context,
|
|
107
|
-
errorCodes: [
|
|
108
|
-
"400",
|
|
109
|
-
"401",
|
|
110
|
-
"403",
|
|
111
|
-
"404",
|
|
112
|
-
"409",
|
|
113
|
-
"422",
|
|
114
|
-
"429",
|
|
115
|
-
"4XX",
|
|
116
|
-
"500",
|
|
117
|
-
"504",
|
|
118
|
-
"5XX",
|
|
119
|
-
],
|
|
120
|
-
retryConfig: context.retryConfig,
|
|
121
|
-
retryCodes: context.retryCodes,
|
|
122
|
-
});
|
|
123
|
-
if (!doResult.ok) {
|
|
124
|
-
return [doResult, { status: "request-error", request: req }];
|
|
125
|
-
}
|
|
126
|
-
const response = doResult.value;
|
|
127
|
-
const responseFields = {
|
|
128
|
-
HttpMeta: { Response: response, Request: req },
|
|
129
|
-
};
|
|
130
|
-
const [result] = await M.match(M.json(200, operations.UpdateBrandResponse$inboundSchema, {
|
|
131
|
-
hdrs: true,
|
|
132
|
-
key: "Result",
|
|
133
|
-
}), M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.BrandValidationError$inboundSchema, { hdrs: true }), M.fail([401, 403, 404, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134
|
-
if (!result.ok) {
|
|
135
|
-
return [result, { status: "complete", request: req, response }];
|
|
136
|
-
}
|
|
137
|
-
return [result, { status: "complete", request: req, response }];
|
|
138
|
-
}
|
|
139
|
-
//# sourceMappingURL=brandingUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brandingUpdate.js","sourceRoot":"","sources":["../src/funcs/brandingUpdate.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.UpdateBrandRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$brandingUpdate: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=brandingUpdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brandingUpdate.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/brandingUpdate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,OAAO,IAAI,CAyB3D,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.tool$brandingUpdate = void 0;
|
|
40
|
-
const brandingUpdate_js_1 = require("../../funcs/brandingUpdate.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.UpdateBrandRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$brandingUpdate = {
|
|
47
|
-
name: "branding-update",
|
|
48
|
-
description: `Updates the brand properties for the specified account.
|
|
49
|
-
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
-
you'll need to specify the \`/accounts/{accountID}/branding.write\` scope.`,
|
|
52
|
-
args,
|
|
53
|
-
tool: async (client, args, ctx) => {
|
|
54
|
-
const [result, apiCall] = await (0, brandingUpdate_js_1.brandingUpdate)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55
|
-
if (!result.ok) {
|
|
56
|
-
return {
|
|
57
|
-
content: [{ type: "text", text: result.error.message }],
|
|
58
|
-
isError: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const value = result.value.result;
|
|
62
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=brandingUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brandingUpdate.js","sourceRoot":"","sources":["../../src/mcp-server/tools/brandingUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qEAA+D;AAC/D,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,gCAAgC;CACrD,CAAC;AAEW,QAAA,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE;;;2EAG4D;IACzE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,kCAAc,EAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { UpdateColors, UpdateColors$Outbound } from "./updatecolors.js";
|
|
5
|
-
export type UpdateBrand = {
|
|
6
|
-
colors?: UpdateColors | undefined;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare const UpdateBrand$inboundSchema: z.ZodType<UpdateBrand, z.ZodTypeDef, unknown>;
|
|
10
|
-
/** @internal */
|
|
11
|
-
export type UpdateBrand$Outbound = {
|
|
12
|
-
colors?: UpdateColors$Outbound | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const UpdateBrand$outboundSchema: z.ZodType<UpdateBrand$Outbound, z.ZodTypeDef, UpdateBrand>;
|
|
16
|
-
export declare function updateBrandToJSON(updateBrand: UpdateBrand): string;
|
|
17
|
-
export declare function updateBrandFromJSON(jsonString: string): SafeParseResult<UpdateBrand, SDKValidationError>;
|
|
18
|
-
//# sourceMappingURL=updatebrand.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatebrand.d.ts","sourceRoot":"","sources":["../../src/models/components/updatebrand.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAGX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.UpdateBrand$outboundSchema = exports.UpdateBrand$inboundSchema = void 0;
|
|
40
|
-
exports.updateBrandToJSON = updateBrandToJSON;
|
|
41
|
-
exports.updateBrandFromJSON = updateBrandFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const updatecolors_js_1 = require("./updatecolors.js");
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.UpdateBrand$inboundSchema = z.object({
|
|
47
|
-
colors: updatecolors_js_1.UpdateColors$inboundSchema.optional(),
|
|
48
|
-
});
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.UpdateBrand$outboundSchema = z.object({
|
|
51
|
-
colors: updatecolors_js_1.UpdateColors$outboundSchema.optional(),
|
|
52
|
-
});
|
|
53
|
-
function updateBrandToJSON(updateBrand) {
|
|
54
|
-
return JSON.stringify(exports.UpdateBrand$outboundSchema.parse(updateBrand));
|
|
55
|
-
}
|
|
56
|
-
function updateBrandFromJSON(jsonString) {
|
|
57
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateBrand$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateBrand' from JSON`);
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=updatebrand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatebrand.js","sourceRoot":"","sources":["../../src/models/components/updatebrand.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,8CAEC;AACD,kDAQC;AAhDD,0CAA4B;AAC5B,qDAAiD;AAGjD,uDAK2B;AAM3B,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4CAA0B,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AACD,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type UpdateColor = {
|
|
5
|
-
accent?: string | undefined;
|
|
6
|
-
};
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare const UpdateColor$inboundSchema: z.ZodType<UpdateColor, z.ZodTypeDef, unknown>;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export type UpdateColor$Outbound = {
|
|
11
|
-
accent?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const UpdateColor$outboundSchema: z.ZodType<UpdateColor$Outbound, z.ZodTypeDef, UpdateColor>;
|
|
15
|
-
export declare function updateColorToJSON(updateColor: UpdateColor): string;
|
|
16
|
-
export declare function updateColorFromJSON(jsonString: string): SafeParseResult<UpdateColor, SDKValidationError>;
|
|
17
|
-
//# sourceMappingURL=updatecolor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecolor.d.ts","sourceRoot":"","sources":["../../src/models/components/updatecolor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAGX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.UpdateColor$outboundSchema = exports.UpdateColor$inboundSchema = void 0;
|
|
40
|
-
exports.updateColorToJSON = updateColorToJSON;
|
|
41
|
-
exports.updateColorFromJSON = updateColorFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.UpdateColor$inboundSchema = z.object({
|
|
46
|
-
accent: z.string().optional(),
|
|
47
|
-
});
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.UpdateColor$outboundSchema = z.object({
|
|
50
|
-
accent: z.string().optional(),
|
|
51
|
-
});
|
|
52
|
-
function updateColorToJSON(updateColor) {
|
|
53
|
-
return JSON.stringify(exports.UpdateColor$outboundSchema.parse(updateColor));
|
|
54
|
-
}
|
|
55
|
-
function updateColorFromJSON(jsonString) {
|
|
56
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateColor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateColor' from JSON`);
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=updatecolor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecolor.js","sourceRoot":"","sources":["../../src/models/components/updatecolor.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,8CAEC;AACD,kDAQC;AA1CD,0CAA4B;AAC5B,qDAAiD;AAQjD,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AACD,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { UpdateColor, UpdateColor$Outbound } from "./updatecolor.js";
|
|
5
|
-
export type UpdateColors = {
|
|
6
|
-
dark?: UpdateColor | undefined;
|
|
7
|
-
light?: UpdateColor | undefined;
|
|
8
|
-
};
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const UpdateColors$inboundSchema: z.ZodType<UpdateColors, z.ZodTypeDef, unknown>;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export type UpdateColors$Outbound = {
|
|
13
|
-
dark?: UpdateColor$Outbound | undefined;
|
|
14
|
-
light?: UpdateColor$Outbound | undefined;
|
|
15
|
-
};
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const UpdateColors$outboundSchema: z.ZodType<UpdateColors$Outbound, z.ZodTypeDef, UpdateColors>;
|
|
18
|
-
export declare function updateColorsToJSON(updateColors: UpdateColors): string;
|
|
19
|
-
export declare function updateColorsFromJSON(jsonString: string): SafeParseResult<UpdateColors, SDKValidationError>;
|
|
20
|
-
//# sourceMappingURL=updatecolors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecolors.d.ts","sourceRoot":"","sources":["../../src/models/components/updatecolors.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxC,KAAK,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAIZ,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AACD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.UpdateColors$outboundSchema = exports.UpdateColors$inboundSchema = void 0;
|
|
40
|
-
exports.updateColorsToJSON = updateColorsToJSON;
|
|
41
|
-
exports.updateColorsFromJSON = updateColorsFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const updatecolor_js_1 = require("./updatecolor.js");
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.UpdateColors$inboundSchema = z.object({
|
|
47
|
-
dark: updatecolor_js_1.UpdateColor$inboundSchema.optional(),
|
|
48
|
-
light: updatecolor_js_1.UpdateColor$inboundSchema.optional(),
|
|
49
|
-
});
|
|
50
|
-
/** @internal */
|
|
51
|
-
exports.UpdateColors$outboundSchema = z.object({
|
|
52
|
-
dark: updatecolor_js_1.UpdateColor$outboundSchema.optional(),
|
|
53
|
-
light: updatecolor_js_1.UpdateColor$outboundSchema.optional(),
|
|
54
|
-
});
|
|
55
|
-
function updateColorsToJSON(updateColors) {
|
|
56
|
-
return JSON.stringify(exports.UpdateColors$outboundSchema.parse(updateColors));
|
|
57
|
-
}
|
|
58
|
-
function updateColorsFromJSON(jsonString) {
|
|
59
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateColors$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateColors' from JSON`);
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=updatecolors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecolors.js","sourceRoot":"","sources":["../../src/models/components/updatecolors.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CH,gDAEC;AACD,oDAQC;AApDD,0CAA4B;AAC5B,qDAAiD;AAGjD,qDAK0B;AAO1B,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,2CAA0B,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,2CAA0B,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import * as components from "../components/index.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type UpdateBrandGlobals = {
|
|
6
|
-
/**
|
|
7
|
-
* Specify an API version.
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
*
|
|
11
|
-
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
12
|
-
* - `YYYY` is the year
|
|
13
|
-
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
14
|
-
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
15
|
-
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
16
|
-
*
|
|
17
|
-
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
18
|
-
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
19
|
-
*/
|
|
20
|
-
xMoovVersion?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
export type UpdateBrandRequest = {
|
|
23
|
-
accountID: string;
|
|
24
|
-
updateBrand: components.UpdateBrand;
|
|
25
|
-
};
|
|
26
|
-
export type UpdateBrandResponse = {
|
|
27
|
-
headers: {
|
|
28
|
-
[k: string]: Array<string>;
|
|
29
|
-
};
|
|
30
|
-
result: components.BrandProperties;
|
|
31
|
-
};
|
|
32
|
-
/** @internal */
|
|
33
|
-
export declare const UpdateBrandGlobals$inboundSchema: z.ZodType<UpdateBrandGlobals, z.ZodTypeDef, unknown>;
|
|
34
|
-
/** @internal */
|
|
35
|
-
export type UpdateBrandGlobals$Outbound = {
|
|
36
|
-
"X-Moov-Version"?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
/** @internal */
|
|
39
|
-
export declare const UpdateBrandGlobals$outboundSchema: z.ZodType<UpdateBrandGlobals$Outbound, z.ZodTypeDef, UpdateBrandGlobals>;
|
|
40
|
-
export declare function updateBrandGlobalsToJSON(updateBrandGlobals: UpdateBrandGlobals): string;
|
|
41
|
-
export declare function updateBrandGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateBrandGlobals, SDKValidationError>;
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const UpdateBrandRequest$inboundSchema: z.ZodType<UpdateBrandRequest, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @internal */
|
|
45
|
-
export type UpdateBrandRequest$Outbound = {
|
|
46
|
-
accountID: string;
|
|
47
|
-
UpdateBrand: components.UpdateBrand$Outbound;
|
|
48
|
-
};
|
|
49
|
-
/** @internal */
|
|
50
|
-
export declare const UpdateBrandRequest$outboundSchema: z.ZodType<UpdateBrandRequest$Outbound, z.ZodTypeDef, UpdateBrandRequest>;
|
|
51
|
-
export declare function updateBrandRequestToJSON(updateBrandRequest: UpdateBrandRequest): string;
|
|
52
|
-
export declare function updateBrandRequestFromJSON(jsonString: string): SafeParseResult<UpdateBrandRequest, SDKValidationError>;
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const UpdateBrandResponse$inboundSchema: z.ZodType<UpdateBrandResponse, z.ZodTypeDef, unknown>;
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type UpdateBrandResponse$Outbound = {
|
|
57
|
-
Headers: {
|
|
58
|
-
[k: string]: Array<string>;
|
|
59
|
-
};
|
|
60
|
-
Result: components.BrandProperties$Outbound;
|
|
61
|
-
};
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const UpdateBrandResponse$outboundSchema: z.ZodType<UpdateBrandResponse$Outbound, z.ZodTypeDef, UpdateBrandResponse>;
|
|
64
|
-
export declare function updateBrandResponseToJSON(updateBrandResponse: UpdateBrandResponse): string;
|
|
65
|
-
export declare function updateBrandResponseFromJSON(jsonString: string): SafeParseResult<UpdateBrandResponse, SDKValidationError>;
|
|
66
|
-
//# sourceMappingURL=updatebrand.d.ts.map
|