@flowio/api-prop-types 10.16.104 → 10.16.106

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/lib/api.d.ts CHANGED
@@ -2487,6 +2487,7 @@ declare namespace io.flow.channel.internal.v0.enums {
2487
2487
  type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
2488
2488
  type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
2489
2489
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
2490
+ type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
2490
2491
  type OrderPaymentSourceType = 'globale' | 'third_party';
2491
2492
  }
2492
2493
 
@@ -2561,6 +2562,35 @@ declare namespace io.flow.channel.internal.v0.models {
2561
2562
  readonly 'rejection_reason'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
2562
2563
  }
2563
2564
 
2565
+ interface ChannelOrganizationDomain {
2566
+ readonly 'internal': string;
2567
+ readonly 'public': string;
2568
+ }
2569
+
2570
+ interface ChannelOrganizationInstallation {
2571
+ readonly 'organization': io.flow.channel.v0.models.ChannelOrganization;
2572
+ readonly 'tokens': io.flow.channel.internal.v0.models.ChannelOrganizationToken[];
2573
+ }
2574
+
2575
+ interface ChannelOrganizationInstallationPostForm {
2576
+ readonly 'form': io.flow.channel.v0.models.ChannelOrganizationForm;
2577
+ readonly 'metadata': io.flow.channel.internal.v0.models.ChannelOrganizationMetadata;
2578
+ }
2579
+
2580
+ interface ChannelOrganizationMetadata {
2581
+ readonly 'domain': io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
2582
+ readonly 'token': string;
2583
+ }
2584
+
2585
+ interface ChannelOrganizationToken {
2586
+ readonly 'token': io.flow.channel.internal.v0.models.ChannelOrganizationTokenBody;
2587
+ readonly 'service': io.flow.channel.internal.v0.enums.ChannelService;
2588
+ }
2589
+
2590
+ interface ChannelOrganizationTokenBody {
2591
+ readonly 'cleartext': string;
2592
+ }
2593
+
2564
2594
  interface FlowChannelOrganization {
2565
2595
  readonly 'placeholder'?: string;
2566
2596
  }
@@ -3443,9 +3473,9 @@ declare namespace io.flow.v0.enums {
3443
3473
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
3444
3474
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
3445
3475
  type ExporterOfRecord = 'flow' | 'organization';
3446
- type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp';
3476
+ type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp';
3447
3477
  type FlowBehavior = 'view_consumer_data';
3448
- type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
3478
+ type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa' | 'ge-can' | 'ge-gbr' | 'ge-irl';
3449
3479
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
3450
3480
  type FraudEmailRuleDecision = 'approved' | 'declined';
3451
3481
  type FraudLiability = 'flow' | 'organization';
@@ -3590,7 +3620,7 @@ declare namespace io.flow.v0.enums {
3590
3620
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
3591
3621
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3592
3622
  type TradeAgreementStatus = 'supported' | 'not_supported';
3593
- 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' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share';
3623
+ 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' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee';
3594
3624
  type TransferStatus = 'succeeded' | 'canceled';
3595
3625
  type TransferType = 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant';
3596
3626
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
@@ -5940,6 +5970,7 @@ declare namespace io.flow.v0.models {
5940
5970
  readonly 'delivered_duty': io.flow.v0.enums.DeliveredDuty;
5941
5971
  readonly 'price': io.flow.v0.models.PriceWithBaseAndDetails;
5942
5972
  readonly 'service': io.flow.v0.models.ServiceSummary;
5973
+ readonly 'actual_service'?: io.flow.v0.models.ServiceSummary;
5943
5974
  readonly 'tier': io.flow.v0.models.TierSummary;
5944
5975
  readonly 'window': io.flow.v0.models.DeliveryWindow;
5945
5976
  readonly 'rule_outcome'?: io.flow.v0.unions.TierRuleOutcome;