@flowio/types 11.24.27 → 11.24.29
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.
- package/dist/api-internal.d.ts +54 -7
- package/dist/api.d.ts +34 -2
- package/package.json +2 -2
- package/src/api-internal.ts +61 -5
- package/src/api.ts +47 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -3783,9 +3783,9 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
3783
3783
|
type Contract = 'RECURRING';
|
|
3784
3784
|
type DeviceChannel = 'app' | 'browser';
|
|
3785
3785
|
type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
|
|
3786
|
-
type
|
|
3786
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
3787
3787
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
3788
|
-
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
|
|
3788
|
+
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
|
|
3789
3789
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
3790
3790
|
type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
|
|
3791
3791
|
type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
|
|
@@ -3804,6 +3804,10 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3804
3804
|
readonly value: number;
|
|
3805
3805
|
readonly currency: string;
|
|
3806
3806
|
}
|
|
3807
|
+
interface Applepay {
|
|
3808
|
+
readonly type: 'applepay';
|
|
3809
|
+
readonly applePayToken: string;
|
|
3810
|
+
}
|
|
3807
3811
|
interface Authentication {
|
|
3808
3812
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3809
3813
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3830,6 +3834,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3830
3834
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3831
3835
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
3832
3836
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
3837
|
+
readonly mcc?: string;
|
|
3838
|
+
readonly metadata?: any;
|
|
3833
3839
|
}
|
|
3834
3840
|
interface AuthorizeRequest3D {
|
|
3835
3841
|
readonly merchantAccount: string;
|
|
@@ -3963,6 +3969,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3963
3969
|
readonly details: any;
|
|
3964
3970
|
readonly paymentData?: string;
|
|
3965
3971
|
}
|
|
3972
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
3973
|
+
readonly 'threeds2.challengeResult': string;
|
|
3974
|
+
}
|
|
3975
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
3976
|
+
readonly 'threeds2.fingerprint': string;
|
|
3977
|
+
}
|
|
3966
3978
|
interface PaymentRequest {
|
|
3967
3979
|
readonly reference: string;
|
|
3968
3980
|
readonly merchantAccount: string;
|
|
@@ -3984,7 +3996,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3984
3996
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3985
3997
|
readonly origin?: string;
|
|
3986
3998
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
3987
|
-
readonly
|
|
3999
|
+
readonly returnUrl?: string;
|
|
4000
|
+
readonly mcc?: string;
|
|
4001
|
+
readonly metadata?: any;
|
|
4002
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4003
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
3988
4004
|
}
|
|
3989
4005
|
interface PaymentResponse {
|
|
3990
4006
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -3999,19 +4015,43 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3999
4015
|
interface PaymentResponseAdditionalData {
|
|
4000
4016
|
readonly authCode?: string;
|
|
4001
4017
|
readonly avsResultRaw?: string;
|
|
4018
|
+
readonly avsResult?: string;
|
|
4002
4019
|
readonly cvcResultRaw?: string;
|
|
4020
|
+
readonly cvcResult?: string;
|
|
4003
4021
|
readonly liabilityShift?: string;
|
|
4004
4022
|
readonly threeDAuthenticated?: string;
|
|
4005
4023
|
readonly threeDAuthenticatedResponse?: string;
|
|
4006
4024
|
readonly threeDOffered?: string;
|
|
4007
4025
|
readonly threeDOfferedResponse?: string;
|
|
4026
|
+
readonly threeDSVersion?: string;
|
|
4027
|
+
readonly eci?: string;
|
|
4028
|
+
readonly scaExemptionRequested?: string;
|
|
4029
|
+
readonly paymentMethod?: string;
|
|
4030
|
+
readonly paymentMethodVariant?: string;
|
|
4031
|
+
readonly tokenTxVariant?: string;
|
|
4032
|
+
readonly acquirerCode?: string;
|
|
4033
|
+
readonly acquirerAccountCode?: string;
|
|
4034
|
+
readonly cardPaymentMethod?: string;
|
|
4035
|
+
readonly coBrandedWith?: string;
|
|
4036
|
+
readonly cardIssuingCountry?: string;
|
|
4037
|
+
readonly cardIssuingCurrency?: string;
|
|
4038
|
+
readonly cardIssuingBank?: string;
|
|
4039
|
+
readonly cardBin?: string;
|
|
4040
|
+
readonly issuerBin?: string;
|
|
4041
|
+
readonly cardSummary?: string;
|
|
4042
|
+
readonly untokenisedCardSummary?: string;
|
|
4043
|
+
readonly ownerName?: string;
|
|
4044
|
+
readonly bankName?: string;
|
|
4045
|
+
readonly issuerCountry?: string;
|
|
4046
|
+
readonly iban?: string;
|
|
4047
|
+
readonly bic?: string;
|
|
4008
4048
|
}
|
|
4009
4049
|
interface Recurring {
|
|
4010
4050
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
4011
4051
|
}
|
|
4012
4052
|
interface Redirect {
|
|
4013
4053
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4014
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4054
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4015
4055
|
readonly url?: string;
|
|
4016
4056
|
}
|
|
4017
4057
|
interface RedirectData {
|
|
@@ -4032,6 +4072,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4032
4072
|
readonly number: string;
|
|
4033
4073
|
readonly cvc?: string;
|
|
4034
4074
|
}
|
|
4075
|
+
interface SdkV3OnCompleteData {
|
|
4076
|
+
readonly details: any;
|
|
4077
|
+
readonly payment_data?: string;
|
|
4078
|
+
}
|
|
4079
|
+
interface SdkV3OnCompleteResult {
|
|
4080
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
4081
|
+
}
|
|
4035
4082
|
interface ThreeDSecureData {
|
|
4036
4083
|
readonly authenticationResponse?: string;
|
|
4037
4084
|
readonly cavv?: string;
|
|
@@ -4057,7 +4104,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4057
4104
|
}
|
|
4058
4105
|
declare namespace io.flow.adyen.v0.unions {
|
|
4059
4106
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4060
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4107
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
|
|
4061
4108
|
}
|
|
4062
4109
|
declare namespace io.flow.order.management.v0.enums {
|
|
4063
4110
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -9978,7 +10025,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9978
10025
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
9979
10026
|
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
9980
10027
|
type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
|
|
9981
|
-
type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
|
|
10028
|
+
type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
|
|
9982
10029
|
type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
|
|
9983
10030
|
type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
|
|
9984
10031
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
@@ -17820,7 +17867,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17820
17867
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
17821
17868
|
readonly created_at: string;
|
|
17822
17869
|
readonly updated_at: string;
|
|
17823
|
-
readonly updated_by
|
|
17870
|
+
readonly updated_by?: io.flow.common.v0.models.User;
|
|
17824
17871
|
}
|
|
17825
17872
|
interface RestrictionItem {
|
|
17826
17873
|
readonly id: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -1696,7 +1696,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1696
1696
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
1697
1697
|
type EntityIdentifierType = 'ioss' | 'voec';
|
|
1698
1698
|
type Environment = 'sandbox' | 'production';
|
|
1699
|
-
type EventType = 'transaction_upserted' | 'transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
1699
|
+
type EventType = 'transaction_upserted' | 'transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
1700
1700
|
type ExceptionType = 'open' | 'closed';
|
|
1701
1701
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
1702
1702
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -3050,6 +3050,20 @@ declare namespace io.flow.v0.models {
|
|
|
3050
3050
|
readonly attachments: io.flow.v0.models.Attachment[];
|
|
3051
3051
|
readonly created_at: string;
|
|
3052
3052
|
}
|
|
3053
|
+
interface ChannelStatementDeleted {
|
|
3054
|
+
readonly discriminator: 'channel_statement_deleted';
|
|
3055
|
+
readonly event_id: string;
|
|
3056
|
+
readonly timestamp: string;
|
|
3057
|
+
readonly channel_id: string;
|
|
3058
|
+
readonly channel_statement: io.flow.v0.models.ChannelStatement;
|
|
3059
|
+
}
|
|
3060
|
+
interface ChannelStatementUpserted {
|
|
3061
|
+
readonly discriminator: 'channel_statement_upserted';
|
|
3062
|
+
readonly event_id: string;
|
|
3063
|
+
readonly timestamp: string;
|
|
3064
|
+
readonly channel_id: string;
|
|
3065
|
+
readonly channel_statement: io.flow.v0.models.ChannelStatement;
|
|
3066
|
+
}
|
|
3053
3067
|
interface ChannelToken {
|
|
3054
3068
|
readonly discriminator: 'channel_token';
|
|
3055
3069
|
readonly id: string;
|
|
@@ -3083,6 +3097,20 @@ declare namespace io.flow.v0.models {
|
|
|
3083
3097
|
readonly net: number;
|
|
3084
3098
|
readonly created_at: string;
|
|
3085
3099
|
}
|
|
3100
|
+
interface ChannelTransactionDeleted {
|
|
3101
|
+
readonly discriminator: 'channel_transaction_deleted';
|
|
3102
|
+
readonly event_id: string;
|
|
3103
|
+
readonly timestamp: string;
|
|
3104
|
+
readonly channel_id: string;
|
|
3105
|
+
readonly channel_transaction: io.flow.v0.models.ChannelTransaction;
|
|
3106
|
+
}
|
|
3107
|
+
interface ChannelTransactionUpserted {
|
|
3108
|
+
readonly discriminator: 'channel_transaction_upserted';
|
|
3109
|
+
readonly event_id: string;
|
|
3110
|
+
readonly timestamp: string;
|
|
3111
|
+
readonly channel_id: string;
|
|
3112
|
+
readonly channel_transaction: io.flow.v0.models.ChannelTransaction;
|
|
3113
|
+
}
|
|
3086
3114
|
interface ChannelUpserted {
|
|
3087
3115
|
readonly discriminator: 'channel_upserted';
|
|
3088
3116
|
readonly event_id: string;
|
|
@@ -9874,7 +9902,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9874
9902
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
9875
9903
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
9876
9904
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
9877
|
-
type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.TransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
9905
|
+
type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.TransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
9878
9906
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
9879
9907
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
9880
9908
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -10179,10 +10207,14 @@ export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrgan
|
|
|
10179
10207
|
export declare type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
10180
10208
|
export declare type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
10181
10209
|
export declare type ChannelStatement = io.flow.v0.models.ChannelStatement;
|
|
10210
|
+
export declare type ChannelStatementDeleted = io.flow.v0.models.ChannelStatementDeleted;
|
|
10211
|
+
export declare type ChannelStatementUpserted = io.flow.v0.models.ChannelStatementUpserted;
|
|
10182
10212
|
export declare type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
10183
10213
|
export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
10184
10214
|
export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
10185
10215
|
export declare type ChannelTransaction = io.flow.v0.models.ChannelTransaction;
|
|
10216
|
+
export declare type ChannelTransactionDeleted = io.flow.v0.models.ChannelTransactionDeleted;
|
|
10217
|
+
export declare type ChannelTransactionUpserted = io.flow.v0.models.ChannelTransactionUpserted;
|
|
10186
10218
|
export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
10187
10219
|
export declare type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
|
|
10188
10220
|
export declare type ChannelViesRegistrationForm = io.flow.v0.models.ChannelViesRegistrationForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.29",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "d8694eb84532d183fb8f7a810039f90bb74ee7ec"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5162,7 +5162,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5162
5162
|
| 'SECOND_CHARGEBACK'
|
|
5163
5163
|
| 'PREARBITRATION_WON'
|
|
5164
5164
|
| 'PREARBITRATION_LOST';
|
|
5165
|
-
type
|
|
5165
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
5166
5166
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5167
5167
|
type PaymentMethod =
|
|
5168
5168
|
| 'ach'
|
|
@@ -5171,6 +5171,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5171
5171
|
| 'amex'
|
|
5172
5172
|
| 'bankTransfer_IBAN'
|
|
5173
5173
|
| 'bcmc'
|
|
5174
|
+
| 'bcmc_mobile'
|
|
5174
5175
|
| 'cartebancaire'
|
|
5175
5176
|
| 'cup'
|
|
5176
5177
|
| 'diners'
|
|
@@ -5233,6 +5234,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5233
5234
|
readonly currency: string;
|
|
5234
5235
|
}
|
|
5235
5236
|
|
|
5237
|
+
interface Applepay {
|
|
5238
|
+
readonly type: 'applepay';
|
|
5239
|
+
readonly applePayToken: string;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5236
5242
|
interface Authentication {
|
|
5237
5243
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5238
5244
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5260,6 +5266,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5260
5266
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5261
5267
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5262
5268
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5269
|
+
readonly mcc?: string;
|
|
5270
|
+
readonly metadata?: any /*object*/;
|
|
5263
5271
|
}
|
|
5264
5272
|
|
|
5265
5273
|
interface AuthorizeRequest3D {
|
|
@@ -5416,6 +5424,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5416
5424
|
readonly paymentData?: string;
|
|
5417
5425
|
}
|
|
5418
5426
|
|
|
5427
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
5428
|
+
readonly 'threeds2.challengeResult': string;
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5432
|
+
readonly 'threeds2.fingerprint': string;
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5419
5435
|
interface PaymentRequest {
|
|
5420
5436
|
readonly reference: string;
|
|
5421
5437
|
readonly merchantAccount: string;
|
|
@@ -5437,7 +5453,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5437
5453
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5438
5454
|
readonly origin?: string;
|
|
5439
5455
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5440
|
-
readonly
|
|
5456
|
+
readonly returnUrl?: string;
|
|
5457
|
+
readonly mcc?: string;
|
|
5458
|
+
readonly metadata?: any /*object*/;
|
|
5459
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5460
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5441
5461
|
}
|
|
5442
5462
|
|
|
5443
5463
|
interface PaymentResponse {
|
|
@@ -5454,12 +5474,36 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5454
5474
|
interface PaymentResponseAdditionalData {
|
|
5455
5475
|
readonly authCode?: string;
|
|
5456
5476
|
readonly avsResultRaw?: string;
|
|
5477
|
+
readonly avsResult?: string;
|
|
5457
5478
|
readonly cvcResultRaw?: string;
|
|
5479
|
+
readonly cvcResult?: string;
|
|
5458
5480
|
readonly liabilityShift?: string;
|
|
5459
5481
|
readonly threeDAuthenticated?: string;
|
|
5460
5482
|
readonly threeDAuthenticatedResponse?: string;
|
|
5461
5483
|
readonly threeDOffered?: string;
|
|
5462
5484
|
readonly threeDOfferedResponse?: string;
|
|
5485
|
+
readonly threeDSVersion?: string;
|
|
5486
|
+
readonly eci?: string;
|
|
5487
|
+
readonly scaExemptionRequested?: string;
|
|
5488
|
+
readonly paymentMethod?: string;
|
|
5489
|
+
readonly paymentMethodVariant?: string;
|
|
5490
|
+
readonly tokenTxVariant?: string;
|
|
5491
|
+
readonly acquirerCode?: string;
|
|
5492
|
+
readonly acquirerAccountCode?: string;
|
|
5493
|
+
readonly cardPaymentMethod?: string;
|
|
5494
|
+
readonly coBrandedWith?: string;
|
|
5495
|
+
readonly cardIssuingCountry?: string;
|
|
5496
|
+
readonly cardIssuingCurrency?: string;
|
|
5497
|
+
readonly cardIssuingBank?: string;
|
|
5498
|
+
readonly cardBin?: string;
|
|
5499
|
+
readonly issuerBin?: string;
|
|
5500
|
+
readonly cardSummary?: string;
|
|
5501
|
+
readonly untokenisedCardSummary?: string;
|
|
5502
|
+
readonly ownerName?: string;
|
|
5503
|
+
readonly bankName?: string;
|
|
5504
|
+
readonly issuerCountry?: string;
|
|
5505
|
+
readonly iban?: string;
|
|
5506
|
+
readonly bic?: string;
|
|
5463
5507
|
}
|
|
5464
5508
|
|
|
5465
5509
|
interface Recurring {
|
|
@@ -5468,7 +5512,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5468
5512
|
|
|
5469
5513
|
interface Redirect {
|
|
5470
5514
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5471
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5515
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5472
5516
|
readonly url?: string;
|
|
5473
5517
|
}
|
|
5474
5518
|
|
|
@@ -5493,6 +5537,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5493
5537
|
readonly cvc?: string;
|
|
5494
5538
|
}
|
|
5495
5539
|
|
|
5540
|
+
interface SdkV3OnCompleteData {
|
|
5541
|
+
readonly details: any /*object*/;
|
|
5542
|
+
readonly payment_data?: string;
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
interface SdkV3OnCompleteResult {
|
|
5546
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5496
5549
|
interface ThreeDSecureData {
|
|
5497
5550
|
readonly authenticationResponse?: string;
|
|
5498
5551
|
readonly cavv?: string;
|
|
@@ -5524,7 +5577,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5524
5577
|
type BrowserInfo =
|
|
5525
5578
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5526
5579
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5527
|
-
type PaymentMethodData =
|
|
5580
|
+
type PaymentMethodData =
|
|
5581
|
+
| io.flow.adyen.v0.models.Scheme
|
|
5582
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
5528
5583
|
}
|
|
5529
5584
|
|
|
5530
5585
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -13613,6 +13668,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13613
13668
|
| 'billing'
|
|
13614
13669
|
| 'b2b_invoicing'
|
|
13615
13670
|
| 'catalog'
|
|
13671
|
+
| 'currency'
|
|
13616
13672
|
| 'checkout'
|
|
13617
13673
|
| 'fraud'
|
|
13618
13674
|
| 'logistics'
|
|
@@ -22889,7 +22945,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22889
22945
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
22890
22946
|
readonly created_at: string;
|
|
22891
22947
|
readonly updated_at: string;
|
|
22892
|
-
readonly updated_by
|
|
22948
|
+
readonly updated_by?: io.flow.common.v0.models.User;
|
|
22893
22949
|
}
|
|
22894
22950
|
|
|
22895
22951
|
interface RestrictionItem {
|
package/src/api.ts
CHANGED
|
@@ -2292,6 +2292,10 @@ declare namespace io.flow.v0.enums {
|
|
|
2292
2292
|
| 'transaction_deleted'
|
|
2293
2293
|
| 'statement_upserted'
|
|
2294
2294
|
| 'statement_deleted'
|
|
2295
|
+
| 'channel_transaction_upserted'
|
|
2296
|
+
| 'channel_transaction_deleted'
|
|
2297
|
+
| 'channel_statement_upserted'
|
|
2298
|
+
| 'channel_statement_deleted'
|
|
2295
2299
|
| 'attribute_upserted'
|
|
2296
2300
|
| 'attribute_deleted'
|
|
2297
2301
|
| 'attribute_upserted_v2'
|
|
@@ -4417,6 +4421,22 @@ declare namespace io.flow.v0.models {
|
|
|
4417
4421
|
readonly created_at: string;
|
|
4418
4422
|
}
|
|
4419
4423
|
|
|
4424
|
+
interface ChannelStatementDeleted {
|
|
4425
|
+
readonly discriminator: 'channel_statement_deleted';
|
|
4426
|
+
readonly event_id: string;
|
|
4427
|
+
readonly timestamp: string;
|
|
4428
|
+
readonly channel_id: string;
|
|
4429
|
+
readonly channel_statement: io.flow.v0.models.ChannelStatement;
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
interface ChannelStatementUpserted {
|
|
4433
|
+
readonly discriminator: 'channel_statement_upserted';
|
|
4434
|
+
readonly event_id: string;
|
|
4435
|
+
readonly timestamp: string;
|
|
4436
|
+
readonly channel_id: string;
|
|
4437
|
+
readonly channel_statement: io.flow.v0.models.ChannelStatement;
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4420
4440
|
interface ChannelToken {
|
|
4421
4441
|
readonly discriminator: 'channel_token';
|
|
4422
4442
|
readonly id: string;
|
|
@@ -4454,6 +4474,22 @@ declare namespace io.flow.v0.models {
|
|
|
4454
4474
|
readonly created_at: string;
|
|
4455
4475
|
}
|
|
4456
4476
|
|
|
4477
|
+
interface ChannelTransactionDeleted {
|
|
4478
|
+
readonly discriminator: 'channel_transaction_deleted';
|
|
4479
|
+
readonly event_id: string;
|
|
4480
|
+
readonly timestamp: string;
|
|
4481
|
+
readonly channel_id: string;
|
|
4482
|
+
readonly channel_transaction: io.flow.v0.models.ChannelTransaction;
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4485
|
+
interface ChannelTransactionUpserted {
|
|
4486
|
+
readonly discriminator: 'channel_transaction_upserted';
|
|
4487
|
+
readonly event_id: string;
|
|
4488
|
+
readonly timestamp: string;
|
|
4489
|
+
readonly channel_id: string;
|
|
4490
|
+
readonly channel_transaction: io.flow.v0.models.ChannelTransaction;
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4457
4493
|
interface ChannelUpserted {
|
|
4458
4494
|
readonly discriminator: 'channel_upserted';
|
|
4459
4495
|
readonly event_id: string;
|
|
@@ -12431,6 +12467,10 @@ declare namespace io.flow.v0.unions {
|
|
|
12431
12467
|
| io.flow.v0.models.TransactionDeleted
|
|
12432
12468
|
| io.flow.v0.models.StatementUpserted
|
|
12433
12469
|
| io.flow.v0.models.StatementDeleted
|
|
12470
|
+
| io.flow.v0.models.ChannelTransactionUpserted
|
|
12471
|
+
| io.flow.v0.models.ChannelTransactionDeleted
|
|
12472
|
+
| io.flow.v0.models.ChannelStatementUpserted
|
|
12473
|
+
| io.flow.v0.models.ChannelStatementDeleted
|
|
12434
12474
|
| io.flow.v0.models.AttributeUpserted
|
|
12435
12475
|
| io.flow.v0.models.AttributeDeleted
|
|
12436
12476
|
| io.flow.v0.models.AttributeUpsertedV2
|
|
@@ -13160,10 +13200,17 @@ export type ChannelOrganizationUpserted =
|
|
|
13160
13200
|
export type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
13161
13201
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
13162
13202
|
export type ChannelStatement = io.flow.v0.models.ChannelStatement;
|
|
13203
|
+
export type ChannelStatementDeleted = io.flow.v0.models.ChannelStatementDeleted;
|
|
13204
|
+
export type ChannelStatementUpserted =
|
|
13205
|
+
io.flow.v0.models.ChannelStatementUpserted;
|
|
13163
13206
|
export type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
13164
13207
|
export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
13165
13208
|
export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
13166
13209
|
export type ChannelTransaction = io.flow.v0.models.ChannelTransaction;
|
|
13210
|
+
export type ChannelTransactionDeleted =
|
|
13211
|
+
io.flow.v0.models.ChannelTransactionDeleted;
|
|
13212
|
+
export type ChannelTransactionUpserted =
|
|
13213
|
+
io.flow.v0.models.ChannelTransactionUpserted;
|
|
13167
13214
|
export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
13168
13215
|
export type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
|
|
13169
13216
|
export type ChannelViesRegistrationForm =
|