mollie-api-typescript 0.8.2 → 0.8.4
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/bin/mcp-server.js +24 -23
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/commonjs/hooks/mollie-hooks.js +2 -1
- package/dist/commonjs/hooks/mollie-hooks.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/getclient.d.ts +8 -11
- package/dist/commonjs/models/operations/getclient.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getclient.js +8 -8
- package/dist/commonjs/models/operations/getclient.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -11
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -8
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/esm/hooks/mollie-hooks.js +2 -1
- package/dist/esm/hooks/mollie-hooks.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/getclient.d.ts +8 -11
- package/dist/esm/models/operations/getclient.d.ts.map +1 -1
- package/dist/esm/models/operations/getclient.js +8 -8
- package/dist/esm/models/operations/getclient.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -11
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -8
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/examples/package-lock.json +2 -10
- package/jsr.json +1 -1
- package/package.json +3 -10
- package/src/hooks/mollie-hooks.ts +2 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/getclient.ts +16 -19
- package/src/models/operations/listclients.ts +16 -19
package/bin/mcp-server.js
CHANGED
|
@@ -34124,9 +34124,9 @@ var init_config = __esm(() => {
|
|
|
34124
34124
|
SDK_METADATA = {
|
|
34125
34125
|
language: "typescript",
|
|
34126
34126
|
openapiDocVersion: "1.0.0",
|
|
34127
|
-
sdkVersion: "0.8.
|
|
34128
|
-
genVersion: "2.
|
|
34129
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
34127
|
+
sdkVersion: "0.8.4",
|
|
34128
|
+
genVersion: "2.755.9",
|
|
34129
|
+
userAgent: "speakeasy-sdk/typescript 0.8.4 2.755.9 1.0.0 mollie-api-typescript"
|
|
34130
34130
|
};
|
|
34131
34131
|
});
|
|
34132
34132
|
|
|
@@ -34171,10 +34171,11 @@ class MollieHooks {
|
|
|
34171
34171
|
}
|
|
34172
34172
|
customizeUserAgent(headers, hookContext) {
|
|
34173
34173
|
const userAgentKey = "User-Agent";
|
|
34174
|
+
const process3 = globalThis?.process;
|
|
34174
34175
|
const customUserAgent = hookContext.options.customUserAgent;
|
|
34175
34176
|
const genVersion = SDK_METADATA.genVersion;
|
|
34176
34177
|
const sdkVersion = SDK_METADATA.sdkVersion;
|
|
34177
|
-
const nodeVersion =
|
|
34178
|
+
const nodeVersion = process3?.version ? process3?.version : "unknown";
|
|
34178
34179
|
const packageName = SDK_METADATA.userAgent.split(" ").at(-1);
|
|
34179
34180
|
let mollieUserAgent = `Speakeasy/${genVersion} TypeScript/${nodeVersion} ${packageName}/${sdkVersion}`;
|
|
34180
34181
|
if (customUserAgent) {
|
|
@@ -43083,13 +43084,13 @@ var init_getclient = __esm(() => {
|
|
|
43083
43084
|
count: numberType().int().optional()
|
|
43084
43085
|
});
|
|
43085
43086
|
GetClientLinks$inboundSchema = objectType({
|
|
43086
|
-
self: Url$inboundSchema
|
|
43087
|
+
self: Url$inboundSchema,
|
|
43087
43088
|
organization: Url$inboundSchema.optional(),
|
|
43088
43089
|
onboarding: Url$inboundSchema.optional(),
|
|
43089
43090
|
documentation: Url$inboundSchema.optional()
|
|
43090
43091
|
});
|
|
43091
43092
|
GetClientLinks$outboundSchema = objectType({
|
|
43092
|
-
self: Url$outboundSchema
|
|
43093
|
+
self: Url$outboundSchema,
|
|
43093
43094
|
organization: Url$outboundSchema.optional(),
|
|
43094
43095
|
onboarding: Url$outboundSchema.optional(),
|
|
43095
43096
|
documentation: Url$outboundSchema.optional()
|
|
@@ -43105,11 +43106,11 @@ var init_getclient = __esm(() => {
|
|
|
43105
43106
|
capabilities: EntityCapability$outboundSchema.optional()
|
|
43106
43107
|
});
|
|
43107
43108
|
GetClientResponse$inboundSchema = objectType({
|
|
43108
|
-
resource: stringType()
|
|
43109
|
-
id: stringType()
|
|
43109
|
+
resource: stringType(),
|
|
43110
|
+
id: stringType(),
|
|
43110
43111
|
commission: nullableType(lazyType(() => GetClientCommission$inboundSchema)).optional(),
|
|
43111
43112
|
organizationCreatedAt: stringType().optional(),
|
|
43112
|
-
_links: lazyType(() => GetClientLinks$inboundSchema)
|
|
43113
|
+
_links: lazyType(() => GetClientLinks$inboundSchema),
|
|
43113
43114
|
_embedded: lazyType(() => GetClientEmbedded$inboundSchema).optional()
|
|
43114
43115
|
}).transform((v2) => {
|
|
43115
43116
|
return remap(v2, {
|
|
@@ -43118,11 +43119,11 @@ var init_getclient = __esm(() => {
|
|
|
43118
43119
|
});
|
|
43119
43120
|
});
|
|
43120
43121
|
GetClientResponse$outboundSchema = objectType({
|
|
43121
|
-
resource: stringType()
|
|
43122
|
-
id: stringType()
|
|
43122
|
+
resource: stringType(),
|
|
43123
|
+
id: stringType(),
|
|
43123
43124
|
commission: nullableType(lazyType(() => GetClientCommission$outboundSchema)).optional(),
|
|
43124
43125
|
organizationCreatedAt: stringType().optional(),
|
|
43125
|
-
links: lazyType(() => GetClientLinks$outboundSchema)
|
|
43126
|
+
links: lazyType(() => GetClientLinks$outboundSchema),
|
|
43126
43127
|
embedded: lazyType(() => GetClientEmbedded$outboundSchema).optional()
|
|
43127
43128
|
}).transform((v2) => {
|
|
43128
43129
|
return remap(v2, {
|
|
@@ -44609,13 +44610,13 @@ var init_listclients = __esm(() => {
|
|
|
44609
44610
|
count: numberType().int().optional()
|
|
44610
44611
|
});
|
|
44611
44612
|
ListClientsLinks$inboundSchema = objectType({
|
|
44612
|
-
self: Url$inboundSchema
|
|
44613
|
+
self: Url$inboundSchema,
|
|
44613
44614
|
organization: Url$inboundSchema.optional(),
|
|
44614
44615
|
onboarding: Url$inboundSchema.optional(),
|
|
44615
44616
|
documentation: Url$inboundSchema.optional()
|
|
44616
44617
|
});
|
|
44617
44618
|
ListClientsLinks$outboundSchema = objectType({
|
|
44618
|
-
self: Url$outboundSchema
|
|
44619
|
+
self: Url$outboundSchema,
|
|
44619
44620
|
organization: Url$outboundSchema.optional(),
|
|
44620
44621
|
onboarding: Url$outboundSchema.optional(),
|
|
44621
44622
|
documentation: Url$outboundSchema.optional()
|
|
@@ -44631,11 +44632,11 @@ var init_listclients = __esm(() => {
|
|
|
44631
44632
|
capabilities: EntityCapability$outboundSchema.optional()
|
|
44632
44633
|
});
|
|
44633
44634
|
Client$inboundSchema = objectType({
|
|
44634
|
-
resource: stringType()
|
|
44635
|
-
id: stringType()
|
|
44635
|
+
resource: stringType(),
|
|
44636
|
+
id: stringType(),
|
|
44636
44637
|
commission: nullableType(lazyType(() => ListClientsCommission$inboundSchema)).optional(),
|
|
44637
44638
|
organizationCreatedAt: stringType().optional(),
|
|
44638
|
-
_links: lazyType(() => ListClientsLinks$inboundSchema)
|
|
44639
|
+
_links: lazyType(() => ListClientsLinks$inboundSchema),
|
|
44639
44640
|
_embedded: lazyType(() => ClientEmbedded$inboundSchema).optional()
|
|
44640
44641
|
}).transform((v2) => {
|
|
44641
44642
|
return remap(v2, {
|
|
@@ -44644,11 +44645,11 @@ var init_listclients = __esm(() => {
|
|
|
44644
44645
|
});
|
|
44645
44646
|
});
|
|
44646
44647
|
Client$outboundSchema = objectType({
|
|
44647
|
-
resource: stringType()
|
|
44648
|
-
id: stringType()
|
|
44648
|
+
resource: stringType(),
|
|
44649
|
+
id: stringType(),
|
|
44649
44650
|
commission: nullableType(lazyType(() => ListClientsCommission$outboundSchema)).optional(),
|
|
44650
44651
|
organizationCreatedAt: stringType().optional(),
|
|
44651
|
-
links: lazyType(() => ListClientsLinks$outboundSchema)
|
|
44652
|
+
links: lazyType(() => ListClientsLinks$outboundSchema),
|
|
44652
44653
|
embedded: lazyType(() => ClientEmbedded$outboundSchema).optional()
|
|
44653
44654
|
}).transform((v2) => {
|
|
44654
44655
|
return remap(v2, {
|
|
@@ -58956,7 +58957,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
58956
58957
|
function createMCPServer(deps) {
|
|
58957
58958
|
const server = new McpServer({
|
|
58958
58959
|
name: "Client",
|
|
58959
|
-
version: "0.8.
|
|
58960
|
+
version: "0.8.4"
|
|
58960
58961
|
});
|
|
58961
58962
|
const client = new ClientCore({
|
|
58962
58963
|
security: deps.security,
|
|
@@ -60384,7 +60385,7 @@ var routes = an({
|
|
|
60384
60385
|
var app = He(routes, {
|
|
60385
60386
|
name: "mcp",
|
|
60386
60387
|
versionInfo: {
|
|
60387
|
-
currentVersion: "0.8.
|
|
60388
|
+
currentVersion: "0.8.4"
|
|
60388
60389
|
}
|
|
60389
60390
|
});
|
|
60390
60391
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60392,5 +60393,5 @@ export {
|
|
|
60392
60393
|
app
|
|
60393
60394
|
};
|
|
60394
60395
|
|
|
60395
|
-
//# debugId=
|
|
60396
|
+
//# debugId=36AB504229E4248C64756E2164756E21
|
|
60396
60397
|
//# sourceMappingURL=mcp-server.js.map
|