mollie-api-typescript 0.0.2 → 0.0.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.
Files changed (120) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +6 -6
  3. package/bin/mcp-server.js +97 -199
  4. package/bin/mcp-server.js.map +16 -16
  5. package/dist/commonjs/lib/config.d.ts +3 -3
  6. package/dist/commonjs/lib/config.js +3 -3
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +10 -59
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +10 -43
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +20 -118
  14. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/createcustomerpayment.js +19 -86
  16. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  17. package/dist/commonjs/models/operations/createpayment.d.ts +20 -118
  18. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createpayment.js +18 -84
  20. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  21. package/dist/commonjs/models/operations/getpayment.d.ts +10 -59
  22. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/getpayment.js +10 -43
  24. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  25. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +10 -59
  26. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  27. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +11 -44
  28. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  29. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +10 -59
  30. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  31. package/dist/commonjs/models/operations/listallsubscriptions.js +11 -44
  32. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  33. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +10 -59
  34. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  35. package/dist/commonjs/models/operations/listcustomerpayments.js +11 -44
  36. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  37. package/dist/commonjs/models/operations/listpayments.d.ts +10 -59
  38. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  39. package/dist/commonjs/models/operations/listpayments.js +11 -44
  40. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  41. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +10 -59
  42. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  43. package/dist/commonjs/models/operations/listsettlementpayments.js +11 -44
  44. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  45. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +10 -59
  46. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  47. package/dist/commonjs/models/operations/listsubscriptionpayments.js +11 -44
  48. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  49. package/dist/commonjs/models/operations/updatepayment.d.ts +16 -59
  50. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  51. package/dist/commonjs/models/operations/updatepayment.js +13 -44
  52. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  53. package/dist/esm/lib/config.d.ts +3 -3
  54. package/dist/esm/lib/config.js +3 -3
  55. package/dist/esm/mcp-server/mcp-server.js +1 -1
  56. package/dist/esm/mcp-server/server.js +1 -1
  57. package/dist/esm/models/operations/cancelpayment.d.ts +10 -59
  58. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  59. package/dist/esm/models/operations/cancelpayment.js +6 -39
  60. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  61. package/dist/esm/models/operations/createcustomerpayment.d.ts +20 -118
  62. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  63. package/dist/esm/models/operations/createcustomerpayment.js +13 -80
  64. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  65. package/dist/esm/models/operations/createpayment.d.ts +20 -118
  66. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  67. package/dist/esm/models/operations/createpayment.js +12 -78
  68. package/dist/esm/models/operations/createpayment.js.map +1 -1
  69. package/dist/esm/models/operations/getpayment.d.ts +10 -59
  70. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  71. package/dist/esm/models/operations/getpayment.js +6 -39
  72. package/dist/esm/models/operations/getpayment.js.map +1 -1
  73. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +10 -59
  74. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  75. package/dist/esm/models/operations/getpaymentlinkpayments.js +6 -39
  76. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  77. package/dist/esm/models/operations/listallsubscriptions.d.ts +10 -59
  78. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  79. package/dist/esm/models/operations/listallsubscriptions.js +6 -39
  80. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  81. package/dist/esm/models/operations/listcustomerpayments.d.ts +10 -59
  82. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  83. package/dist/esm/models/operations/listcustomerpayments.js +6 -39
  84. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  85. package/dist/esm/models/operations/listpayments.d.ts +10 -59
  86. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  87. package/dist/esm/models/operations/listpayments.js +6 -39
  88. package/dist/esm/models/operations/listpayments.js.map +1 -1
  89. package/dist/esm/models/operations/listsettlementpayments.d.ts +10 -59
  90. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  91. package/dist/esm/models/operations/listsettlementpayments.js +6 -39
  92. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  93. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +10 -59
  94. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  95. package/dist/esm/models/operations/listsubscriptionpayments.js +6 -39
  96. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  97. package/dist/esm/models/operations/updatepayment.d.ts +16 -59
  98. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  99. package/dist/esm/models/operations/updatepayment.js +8 -39
  100. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  101. package/docs/sdks/customers/README.md +2 -2
  102. package/docs/sdks/payments/README.md +2 -2
  103. package/examples/package-lock.json +1 -1
  104. package/examples/paymentsCreate.example.ts +1 -1
  105. package/jsr.json +1 -1
  106. package/package.json +1 -1
  107. package/src/lib/config.ts +3 -3
  108. package/src/mcp-server/mcp-server.ts +1 -1
  109. package/src/mcp-server/server.ts +1 -1
  110. package/src/models/operations/cancelpayment.ts +10 -71
  111. package/src/models/operations/createcustomerpayment.ts +21 -150
  112. package/src/models/operations/createpayment.ts +20 -143
  113. package/src/models/operations/getpayment.ts +10 -69
  114. package/src/models/operations/getpaymentlinkpayments.ts +10 -72
  115. package/src/models/operations/listallsubscriptions.ts +10 -71
  116. package/src/models/operations/listcustomerpayments.ts +10 -71
  117. package/src/models/operations/listpayments.ts +10 -71
  118. package/src/models/operations/listsettlementpayments.ts +10 -72
  119. package/src/models/operations/listsubscriptionpayments.ts +10 -74
  120. package/src/models/operations/updatepayment.ts +12 -71
@@ -730,6 +730,7 @@ export const GetPaymentLinkPaymentsMethod = {
730
730
  Banktransfer: "banktransfer",
731
731
  Belfius: "belfius",
732
732
  Billie: "billie",
733
+ Bizum: "bizum",
733
734
  Blik: "blik",
734
735
  Creditcard: "creditcard",
735
736
  Directdebit: "directdebit",
@@ -742,6 +743,7 @@ export const GetPaymentLinkPaymentsMethod = {
742
743
  Mbway: "mbway",
743
744
  Multibanco: "multibanco",
744
745
  Mybank: "mybank",
746
+ Paybybank: "paybybank",
745
747
  Payconiq: "payconiq",
746
748
  Paypal: "paypal",
747
749
  Paysafecard: "paysafecard",
@@ -801,46 +803,6 @@ export type GetPaymentLinkPaymentsCaptureMode = ClosedEnum<
801
803
  typeof GetPaymentLinkPaymentsCaptureMode
802
804
  >;
803
805
 
804
- /**
805
- * **Only relevant if you wish to manage authorization and capturing separately.**
806
- *
807
- * @remarks
808
- *
809
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
810
- * later point either be 'captured' or canceled.
811
- *
812
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
813
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
814
- * example `8 hours` or `2 days`.
815
- *
816
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
817
- *
818
- * The maximum delay is 7 days (168 hours).
819
- */
820
- export const GetPaymentLinkPaymentsCaptureDelay = {
821
- DotDotDotHours: "... hours",
822
- DotDotDotDays: "... days",
823
- } as const;
824
- /**
825
- * **Only relevant if you wish to manage authorization and capturing separately.**
826
- *
827
- * @remarks
828
- *
829
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
830
- * later point either be 'captured' or canceled.
831
- *
832
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
833
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
834
- * example `8 hours` or `2 days`.
835
- *
836
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
837
- *
838
- * The maximum delay is 7 days (168 hours).
839
- */
840
- export type GetPaymentLinkPaymentsCaptureDelay = ClosedEnum<
841
- typeof GetPaymentLinkPaymentsCaptureDelay
842
- >;
843
-
844
806
  /**
845
807
  * The fee that you wish to charge.
846
808
  *
@@ -1667,8 +1629,10 @@ export type GetPaymentLinkPaymentsPaymentOutput = {
1667
1629
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1668
1630
  *
1669
1631
  * The maximum delay is 7 days (168 hours).
1632
+ *
1633
+ * Possible values: `... hours` `... days`
1670
1634
  */
1671
- captureDelay?: GetPaymentLinkPaymentsCaptureDelay | null | undefined;
1635
+ captureDelay?: string | null | undefined;
1672
1636
  /**
1673
1637
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1674
1638
  *
@@ -3479,28 +3443,6 @@ export namespace GetPaymentLinkPaymentsCaptureMode$ {
3479
3443
  GetPaymentLinkPaymentsCaptureMode$outboundSchema;
3480
3444
  }
3481
3445
 
3482
- /** @internal */
3483
- export const GetPaymentLinkPaymentsCaptureDelay$inboundSchema: z.ZodNativeEnum<
3484
- typeof GetPaymentLinkPaymentsCaptureDelay
3485
- > = z.nativeEnum(GetPaymentLinkPaymentsCaptureDelay);
3486
-
3487
- /** @internal */
3488
- export const GetPaymentLinkPaymentsCaptureDelay$outboundSchema: z.ZodNativeEnum<
3489
- typeof GetPaymentLinkPaymentsCaptureDelay
3490
- > = GetPaymentLinkPaymentsCaptureDelay$inboundSchema;
3491
-
3492
- /**
3493
- * @internal
3494
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3495
- */
3496
- export namespace GetPaymentLinkPaymentsCaptureDelay$ {
3497
- /** @deprecated use `GetPaymentLinkPaymentsCaptureDelay$inboundSchema` instead. */
3498
- export const inboundSchema = GetPaymentLinkPaymentsCaptureDelay$inboundSchema;
3499
- /** @deprecated use `GetPaymentLinkPaymentsCaptureDelay$outboundSchema` instead. */
3500
- export const outboundSchema =
3501
- GetPaymentLinkPaymentsCaptureDelay$outboundSchema;
3502
- }
3503
-
3504
3446
  /** @internal */
3505
3447
  export const GetPaymentLinkPaymentsApplicationFeeAmount$inboundSchema:
3506
3448
  z.ZodType<GetPaymentLinkPaymentsApplicationFeeAmount, z.ZodTypeDef, unknown> =
@@ -5269,11 +5211,9 @@ export const GetPaymentLinkPaymentsPaymentOutput$inboundSchema: z.ZodType<
5269
5211
  z.array(z.string()),
5270
5212
  ]),
5271
5213
  ).optional(),
5272
- captureMode: z.nullable(
5273
- GetPaymentLinkPaymentsCaptureMode$inboundSchema.default("automatic"),
5274
- ),
5275
- captureDelay: z.nullable(GetPaymentLinkPaymentsCaptureDelay$inboundSchema)
5214
+ captureMode: z.nullable(GetPaymentLinkPaymentsCaptureMode$inboundSchema)
5276
5215
  .optional(),
5216
+ captureDelay: z.nullable(z.string()).optional(),
5277
5217
  captureBefore: z.nullable(z.string()).optional(),
5278
5218
  applicationFee: z.nullable(
5279
5219
  z.lazy(() => GetPaymentLinkPaymentsApplicationFee$inboundSchema),
@@ -5342,7 +5282,7 @@ export type GetPaymentLinkPaymentsPaymentOutput$Outbound = {
5342
5282
  | Array<string>
5343
5283
  | null
5344
5284
  | undefined;
5345
- captureMode: string | null;
5285
+ captureMode?: string | null | undefined;
5346
5286
  captureDelay?: string | null | undefined;
5347
5287
  captureBefore?: string | null | undefined;
5348
5288
  applicationFee?:
@@ -5420,11 +5360,9 @@ export const GetPaymentLinkPaymentsPaymentOutput$outboundSchema: z.ZodType<
5420
5360
  z.array(z.string()),
5421
5361
  ]),
5422
5362
  ).optional(),
5423
- captureMode: z.nullable(
5424
- GetPaymentLinkPaymentsCaptureMode$outboundSchema.default("automatic"),
5425
- ),
5426
- captureDelay: z.nullable(GetPaymentLinkPaymentsCaptureDelay$outboundSchema)
5363
+ captureMode: z.nullable(GetPaymentLinkPaymentsCaptureMode$outboundSchema)
5427
5364
  .optional(),
5365
+ captureDelay: z.nullable(z.string()).optional(),
5428
5366
  captureBefore: z.nullable(z.string()).optional(),
5429
5367
  applicationFee: z.nullable(
5430
5368
  z.lazy(() => GetPaymentLinkPaymentsApplicationFee$outboundSchema),
@@ -736,6 +736,7 @@ export const ListAllSubscriptionsMethod = {
736
736
  Banktransfer: "banktransfer",
737
737
  Belfius: "belfius",
738
738
  Billie: "billie",
739
+ Bizum: "bizum",
739
740
  Blik: "blik",
740
741
  Creditcard: "creditcard",
741
742
  Directdebit: "directdebit",
@@ -748,6 +749,7 @@ export const ListAllSubscriptionsMethod = {
748
749
  Mbway: "mbway",
749
750
  Multibanco: "multibanco",
750
751
  Mybank: "mybank",
752
+ Paybybank: "paybybank",
751
753
  Payconiq: "payconiq",
752
754
  Paypal: "paypal",
753
755
  Paysafecard: "paysafecard",
@@ -807,46 +809,6 @@ export type ListAllSubscriptionsCaptureMode = ClosedEnum<
807
809
  typeof ListAllSubscriptionsCaptureMode
808
810
  >;
809
811
 
810
- /**
811
- * **Only relevant if you wish to manage authorization and capturing separately.**
812
- *
813
- * @remarks
814
- *
815
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
816
- * later point either be 'captured' or canceled.
817
- *
818
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
819
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
820
- * example `8 hours` or `2 days`.
821
- *
822
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
823
- *
824
- * The maximum delay is 7 days (168 hours).
825
- */
826
- export const ListAllSubscriptionsCaptureDelay = {
827
- DotDotDotHours: "... hours",
828
- DotDotDotDays: "... days",
829
- } as const;
830
- /**
831
- * **Only relevant if you wish to manage authorization and capturing separately.**
832
- *
833
- * @remarks
834
- *
835
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
836
- * later point either be 'captured' or canceled.
837
- *
838
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
839
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
840
- * example `8 hours` or `2 days`.
841
- *
842
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
843
- *
844
- * The maximum delay is 7 days (168 hours).
845
- */
846
- export type ListAllSubscriptionsCaptureDelay = ClosedEnum<
847
- typeof ListAllSubscriptionsCaptureDelay
848
- >;
849
-
850
812
  /**
851
813
  * The fee that you wish to charge.
852
814
  *
@@ -1673,8 +1635,10 @@ export type ListAllSubscriptionsPaymentOutput = {
1673
1635
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1674
1636
  *
1675
1637
  * The maximum delay is 7 days (168 hours).
1638
+ *
1639
+ * Possible values: `... hours` `... days`
1676
1640
  */
1677
- captureDelay?: ListAllSubscriptionsCaptureDelay | null | undefined;
1641
+ captureDelay?: string | null | undefined;
1678
1642
  /**
1679
1643
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1680
1644
  *
@@ -3467,27 +3431,6 @@ export namespace ListAllSubscriptionsCaptureMode$ {
3467
3431
  export const outboundSchema = ListAllSubscriptionsCaptureMode$outboundSchema;
3468
3432
  }
3469
3433
 
3470
- /** @internal */
3471
- export const ListAllSubscriptionsCaptureDelay$inboundSchema: z.ZodNativeEnum<
3472
- typeof ListAllSubscriptionsCaptureDelay
3473
- > = z.nativeEnum(ListAllSubscriptionsCaptureDelay);
3474
-
3475
- /** @internal */
3476
- export const ListAllSubscriptionsCaptureDelay$outboundSchema: z.ZodNativeEnum<
3477
- typeof ListAllSubscriptionsCaptureDelay
3478
- > = ListAllSubscriptionsCaptureDelay$inboundSchema;
3479
-
3480
- /**
3481
- * @internal
3482
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3483
- */
3484
- export namespace ListAllSubscriptionsCaptureDelay$ {
3485
- /** @deprecated use `ListAllSubscriptionsCaptureDelay$inboundSchema` instead. */
3486
- export const inboundSchema = ListAllSubscriptionsCaptureDelay$inboundSchema;
3487
- /** @deprecated use `ListAllSubscriptionsCaptureDelay$outboundSchema` instead. */
3488
- export const outboundSchema = ListAllSubscriptionsCaptureDelay$outboundSchema;
3489
- }
3490
-
3491
3434
  /** @internal */
3492
3435
  export const ListAllSubscriptionsApplicationFeeAmount$inboundSchema: z.ZodType<
3493
3436
  ListAllSubscriptionsApplicationFeeAmount,
@@ -5214,11 +5157,9 @@ export const ListAllSubscriptionsPaymentOutput$inboundSchema: z.ZodType<
5214
5157
  z.array(z.string()),
5215
5158
  ]),
5216
5159
  ).optional(),
5217
- captureMode: z.nullable(
5218
- ListAllSubscriptionsCaptureMode$inboundSchema.default("automatic"),
5219
- ),
5220
- captureDelay: z.nullable(ListAllSubscriptionsCaptureDelay$inboundSchema)
5160
+ captureMode: z.nullable(ListAllSubscriptionsCaptureMode$inboundSchema)
5221
5161
  .optional(),
5162
+ captureDelay: z.nullable(z.string()).optional(),
5222
5163
  captureBefore: z.nullable(z.string()).optional(),
5223
5164
  applicationFee: z.nullable(
5224
5165
  z.lazy(() => ListAllSubscriptionsApplicationFee$inboundSchema),
@@ -5285,7 +5226,7 @@ export type ListAllSubscriptionsPaymentOutput$Outbound = {
5285
5226
  | Array<string>
5286
5227
  | null
5287
5228
  | undefined;
5288
- captureMode: string | null;
5229
+ captureMode?: string | null | undefined;
5289
5230
  captureDelay?: string | null | undefined;
5290
5231
  captureBefore?: string | null | undefined;
5291
5232
  applicationFee?:
@@ -5363,11 +5304,9 @@ export const ListAllSubscriptionsPaymentOutput$outboundSchema: z.ZodType<
5363
5304
  z.array(z.string()),
5364
5305
  ]),
5365
5306
  ).optional(),
5366
- captureMode: z.nullable(
5367
- ListAllSubscriptionsCaptureMode$outboundSchema.default("automatic"),
5368
- ),
5369
- captureDelay: z.nullable(ListAllSubscriptionsCaptureDelay$outboundSchema)
5307
+ captureMode: z.nullable(ListAllSubscriptionsCaptureMode$outboundSchema)
5370
5308
  .optional(),
5309
+ captureDelay: z.nullable(z.string()).optional(),
5371
5310
  captureBefore: z.nullable(z.string()).optional(),
5372
5311
  applicationFee: z.nullable(
5373
5312
  z.lazy(() => ListAllSubscriptionsApplicationFee$outboundSchema),
@@ -740,6 +740,7 @@ export const ListCustomerPaymentsMethod = {
740
740
  Banktransfer: "banktransfer",
741
741
  Belfius: "belfius",
742
742
  Billie: "billie",
743
+ Bizum: "bizum",
743
744
  Blik: "blik",
744
745
  Creditcard: "creditcard",
745
746
  Directdebit: "directdebit",
@@ -752,6 +753,7 @@ export const ListCustomerPaymentsMethod = {
752
753
  Mbway: "mbway",
753
754
  Multibanco: "multibanco",
754
755
  Mybank: "mybank",
756
+ Paybybank: "paybybank",
755
757
  Payconiq: "payconiq",
756
758
  Paypal: "paypal",
757
759
  Paysafecard: "paysafecard",
@@ -811,46 +813,6 @@ export type ListCustomerPaymentsCaptureMode = ClosedEnum<
811
813
  typeof ListCustomerPaymentsCaptureMode
812
814
  >;
813
815
 
814
- /**
815
- * **Only relevant if you wish to manage authorization and capturing separately.**
816
- *
817
- * @remarks
818
- *
819
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
820
- * later point either be 'captured' or canceled.
821
- *
822
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
823
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
824
- * example `8 hours` or `2 days`.
825
- *
826
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
827
- *
828
- * The maximum delay is 7 days (168 hours).
829
- */
830
- export const ListCustomerPaymentsCaptureDelay = {
831
- DotDotDotHours: "... hours",
832
- DotDotDotDays: "... days",
833
- } as const;
834
- /**
835
- * **Only relevant if you wish to manage authorization and capturing separately.**
836
- *
837
- * @remarks
838
- *
839
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
840
- * later point either be 'captured' or canceled.
841
- *
842
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
843
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
844
- * example `8 hours` or `2 days`.
845
- *
846
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
847
- *
848
- * The maximum delay is 7 days (168 hours).
849
- */
850
- export type ListCustomerPaymentsCaptureDelay = ClosedEnum<
851
- typeof ListCustomerPaymentsCaptureDelay
852
- >;
853
-
854
816
  /**
855
817
  * The fee that you wish to charge.
856
818
  *
@@ -1677,8 +1639,10 @@ export type ListCustomerPaymentsPaymentOutput = {
1677
1639
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1678
1640
  *
1679
1641
  * The maximum delay is 7 days (168 hours).
1642
+ *
1643
+ * Possible values: `... hours` `... days`
1680
1644
  */
1681
- captureDelay?: ListCustomerPaymentsCaptureDelay | null | undefined;
1645
+ captureDelay?: string | null | undefined;
1682
1646
  /**
1683
1647
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1684
1648
  *
@@ -3474,27 +3438,6 @@ export namespace ListCustomerPaymentsCaptureMode$ {
3474
3438
  export const outboundSchema = ListCustomerPaymentsCaptureMode$outboundSchema;
3475
3439
  }
3476
3440
 
3477
- /** @internal */
3478
- export const ListCustomerPaymentsCaptureDelay$inboundSchema: z.ZodNativeEnum<
3479
- typeof ListCustomerPaymentsCaptureDelay
3480
- > = z.nativeEnum(ListCustomerPaymentsCaptureDelay);
3481
-
3482
- /** @internal */
3483
- export const ListCustomerPaymentsCaptureDelay$outboundSchema: z.ZodNativeEnum<
3484
- typeof ListCustomerPaymentsCaptureDelay
3485
- > = ListCustomerPaymentsCaptureDelay$inboundSchema;
3486
-
3487
- /**
3488
- * @internal
3489
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3490
- */
3491
- export namespace ListCustomerPaymentsCaptureDelay$ {
3492
- /** @deprecated use `ListCustomerPaymentsCaptureDelay$inboundSchema` instead. */
3493
- export const inboundSchema = ListCustomerPaymentsCaptureDelay$inboundSchema;
3494
- /** @deprecated use `ListCustomerPaymentsCaptureDelay$outboundSchema` instead. */
3495
- export const outboundSchema = ListCustomerPaymentsCaptureDelay$outboundSchema;
3496
- }
3497
-
3498
3441
  /** @internal */
3499
3442
  export const ListCustomerPaymentsApplicationFeeAmount$inboundSchema: z.ZodType<
3500
3443
  ListCustomerPaymentsApplicationFeeAmount,
@@ -5221,11 +5164,9 @@ export const ListCustomerPaymentsPaymentOutput$inboundSchema: z.ZodType<
5221
5164
  z.array(z.string()),
5222
5165
  ]),
5223
5166
  ).optional(),
5224
- captureMode: z.nullable(
5225
- ListCustomerPaymentsCaptureMode$inboundSchema.default("automatic"),
5226
- ),
5227
- captureDelay: z.nullable(ListCustomerPaymentsCaptureDelay$inboundSchema)
5167
+ captureMode: z.nullable(ListCustomerPaymentsCaptureMode$inboundSchema)
5228
5168
  .optional(),
5169
+ captureDelay: z.nullable(z.string()).optional(),
5229
5170
  captureBefore: z.nullable(z.string()).optional(),
5230
5171
  applicationFee: z.nullable(
5231
5172
  z.lazy(() => ListCustomerPaymentsApplicationFee$inboundSchema),
@@ -5292,7 +5233,7 @@ export type ListCustomerPaymentsPaymentOutput$Outbound = {
5292
5233
  | Array<string>
5293
5234
  | null
5294
5235
  | undefined;
5295
- captureMode: string | null;
5236
+ captureMode?: string | null | undefined;
5296
5237
  captureDelay?: string | null | undefined;
5297
5238
  captureBefore?: string | null | undefined;
5298
5239
  applicationFee?:
@@ -5370,11 +5311,9 @@ export const ListCustomerPaymentsPaymentOutput$outboundSchema: z.ZodType<
5370
5311
  z.array(z.string()),
5371
5312
  ]),
5372
5313
  ).optional(),
5373
- captureMode: z.nullable(
5374
- ListCustomerPaymentsCaptureMode$outboundSchema.default("automatic"),
5375
- ),
5376
- captureDelay: z.nullable(ListCustomerPaymentsCaptureDelay$outboundSchema)
5314
+ captureMode: z.nullable(ListCustomerPaymentsCaptureMode$outboundSchema)
5377
5315
  .optional(),
5316
+ captureDelay: z.nullable(z.string()).optional(),
5378
5317
  captureBefore: z.nullable(z.string()).optional(),
5379
5318
  applicationFee: z.nullable(
5380
5319
  z.lazy(() => ListCustomerPaymentsApplicationFee$outboundSchema),
@@ -724,6 +724,7 @@ export const ListPaymentsMethod = {
724
724
  Banktransfer: "banktransfer",
725
725
  Belfius: "belfius",
726
726
  Billie: "billie",
727
+ Bizum: "bizum",
727
728
  Blik: "blik",
728
729
  Creditcard: "creditcard",
729
730
  Directdebit: "directdebit",
@@ -736,6 +737,7 @@ export const ListPaymentsMethod = {
736
737
  Mbway: "mbway",
737
738
  Multibanco: "multibanco",
738
739
  Mybank: "mybank",
740
+ Paybybank: "paybybank",
739
741
  Payconiq: "payconiq",
740
742
  Paypal: "paypal",
741
743
  Paysafecard: "paysafecard",
@@ -793,46 +795,6 @@ export type ListPaymentsCaptureMode = ClosedEnum<
793
795
  typeof ListPaymentsCaptureMode
794
796
  >;
795
797
 
796
- /**
797
- * **Only relevant if you wish to manage authorization and capturing separately.**
798
- *
799
- * @remarks
800
- *
801
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
802
- * later point either be 'captured' or canceled.
803
- *
804
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
805
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
806
- * example `8 hours` or `2 days`.
807
- *
808
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
809
- *
810
- * The maximum delay is 7 days (168 hours).
811
- */
812
- export const ListPaymentsCaptureDelay = {
813
- DotDotDotHours: "... hours",
814
- DotDotDotDays: "... days",
815
- } as const;
816
- /**
817
- * **Only relevant if you wish to manage authorization and capturing separately.**
818
- *
819
- * @remarks
820
- *
821
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
822
- * later point either be 'captured' or canceled.
823
- *
824
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
825
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
826
- * example `8 hours` or `2 days`.
827
- *
828
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
829
- *
830
- * The maximum delay is 7 days (168 hours).
831
- */
832
- export type ListPaymentsCaptureDelay = ClosedEnum<
833
- typeof ListPaymentsCaptureDelay
834
- >;
835
-
836
798
  /**
837
799
  * The fee that you wish to charge.
838
800
  *
@@ -1652,8 +1614,10 @@ export type ListPaymentsPaymentOutput = {
1652
1614
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1653
1615
  *
1654
1616
  * The maximum delay is 7 days (168 hours).
1617
+ *
1618
+ * Possible values: `... hours` `... days`
1655
1619
  */
1656
- captureDelay?: ListPaymentsCaptureDelay | null | undefined;
1620
+ captureDelay?: string | null | undefined;
1657
1621
  /**
1658
1622
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1659
1623
  *
@@ -3382,27 +3346,6 @@ export namespace ListPaymentsCaptureMode$ {
3382
3346
  export const outboundSchema = ListPaymentsCaptureMode$outboundSchema;
3383
3347
  }
3384
3348
 
3385
- /** @internal */
3386
- export const ListPaymentsCaptureDelay$inboundSchema: z.ZodNativeEnum<
3387
- typeof ListPaymentsCaptureDelay
3388
- > = z.nativeEnum(ListPaymentsCaptureDelay);
3389
-
3390
- /** @internal */
3391
- export const ListPaymentsCaptureDelay$outboundSchema: z.ZodNativeEnum<
3392
- typeof ListPaymentsCaptureDelay
3393
- > = ListPaymentsCaptureDelay$inboundSchema;
3394
-
3395
- /**
3396
- * @internal
3397
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3398
- */
3399
- export namespace ListPaymentsCaptureDelay$ {
3400
- /** @deprecated use `ListPaymentsCaptureDelay$inboundSchema` instead. */
3401
- export const inboundSchema = ListPaymentsCaptureDelay$inboundSchema;
3402
- /** @deprecated use `ListPaymentsCaptureDelay$outboundSchema` instead. */
3403
- export const outboundSchema = ListPaymentsCaptureDelay$outboundSchema;
3404
- }
3405
-
3406
3349
  /** @internal */
3407
3350
  export const ListPaymentsApplicationFeeAmount$inboundSchema: z.ZodType<
3408
3351
  ListPaymentsApplicationFeeAmount,
@@ -5036,10 +4979,8 @@ export const ListPaymentsPaymentOutput$inboundSchema: z.ZodType<
5036
4979
  z.array(z.string()),
5037
4980
  ]),
5038
4981
  ).optional(),
5039
- captureMode: z.nullable(
5040
- ListPaymentsCaptureMode$inboundSchema.default("automatic"),
5041
- ),
5042
- captureDelay: z.nullable(ListPaymentsCaptureDelay$inboundSchema).optional(),
4982
+ captureMode: z.nullable(ListPaymentsCaptureMode$inboundSchema).optional(),
4983
+ captureDelay: z.nullable(z.string()).optional(),
5043
4984
  captureBefore: z.nullable(z.string()).optional(),
5044
4985
  applicationFee: z.nullable(
5045
4986
  z.lazy(() => ListPaymentsApplicationFee$inboundSchema),
@@ -5102,7 +5043,7 @@ export type ListPaymentsPaymentOutput$Outbound = {
5102
5043
  | Array<string>
5103
5044
  | null
5104
5045
  | undefined;
5105
- captureMode: string | null;
5046
+ captureMode?: string | null | undefined;
5106
5047
  captureDelay?: string | null | undefined;
5107
5048
  captureBefore?: string | null | undefined;
5108
5049
  applicationFee?: ListPaymentsApplicationFee$Outbound | null | undefined;
@@ -5169,10 +5110,8 @@ export const ListPaymentsPaymentOutput$outboundSchema: z.ZodType<
5169
5110
  z.array(z.string()),
5170
5111
  ]),
5171
5112
  ).optional(),
5172
- captureMode: z.nullable(
5173
- ListPaymentsCaptureMode$outboundSchema.default("automatic"),
5174
- ),
5175
- captureDelay: z.nullable(ListPaymentsCaptureDelay$outboundSchema).optional(),
5113
+ captureMode: z.nullable(ListPaymentsCaptureMode$outboundSchema).optional(),
5114
+ captureDelay: z.nullable(z.string()).optional(),
5176
5115
  captureBefore: z.nullable(z.string()).optional(),
5177
5116
  applicationFee: z.nullable(
5178
5117
  z.lazy(() => ListPaymentsApplicationFee$outboundSchema),
@@ -740,6 +740,7 @@ export const ListSettlementPaymentsMethod = {
740
740
  Banktransfer: "banktransfer",
741
741
  Belfius: "belfius",
742
742
  Billie: "billie",
743
+ Bizum: "bizum",
743
744
  Blik: "blik",
744
745
  Creditcard: "creditcard",
745
746
  Directdebit: "directdebit",
@@ -752,6 +753,7 @@ export const ListSettlementPaymentsMethod = {
752
753
  Mbway: "mbway",
753
754
  Multibanco: "multibanco",
754
755
  Mybank: "mybank",
756
+ Paybybank: "paybybank",
755
757
  Payconiq: "payconiq",
756
758
  Paypal: "paypal",
757
759
  Paysafecard: "paysafecard",
@@ -811,46 +813,6 @@ export type ListSettlementPaymentsCaptureMode = ClosedEnum<
811
813
  typeof ListSettlementPaymentsCaptureMode
812
814
  >;
813
815
 
814
- /**
815
- * **Only relevant if you wish to manage authorization and capturing separately.**
816
- *
817
- * @remarks
818
- *
819
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
820
- * later point either be 'captured' or canceled.
821
- *
822
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
823
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
824
- * example `8 hours` or `2 days`.
825
- *
826
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
827
- *
828
- * The maximum delay is 7 days (168 hours).
829
- */
830
- export const ListSettlementPaymentsCaptureDelay = {
831
- DotDotDotHours: "... hours",
832
- DotDotDotDays: "... days",
833
- } as const;
834
- /**
835
- * **Only relevant if you wish to manage authorization and capturing separately.**
836
- *
837
- * @remarks
838
- *
839
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
840
- * later point either be 'captured' or canceled.
841
- *
842
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
843
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
844
- * example `8 hours` or `2 days`.
845
- *
846
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
847
- *
848
- * The maximum delay is 7 days (168 hours).
849
- */
850
- export type ListSettlementPaymentsCaptureDelay = ClosedEnum<
851
- typeof ListSettlementPaymentsCaptureDelay
852
- >;
853
-
854
816
  /**
855
817
  * The fee that you wish to charge.
856
818
  *
@@ -1677,8 +1639,10 @@ export type ListSettlementPaymentsPaymentOutput = {
1677
1639
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1678
1640
  *
1679
1641
  * The maximum delay is 7 days (168 hours).
1642
+ *
1643
+ * Possible values: `... hours` `... days`
1680
1644
  */
1681
- captureDelay?: ListSettlementPaymentsCaptureDelay | null | undefined;
1645
+ captureDelay?: string | null | undefined;
1682
1646
  /**
1683
1647
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1684
1648
  *
@@ -3492,28 +3456,6 @@ export namespace ListSettlementPaymentsCaptureMode$ {
3492
3456
  ListSettlementPaymentsCaptureMode$outboundSchema;
3493
3457
  }
3494
3458
 
3495
- /** @internal */
3496
- export const ListSettlementPaymentsCaptureDelay$inboundSchema: z.ZodNativeEnum<
3497
- typeof ListSettlementPaymentsCaptureDelay
3498
- > = z.nativeEnum(ListSettlementPaymentsCaptureDelay);
3499
-
3500
- /** @internal */
3501
- export const ListSettlementPaymentsCaptureDelay$outboundSchema: z.ZodNativeEnum<
3502
- typeof ListSettlementPaymentsCaptureDelay
3503
- > = ListSettlementPaymentsCaptureDelay$inboundSchema;
3504
-
3505
- /**
3506
- * @internal
3507
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3508
- */
3509
- export namespace ListSettlementPaymentsCaptureDelay$ {
3510
- /** @deprecated use `ListSettlementPaymentsCaptureDelay$inboundSchema` instead. */
3511
- export const inboundSchema = ListSettlementPaymentsCaptureDelay$inboundSchema;
3512
- /** @deprecated use `ListSettlementPaymentsCaptureDelay$outboundSchema` instead. */
3513
- export const outboundSchema =
3514
- ListSettlementPaymentsCaptureDelay$outboundSchema;
3515
- }
3516
-
3517
3459
  /** @internal */
3518
3460
  export const ListSettlementPaymentsApplicationFeeAmount$inboundSchema:
3519
3461
  z.ZodType<ListSettlementPaymentsApplicationFeeAmount, z.ZodTypeDef, unknown> =
@@ -5282,11 +5224,9 @@ export const ListSettlementPaymentsPaymentOutput$inboundSchema: z.ZodType<
5282
5224
  z.array(z.string()),
5283
5225
  ]),
5284
5226
  ).optional(),
5285
- captureMode: z.nullable(
5286
- ListSettlementPaymentsCaptureMode$inboundSchema.default("automatic"),
5287
- ),
5288
- captureDelay: z.nullable(ListSettlementPaymentsCaptureDelay$inboundSchema)
5227
+ captureMode: z.nullable(ListSettlementPaymentsCaptureMode$inboundSchema)
5289
5228
  .optional(),
5229
+ captureDelay: z.nullable(z.string()).optional(),
5290
5230
  captureBefore: z.nullable(z.string()).optional(),
5291
5231
  applicationFee: z.nullable(
5292
5232
  z.lazy(() => ListSettlementPaymentsApplicationFee$inboundSchema),
@@ -5355,7 +5295,7 @@ export type ListSettlementPaymentsPaymentOutput$Outbound = {
5355
5295
  | Array<string>
5356
5296
  | null
5357
5297
  | undefined;
5358
- captureMode: string | null;
5298
+ captureMode?: string | null | undefined;
5359
5299
  captureDelay?: string | null | undefined;
5360
5300
  captureBefore?: string | null | undefined;
5361
5301
  applicationFee?:
@@ -5433,11 +5373,9 @@ export const ListSettlementPaymentsPaymentOutput$outboundSchema: z.ZodType<
5433
5373
  z.array(z.string()),
5434
5374
  ]),
5435
5375
  ).optional(),
5436
- captureMode: z.nullable(
5437
- ListSettlementPaymentsCaptureMode$outboundSchema.default("automatic"),
5438
- ),
5439
- captureDelay: z.nullable(ListSettlementPaymentsCaptureDelay$outboundSchema)
5376
+ captureMode: z.nullable(ListSettlementPaymentsCaptureMode$outboundSchema)
5440
5377
  .optional(),
5378
+ captureDelay: z.nullable(z.string()).optional(),
5441
5379
  captureBefore: z.nullable(z.string()).optional(),
5442
5380
  applicationFee: z.nullable(
5443
5381
  z.lazy(() => ListSettlementPaymentsApplicationFee$outboundSchema),