mollie-api-typescript 0.1.4 → 0.1.5

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 (57) hide show
  1. package/bin/mcp-server.js +19 -17
  2. package/bin/mcp-server.js.map +10 -10
  3. package/dist/commonjs/funcs/methodsAll.d.ts.map +1 -1
  4. package/dist/commonjs/funcs/methodsAll.js +3 -2
  5. package/dist/commonjs/funcs/methodsAll.js.map +1 -1
  6. package/dist/commonjs/funcs/methodsList.d.ts.map +1 -1
  7. package/dist/commonjs/funcs/methodsList.js +3 -2
  8. package/dist/commonjs/funcs/methodsList.js.map +1 -1
  9. package/dist/commonjs/lib/config.d.ts +2 -2
  10. package/dist/commonjs/lib/config.js +2 -2
  11. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  12. package/dist/commonjs/mcp-server/server.js +1 -1
  13. package/dist/commonjs/models/operations/getmethod.d.ts +2 -2
  14. package/dist/commonjs/models/operations/getmethod.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/getmethod.js +2 -2
  16. package/dist/commonjs/models/operations/getmethod.js.map +1 -1
  17. package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
  18. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/listallmethods.js +2 -2
  20. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  21. package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
  22. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/listmethods.js +2 -2
  24. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  25. package/dist/esm/funcs/methodsAll.d.ts.map +1 -1
  26. package/dist/esm/funcs/methodsAll.js +4 -3
  27. package/dist/esm/funcs/methodsAll.js.map +1 -1
  28. package/dist/esm/funcs/methodsList.d.ts.map +1 -1
  29. package/dist/esm/funcs/methodsList.js +4 -3
  30. package/dist/esm/funcs/methodsList.js.map +1 -1
  31. package/dist/esm/lib/config.d.ts +2 -2
  32. package/dist/esm/lib/config.js +2 -2
  33. package/dist/esm/mcp-server/mcp-server.js +1 -1
  34. package/dist/esm/mcp-server/server.js +1 -1
  35. package/dist/esm/models/operations/getmethod.d.ts +2 -2
  36. package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
  37. package/dist/esm/models/operations/getmethod.js +2 -2
  38. package/dist/esm/models/operations/getmethod.js.map +1 -1
  39. package/dist/esm/models/operations/listallmethods.d.ts +2 -2
  40. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  41. package/dist/esm/models/operations/listallmethods.js +2 -2
  42. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  43. package/dist/esm/models/operations/listmethods.d.ts +2 -2
  44. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  45. package/dist/esm/models/operations/listmethods.js +2 -2
  46. package/dist/esm/models/operations/listmethods.js.map +1 -1
  47. package/examples/package-lock.json +1 -1
  48. package/jsr.json +1 -1
  49. package/package.json +1 -1
  50. package/src/funcs/methodsAll.ts +17 -9
  51. package/src/funcs/methodsList.ts +21 -13
  52. package/src/lib/config.ts +2 -2
  53. package/src/mcp-server/mcp-server.ts +1 -1
  54. package/src/mcp-server/server.ts +1 -1
  55. package/src/models/operations/getmethod.ts +4 -4
  56. package/src/models/operations/listallmethods.ts +4 -4
  57. package/src/models/operations/listmethods.ts +4 -4
@@ -425,7 +425,7 @@ export type GetMethodResponse = {
425
425
  /**
426
426
  * The payment method's activation status for this profile.
427
427
  */
428
- status: GetMethodStatus | null;
428
+ status: GetMethodStatus;
429
429
  /**
430
430
  * **Optional include.** Array of objects for each 'issuer' that is available for this payment method. Only relevant
431
431
  *
@@ -1306,7 +1306,7 @@ export const GetMethodResponse$inboundSchema: z.ZodType<
1306
1306
  minimumAmount: z.lazy(() => GetMethodMinimumAmount$inboundSchema),
1307
1307
  maximumAmount: z.nullable(z.lazy(() => GetMethodMaximumAmount$inboundSchema)),
1308
1308
  image: z.lazy(() => GetMethodImage$inboundSchema),
1309
- status: z.nullable(GetMethodStatus$inboundSchema),
1309
+ status: GetMethodStatus$inboundSchema,
1310
1310
  issuers: z.array(z.lazy(() => GetMethodIssuer$inboundSchema)).optional(),
1311
1311
  _links: z.lazy(() => GetMethodLinks$inboundSchema),
1312
1312
  }).transform((v) => {
@@ -1323,7 +1323,7 @@ export type GetMethodResponse$Outbound = {
1323
1323
  minimumAmount: GetMethodMinimumAmount$Outbound;
1324
1324
  maximumAmount: GetMethodMaximumAmount$Outbound | null;
1325
1325
  image: GetMethodImage$Outbound;
1326
- status: string | null;
1326
+ status: string;
1327
1327
  issuers?: Array<GetMethodIssuer$Outbound> | undefined;
1328
1328
  _links: GetMethodLinks$Outbound;
1329
1329
  };
@@ -1342,7 +1342,7 @@ export const GetMethodResponse$outboundSchema: z.ZodType<
1342
1342
  z.lazy(() => GetMethodMaximumAmount$outboundSchema),
1343
1343
  ),
1344
1344
  image: z.lazy(() => GetMethodImage$outboundSchema),
1345
- status: z.nullable(GetMethodStatus$outboundSchema),
1345
+ status: GetMethodStatus$outboundSchema,
1346
1346
  issuers: z.array(z.lazy(() => GetMethodIssuer$outboundSchema)).optional(),
1347
1347
  links: z.lazy(() => GetMethodLinks$outboundSchema),
1348
1348
  }).transform((v) => {
@@ -461,7 +461,7 @@ export type ListAllMethodsMethod = {
461
461
  /**
462
462
  * The payment method's activation status for this profile.
463
463
  */
464
- status: ListAllMethodsStatus | null;
464
+ status: ListAllMethodsStatus;
465
465
  /**
466
466
  * **Optional include.** Array of objects for each 'issuer' that is available for this payment method. Only relevant
467
467
  *
@@ -1497,7 +1497,7 @@ export const ListAllMethodsMethod$inboundSchema: z.ZodType<
1497
1497
  z.lazy(() => ListAllMethodsMaximumAmount$inboundSchema),
1498
1498
  ),
1499
1499
  image: z.lazy(() => ListAllMethodsImage$inboundSchema),
1500
- status: z.nullable(ListAllMethodsStatus$inboundSchema),
1500
+ status: ListAllMethodsStatus$inboundSchema,
1501
1501
  issuers: z.array(z.lazy(() => ListAllMethodsIssuer$inboundSchema)).optional(),
1502
1502
  _links: z.lazy(() => ListAllMethodsMethodLinks$inboundSchema),
1503
1503
  pricing: z.array(z.lazy(() => Pricing$inboundSchema)).optional(),
@@ -1515,7 +1515,7 @@ export type ListAllMethodsMethod$Outbound = {
1515
1515
  minimumAmount: ListAllMethodsMinimumAmount$Outbound;
1516
1516
  maximumAmount: ListAllMethodsMaximumAmount$Outbound | null;
1517
1517
  image: ListAllMethodsImage$Outbound;
1518
- status: string | null;
1518
+ status: string;
1519
1519
  issuers?: Array<ListAllMethodsIssuer$Outbound> | undefined;
1520
1520
  _links: ListAllMethodsMethodLinks$Outbound;
1521
1521
  pricing?: Array<Pricing$Outbound> | undefined;
@@ -1535,7 +1535,7 @@ export const ListAllMethodsMethod$outboundSchema: z.ZodType<
1535
1535
  z.lazy(() => ListAllMethodsMaximumAmount$outboundSchema),
1536
1536
  ),
1537
1537
  image: z.lazy(() => ListAllMethodsImage$outboundSchema),
1538
- status: z.nullable(ListAllMethodsStatus$outboundSchema),
1538
+ status: ListAllMethodsStatus$outboundSchema,
1539
1539
  issuers: z.array(z.lazy(() => ListAllMethodsIssuer$outboundSchema))
1540
1540
  .optional(),
1541
1541
  links: z.lazy(() => ListAllMethodsMethodLinks$outboundSchema),
@@ -528,7 +528,7 @@ export type ListMethodsMethod = {
528
528
  /**
529
529
  * The payment method's activation status for this profile.
530
530
  */
531
- status: ListMethodsStatus | null;
531
+ status: ListMethodsStatus;
532
532
  /**
533
533
  * **Optional include.** Array of objects for each 'issuer' that is available for this payment method. Only relevant
534
534
  *
@@ -1518,7 +1518,7 @@ export const ListMethodsMethod$inboundSchema: z.ZodType<
1518
1518
  z.lazy(() => ListMethodsMaximumAmount$inboundSchema),
1519
1519
  ),
1520
1520
  image: z.lazy(() => ListMethodsImage$inboundSchema),
1521
- status: z.nullable(ListMethodsStatus$inboundSchema),
1521
+ status: ListMethodsStatus$inboundSchema,
1522
1522
  issuers: z.array(z.lazy(() => ListMethodsIssuer$inboundSchema)).optional(),
1523
1523
  _links: z.lazy(() => ListMethodsMethodLinks$inboundSchema),
1524
1524
  }).transform((v) => {
@@ -1535,7 +1535,7 @@ export type ListMethodsMethod$Outbound = {
1535
1535
  minimumAmount: ListMethodsMinimumAmount$Outbound;
1536
1536
  maximumAmount: ListMethodsMaximumAmount$Outbound | null;
1537
1537
  image: ListMethodsImage$Outbound;
1538
- status: string | null;
1538
+ status: string;
1539
1539
  issuers?: Array<ListMethodsIssuer$Outbound> | undefined;
1540
1540
  _links: ListMethodsMethodLinks$Outbound;
1541
1541
  };
@@ -1554,7 +1554,7 @@ export const ListMethodsMethod$outboundSchema: z.ZodType<
1554
1554
  z.lazy(() => ListMethodsMaximumAmount$outboundSchema),
1555
1555
  ),
1556
1556
  image: z.lazy(() => ListMethodsImage$outboundSchema),
1557
- status: z.nullable(ListMethodsStatus$outboundSchema),
1557
+ status: ListMethodsStatus$outboundSchema,
1558
1558
  issuers: z.array(z.lazy(() => ListMethodsIssuer$outboundSchema)).optional(),
1559
1559
  links: z.lazy(() => ListMethodsMethodLinks$outboundSchema),
1560
1560
  }).transform((v) => {