@flowio/api-internal-prop-types 9.19.4 → 9.19.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.
@@ -7634,19 +7634,6 @@ declare namespace io.flow.payment.gateway.v0.enums {
7634
7634
  }
7635
7635
 
7636
7636
  declare namespace io.flow.payment.gateway.v0.models {
7637
- interface ActionAddPaymentMethod {
7638
- readonly 'type': 'add_payment_method';
7639
- readonly 'expires_at'?: string;
7640
- readonly 'available_payment_methods': io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
7641
- }
7642
-
7643
- interface ActionCapture {
7644
- readonly 'type': 'capture';
7645
- readonly 'expires_at'?: string;
7646
- readonly 'amount_awaiting_capture': number;
7647
- readonly 'currency': string;
7648
- }
7649
-
7650
7637
  interface ActionDisplayInlineWindow {
7651
7638
  readonly 'type': 'display_inline_window';
7652
7639
  readonly 'expires_at'?: string;
@@ -7840,6 +7827,16 @@ declare namespace io.flow.payment.gateway.v0.models {
7840
7827
  readonly 'failure_message': string;
7841
7828
  }
7842
7829
 
7830
+ interface PaymentInformation {
7831
+ readonly 'amount_refundable'?: number;
7832
+ readonly 'amount_refunded'?: number;
7833
+ readonly 'refundable_before'?: string;
7834
+ readonly 'amount_capturable'?: number;
7835
+ readonly 'amount_captured'?: number;
7836
+ readonly 'capturable_before'?: string;
7837
+ readonly 'authorizations': io.flow.payment.gateway.v0.models.PaymentAuthorization[];
7838
+ }
7839
+
7843
7840
  interface PaymentMethodBrand {
7844
7841
  readonly 'id': string;
7845
7842
  readonly 'name': string;
@@ -8016,10 +8013,10 @@ declare namespace io.flow.payment.gateway.v0.models {
8016
8013
  interface PaymentRequest {
8017
8014
  readonly 'id': string;
8018
8015
  readonly 'status': io.flow.payment.gateway.v0.enums.PaymentStatus;
8016
+ readonly 'available_payment_methods': io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
8019
8017
  readonly 'last_payment_failure'?: io.flow.payment.gateway.v0.models.PaymentFailure;
8020
8018
  readonly 'next_action'?: io.flow.payment.gateway.v0.unions.Action;
8021
8019
  readonly 'amount': number;
8022
- readonly 'amount_refundable'?: number;
8023
8020
  readonly 'currency': string;
8024
8021
  readonly 'order_information': io.flow.payment.gateway.v0.unions.OrderInformation;
8025
8022
  readonly 'ip'?: string;
@@ -8027,7 +8024,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8027
8024
  readonly 'return_url': string;
8028
8025
  readonly 'attributes'?: Record<string, string>;
8029
8026
  readonly 'reference'?: string;
8030
- readonly 'authorizations': io.flow.payment.gateway.v0.models.PaymentAuthorization[];
8027
+ readonly 'payment_information': io.flow.payment.gateway.v0.models.PaymentInformation;
8031
8028
  readonly 'supported_actions': io.flow.payment.gateway.v0.enums.SupportedActionType[];
8032
8029
  }
8033
8030
 
@@ -8078,7 +8075,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8078
8075
  }
8079
8076
 
8080
8077
  declare namespace io.flow.payment.gateway.v0.unions {
8081
- type Action = (io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionCapture | io.flow.payment.gateway.v0.models.ActionAddPaymentMethod | io.flow.payment.gateway.v0.models.ActionWait);
8078
+ type Action = (io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait);
8082
8079
  type CardAuthorizationActionResult = (io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4);
8083
8080
  type CardNumber = (io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher);
8084
8081
  type DeviceDetails = (io.flow.payment.gateway.v0.models.BrowserDetails);