@flowio/api-internal-prop-types 9.24.113 → 9.24.114

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.113",
3
+ "version": "9.24.114",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "20eb3ad55f76873162f52f64cb42347be379f34e"
33
+ "gitHead": "8576b898d83e1dcc0515407b0506255b71ab3d80"
34
34
  }
@@ -6679,7 +6679,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
6679
6679
  type ShopifyOrderValueType = 'string' | 'integer';
6680
6680
  type ShopifyTaxExemptions = 'EXEMPT_ALL' | 'CA_STATUS_CARD_EXEMPTION' | 'CA_DIPLOMAT_EXEMPTION' | 'CA_BC_RESELLER_EXEMPTION' | 'CA_MB_RESELLER_EXEMPTION' | 'CA_SK_RESELLER_EXEMPTION' | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' | 'CA_BC_CONTRACTOR_EXEMPTION' | 'CA_SK_CONTRACTOR_EXEMPTION' | 'CA_ON_PURCHASE_EXEMPTION' | 'CA_MB_FARMER_EXEMPTION' | 'CA_NS_FARMER_EXEMPTION' | 'CA_SK_FARMER_EXEMPTION';
6681
6681
  type ShopifyWebhookFormat = 'json' | 'xml';
6682
- type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update' | 'bulk_operations/finish' | 'shop/update';
6682
+ type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'orders/risk_assessment_changed' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update' | 'bulk_operations/finish' | 'shop/update';
6683
6683
  }
6684
6684
 
6685
6685
  declare namespace io.flow.shopify.markets.v0.models {
@@ -7211,6 +7211,12 @@ declare namespace io.flow.shopify.markets.v0.models {
7211
7211
  readonly 'total_tax_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7212
7212
  }
7213
7213
 
7214
+ interface ShopifyOrderRiskAssessmentChanged {
7215
+ readonly 'order_id': number;
7216
+ readonly 'risk_level': string;
7217
+ readonly 'created_at': string;
7218
+ }
7219
+
7214
7220
  interface ShopifyOrderShippingLine {
7215
7221
  readonly 'code'?: string;
7216
7222
  readonly 'price': string;
@@ -9746,6 +9752,13 @@ declare namespace io.flow.ratecard.v0.models {
9746
9752
  readonly 'amount': io.flow.common.v0.models.Money;
9747
9753
  }
9748
9754
 
9755
+ interface OverweightPieceSurchargeServiceFee {
9756
+ readonly 'discriminator': 'overweight_piece_surcharge_service_fee';
9757
+ readonly 'weight_threshold'?: number;
9758
+ readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
9759
+ readonly 'amount': io.flow.common.v0.models.Money;
9760
+ }
9761
+
9749
9762
  interface PeakSurchargeByWeightServiceFee {
9750
9763
  readonly 'discriminator': 'peak_surcharge_by_weight_service_fee';
9751
9764
  readonly 'amount': io.flow.common.v0.models.Money;
@@ -9866,6 +9879,7 @@ declare namespace io.flow.ratecard.v0.models {
9866
9879
  interface RatecardForm {
9867
9880
  readonly 'direction': io.flow.label.v0.enums.Direction;
9868
9881
  readonly 'effective_at': string;
9882
+ readonly 'published_at'?: string;
9869
9883
  readonly 'origination_zones': io.flow.common.v0.models.Zone[];
9870
9884
  readonly 'service': string;
9871
9885
  readonly 'number'?: string;
@@ -10023,7 +10037,7 @@ declare namespace io.flow.ratecard.v0.unions {
10023
10037
  type FuelSurchargeRate = (io.flow.ratecard.v0.models.FuelSurchargePercent | io.flow.ratecard.v0.models.FuelSurchargeByWeight);
10024
10038
  type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4);
10025
10039
  type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizePieceSurchargeRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee | io.flow.ratecard.v0.models.SecurityRatecardFee | io.flow.ratecard.v0.models.EeiFilingRatecardFee | io.flow.ratecard.v0.models.FixedDdpRatecardFee | io.flow.ratecard.v0.models.FixedCurrencyConversionRatecardFee);
10026
- type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaByWeightServiceFee | io.flow.ratecard.v0.models.AdditionalHandlingServiceFee | io.flow.ratecard.v0.models.LargePackageServiceFee | io.flow.ratecard.v0.models.SecurityServiceFee | io.flow.ratecard.v0.models.FixedDdpServiceFee | io.flow.ratecard.v0.models.FixedCurrencyConversionServiceFee | io.flow.ratecard.v0.models.EeiFilingServiceFee);
10040
+ type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee | io.flow.ratecard.v0.models.OverweightPieceSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaByWeightServiceFee | io.flow.ratecard.v0.models.AdditionalHandlingServiceFee | io.flow.ratecard.v0.models.LargePackageServiceFee | io.flow.ratecard.v0.models.SecurityServiceFee | io.flow.ratecard.v0.models.FixedDdpServiceFee | io.flow.ratecard.v0.models.FixedCurrencyConversionServiceFee | io.flow.ratecard.v0.models.EeiFilingServiceFee);
10027
10041
  }
10028
10042
 
10029
10043
  declare namespace io.flow.token.v0.models {
@@ -13773,7 +13787,8 @@ declare namespace io.flow.internal.v0.enums {
13773
13787
  type ClothingAgeClassification = 'None' | 'AgeKidsGeneral' | 'Age0_10' | 'Age10_13' | 'Age13_14';
13774
13788
  type Company = 'globale' | 'flow';
13775
13789
  type ComplianceType = 'weee';
13776
- type ConnectReportTransferType = 'ManagedMarketsRefundDebit' | 'ManagedMarketsDutiesAndTaxesAdjustmentDebit' | 'ManagedMarketsDisputedAmountDebit' | 'ManagedMarketsChargeCredit' | 'ManagedMarketsDisputeWonAmountCredit' | 'ManagedMarketsDutiesAndTaxesAdjustmentCredit';
13790
+ type ConnectReportPaymentTransferType = 'ManagedMarketsRefundDebit' | 'ManagedMarketsDutiesAndTaxesAdjustmentDebit' | 'ManagedMarketsDisputedAmountDebit';
13791
+ type ConnectReportTransferTransferType = 'ManagedMarketsChargeCredit' | 'ManagedMarketsDisputeWonAmountCredit' | 'ManagedMarketsDutiesAndTaxesAdjustmentCredit';
13777
13792
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
13778
13793
  type ContentStatus = 'draft' | 'live' | 'archived';
13779
13794
  type ContentType = 'text' | 'html';
@@ -13873,6 +13888,7 @@ declare namespace io.flow.internal.v0.enums {
13873
13888
  type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
13874
13889
  type OrganizationRestrictionRiskLevel = '5' | '15';
13875
13890
  type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
13891
+ type OrganizationSource = 'shopify' | 'enterprise';
13876
13892
  type OutputStyle = 'flow' | 'shopify_p1';
13877
13893
  type Owner = 'flow' | 'organization';
13878
13894
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -22926,6 +22942,13 @@ declare namespace io.flow.internal.v0.models {
22926
22942
  readonly 'restriction_organization_status': io.flow.internal.v0.models.RestrictionOrganizationStatus;
22927
22943
  }
22928
22944
 
22945
+ interface RestrictionOrganizationSummary {
22946
+ readonly 'id': string;
22947
+ readonly 'name': string;
22948
+ readonly 'environment': io.flow.common.v0.enums.Environment;
22949
+ readonly 'source': io.flow.internal.v0.enums.OrganizationSource;
22950
+ }
22951
+
22929
22952
  interface RestrictionPending {
22930
22953
  readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
22931
22954
  readonly 'count': number;
@@ -23831,7 +23854,6 @@ declare namespace io.flow.internal.v0.models {
23831
23854
  }
23832
23855
 
23833
23856
  interface ShopifyMerchantPlan {
23834
- readonly 'id': string;
23835
23857
  readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
23836
23858
  readonly 'plan': io.flow.internal.v0.enums.ShopifyPlanType;
23837
23859
  }
@@ -24613,8 +24635,7 @@ declare namespace io.flow.internal.v0.models {
24613
24635
  readonly 'payment_method_type'?: string;
24614
24636
  readonly 'card_brand'?: string;
24615
24637
  readonly 'statement_descriptor'?: string;
24616
- readonly 'payment_metadata'?: io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata;
24617
- readonly 'transfer_metadata'?: any/*object*/;
24638
+ readonly 'metadata'?: io.flow.internal.v0.unions.StripeConnectReportRecordMetadata;
24618
24639
  }
24619
24640
 
24620
24641
  interface StripeConnectReportRecordDeleted {
@@ -24625,20 +24646,40 @@ declare namespace io.flow.internal.v0.models {
24625
24646
  }
24626
24647
 
24627
24648
  interface StripeConnectReportRecordPaymentMetadata {
24649
+ readonly 'discriminator': 'stripe_connect_report_record_payment_metadata';
24628
24650
  readonly 'shop_id'?: number;
24629
24651
  readonly 'shop_plan'?: io.flow.internal.v0.enums.ShopifyPlanType;
24630
24652
  readonly 'checkout_id'?: string;
24631
24653
  readonly 'order_id'?: number;
24632
24654
  readonly 'order_transaction_id'?: number;
24633
- readonly 'transfer_type'?: io.flow.internal.v0.enums.ConnectReportTransferType;
24655
+ readonly 'transfer_type'?: io.flow.internal.v0.enums.ConnectReportPaymentTransferType;
24634
24656
  readonly 'transfer_exchange_rate'?: number;
24635
24657
  readonly 'charge_total'?: number;
24636
24658
  readonly 'charge_currency'?: string;
24637
24659
  readonly 'charge_exchange_rate'?: number;
24660
+ readonly 'refund_exchange_rate'?: number;
24638
24661
  readonly 'duties'?: number;
24639
24662
  readonly 'import_taxes'?: number;
24640
- readonly 'mor_fee'?: number;
24641
- readonly 'fx_fee'?: number;
24663
+ readonly 'mor_fees'?: number;
24664
+ readonly 'mor_foreign_exchange_fees'?: number;
24665
+ }
24666
+
24667
+ interface StripeConnectReportRecordTransferMetadata {
24668
+ readonly 'discriminator': 'stripe_connect_report_record_transfer_metadata';
24669
+ readonly 'shop_id'?: number;
24670
+ readonly 'order_id'?: number;
24671
+ readonly 'order_transaction_id'?: number;
24672
+ readonly 'transfer_type'?: io.flow.internal.v0.enums.ConnectReportTransferTransferType;
24673
+ readonly 'charge_total'?: number;
24674
+ readonly 'charge_currency'?: string;
24675
+ readonly 'charge_exchange_rate'?: number;
24676
+ readonly 'duties'?: number;
24677
+ readonly 'import_taxes'?: number;
24678
+ readonly 'mor_fees'?: number;
24679
+ readonly 'mor_foreign_exchange_fees'?: number;
24680
+ readonly 'merchant_account_currency'?: string;
24681
+ readonly 'amount_in_merchant_account_currency'?: number;
24682
+ readonly 'payout_exchange_rate'?: number;
24642
24683
  }
24643
24684
 
24644
24685
  interface StripeConnectReportRecordUpserted {
@@ -25739,6 +25780,7 @@ declare namespace io.flow.internal.v0.unions {
25739
25780
  type ShopifyPromotionPrerequisite = (io.flow.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.internal.v0.models.ShopifyPromotionOrderPrerequisite);
25740
25781
  type SimplifiedClassificationTaxonomy = (io.flow.internal.v0.models.SimplifiedTaxonomyCategory | io.flow.internal.v0.models.SimplifiedItemLabel);
25741
25782
  type SpotRateMetadata = (io.flow.internal.v0.models.SpotRateMetadataIdentity | io.flow.internal.v0.models.SpotRateMetadataRate);
25783
+ type StripeConnectReportRecordMetadata = (io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata | io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata);
25742
25784
  type TariffEligibilityData = (io.flow.internal.v0.models.RegisteredExporterTariffEligibilityData);
25743
25785
  type TariffEligibilityForm = (io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm);
25744
25786
  type TaskData = (io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport);
@@ -25801,7 +25843,8 @@ export const classificationType: PropTypes.Requireable<io.flow.internal.v0.enums
25801
25843
  export const clothingAgeClassification: PropTypes.Requireable<io.flow.internal.v0.enums.ClothingAgeClassification>;
25802
25844
  export const company: PropTypes.Requireable<io.flow.internal.v0.enums.Company>;
25803
25845
  export const complianceType: PropTypes.Requireable<io.flow.internal.v0.enums.ComplianceType>;
25804
- export const connectReportTransferType: PropTypes.Requireable<io.flow.internal.v0.enums.ConnectReportTransferType>;
25846
+ export const connectReportPaymentTransferType: PropTypes.Requireable<io.flow.internal.v0.enums.ConnectReportPaymentTransferType>;
25847
+ export const connectReportTransferTransferType: PropTypes.Requireable<io.flow.internal.v0.enums.ConnectReportTransferTransferType>;
25805
25848
  export const contentElementType: PropTypes.Requireable<io.flow.internal.v0.enums.ContentElementType>;
25806
25849
  export const contentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ContentStatus>;
25807
25850
  export const contentType: PropTypes.Requireable<io.flow.internal.v0.enums.ContentType>;
@@ -25901,6 +25944,7 @@ export const organizationRestrictionNoteType: PropTypes.Requireable<io.flow.inte
25901
25944
  export const organizationRestrictionReviewType: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionReviewType>;
25902
25945
  export const organizationRestrictionRiskLevel: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel>;
25903
25946
  export const organizationRestrictionScreeningStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus>;
25947
+ export const organizationSource: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationSource>;
25904
25948
  export const outputStyle: PropTypes.Requireable<io.flow.internal.v0.enums.OutputStyle>;
25905
25949
  export const owner: PropTypes.Requireable<io.flow.internal.v0.enums.Owner>;
25906
25950
  export const paymentShortUrlDiscriminator: PropTypes.Requireable<io.flow.internal.v0.enums.PaymentShortUrlDiscriminator>;
@@ -27141,6 +27185,7 @@ export const restrictionOrganizationDecisionSummary: PropTypes.Requireable<io.fl
27141
27185
  export const restrictionOrganizationStatus: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationStatus>;
27142
27186
  export const restrictionOrganizationStatusDeleted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted>;
27143
27187
  export const restrictionOrganizationStatusUpserted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted>;
27188
+ export const restrictionOrganizationSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationSummary>;
27144
27189
  export const restrictionPending: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionPending>;
27145
27190
  export const restrictionProduct: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProduct>;
27146
27191
  export const restrictionProductDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProductDecisionForm>;
@@ -27382,6 +27427,7 @@ export const stripeCaptureUpserted: PropTypes.Requireable<io.flow.internal.v0.mo
27382
27427
  export const stripeConnectReportRecord: PropTypes.Requireable<io.flow.internal.v0.models.StripeConnectReportRecord>;
27383
27428
  export const stripeConnectReportRecordDeleted: PropTypes.Requireable<io.flow.internal.v0.models.StripeConnectReportRecordDeleted>;
27384
27429
  export const stripeConnectReportRecordPaymentMetadata: PropTypes.Requireable<io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata>;
27430
+ export const stripeConnectReportRecordTransferMetadata: PropTypes.Requireable<io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata>;
27385
27431
  export const stripeConnectReportRecordUpserted: PropTypes.Requireable<io.flow.internal.v0.models.StripeConnectReportRecordUpserted>;
27386
27432
  export const stripeDisputeDeleted: PropTypes.Requireable<io.flow.internal.v0.models.StripeDisputeDeleted>;
27387
27433
  export const stripeDisputeUpserted: PropTypes.Requireable<io.flow.internal.v0.models.StripeDisputeUpserted>;
@@ -27581,6 +27627,7 @@ export const shopifyPromotionOfferMax: PropTypes.Requireable<io.flow.internal.v0
27581
27627
  export const shopifyPromotionPrerequisite: PropTypes.Requireable<io.flow.internal.v0.unions.ShopifyPromotionPrerequisite>;
27582
27628
  export const simplifiedClassificationTaxonomy: PropTypes.Requireable<io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy>;
27583
27629
  export const spotRateMetadata: PropTypes.Requireable<io.flow.internal.v0.unions.SpotRateMetadata>;
27630
+ export const stripeConnectReportRecordMetadata: PropTypes.Requireable<io.flow.internal.v0.unions.StripeConnectReportRecordMetadata>;
27584
27631
  export const tariffEligibilityData: PropTypes.Requireable<io.flow.internal.v0.unions.TariffEligibilityData>;
27585
27632
  export const tariffEligibilityForm: PropTypes.Requireable<io.flow.internal.v0.unions.TariffEligibilityForm>;
27586
27633
  export const taskData: PropTypes.Requireable<io.flow.internal.v0.unions.TaskData>;
@@ -9695,15 +9695,36 @@ T['io.flow.internal.v0.models.stripe_dispute_upserted'] = PropTypes.exact({
9695
9695
  dispute: T['io.flow.internal.v0.models.stripe_internal_dispute'].isRequired,
9696
9696
  });
9697
9697
 
9698
- T['io.flow.internal.v0.enums.connect_report_transfer_type'] = PropTypes.oneOf([
9699
- 'ManagedMarketsRefundDebit',
9700
- 'ManagedMarketsDutiesAndTaxesAdjustmentDebit',
9701
- 'ManagedMarketsDisputedAmountDebit',
9698
+ T['io.flow.internal.v0.enums.connect_report_transfer_transfer_type'] = PropTypes.oneOf([
9702
9699
  'ManagedMarketsChargeCredit',
9703
9700
  'ManagedMarketsDisputeWonAmountCredit',
9704
9701
  'ManagedMarketsDutiesAndTaxesAdjustmentCredit',
9705
9702
  ]);
9706
9703
 
9704
+ T['io.flow.internal.v0.enums.connect_report_payment_transfer_type'] = PropTypes.oneOf([
9705
+ 'ManagedMarketsRefundDebit',
9706
+ 'ManagedMarketsDutiesAndTaxesAdjustmentDebit',
9707
+ 'ManagedMarketsDisputedAmountDebit',
9708
+ ]);
9709
+
9710
+ T['io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata'] = PropTypes.exact({
9711
+ discriminator: PropTypes.oneOf(['stripe_connect_report_record_transfer_metadata']).isRequired,
9712
+ shop_id: PropTypes.number,
9713
+ order_id: PropTypes.number,
9714
+ order_transaction_id: PropTypes.number,
9715
+ transfer_type: T['io.flow.internal.v0.enums.connect_report_transfer_transfer_type'],
9716
+ charge_total: PropTypes.number,
9717
+ charge_currency: PropTypes.string,
9718
+ charge_exchange_rate: PropTypes.number,
9719
+ duties: PropTypes.number,
9720
+ import_taxes: PropTypes.number,
9721
+ mor_fees: PropTypes.number,
9722
+ mor_foreign_exchange_fees: PropTypes.number,
9723
+ merchant_account_currency: PropTypes.string,
9724
+ amount_in_merchant_account_currency: PropTypes.number,
9725
+ payout_exchange_rate: PropTypes.number,
9726
+ });
9727
+
9707
9728
  T['io.flow.stripe.v0.enums.connect_report_connect_reporting_category'] = PropTypes.oneOf([
9708
9729
  'advance',
9709
9730
  'advance_funding',
@@ -10377,22 +10398,29 @@ T['io.flow.internal.v0.unions.shopify_monitoring_order_monitor_type'] = PropType
10377
10398
  T['io.flow.internal.v0.enums.shopify_plan_type'] = PropTypes.oneOf(['standard', 'shopify_plus']);
10378
10399
 
10379
10400
  T['io.flow.internal.v0.models.stripe_connect_report_record_payment_metadata'] = PropTypes.exact({
10401
+ discriminator: PropTypes.oneOf(['stripe_connect_report_record_payment_metadata']).isRequired,
10380
10402
  shop_id: PropTypes.number,
10381
10403
  shop_plan: T['io.flow.internal.v0.enums.shopify_plan_type'],
10382
10404
  checkout_id: PropTypes.string,
10383
10405
  order_id: PropTypes.number,
10384
10406
  order_transaction_id: PropTypes.number,
10385
- transfer_type: T['io.flow.internal.v0.enums.connect_report_transfer_type'],
10407
+ transfer_type: T['io.flow.internal.v0.enums.connect_report_payment_transfer_type'],
10386
10408
  transfer_exchange_rate: PropTypes.number,
10387
10409
  charge_total: PropTypes.number,
10388
10410
  charge_currency: PropTypes.string,
10389
10411
  charge_exchange_rate: PropTypes.number,
10412
+ refund_exchange_rate: PropTypes.number,
10390
10413
  duties: PropTypes.number,
10391
10414
  import_taxes: PropTypes.number,
10392
- mor_fee: PropTypes.number,
10393
- fx_fee: PropTypes.number,
10415
+ mor_fees: PropTypes.number,
10416
+ mor_foreign_exchange_fees: PropTypes.number,
10394
10417
  });
10395
10418
 
10419
+ T['io.flow.internal.v0.unions.stripe_connect_report_record_metadata'] = PropTypes.oneOfType([
10420
+ T['io.flow.internal.v0.models.stripe_connect_report_record_payment_metadata'],
10421
+ T['io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata'],
10422
+ ]);
10423
+
10396
10424
  T['io.flow.internal.v0.models.stripe_connect_report_record'] = PropTypes.exact({
10397
10425
  id: PropTypes.string.isRequired,
10398
10426
  file_id: PropTypes.string.isRequired,
@@ -10415,8 +10443,7 @@ T['io.flow.internal.v0.models.stripe_connect_report_record'] = PropTypes.exact({
10415
10443
  payment_method_type: PropTypes.string,
10416
10444
  card_brand: PropTypes.string,
10417
10445
  statement_descriptor: PropTypes.string,
10418
- payment_metadata: T['io.flow.internal.v0.models.stripe_connect_report_record_payment_metadata'],
10419
- transfer_metadata: PropTypes.object,
10446
+ metadata: T['io.flow.internal.v0.unions.stripe_connect_report_record_metadata'],
10420
10447
  });
10421
10448
 
10422
10449
  T['io.flow.internal.v0.models.stripe_connect_report_record_upserted'] = PropTypes.exact({
@@ -10443,6 +10470,7 @@ T['io.flow.shopify.markets.v0.enums.shopify_webhook_topic'] = PropTypes.oneOf([
10443
10470
  'orders/updated',
10444
10471
  'orders/delete',
10445
10472
  'orders/edited',
10473
+ 'orders/risk_assessment_changed',
10446
10474
  'products/create',
10447
10475
  'products/delete',
10448
10476
  'products/update',
@@ -11175,6 +11203,7 @@ T['io.flow.internal.v0.models.restriction_rule_effect_upserted'] = PropTypes.exa
11175
11203
  });
11176
11204
 
11177
11205
  T['io.flow.internal.v0.enums.restriction_action'] = PropTypes.oneOf(['prohibited', 'restricted']);
11206
+ T['io.flow.internal.v0.enums.organization_source'] = PropTypes.oneOf(['shopify', 'enterprise']);
11178
11207
  T['io.flow.internal.v0.enums.keyword_type'] = PropTypes.oneOf(['positive', 'negative']);
11179
11208
 
11180
11209
  T['io.flow.internal.v0.models.restriction_keyword_metadata'] = PropTypes.exact({
@@ -13597,6 +13626,7 @@ T['io.flow.label.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
13597
13626
  T['io.flow.ratecard.v0.models.ratecard_form'] = PropTypes.exact({
13598
13627
  direction: T['io.flow.label.v0.enums.direction'].isRequired,
13599
13628
  effective_at: PropTypes.string.isRequired,
13629
+ published_at: PropTypes.string,
13600
13630
  origination_zones: PropTypes.arrayOf(T['io.flow.common.v0.models.zone']).isRequired,
13601
13631
  service: PropTypes.string.isRequired,
13602
13632
  number: PropTypes.string,
@@ -17659,6 +17689,13 @@ T['io.flow.internal.v0.models.task'] = PropTypes.exact({
17659
17689
  snooze_id: PropTypes.string,
17660
17690
  });
17661
17691
 
17692
+ T['io.flow.internal.v0.models.restriction_organization_summary'] = PropTypes.exact({
17693
+ id: PropTypes.string.isRequired,
17694
+ name: PropTypes.string.isRequired,
17695
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
17696
+ source: T['io.flow.internal.v0.enums.organization_source'].isRequired,
17697
+ });
17698
+
17662
17699
  T['io.flow.internal.v0.models.partner_form'] = PropTypes.exact({
17663
17700
  id: PropTypes.string,
17664
17701
  name: PropTypes.string,
@@ -20655,7 +20692,6 @@ T['io.flow.internal.v0.models.search_authorization'] = PropTypes.exact({
20655
20692
  T['io.flow.internal.v0.unions.payment_summary_details'] = PropTypes.oneOfType([T['io.flow.internal.v0.models.search_authorization']]);
20656
20693
 
20657
20694
  T['io.flow.internal.v0.models.shopify_merchant_plan'] = PropTypes.exact({
20658
- id: PropTypes.string.isRequired,
20659
20695
  authorization: T['io.flow.payment.v0.models.authorization_reference'].isRequired,
20660
20696
  plan: T['io.flow.internal.v0.enums.shopify_plan_type'].isRequired,
20661
20697
  });
@@ -22033,6 +22069,13 @@ T['io.flow.ratecard.v0.models.peak_surcharge_by_weight_service_fee'] = PropTypes
22033
22069
  ends_at: PropTypes.string,
22034
22070
  });
22035
22071
 
22072
+ T['io.flow.ratecard.v0.models.overweight_piece_surcharge_service_fee'] = PropTypes.exact({
22073
+ discriminator: PropTypes.oneOf(['overweight_piece_surcharge_service_fee']).isRequired,
22074
+ weight_threshold: PropTypes.number,
22075
+ weight_unit: T['io.flow.common.v0.enums.unit_of_measurement'],
22076
+ amount: T['io.flow.common.v0.models.money'].isRequired,
22077
+ });
22078
+
22036
22079
  T['io.flow.ratecard.v0.models.oversize_piece_surcharge_service_fee'] = PropTypes.exact({
22037
22080
  discriminator: PropTypes.oneOf(['oversize_piece_surcharge_service_fee']).isRequired,
22038
22081
  dimensional_threshold: PropTypes.number,
@@ -22259,6 +22302,7 @@ T['io.flow.ratecard.v0.unions.service_fee'] = PropTypes.oneOfType([
22259
22302
  T['io.flow.ratecard.v0.models.peak_surcharge_by_weight_service_fee'],
22260
22303
  T['io.flow.ratecard.v0.models.duties_taxes_paid_surcharge_service_fee'],
22261
22304
  T['io.flow.ratecard.v0.models.oversize_piece_surcharge_service_fee'],
22305
+ T['io.flow.ratecard.v0.models.overweight_piece_surcharge_service_fee'],
22262
22306
  T['io.flow.ratecard.v0.models.remote_area_by_weight_service_fee'],
22263
22307
  T['io.flow.ratecard.v0.models.additional_handling_service_fee'],
22264
22308
  T['io.flow.ratecard.v0.models.large_package_service_fee'],
@@ -29517,6 +29561,12 @@ T['io.flow.shopify.markets.v0.models.shopify_order_origin_location'] = PropTypes
29517
29561
  zip: PropTypes.string.isRequired,
29518
29562
  });
29519
29563
 
29564
+ T['io.flow.shopify.markets.v0.models.shopify_order_risk_assessment_changed'] = PropTypes.exact({
29565
+ order_id: PropTypes.number.isRequired,
29566
+ risk_level: PropTypes.string.isRequired,
29567
+ created_at: PropTypes.string.isRequired,
29568
+ });
29569
+
29520
29570
  T['io.flow.shopify.markets.v0.models.shopify_webhook_shop_redact'] = PropTypes.exact({
29521
29571
  shop_id: PropTypes.number.isRequired,
29522
29572
  shop_domain: PropTypes.string.isRequired,
@@ -30441,7 +30491,8 @@ export const complianceData = T['io.flow.internal.v0.unions.compliance_data'];
30441
30491
  export const complianceForm = T['io.flow.internal.v0.unions.compliance_form'];
30442
30492
  export const complianceType = T['io.flow.internal.v0.enums.compliance_type'];
30443
30493
  export const components = T['io.flow.internal.v0.models.components'];
30444
- export const connectReportTransferType = T['io.flow.internal.v0.enums.connect_report_transfer_type'];
30494
+ export const connectReportPaymentTransferType = T['io.flow.internal.v0.enums.connect_report_payment_transfer_type'];
30495
+ export const connectReportTransferTransferType = T['io.flow.internal.v0.enums.connect_report_transfer_transfer_type'];
30445
30496
  export const consoleLabelRequestForm = T['io.flow.internal.v0.models.console_label_request_form'];
30446
30497
  export const consoleLabelValidationForm = T['io.flow.internal.v0.unions.console_label_validation_form'];
30447
30498
  export const consoleMarkUnresolvableForm = T['io.flow.internal.v0.models.console_mark_unresolvable_form'];
@@ -31149,6 +31200,7 @@ export const organizationRestrictionStatusNote = T['io.flow.internal.v0.models.o
31149
31200
  export const organizationRestrictionStatusUpserted = T['io.flow.internal.v0.models.organization_restriction_status_upserted'];
31150
31201
  export const organizationSettings = T['io.flow.internal.v0.models.organization_settings'];
31151
31202
  export const organizationSettingsForm = T['io.flow.internal.v0.models.organization_settings_form'];
31203
+ export const organizationSource = T['io.flow.internal.v0.enums.organization_source'];
31152
31204
  export const organizationStatusChange = T['io.flow.internal.v0.models.organization_status_change'];
31153
31205
  export const organizationStatusChangeDeleted = T['io.flow.internal.v0.models.organization_status_change_deleted'];
31154
31206
  export const organizationStatusChangeUpserted = T['io.flow.internal.v0.models.organization_status_change_upserted'];
@@ -31449,6 +31501,7 @@ export const restrictionOrganizationDecisionSummary = T['io.flow.internal.v0.mod
31449
31501
  export const restrictionOrganizationStatus = T['io.flow.internal.v0.models.restriction_organization_status'];
31450
31502
  export const restrictionOrganizationStatusDeleted = T['io.flow.internal.v0.models.restriction_organization_status_deleted'];
31451
31503
  export const restrictionOrganizationStatusUpserted = T['io.flow.internal.v0.models.restriction_organization_status_upserted'];
31504
+ export const restrictionOrganizationSummary = T['io.flow.internal.v0.models.restriction_organization_summary'];
31452
31505
  export const restrictionPending = T['io.flow.internal.v0.models.restriction_pending'];
31453
31506
  export const restrictionProduct = T['io.flow.internal.v0.models.restriction_product'];
31454
31507
  export const restrictionProductDecisionForm = T['io.flow.internal.v0.models.restriction_product_decision_form'];
@@ -31725,7 +31778,9 @@ export const stripeCaptureDeleted = T['io.flow.internal.v0.models.stripe_capture
31725
31778
  export const stripeCaptureUpserted = T['io.flow.internal.v0.models.stripe_capture_upserted'];
31726
31779
  export const stripeConnectReportRecord = T['io.flow.internal.v0.models.stripe_connect_report_record'];
31727
31780
  export const stripeConnectReportRecordDeleted = T['io.flow.internal.v0.models.stripe_connect_report_record_deleted'];
31781
+ export const stripeConnectReportRecordMetadata = T['io.flow.internal.v0.unions.stripe_connect_report_record_metadata'];
31728
31782
  export const stripeConnectReportRecordPaymentMetadata = T['io.flow.internal.v0.models.stripe_connect_report_record_payment_metadata'];
31783
+ export const stripeConnectReportRecordTransferMetadata = T['io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata'];
31729
31784
  export const stripeConnectReportRecordUpserted = T['io.flow.internal.v0.models.stripe_connect_report_record_upserted'];
31730
31785
  export const stripeDisputeDeleted = T['io.flow.internal.v0.models.stripe_dispute_deleted'];
31731
31786
  export const stripeDisputeUpserted = T['io.flow.internal.v0.models.stripe_dispute_upserted'];