mollie-api-typescript 0.9.1 → 0.9.3

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 (146) hide show
  1. package/README.md +31 -31
  2. package/bin/mcp-server.js +16 -16
  3. package/bin/mcp-server.js.map +22 -22
  4. package/dist/commonjs/lib/config.d.ts +3 -3
  5. package/dist/commonjs/lib/config.js +3 -3
  6. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  7. package/dist/commonjs/mcp-server/server.js +1 -1
  8. package/dist/commonjs/models/entitybalancetransfer.d.ts +3 -5
  9. package/dist/commonjs/models/entitybalancetransfer.d.ts.map +1 -1
  10. package/dist/commonjs/models/entitybalancetransfer.js +2 -2
  11. package/dist/commonjs/models/entitybalancetransfer.js.map +1 -1
  12. package/dist/commonjs/models/operations/createwebhook.d.ts +3 -5
  13. package/dist/commonjs/models/operations/createwebhook.d.ts.map +1 -1
  14. package/dist/commonjs/models/operations/createwebhook.js +2 -2
  15. package/dist/commonjs/models/operations/createwebhook.js.map +1 -1
  16. package/dist/commonjs/models/operations/deletewebhook.d.ts +3 -4
  17. package/dist/commonjs/models/operations/deletewebhook.d.ts.map +1 -1
  18. package/dist/commonjs/models/operations/deletewebhook.js +2 -2
  19. package/dist/commonjs/models/operations/deletewebhook.js.map +1 -1
  20. package/dist/commonjs/models/operations/getbalance.d.ts +1 -3
  21. package/dist/commonjs/models/operations/getbalance.d.ts.map +1 -1
  22. package/dist/commonjs/models/operations/getbalance.js.map +1 -1
  23. package/dist/commonjs/models/operations/getbalancereport.d.ts +1 -3
  24. package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
  25. package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
  26. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts +1 -3
  27. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/getconnectbalancetransfer.js.map +1 -1
  29. package/dist/commonjs/models/operations/getorganization.d.ts +1 -3
  30. package/dist/commonjs/models/operations/getorganization.d.ts.map +1 -1
  31. package/dist/commonjs/models/operations/getorganization.js.map +1 -1
  32. package/dist/commonjs/models/operations/getpermission.d.ts +1 -3
  33. package/dist/commonjs/models/operations/getpermission.d.ts.map +1 -1
  34. package/dist/commonjs/models/operations/getpermission.js.map +1 -1
  35. package/dist/commonjs/models/operations/getprofile.d.ts +1 -3
  36. package/dist/commonjs/models/operations/getprofile.d.ts.map +1 -1
  37. package/dist/commonjs/models/operations/getprofile.js.map +1 -1
  38. package/dist/commonjs/models/operations/getwebhook.d.ts +1 -3
  39. package/dist/commonjs/models/operations/getwebhook.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/getwebhook.js.map +1 -1
  41. package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -3
  42. package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
  43. package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
  44. package/dist/commonjs/models/operations/listbalances.d.ts +1 -3
  45. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  47. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +1 -3
  48. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  49. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  50. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts +1 -3
  51. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/listconnectbalancetransfers.js.map +1 -1
  53. package/dist/commonjs/models/operations/listwebhooks.d.ts +1 -3
  54. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  56. package/dist/commonjs/models/operations/testwebhook.d.ts +3 -4
  57. package/dist/commonjs/models/operations/testwebhook.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/testwebhook.js +2 -2
  59. package/dist/commonjs/models/operations/testwebhook.js.map +1 -1
  60. package/dist/commonjs/models/operations/updatewebhook.d.ts +3 -4
  61. package/dist/commonjs/models/operations/updatewebhook.d.ts.map +1 -1
  62. package/dist/commonjs/models/operations/updatewebhook.js +2 -2
  63. package/dist/commonjs/models/operations/updatewebhook.js.map +1 -1
  64. package/dist/esm/lib/config.d.ts +3 -3
  65. package/dist/esm/lib/config.js +3 -3
  66. package/dist/esm/mcp-server/mcp-server.js +1 -1
  67. package/dist/esm/mcp-server/server.js +1 -1
  68. package/dist/esm/models/entitybalancetransfer.d.ts +3 -5
  69. package/dist/esm/models/entitybalancetransfer.d.ts.map +1 -1
  70. package/dist/esm/models/entitybalancetransfer.js +2 -2
  71. package/dist/esm/models/entitybalancetransfer.js.map +1 -1
  72. package/dist/esm/models/operations/createwebhook.d.ts +3 -5
  73. package/dist/esm/models/operations/createwebhook.d.ts.map +1 -1
  74. package/dist/esm/models/operations/createwebhook.js +2 -2
  75. package/dist/esm/models/operations/createwebhook.js.map +1 -1
  76. package/dist/esm/models/operations/deletewebhook.d.ts +3 -4
  77. package/dist/esm/models/operations/deletewebhook.d.ts.map +1 -1
  78. package/dist/esm/models/operations/deletewebhook.js +2 -2
  79. package/dist/esm/models/operations/deletewebhook.js.map +1 -1
  80. package/dist/esm/models/operations/getbalance.d.ts +1 -3
  81. package/dist/esm/models/operations/getbalance.d.ts.map +1 -1
  82. package/dist/esm/models/operations/getbalance.js.map +1 -1
  83. package/dist/esm/models/operations/getbalancereport.d.ts +1 -3
  84. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  85. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  86. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts +1 -3
  87. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  88. package/dist/esm/models/operations/getconnectbalancetransfer.js.map +1 -1
  89. package/dist/esm/models/operations/getorganization.d.ts +1 -3
  90. package/dist/esm/models/operations/getorganization.d.ts.map +1 -1
  91. package/dist/esm/models/operations/getorganization.js.map +1 -1
  92. package/dist/esm/models/operations/getpermission.d.ts +1 -3
  93. package/dist/esm/models/operations/getpermission.d.ts.map +1 -1
  94. package/dist/esm/models/operations/getpermission.js.map +1 -1
  95. package/dist/esm/models/operations/getprofile.d.ts +1 -3
  96. package/dist/esm/models/operations/getprofile.d.ts.map +1 -1
  97. package/dist/esm/models/operations/getprofile.js.map +1 -1
  98. package/dist/esm/models/operations/getwebhook.d.ts +1 -3
  99. package/dist/esm/models/operations/getwebhook.d.ts.map +1 -1
  100. package/dist/esm/models/operations/getwebhook.js.map +1 -1
  101. package/dist/esm/models/operations/getwebhookevent.d.ts +1 -3
  102. package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
  103. package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
  104. package/dist/esm/models/operations/listbalances.d.ts +1 -3
  105. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  106. package/dist/esm/models/operations/listbalances.js.map +1 -1
  107. package/dist/esm/models/operations/listbalancetransactions.d.ts +1 -3
  108. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  109. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  110. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +1 -3
  111. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  112. package/dist/esm/models/operations/listconnectbalancetransfers.js.map +1 -1
  113. package/dist/esm/models/operations/listwebhooks.d.ts +1 -3
  114. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  115. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  116. package/dist/esm/models/operations/testwebhook.d.ts +3 -4
  117. package/dist/esm/models/operations/testwebhook.d.ts.map +1 -1
  118. package/dist/esm/models/operations/testwebhook.js +2 -2
  119. package/dist/esm/models/operations/testwebhook.js.map +1 -1
  120. package/dist/esm/models/operations/updatewebhook.d.ts +3 -4
  121. package/dist/esm/models/operations/updatewebhook.d.ts.map +1 -1
  122. package/dist/esm/models/operations/updatewebhook.js +2 -2
  123. package/dist/esm/models/operations/updatewebhook.js.map +1 -1
  124. package/examples/package-lock.json +1 -1
  125. package/jsr.json +1 -1
  126. package/package.json +1 -1
  127. package/src/lib/config.ts +3 -3
  128. package/src/mcp-server/mcp-server.ts +1 -1
  129. package/src/mcp-server/server.ts +1 -1
  130. package/src/models/entitybalancetransfer.ts +5 -7
  131. package/src/models/operations/createwebhook.ts +5 -7
  132. package/src/models/operations/deletewebhook.ts +5 -6
  133. package/src/models/operations/getbalance.ts +1 -3
  134. package/src/models/operations/getbalancereport.ts +1 -3
  135. package/src/models/operations/getconnectbalancetransfer.ts +1 -3
  136. package/src/models/operations/getorganization.ts +1 -3
  137. package/src/models/operations/getpermission.ts +1 -3
  138. package/src/models/operations/getprofile.ts +1 -3
  139. package/src/models/operations/getwebhook.ts +1 -3
  140. package/src/models/operations/getwebhookevent.ts +1 -3
  141. package/src/models/operations/listbalances.ts +1 -3
  142. package/src/models/operations/listbalancetransactions.ts +1 -3
  143. package/src/models/operations/listconnectbalancetransfers.ts +1 -3
  144. package/src/models/operations/listwebhooks.ts +1 -3
  145. package/src/models/operations/testwebhook.ts +5 -6
  146. package/src/models/operations/updatewebhook.ts +5 -6
@@ -14,14 +14,13 @@ export type UpdateWebhookRequestBody = {
14
14
  url?: string | undefined;
15
15
  eventTypes?: Array<models.WebhookEventTypes> | models.WebhookEventTypes | undefined;
16
16
  /**
17
- * Most API credentials are specifically created for either live mode or test mode. For organization-level credentials
17
+ * You can enable test mode by setting `testmode` to `true`.
18
18
  *
19
19
  * @remarks
20
- * such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`.
21
20
  *
22
21
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
23
22
  */
24
- testmode?: boolean | null | undefined;
23
+ testmode?: boolean | undefined;
25
24
  };
26
25
  export type UpdateWebhookRequest = {
27
26
  /**
@@ -49,7 +48,7 @@ export type UpdateWebhookRequestBody$Outbound = {
49
48
  name?: string | undefined;
50
49
  url?: string | undefined;
51
50
  eventTypes?: Array<string> | string | undefined;
52
- testmode?: boolean | null | undefined;
51
+ testmode?: boolean | undefined;
53
52
  };
54
53
  /** @internal */
55
54
  export declare const UpdateWebhookRequestBody$outboundSchema: z.ZodType<UpdateWebhookRequestBody$Outbound, z.ZodTypeDef, UpdateWebhookRequestBody>;
@@ -1 +1 @@
1
- {"version":3,"file":"updatewebhook.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/updatewebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,uBAAuB,GAC/B,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAC/B,MAAM,CAAC,iBAAiB,CAAC;AAE7B,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,UAAU,CAAC,EACP,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAC/B,MAAM,CAAC,iBAAiB,GACxB,SAAS,CAAC;IACd;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,g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AO,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CASxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AACD,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAUpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -29,7 +29,7 @@ export const UpdateWebhookRequestBody$inboundSchema = z.object({
29
29
  z.array(models.WebhookEventTypes$inboundSchema),
30
30
  models.WebhookEventTypes$inboundSchema,
31
31
  ]).optional(),
32
- testmode: z.nullable(z.boolean()).optional(),
32
+ testmode: z.boolean().optional(),
33
33
  });
34
34
  /** @internal */
35
35
  export const UpdateWebhookRequestBody$outboundSchema = z.object({
@@ -39,7 +39,7 @@ export const UpdateWebhookRequestBody$outboundSchema = z.object({
39
39
  z.array(models.WebhookEventTypes$outboundSchema),
40
40
  models.WebhookEventTypes$outboundSchema,
41
41
  ]).optional(),
42
- testmode: z.nullable(z.boolean()).optional(),
42
+ testmode: z.boolean().optional(),
43
43
  });
44
44
  export function updateWebhookRequestBodyToJSON(updateWebhookRequestBody) {
45
45
  return JSON.stringify(UpdateWebhookRequestBody$outboundSchema.parse(updateWebhookRequestBody));
@@ -1 +1 @@
1
- {"version":3,"file":"updatewebhook.js","sourceRoot":"","sources":["../../../../src/models/operations/updatewebhook.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AA0CtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAI9C,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,CAAC;IAC/C,MAAM,CAAC,+BAA+B;CACvC,CAAC,CAAC;AAIH,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAI/C,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC;IAChD,MAAM,CAAC,gCAAgC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAAqC,CAAC,KAAK,CAAC,IAAI,CA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7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "mollie-api-typescript",
21
- "version": "0.9.1",
21
+ "version": "0.9.3",
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0",
24
24
  "zod": "^3.25.0 || ^4.0.0"
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "mollie-api-typescript",
5
- "version": "0.9.1",
5
+ "version": "0.9.3",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mollie-api-typescript",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "bin": {
package/src/lib/config.ts CHANGED
@@ -77,8 +77,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
77
77
  export const SDK_METADATA = {
78
78
  language: "typescript",
79
79
  openapiDocVersion: "1.0.0",
80
- sdkVersion: "0.9.1",
81
- genVersion: "2.770.0",
80
+ sdkVersion: "0.9.3",
81
+ genVersion: "2.772.0",
82
82
  userAgent:
83
- "speakeasy-sdk/typescript 0.9.1 2.770.0 1.0.0 mollie-api-typescript",
83
+ "speakeasy-sdk/typescript 0.9.3 2.772.0 1.0.0 mollie-api-typescript",
84
84
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.9.1",
22
+ currentVersion: "0.9.3",
23
23
  },
24
24
  });
25
25
 
@@ -123,7 +123,7 @@ export function createMCPServer(deps: {
123
123
  }) {
124
124
  const server = new McpServer({
125
125
  name: "Client",
126
- version: "0.9.1",
126
+ version: "0.9.3",
127
127
  });
128
128
 
129
129
  const client = new ClientCore({
@@ -57,11 +57,9 @@ export type EntityBalanceTransfer = {
57
57
  *
58
58
  * @remarks
59
59
  *
60
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
61
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
62
- * `testmode` to `true`.
60
+ * You can enable test mode by setting `testmode` to `true`.
63
61
  */
64
- testmode?: boolean | null | undefined;
62
+ testmode?: boolean | undefined;
65
63
  };
66
64
 
67
65
  /** @internal */
@@ -76,7 +74,7 @@ export const EntityBalanceTransfer$inboundSchema: z.ZodType<
76
74
  description: z.string(),
77
75
  category: BalanceTransferCategory$inboundSchema.optional(),
78
76
  metadata: z.record(z.any()).optional(),
79
- testmode: z.nullable(z.boolean()).optional(),
77
+ testmode: z.boolean().optional(),
80
78
  });
81
79
  /** @internal */
82
80
  export type EntityBalanceTransfer$Outbound = {
@@ -86,7 +84,7 @@ export type EntityBalanceTransfer$Outbound = {
86
84
  description: string;
87
85
  category?: string | undefined;
88
86
  metadata?: { [k: string]: any } | undefined;
89
- testmode?: boolean | null | undefined;
87
+ testmode?: boolean | undefined;
90
88
  };
91
89
 
92
90
  /** @internal */
@@ -101,7 +99,7 @@ export const EntityBalanceTransfer$outboundSchema: z.ZodType<
101
99
  description: z.string(),
102
100
  category: BalanceTransferCategory$outboundSchema.optional(),
103
101
  metadata: z.record(z.any()).optional(),
104
- testmode: z.nullable(z.boolean()).optional(),
102
+ testmode: z.boolean().optional(),
105
103
  });
106
104
 
107
105
  export function entityBalanceTransferToJSON(
@@ -28,11 +28,9 @@ export type CreateWebhookRequestBody = {
28
28
  *
29
29
  * @remarks
30
30
  *
31
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
32
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
33
- * `testmode` to `true`.
31
+ * You can enable test mode by setting `testmode` to `true`.
34
32
  */
35
- testmode?: boolean | null | undefined;
33
+ testmode?: boolean | undefined;
36
34
  };
37
35
 
38
36
  export type CreateWebhookRequest = {
@@ -94,14 +92,14 @@ export const CreateWebhookRequestBody$inboundSchema: z.ZodType<
94
92
  z.array(models.WebhookEventTypes$inboundSchema),
95
93
  models.WebhookEventTypes$inboundSchema,
96
94
  ]),
97
- testmode: z.nullable(z.boolean()).optional(),
95
+ testmode: z.boolean().optional(),
98
96
  });
99
97
  /** @internal */
100
98
  export type CreateWebhookRequestBody$Outbound = {
101
99
  name: string;
102
100
  url: string;
103
101
  eventTypes: Array<string> | string;
104
- testmode?: boolean | null | undefined;
102
+ testmode?: boolean | undefined;
105
103
  };
106
104
 
107
105
  /** @internal */
@@ -116,7 +114,7 @@ export const CreateWebhookRequestBody$outboundSchema: z.ZodType<
116
114
  z.array(models.WebhookEventTypes$outboundSchema),
117
115
  models.WebhookEventTypes$outboundSchema,
118
116
  ]),
119
- testmode: z.nullable(z.boolean()).optional(),
117
+ testmode: z.boolean().optional(),
120
118
  });
121
119
 
122
120
  export function createWebhookRequestBodyToJSON(
@@ -10,14 +10,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type DeleteWebhookRequestBody = {
12
12
  /**
13
- * Most API credentials are specifically created for either live mode or test mode. For organization-level credentials
13
+ * You can enable test mode by setting `testmode` to `true`.
14
14
  *
15
15
  * @remarks
16
- * such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`.
17
16
  *
18
17
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
19
18
  */
20
- testmode?: boolean | null | undefined;
19
+ testmode?: boolean | undefined;
21
20
  };
22
21
 
23
22
  export type DeleteWebhookRequest = {
@@ -38,11 +37,11 @@ export const DeleteWebhookRequestBody$inboundSchema: z.ZodType<
38
37
  z.ZodTypeDef,
39
38
  unknown
40
39
  > = z.object({
41
- testmode: z.nullable(z.boolean()).optional(),
40
+ testmode: z.boolean().optional(),
42
41
  });
43
42
  /** @internal */
44
43
  export type DeleteWebhookRequestBody$Outbound = {
45
- testmode?: boolean | null | undefined;
44
+ testmode?: boolean | undefined;
46
45
  };
47
46
 
48
47
  /** @internal */
@@ -51,7 +50,7 @@ export const DeleteWebhookRequestBody$outboundSchema: z.ZodType<
51
50
  z.ZodTypeDef,
52
51
  DeleteWebhookRequestBody
53
52
  > = z.object({
54
- testmode: z.nullable(z.boolean()).optional(),
53
+ testmode: z.boolean().optional(),
55
54
  });
56
55
 
57
56
  export function deleteWebhookRequestBodyToJSON(
@@ -27,11 +27,9 @@ export type GetBalanceRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -55,11 +55,9 @@ export type GetBalanceReportRequest = {
55
55
  */
56
56
  grouping?: models.BalanceReportGrouping | undefined;
57
57
  /**
58
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
58
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
59
59
  *
60
60
  * @remarks
61
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
62
- * setting the `testmode` query parameter to `true`.
63
61
  *
64
62
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
65
63
  */
@@ -27,11 +27,9 @@ export type GetConnectBalanceTransferRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -27,11 +27,9 @@ export type GetOrganizationRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -27,11 +27,9 @@ export type GetPermissionRequest = {
27
27
  */
28
28
  permissionId: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -27,11 +27,9 @@ export type GetProfileRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -27,11 +27,9 @@ export type GetWebhookRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -27,11 +27,9 @@ export type GetWebhookEventRequest = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
30
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
31
31
  *
32
32
  * @remarks
33
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
- * setting the `testmode` query parameter to `true`.
35
33
  *
36
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
37
35
  */
@@ -39,11 +39,9 @@ export type ListBalancesRequest = {
39
39
  */
40
40
  limit?: number | null | undefined;
41
41
  /**
42
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
42
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
43
43
  *
44
44
  * @remarks
45
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
46
- * setting the `testmode` query parameter to `true`.
47
45
  *
48
46
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
49
47
  */
@@ -39,11 +39,9 @@ export type ListBalanceTransactionsRequest = {
39
39
  */
40
40
  limit?: number | null | undefined;
41
41
  /**
42
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
42
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
43
43
  *
44
44
  * @remarks
45
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
46
- * setting the `testmode` query parameter to `true`.
47
45
  *
48
46
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
49
47
  */
@@ -42,11 +42,9 @@ export type ListConnectBalanceTransfersRequest = {
42
42
  */
43
43
  sort?: models.Sorting | undefined;
44
44
  /**
45
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
45
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
46
46
  *
47
47
  * @remarks
48
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
49
- * setting the `testmode` query parameter to `true`.
50
48
  *
51
49
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
52
50
  */
@@ -46,11 +46,9 @@ export type ListWebhooksRequest = {
46
46
  */
47
47
  eventTypes?: models.WebhookEventTypes | undefined;
48
48
  /**
49
- * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
49
+ * You can enable test mode by setting the `testmode` query parameter to `true`.
50
50
  *
51
51
  * @remarks
52
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
53
- * setting the `testmode` query parameter to `true`.
54
52
  *
55
53
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
56
54
  */
@@ -10,14 +10,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type TestWebhookRequestBody = {
12
12
  /**
13
- * Most API credentials are specifically created for either live mode or test mode. For organization-level credentials
13
+ * You can enable test mode by setting `testmode` to `true`.
14
14
  *
15
15
  * @remarks
16
- * such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`.
17
16
  *
18
17
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
19
18
  */
20
- testmode?: boolean | null | undefined;
19
+ testmode?: boolean | undefined;
21
20
  };
22
21
 
23
22
  export type TestWebhookRequest = {
@@ -38,11 +37,11 @@ export const TestWebhookRequestBody$inboundSchema: z.ZodType<
38
37
  z.ZodTypeDef,
39
38
  unknown
40
39
  > = z.object({
41
- testmode: z.nullable(z.boolean()).optional(),
40
+ testmode: z.boolean().optional(),
42
41
  });
43
42
  /** @internal */
44
43
  export type TestWebhookRequestBody$Outbound = {
45
- testmode?: boolean | null | undefined;
44
+ testmode?: boolean | undefined;
46
45
  };
47
46
 
48
47
  /** @internal */
@@ -51,7 +50,7 @@ export const TestWebhookRequestBody$outboundSchema: z.ZodType<
51
50
  z.ZodTypeDef,
52
51
  TestWebhookRequestBody
53
52
  > = z.object({
54
- testmode: z.nullable(z.boolean()).optional(),
53
+ testmode: z.boolean().optional(),
55
54
  });
56
55
 
57
56
  export function testWebhookRequestBodyToJSON(
@@ -27,14 +27,13 @@ export type UpdateWebhookRequestBody = {
27
27
  | models.WebhookEventTypes
28
28
  | undefined;
29
29
  /**
30
- * Most API credentials are specifically created for either live mode or test mode. For organization-level credentials
30
+ * You can enable test mode by setting `testmode` to `true`.
31
31
  *
32
32
  * @remarks
33
- * such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`.
34
33
  *
35
34
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
36
35
  */
37
- testmode?: boolean | null | undefined;
36
+ testmode?: boolean | undefined;
38
37
  };
39
38
 
40
39
  export type UpdateWebhookRequest = {
@@ -100,14 +99,14 @@ export const UpdateWebhookRequestBody$inboundSchema: z.ZodType<
100
99
  z.array(models.WebhookEventTypes$inboundSchema),
101
100
  models.WebhookEventTypes$inboundSchema,
102
101
  ]).optional(),
103
- testmode: z.nullable(z.boolean()).optional(),
102
+ testmode: z.boolean().optional(),
104
103
  });
105
104
  /** @internal */
106
105
  export type UpdateWebhookRequestBody$Outbound = {
107
106
  name?: string | undefined;
108
107
  url?: string | undefined;
109
108
  eventTypes?: Array<string> | string | undefined;
110
- testmode?: boolean | null | undefined;
109
+ testmode?: boolean | undefined;
111
110
  };
112
111
 
113
112
  /** @internal */
@@ -122,7 +121,7 @@ export const UpdateWebhookRequestBody$outboundSchema: z.ZodType<
122
121
  z.array(models.WebhookEventTypes$outboundSchema),
123
122
  models.WebhookEventTypes$outboundSchema,
124
123
  ]).optional(),
125
- testmode: z.nullable(z.boolean()).optional(),
124
+ testmode: z.boolean().optional(),
126
125
  });
127
126
 
128
127
  export function updateWebhookRequestBodyToJSON(