@flowio/api-types 0.0.225 → 0.0.227

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 (36) hide show
  1. package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +21 -1
  2. package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +1 -1
  3. package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +27 -24
  4. package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +0 -1
  5. package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +33 -21
  6. package/generated/io.flow.billing.v0.billing.d.ts +67 -14
  7. package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -1
  8. package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +191 -0
  9. package/generated/io.flow.internal.v0.api-internal.d.ts +746 -399
  10. package/generated/io.flow.label.v0.label.d.ts +7 -0
  11. package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +6 -1
  12. package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +7 -1
  13. package/generated/io.flow.payment.v0.payment.d.ts +11 -1
  14. package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
  15. package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +32 -1
  16. package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +18 -0
  17. package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
  18. package/generated/io.flow.stripe.v0.stripe.d.ts +162 -5
  19. package/generated/io.flow.trueup.v0.trueup.d.ts +1 -1
  20. package/generated/io.flow.v0.api.d.ts +116 -19
  21. package/index.d.ts +1 -14
  22. package/package.json +2 -2
  23. package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +0 -451
  24. package/generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts +0 -137
  25. package/generated/io.flow.checkout.backend.v0.checkout-backend.d.ts +0 -539
  26. package/generated/io.flow.checkout.common.v0.checkout-common.d.ts +0 -57
  27. package/generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts +0 -113
  28. package/generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts +0 -1347
  29. package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +0 -204
  30. package/generated/io.flow.content.internal.v0.content-internal.d.ts +0 -168
  31. package/generated/io.flow.currency.internal.v0.currency-internal.d.ts +0 -119
  32. package/generated/io.flow.experience.internal.v0.experience-internal.d.ts +0 -247
  33. package/generated/io.flow.feature.v0.feature.d.ts +0 -121
  34. package/generated/io.flow.optin.internal.v0.optin-internal.d.ts +0 -73
  35. package/generated/io.flow.price.internal.v0.price-internal.d.ts +0 -4
  36. package/generated/io.flow.svb.v0.svb.d.ts +0 -166
@@ -54,7 +54,7 @@ declare namespace io.flow.v0.enums {
54
54
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
55
55
  type EntityIdentifierType = 'ioss' | 'voec';
56
56
  type Environment = 'sandbox' | 'production';
57
- type EventType = 'test_upserted' | 'generate_load' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_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' | 'catalog_statistics_upserted' | 'catalog_statistics_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' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_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' | 'payment_request_deleted' | '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';
57
+ type EventType = 'test_upserted' | 'generate_load' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_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' | 'catalog_statistics_upserted' | 'catalog_statistics_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' | 'label_processing_modification_upserted' | 'label_processing_modification_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' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_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' | 'payment_request_deleted' | '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';
58
58
  type ExceptionType = 'open' | 'closed';
59
59
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
60
60
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -132,7 +132,7 @@ declare namespace io.flow.v0.enums {
132
132
  type PaymentMethodRuleContentKey = 'description';
133
133
  type PaymentMethodType = 'card' | 'online' | 'offline';
134
134
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
135
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
135
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies' | 'order_missing';
136
136
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
137
137
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
138
138
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
@@ -201,9 +201,9 @@ declare namespace io.flow.v0.enums {
201
201
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
202
202
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
203
203
  type TradeAgreementStatus = 'supported' | 'not_supported';
204
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'carrier_fee' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
205
- type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
206
- type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
204
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout';
205
+ type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
206
+ type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup';
207
207
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
208
208
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
209
209
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -4707,6 +4707,29 @@ declare namespace io.flow.v0.models {
4707
4707
  readonly 'number': string;
4708
4708
  }
4709
4709
 
4710
+ interface LabelProcessingModification {
4711
+ readonly 'id': string;
4712
+ readonly 'modifications': string[];
4713
+ readonly 'destination': io.flow.v0.models.ShippingAddress;
4714
+ readonly 'destination_provided_to_carrier'?: io.flow.v0.models.ShippingAddress;
4715
+ }
4716
+
4717
+ interface LabelProcessingModificationDeleted {
4718
+ readonly 'discriminator': 'label_processing_modification_deleted';
4719
+ readonly 'event_id': string;
4720
+ readonly 'timestamp': string;
4721
+ readonly 'organization': string;
4722
+ readonly 'id': string;
4723
+ }
4724
+
4725
+ interface LabelProcessingModificationUpserted {
4726
+ readonly 'discriminator': 'label_processing_modification_upserted';
4727
+ readonly 'event_id': string;
4728
+ readonly 'timestamp': string;
4729
+ readonly 'organization': string;
4730
+ readonly 'label_processing_modification': io.flow.v0.models.LabelProcessingModification;
4731
+ }
4732
+
4710
4733
  interface LabelReference {
4711
4734
  readonly 'id': string;
4712
4735
  }
@@ -6950,6 +6973,15 @@ declare namespace io.flow.v0.models {
6950
6973
  readonly 'processor': string;
6951
6974
  }
6952
6975
 
6976
+ interface PaymentProcessorTransactionDetailsApm {
6977
+ readonly 'discriminator': 'apm';
6978
+ readonly 'transaction_identifier'?: string;
6979
+ readonly 'capture_identifier'?: string;
6980
+ readonly 'method_type'?: string;
6981
+ readonly 'result_status'?: string;
6982
+ readonly 'reason_code'?: string;
6983
+ }
6984
+
6953
6985
  interface PaymentProcessorTransactionDetailsCard {
6954
6986
  readonly 'discriminator': 'card';
6955
6987
  readonly 'transaction_identifier'?: string;
@@ -7037,6 +7069,11 @@ declare namespace io.flow.v0.models {
7037
7069
  readonly 'billing': io.flow.v0.models.PaymentRequestBilling;
7038
7070
  }
7039
7071
 
7072
+ interface PaymentRequestCancellationReasonOrderMissing {
7073
+ readonly 'type': 'order_missing';
7074
+ readonly 'description'?: string;
7075
+ }
7076
+
7040
7077
  interface PaymentRequestDeleted {
7041
7078
  readonly 'discriminator': 'payment_request_deleted';
7042
7079
  readonly 'event_id': string;
@@ -7177,6 +7214,7 @@ declare namespace io.flow.v0.models {
7177
7214
  interface PaypalAuthorizationDetails {
7178
7215
  readonly 'discriminator': 'paypal_authorization_details';
7179
7216
  readonly 'payment_id': string;
7217
+ readonly 'internal_payment_id'?: string;
7180
7218
  readonly 'payment_method'?: string;
7181
7219
  readonly 'payment_state'?: string;
7182
7220
  readonly 'payer_id'?: string;
@@ -8173,6 +8211,11 @@ declare namespace io.flow.v0.models {
8173
8211
  readonly 'status': io.flow.v0.enums.AvailabilityStatus;
8174
8212
  }
8175
8213
 
8214
+ interface RejectionPutForm {
8215
+ readonly 'reason': io.flow.v0.enums.MerchantRejectedReason;
8216
+ readonly 'description': string;
8217
+ }
8218
+
8176
8219
  interface RemoteAreaByWeightServiceFee {
8177
8220
  readonly 'discriminator': 'remote_area_by_weight_service_fee';
8178
8221
  readonly 'amount': io.flow.v0.models.Money;
@@ -10088,21 +10131,11 @@ declare namespace io.flow.v0.models {
10088
10131
  readonly 'outbound'?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
10089
10132
  }
10090
10133
 
10091
- interface TransactionMetadataCarrierFee {
10092
- readonly 'discriminator': 'carrier_fee';
10093
- readonly 'outbound': io.flow.v0.models.TransactionMetadataOutboundTransaction;
10094
- readonly 'estimate': io.flow.v0.models.TransactionMetadataCarrierFeeData;
10095
- readonly 'actual': io.flow.v0.models.TransactionMetadataCarrierFeeData;
10096
- }
10097
-
10098
- interface TransactionMetadataCarrierFeeData {
10099
- readonly 'surcharges': io.flow.v0.models.TrueupLabelSurcharge[];
10100
- }
10101
-
10102
10134
  interface TransactionMetadataChannel {
10103
10135
  readonly 'discriminator': 'channel';
10104
10136
  readonly 'method': string;
10105
10137
  readonly 'card'?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
10138
+ readonly 'organization_transaction': io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
10106
10139
  }
10107
10140
 
10108
10141
  interface TransactionMetadataChannelCardMetadata {
@@ -10115,6 +10148,20 @@ declare namespace io.flow.v0.models {
10115
10148
  readonly 'country': string;
10116
10149
  }
10117
10150
 
10151
+ interface TransactionMetadataChannelOrganizationTransaction {
10152
+ readonly 'id': string;
10153
+ readonly 'metadata': io.flow.v0.models.TransactionMetadataPaymentTransaction;
10154
+ }
10155
+
10156
+ interface TransactionMetadataFailedPayout {
10157
+ readonly 'discriminator': 'failed_payout';
10158
+ readonly 'failed_payout': io.flow.v0.models.TransactionMetadataFailedPayoutReference;
10159
+ }
10160
+
10161
+ interface TransactionMetadataFailedPayoutReference {
10162
+ readonly 'id': string;
10163
+ }
10164
+
10118
10165
  interface TransactionMetadataManual {
10119
10166
  readonly 'discriminator': 'manual';
10120
10167
  readonly 'description': string;
@@ -10132,6 +10179,7 @@ declare namespace io.flow.v0.models {
10132
10179
 
10133
10180
  interface TransactionMetadataPaymentTransaction {
10134
10181
  readonly 'discriminator': 'payment_transaction';
10182
+ readonly 'id'?: string;
10135
10183
  readonly 'key'?: string;
10136
10184
  }
10137
10185
 
@@ -10154,6 +10202,22 @@ declare namespace io.flow.v0.models {
10154
10202
  readonly 'actual': io.flow.v0.models.TransactionMetadataTrueupData;
10155
10203
  }
10156
10204
 
10205
+ interface TransactionMetadataTrueupBase {
10206
+ readonly 'discriminator': 'trueup_base';
10207
+ readonly 'original': io.flow.v0.models.TransactionMetadataOriginalTransaction;
10208
+ readonly 'estimate': io.flow.v0.models.TransactionMetadataTrueupBaseData;
10209
+ readonly 'actual': io.flow.v0.models.TransactionMetadataTrueupBaseData;
10210
+ }
10211
+
10212
+ interface TransactionMetadataTrueupBaseData {
10213
+ readonly 'source': io.flow.v0.enums.TrueupSource;
10214
+ readonly 'weights': io.flow.v0.models.TrueupLabelWeights;
10215
+ readonly 'units': io.flow.v0.models.TrueupLabelUnits;
10216
+ readonly 'base': io.flow.v0.models.TrueupLabelBaseV2;
10217
+ readonly 'fuel'?: io.flow.v0.models.TrueupLabelFuel;
10218
+ readonly 'total': number;
10219
+ }
10220
+
10157
10221
  interface TransactionMetadataTrueupData {
10158
10222
  readonly 'source': io.flow.v0.enums.TrueupSource;
10159
10223
  readonly 'units': io.flow.v0.models.TrueupLabelUnits;
@@ -10164,6 +10228,18 @@ declare namespace io.flow.v0.models {
10164
10228
  readonly 'dimensional'?: io.flow.v0.models.DimensionalWeight;
10165
10229
  }
10166
10230
 
10231
+ interface TransactionMetadataTrueupSurcharge {
10232
+ readonly 'discriminator': 'trueup_surcharge';
10233
+ readonly 'original': io.flow.v0.models.TransactionMetadataOriginalTransaction;
10234
+ readonly 'estimate': io.flow.v0.models.TransactionMetadataTrueupSurchargeData;
10235
+ readonly 'actual': io.flow.v0.models.TransactionMetadataTrueupSurchargeData;
10236
+ }
10237
+
10238
+ interface TransactionMetadataTrueupSurchargeData {
10239
+ readonly 'source': io.flow.v0.enums.TrueupSource;
10240
+ readonly 'surcharge': io.flow.v0.models.TrueupLabelSurcharge;
10241
+ }
10242
+
10167
10243
  interface TransactionNetworkDetailsCard {
10168
10244
  readonly 'network_transaction_id'?: string;
10169
10245
  readonly 'network'?: io.flow.v0.enums.CardType;
@@ -10201,6 +10277,20 @@ declare namespace io.flow.v0.models {
10201
10277
  readonly 'weight': number;
10202
10278
  }
10203
10279
 
10280
+ interface TrueupLabelBaseV2 {
10281
+ readonly 'amount': number;
10282
+ }
10283
+
10284
+ interface TrueupLabelBaseWeight {
10285
+ readonly 'weight': number;
10286
+ }
10287
+
10288
+ interface TrueupLabelFuel {
10289
+ readonly 'amount': number;
10290
+ readonly 'percentage'?: number;
10291
+ readonly 'per_weight_unit'?: number;
10292
+ }
10293
+
10204
10294
  interface TrueupLabelSurcharge {
10205
10295
  readonly 'amount': number;
10206
10296
  readonly 'type': io.flow.v0.enums.TrueupSurchargeType;
@@ -10213,6 +10303,12 @@ declare namespace io.flow.v0.models {
10213
10303
  readonly 'length'?: io.flow.v0.enums.UnitOfLength;
10214
10304
  }
10215
10305
 
10306
+ interface TrueupLabelWeights {
10307
+ readonly 'base': io.flow.v0.models.TrueupLabelBaseWeight;
10308
+ readonly 'dead'?: io.flow.v0.models.DeadWeight;
10309
+ readonly 'dimensional'?: io.flow.v0.models.DimensionalWeight;
10310
+ }
10311
+
10216
10312
  interface UltimateBeneficiaryOwner {
10217
10313
  readonly 'name': string;
10218
10314
  readonly 'dob': string;
@@ -10459,7 +10555,7 @@ declare namespace io.flow.v0.unions {
10459
10555
  type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
10460
10556
  type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
10461
10557
  type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
10462
- type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | 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.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | 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.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | 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.PaymentRequestDeleted | 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);
10558
+ type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | 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.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | 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.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | 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.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | 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.PaymentRequestDeleted | 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);
10463
10559
  type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary);
10464
10560
  type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
10465
10561
  type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
@@ -10515,7 +10611,8 @@ declare namespace io.flow.v0.unions {
10515
10611
  });
10516
10612
 
10517
10613
  type PaymentOrderReference = (io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference);
10518
- type PaymentProcessorTransactionDetails = (io.flow.v0.models.PaymentProcessorTransactionDetailsCard);
10614
+ type PaymentProcessorTransactionDetails = (io.flow.v0.models.PaymentProcessorTransactionDetailsCard | io.flow.v0.models.PaymentProcessorTransactionDetailsApm);
10615
+ type PaymentRequestCancellationReason = (io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing);
10519
10616
  type PaymentSource = (io.flow.v0.models.CardPaymentSource);
10520
10617
  type PaymentSourceForm = (io.flow.v0.models.CardPaymentSourceForm);
10521
10618
  type PayoutStatus = (io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed);
@@ -10548,5 +10645,5 @@ declare namespace io.flow.v0.unions {
10548
10645
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
10549
10646
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
10550
10647
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
10551
- type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataCarrierFee | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataPaymentTransaction);
10648
+ type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataTrueupBase | io.flow.v0.models.TransactionMetadataTrueupSurcharge | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataFailedPayout | io.flow.v0.models.TransactionMetadataPaymentTransaction);
10552
10649
  }
package/index.d.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  /// <reference path="generated/io.flow.ben.test.internal.v0.ben-test-internal.d.ts" />
5
5
  /// <reference path="generated/io.flow.billing.accounting.v0.billing-accounting.d.ts" />
6
6
  /// <reference path="generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts" />
7
- /// <reference path="generated/io.flow.billing.csv.v0.billing-csv.d.ts" />
8
7
  /// <reference path="generated/io.flow.billing.internal.v0.billing-internal.d.ts" />
9
8
  /// <reference path="generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts" />
10
9
  /// <reference path="generated/io.flow.billing.reporting.v0.billing-reporting.d.ts" />
@@ -16,25 +15,16 @@
16
15
  /// <reference path="generated/io.flow.catalog.v0.catalog.d.ts" />
17
16
  /// <reference path="generated/io.flow.channel.internal.v0.channel-internal.d.ts" />
18
17
  /// <reference path="generated/io.flow.channel.v0.channel.d.ts" />
19
- /// <reference path="generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts" />
20
- /// <reference path="generated/io.flow.checkout.backend.v0.checkout-backend.d.ts" />
21
- /// <reference path="generated/io.flow.checkout.common.v0.checkout-common.d.ts" />
22
- /// <reference path="generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts" />
23
- /// <reference path="generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts" />
24
18
  /// <reference path="generated/io.flow.checkout.v0.checkout.d.ts" />
25
19
  /// <reference path="generated/io.flow.common.v0.common.d.ts" />
26
- /// <reference path="generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts" />
27
- /// <reference path="generated/io.flow.content.internal.v0.content-internal.d.ts" />
28
20
  /// <reference path="generated/io.flow.crypto.v0.crypto.d.ts" />
29
- /// <reference path="generated/io.flow.currency.internal.v0.currency-internal.d.ts" />
30
21
  /// <reference path="generated/io.flow.currency.v0.currency.d.ts" />
31
22
  /// <reference path="generated/io.flow.customer.v0.customer.d.ts" />
32
23
  /// <reference path="generated/io.flow.error.v0.error.d.ts" />
33
- /// <reference path="generated/io.flow.experience.internal.v0.experience-internal.d.ts" />
34
24
  /// <reference path="generated/io.flow.experience.v0.experience.d.ts" />
25
+ /// <reference path="generated/io.flow.experiment.internal.v0.experiment-internal.d.ts" />
35
26
  /// <reference path="generated/io.flow.export.v0.export.d.ts" />
36
27
  /// <reference path="generated/io.flow.external.paypal.v1.paypal.d.ts" />
37
- /// <reference path="generated/io.flow.feature.v0.feature.d.ts" />
38
28
  /// <reference path="generated/io.flow.field.validation.v0.field-validation.d.ts" />
39
29
  /// <reference path="generated/io.flow.flexe.v0.flexe.d.ts" />
40
30
  /// <reference path="generated/io.flow.fraud.v0.fraud.d.ts" />
@@ -49,7 +39,6 @@
49
39
  /// <reference path="generated/io.flow.label.v0.label.d.ts" />
50
40
  /// <reference path="generated/io.flow.merchant.of.record.v0.merchant-of-record.d.ts" />
51
41
  /// <reference path="generated/io.flow.merchant.onboarding.v0.merchant-onboarding.d.ts" />
52
- /// <reference path="generated/io.flow.optin.internal.v0.optin-internal.d.ts" />
53
42
  /// <reference path="generated/io.flow.order.management.event.v0.order-management-event.d.ts" />
54
43
  /// <reference path="generated/io.flow.order.management.v0.order-management.d.ts" />
55
44
  /// <reference path="generated/io.flow.order.price.v0.order-price.d.ts" />
@@ -61,7 +50,6 @@
61
50
  /// <reference path="generated/io.flow.payment.request.bundle.v0.payment-request-bundle.d.ts" />
62
51
  /// <reference path="generated/io.flow.payment.v0.payment.d.ts" />
63
52
  /// <reference path="generated/io.flow.permission.v0.permission.d.ts" />
64
- /// <reference path="generated/io.flow.price.internal.v0.price-internal.d.ts" />
65
53
  /// <reference path="generated/io.flow.price.v0.price.d.ts" />
66
54
  /// <reference path="generated/io.flow.pricing.indicator.internal.event.v0.pricing-indicator-internal-event.d.ts" />
67
55
  /// <reference path="generated/io.flow.query.builder.v0.query-builder.d.ts" />
@@ -77,7 +65,6 @@
77
65
  /// <reference path="generated/io.flow.shopify.merchant.config.v0.shopify-merchant-config.d.ts" />
78
66
  /// <reference path="generated/io.flow.shopify.v0.shopify.d.ts" />
79
67
  /// <reference path="generated/io.flow.stripe.v0.stripe.d.ts" />
80
- /// <reference path="generated/io.flow.svb.v0.svb.d.ts" />
81
68
  /// <reference path="generated/io.flow.token.v0.token.d.ts" />
82
69
  /// <reference path="generated/io.flow.tracking.v0.tracking.d.ts" />
83
70
  /// <reference path="generated/io.flow.trueup.v0.trueup.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-types",
3
- "version": "0.0.225",
3
+ "version": "0.0.227",
4
4
  "description": "Global TypeScript typings for Flow Commerce API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,5 +14,5 @@
14
14
  "scripts": {
15
15
  "generate": "apibuilder update && node scripts/generate-index.js"
16
16
  },
17
- "gitHead": "237a816e178ccd4501b30aaf454fb6a93392afd9"
17
+ "gitHead": "25d6ba675365a3fb318abcc4bc935dd549089238"
18
18
  }