@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.
@@ -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>;