@moovio/sdk 0.21.15 → 0.21.16

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 (118) hide show
  1. package/bin/mcp-server.js +227 -141
  2. package/bin/mcp-server.js.map +22 -18
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/createpaymentlink.d.ts +3 -3
  10. package/models/components/createpaymentlink.d.ts.map +1 -1
  11. package/models/components/createpaymentlink.js +3 -3
  12. package/models/components/createpaymentlink.js.map +1 -1
  13. package/models/components/createpaymentlinklineitem.d.ts +50 -0
  14. package/models/components/createpaymentlinklineitem.d.ts.map +1 -0
  15. package/models/components/createpaymentlinklineitem.js +70 -0
  16. package/models/components/createpaymentlinklineitem.js.map +1 -0
  17. package/models/components/createpaymentlinklineitemoption.d.ts +44 -0
  18. package/models/components/createpaymentlinklineitemoption.d.ts.map +1 -0
  19. package/models/components/createpaymentlinklineitemoption.js +67 -0
  20. package/models/components/createpaymentlinklineitemoption.js.map +1 -0
  21. package/models/components/createpaymentlinklineitemoptionvalidationerror.d.ts +24 -0
  22. package/models/components/createpaymentlinklineitemoptionvalidationerror.d.ts.map +1 -0
  23. package/models/components/{paymentlinklineitemoptionvalidationerror.js → createpaymentlinklineitemoptionvalidationerror.js} +10 -10
  24. package/models/components/createpaymentlinklineitemoptionvalidationerror.js.map +1 -0
  25. package/models/components/createpaymentlinklineitems.d.ts +27 -0
  26. package/models/components/createpaymentlinklineitems.d.ts.map +1 -0
  27. package/models/components/{paymentlinklineitemsupdate.js → createpaymentlinklineitems.js} +13 -13
  28. package/models/components/createpaymentlinklineitems.js.map +1 -0
  29. package/models/components/createpaymentlinklineitemsupdate.d.ts +27 -0
  30. package/models/components/createpaymentlinklineitemsupdate.d.ts.map +1 -0
  31. package/models/components/{paymentlinklineitemsvalidationerror.js → createpaymentlinklineitemsupdate.js} +13 -13
  32. package/models/components/createpaymentlinklineitemsupdate.js.map +1 -0
  33. package/models/components/createpaymentlinklineitemsvalidationerror.d.ts +22 -0
  34. package/models/components/createpaymentlinklineitemsvalidationerror.d.ts.map +1 -0
  35. package/models/components/createpaymentlinklineitemsvalidationerror.js +61 -0
  36. package/models/components/createpaymentlinklineitemsvalidationerror.js.map +1 -0
  37. package/models/components/createpaymentlinklineitemvalidationerror.d.ts +31 -0
  38. package/models/components/createpaymentlinklineitemvalidationerror.d.ts.map +1 -0
  39. package/models/components/{paymentlinklineitemvalidationerror.js → createpaymentlinklineitemvalidationerror.js} +13 -15
  40. package/models/components/createpaymentlinklineitemvalidationerror.js.map +1 -0
  41. package/models/components/index.d.ts +8 -4
  42. package/models/components/index.d.ts.map +1 -1
  43. package/models/components/index.js +8 -4
  44. package/models/components/index.js.map +1 -1
  45. package/models/components/paymentlinklineitem.d.ts +6 -0
  46. package/models/components/paymentlinklineitem.d.ts.map +1 -1
  47. package/models/components/paymentlinklineitem.js +3 -0
  48. package/models/components/paymentlinklineitem.js.map +1 -1
  49. package/models/components/paymentlinklineitemimagemetadata.d.ts +35 -0
  50. package/models/components/paymentlinklineitemimagemetadata.d.ts.map +1 -0
  51. package/models/components/paymentlinklineitemimagemetadata.js +64 -0
  52. package/models/components/paymentlinklineitemimagemetadata.js.map +1 -0
  53. package/models/components/paymentlinklineitemoption.d.ts +6 -0
  54. package/models/components/paymentlinklineitemoption.d.ts.map +1 -1
  55. package/models/components/paymentlinklineitemoption.js +3 -0
  56. package/models/components/paymentlinklineitemoption.js.map +1 -1
  57. package/models/components/updatepaymentlink.d.ts +3 -3
  58. package/models/components/updatepaymentlink.d.ts.map +1 -1
  59. package/models/components/updatepaymentlink.js +3 -3
  60. package/models/components/updatepaymentlink.js.map +1 -1
  61. package/models/errors/createpaymentlinkerror.d.ts +3 -3
  62. package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
  63. package/models/errors/createpaymentlinkerror.js +3 -3
  64. package/models/errors/createpaymentlinkerror.js.map +1 -1
  65. package/models/errors/updatepaymentlinkerror.d.ts +3 -3
  66. package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
  67. package/models/errors/updatepaymentlinkerror.js +3 -3
  68. package/models/errors/updatepaymentlinkerror.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/lib/config.ts +3 -3
  71. package/src/mcp-server/mcp-server.ts +1 -1
  72. package/src/mcp-server/server.ts +1 -1
  73. package/src/models/components/createpaymentlink.ts +10 -10
  74. package/src/models/components/createpaymentlinklineitem.ts +104 -0
  75. package/src/models/components/createpaymentlinklineitemoption.ts +93 -0
  76. package/src/models/components/createpaymentlinklineitemoptionvalidationerror.ts +80 -0
  77. package/src/models/components/createpaymentlinklineitems.ts +66 -0
  78. package/src/models/components/createpaymentlinklineitemsupdate.ts +68 -0
  79. package/src/models/components/createpaymentlinklineitemsvalidationerror.ts +71 -0
  80. package/src/models/components/createpaymentlinklineitemvalidationerror.ts +96 -0
  81. package/src/models/components/index.ts +8 -4
  82. package/src/models/components/paymentlinklineitem.ts +13 -0
  83. package/src/models/components/paymentlinklineitemimagemetadata.ts +77 -0
  84. package/src/models/components/paymentlinklineitemoption.ts +13 -0
  85. package/src/models/components/updatepaymentlink.ts +10 -10
  86. package/src/models/errors/createpaymentlinkerror.ts +6 -6
  87. package/src/models/errors/updatepaymentlinkerror.ts +6 -6
  88. package/src/types/enums.ts +1 -21
  89. package/src/types/index.ts +2 -1
  90. package/src/types/unrecognized.ts +27 -0
  91. package/types/enums.d.ts +1 -8
  92. package/types/enums.d.ts.map +1 -1
  93. package/types/enums.js +3 -21
  94. package/types/enums.js.map +1 -1
  95. package/types/index.d.ts +2 -1
  96. package/types/index.d.ts.map +1 -1
  97. package/types/index.js +15 -0
  98. package/types/index.js.map +1 -1
  99. package/types/unrecognized.d.ts +10 -0
  100. package/types/unrecognized.d.ts.map +1 -0
  101. package/types/unrecognized.js +26 -0
  102. package/types/unrecognized.js.map +1 -0
  103. package/models/components/paymentlinklineitemoptionvalidationerror.d.ts +0 -24
  104. package/models/components/paymentlinklineitemoptionvalidationerror.d.ts.map +0 -1
  105. package/models/components/paymentlinklineitemoptionvalidationerror.js.map +0 -1
  106. package/models/components/paymentlinklineitemsupdate.d.ts +0 -27
  107. package/models/components/paymentlinklineitemsupdate.d.ts.map +0 -1
  108. package/models/components/paymentlinklineitemsupdate.js.map +0 -1
  109. package/models/components/paymentlinklineitemsvalidationerror.d.ts +0 -22
  110. package/models/components/paymentlinklineitemsvalidationerror.d.ts.map +0 -1
  111. package/models/components/paymentlinklineitemsvalidationerror.js.map +0 -1
  112. package/models/components/paymentlinklineitemvalidationerror.d.ts +0 -31
  113. package/models/components/paymentlinklineitemvalidationerror.d.ts.map +0 -1
  114. package/models/components/paymentlinklineitemvalidationerror.js.map +0 -1
  115. package/src/models/components/paymentlinklineitemoptionvalidationerror.ts +0 -78
  116. package/src/models/components/paymentlinklineitemsupdate.ts +0 -66
  117. package/src/models/components/paymentlinklineitemsvalidationerror.ts +0 -62
  118. package/src/models/components/paymentlinklineitemvalidationerror.ts +0 -88
@@ -1,88 +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 { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- AmountDecimalValidationError,
11
- AmountDecimalValidationError$inboundSchema,
12
- AmountDecimalValidationError$Outbound,
13
- AmountDecimalValidationError$outboundSchema,
14
- } from "./amountdecimalvalidationerror.js";
15
- import {
16
- PaymentLinkLineItemOptionValidationError,
17
- PaymentLinkLineItemOptionValidationError$inboundSchema,
18
- PaymentLinkLineItemOptionValidationError$Outbound,
19
- PaymentLinkLineItemOptionValidationError$outboundSchema,
20
- } from "./paymentlinklineitemoptionvalidationerror.js";
21
-
22
- export type PaymentLinkLineItemValidationError = {
23
- productID?: string | undefined;
24
- name?: string | undefined;
25
- basePrice?: AmountDecimalValidationError | undefined;
26
- options?:
27
- | { [k: string]: PaymentLinkLineItemOptionValidationError }
28
- | undefined;
29
- quantity?: string | undefined;
30
- };
31
-
32
- /** @internal */
33
- export const PaymentLinkLineItemValidationError$inboundSchema: z.ZodType<
34
- PaymentLinkLineItemValidationError,
35
- z.ZodTypeDef,
36
- unknown
37
- > = z.object({
38
- productID: z.string().optional(),
39
- name: z.string().optional(),
40
- basePrice: AmountDecimalValidationError$inboundSchema.optional(),
41
- options: z.record(PaymentLinkLineItemOptionValidationError$inboundSchema)
42
- .optional(),
43
- quantity: z.string().optional(),
44
- });
45
- /** @internal */
46
- export type PaymentLinkLineItemValidationError$Outbound = {
47
- productID?: string | undefined;
48
- name?: string | undefined;
49
- basePrice?: AmountDecimalValidationError$Outbound | undefined;
50
- options?:
51
- | { [k: string]: PaymentLinkLineItemOptionValidationError$Outbound }
52
- | undefined;
53
- quantity?: string | undefined;
54
- };
55
-
56
- /** @internal */
57
- export const PaymentLinkLineItemValidationError$outboundSchema: z.ZodType<
58
- PaymentLinkLineItemValidationError$Outbound,
59
- z.ZodTypeDef,
60
- PaymentLinkLineItemValidationError
61
- > = z.object({
62
- productID: z.string().optional(),
63
- name: z.string().optional(),
64
- basePrice: AmountDecimalValidationError$outboundSchema.optional(),
65
- options: z.record(PaymentLinkLineItemOptionValidationError$outboundSchema)
66
- .optional(),
67
- quantity: z.string().optional(),
68
- });
69
-
70
- export function paymentLinkLineItemValidationErrorToJSON(
71
- paymentLinkLineItemValidationError: PaymentLinkLineItemValidationError,
72
- ): string {
73
- return JSON.stringify(
74
- PaymentLinkLineItemValidationError$outboundSchema.parse(
75
- paymentLinkLineItemValidationError,
76
- ),
77
- );
78
- }
79
- export function paymentLinkLineItemValidationErrorFromJSON(
80
- jsonString: string,
81
- ): SafeParseResult<PaymentLinkLineItemValidationError, SDKValidationError> {
82
- return safeParse(
83
- jsonString,
84
- (x) =>
85
- PaymentLinkLineItemValidationError$inboundSchema.parse(JSON.parse(x)),
86
- `Failed to parse 'PaymentLinkLineItemValidationError' from JSON`,
87
- );
88
- }