@flowio/api-internal-prop-types 9.24.78 → 9.24.79

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.
@@ -2214,6 +2214,7 @@ declare namespace io.flow.billing.csv.v0.models {
2214
2214
  interface BillingCsvTransactionMetadata {
2215
2215
  readonly 'channel'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
2216
2216
  readonly 'shipping_label'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
2217
+ readonly 'shipping_label_revenue_share'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
2217
2218
  readonly 'trueup'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
2218
2219
  readonly 'manual'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
2219
2220
  }
@@ -2232,6 +2233,12 @@ declare namespace io.flow.billing.csv.v0.models {
2232
2233
  readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
2233
2234
  }
2234
2235
 
2236
+ interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
2237
+ readonly 'label_id': string;
2238
+ readonly 'base_amount'?: number;
2239
+ readonly 'percentage'?: number;
2240
+ }
2241
+
2235
2242
  interface BillingCsvTransactionMetadataTrueup {
2236
2243
  readonly 'original': io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2237
2244
  }
@@ -7767,6 +7774,11 @@ declare namespace io.flow.channel.internal.v0.models {
7767
7774
  readonly 'order_updated_at'?: string;
7768
7775
  }
7769
7776
 
7777
+ interface ChannelOrderAcceptanceDetails {
7778
+ readonly 'order_acceptance': io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
7779
+ readonly 'external_order': any/*object*/;
7780
+ }
7781
+
7770
7782
  interface ChannelOrderAcceptanceForm {
7771
7783
  readonly 'status': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
7772
7784
  }
@@ -9315,65 +9327,25 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
9315
9327
  readonly 'shipping': boolean;
9316
9328
  }
9317
9329
 
9330
+ interface RecordReference {
9331
+ readonly 'id': string;
9332
+ }
9333
+
9318
9334
  interface RefundRecord {
9319
- readonly 'billing_entity': string;
9320
- readonly 'order_id': string;
9321
- readonly 'order_refund_id': string;
9322
- readonly 'refund_created_at_date': string;
9323
- readonly 'reconciliation_date': string;
9324
- readonly 'reconciliation_month': number;
9325
- readonly 'reconciliation_year': number;
9326
- readonly 'order_created_at_date': string;
9327
- readonly 'order_status': string;
9328
- readonly 'b2b_sale': boolean;
9329
- readonly 'a_zero_vat_product_exists': boolean;
9330
- readonly 'payment_merchant_reference'?: string;
9331
- readonly 'merchant_reference'?: string;
9332
- readonly 'merchant_id': string;
9333
- readonly 'merchant_name': string;
9334
- readonly 'destination_country': string;
9335
- readonly 'shopper_country_is_eu': boolean;
9336
- readonly 'order_refund_reason_name': string;
9337
- readonly 'order_refund_status_name': string;
9338
- readonly 'original_ccy': string;
9339
- readonly 'transaction_ccy': string;
9340
- readonly 'total_refund_amount_exc_vat_in_transaction_ccy'?: number;
9341
- readonly 'refund_vat_in_transaction_ccy'?: number;
9342
- readonly 'total_refund_amount_inc_vat_in_transaction_ccy'?: number;
9343
- readonly 'merchant_total_products_refund_amount_exc_vat_in_original_ccy': number;
9344
- readonly 'merchant_shipping_refund_amount_exc_vat_in_transaction_ccy'?: number;
9345
- readonly 'merchant_shipping_refund_amount_exc_vat_in_original_ccy': number;
9346
- readonly 'total_refund_amount_exc_tax_collected_in_shopper_ccy'?: number;
9347
- readonly 'tax_collected_amount_in_shopper_ccy': number;
9348
- readonly 'total_refund_amount_inc_tax_collected_in_shopper_ccy'?: number;
9349
- readonly 'payment_gateway': string;
9350
- readonly 'min_product_customer_vat_rate'?: number;
9351
- readonly 'is_virtual_order': boolean;
9352
- readonly 'is_mixed_virtual_order': boolean;
9353
- readonly 'total_refund_amount_exc_tax_collected_in_usd': number;
9354
- readonly 'tax_collected_amount_in_usd': number;
9355
- readonly 'total_refund_amount_inc_tax_collected_in_usd': number;
9356
- readonly 'total_refund_amount_exc_tax_collected_in_eur': number;
9357
- readonly 'tax_collected_amount_in_eur': number;
9358
- readonly 'total_refund_amount_inc_tax_collected_in_eur': number;
9359
- readonly 'is_wyol_order': boolean;
9360
- readonly 'is_duties_guaranteed': boolean;
9361
- readonly 'invoice_id'?: string;
9362
- readonly 'total_refund_amount_exc_vat_in_entity_ccy': number;
9363
- readonly 'refund_vat_in_entity_ccy': number;
9364
- readonly 'total_refund_amount_inc_vat_in_entity_ccy': number;
9365
- readonly 'merchant_total_products_refund_amount_exc_vat_in_entity_ccy': number;
9366
- readonly 'merchant_shipping_refund_amount_exc_vat_in_entity_ccy': number;
9367
- readonly 'merchant_duties_and_taxes_refund_amount_in_entity_ccy': number;
9368
- readonly 'merchant_service_gesture_amount_exc_vat_in_entity_ccy': number;
9369
- readonly 'customer_prepaid_refund_amount_exc_vat_in_entity_ccy': number;
9370
- readonly 'total_refund_amount_exc_tax_collected_in_entity_ccy': number;
9371
- readonly 'tax_collected_amount_in_entity_ccy': number;
9372
- readonly 'total_refund_amount_inc_tax_collected_in_entity_ccy': number;
9373
- readonly 'conversion_rate_transaction_to_entity_ccy': number;
9374
- readonly 'merchant_order_id': string;
9375
- readonly 'transaction_date': string;
9376
- readonly 'debug_console_order_link': string;
9335
+ readonly 'id': string;
9336
+ readonly 'parent'?: io.flow.billing.reporting.csv.v0.models.RecordReference;
9337
+ readonly 'merchant': io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
9338
+ readonly 'order': io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
9339
+ readonly 'entity': io.flow.billing.reporting.csv.v0.models.ReportingEntity;
9340
+ readonly 'vendor': io.flow.billing.reporting.csv.v0.models.ReportingVendor;
9341
+ readonly 'currencies': io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
9342
+ readonly 'conversion_rate': io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
9343
+ readonly 'reconciliation': io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
9344
+ readonly 'merchant_subsidies': io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
9345
+ readonly 'merchant_fees': io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
9346
+ readonly 'merchant_transactions': io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
9347
+ readonly 'debug': io.flow.billing.reporting.csv.v0.models.ReportingDebug;
9348
+ readonly 'return'?: io.flow.billing.reporting.csv.v0.models.ReportingReturn;
9377
9349
  }
9378
9350
 
9379
9351
  interface ReportingAuthorizationReference {
@@ -9507,6 +9479,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
9507
9479
  readonly 'tax': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
9508
9480
  readonly 'duty': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
9509
9481
  readonly 'freight': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
9482
+ readonly 'refund': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
9510
9483
  }
9511
9484
 
9512
9485
  interface ReportingMonetaryValue {
@@ -9539,6 +9512,10 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
9539
9512
  readonly 'year': number;
9540
9513
  }
9541
9514
 
9515
+ interface ReportingReturn {
9516
+ readonly 'placeholder': string;
9517
+ }
9518
+
9542
9519
  interface ReportingShopperFees {
9543
9520
  readonly 'fuel': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
9544
9521
  readonly 'remote_area': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
@@ -9567,24 +9544,24 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
9567
9544
 
9568
9545
  interface SalesRecord {
9569
9546
  readonly 'id': string;
9570
- readonly 'parent'?: io.flow.billing.reporting.csv.v0.models.SalesRecordReference;
9547
+ readonly 'parent'?: io.flow.billing.reporting.csv.v0.models.RecordReference;
9571
9548
  readonly 'merchant': io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
9572
9549
  readonly 'order': io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
9573
9550
  readonly 'entity': io.flow.billing.reporting.csv.v0.models.ReportingEntity;
9574
9551
  readonly 'vendor': io.flow.billing.reporting.csv.v0.models.ReportingVendor;
9575
9552
  readonly 'currencies': io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
9576
9553
  readonly 'conversion_rate': io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
9577
- readonly 'fulfillment': io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
9578
9554
  readonly 'reconciliation': io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
9579
- readonly 'marked_as_final': io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
9580
9555
  readonly 'merchant_subsidies': io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
9581
9556
  readonly 'merchant_fees': io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
9582
9557
  readonly 'merchant_transactions': io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
9583
- readonly 'vat_remittance': io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
9584
9558
  readonly 'debug': io.flow.billing.reporting.csv.v0.models.ReportingDebug;
9559
+ readonly 'fulfillment': io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
9560
+ readonly 'vat_remittance': io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
9561
+ readonly 'marked_as_final': io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
9585
9562
  }
9586
9563
 
9587
- interface SalesRecordReference {
9564
+ interface TransactionReference {
9588
9565
  readonly 'id': string;
9589
9566
  }
9590
9567
  }
@@ -15909,6 +15886,8 @@ declare namespace io.flow.internal.v0.enums {
15909
15886
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
15910
15887
  type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
15911
15888
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
15889
+ type ChargeEstimateSource = 'global-e' | 'shopify';
15890
+ type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'remote_area_delivery';
15912
15891
  type ChargebackPaymentStatus = 'captured' | 'refunded';
15913
15892
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
15914
15893
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -16104,7 +16083,7 @@ declare namespace io.flow.internal.v0.enums {
16104
16083
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
16105
16084
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
16106
16085
  type PromptTarget = 'browse' | 'checkout';
16107
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
16086
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
16108
16087
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
16109
16088
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
16110
16089
  type RateSource = 'calculated' | 'market';
@@ -17983,6 +17962,11 @@ declare namespace io.flow.internal.v0.models {
17983
17962
  readonly 'channel_order_acceptance': io.flow.internal.v0.models.ChannelOrderAcceptance;
17984
17963
  }
17985
17964
 
17965
+ interface ChannelOrderAcceptanceDetails {
17966
+ readonly 'order_acceptance': io.flow.internal.v0.models.ChannelOrderAcceptance;
17967
+ readonly 'external_order': any/*object*/;
17968
+ }
17969
+
17986
17970
  interface ChannelOrderAcceptanceForm {
17987
17971
  readonly 'status': io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
17988
17972
  }
@@ -18098,6 +18082,12 @@ declare namespace io.flow.internal.v0.models {
18098
18082
  readonly 'channel_transaction': io.flow.internal.v0.models.ChannelTransaction;
18099
18083
  }
18100
18084
 
18085
+ interface ChargeInput {
18086
+ readonly 'charge_input_code': io.flow.internal.v0.enums.ChargeInputType;
18087
+ readonly 'price': io.flow.common.v0.models.Money;
18088
+ readonly 'charge_input_source': io.flow.internal.v0.enums.ChargeEstimateSource;
18089
+ }
18090
+
18101
18091
  interface Chargeback {
18102
18092
  readonly 'id': string;
18103
18093
  readonly 'key': string;
@@ -24092,6 +24082,7 @@ declare namespace io.flow.internal.v0.models {
24092
24082
  readonly 'organization': string;
24093
24083
  readonly 'shipping_label_form': io.flow.label.v0.unions.ShippingLabelForm;
24094
24084
  readonly 'shipment_cost'?: io.flow.common.v0.models.Money;
24085
+ readonly 'charges'?: io.flow.internal.v0.models.ChargeInput[];
24095
24086
  readonly 'reference_id'?: string;
24096
24087
  }
24097
24088
 
@@ -29565,6 +29556,8 @@ export const channelOrderAcceptanceRejectionReason: PropTypes.Requireable<io.flo
29565
29556
  export const channelOrderAcceptanceStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus>;
29566
29557
  export const channelOrderFulfillmentStatusCode: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode>;
29567
29558
  export const channelTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelTransactionType>;
29559
+ export const chargeEstimateSource: PropTypes.Requireable<io.flow.internal.v0.enums.ChargeEstimateSource>;
29560
+ export const chargeInputType: PropTypes.Requireable<io.flow.internal.v0.enums.ChargeInputType>;
29568
29561
  export const chargebackPaymentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ChargebackPaymentStatus>;
29569
29562
  export const chargebackProcessStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ChargebackProcessStatus>;
29570
29563
  export const checkoutAddAuthorizationErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutAddAuthorizationErrorCode>;
@@ -30064,6 +30057,7 @@ export const channelMembershipPutForm: PropTypes.Requireable<io.flow.internal.v0
30064
30057
  export const channelOrder: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrder>;
30065
30058
  export const channelOrderAcceptance: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptance>;
30066
30059
  export const channelOrderAcceptanceDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted>;
30060
+ export const channelOrderAcceptanceDetails: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceDetails>;
30067
30061
  export const channelOrderAcceptanceForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceForm>;
30068
30062
  export const channelOrderAcceptanceReason: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceReason>;
30069
30063
  export const channelOrderAcceptanceUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted>;
@@ -30080,6 +30074,7 @@ export const channelTransaction: PropTypes.Requireable<io.flow.internal.v0.model
30080
30074
  export const channelTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionDeleted>;
30081
30075
  export const channelTransactionRate: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionRate>;
30082
30076
  export const channelTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionUpserted>;
30077
+ export const chargeInput: PropTypes.Requireable<io.flow.internal.v0.models.ChargeInput>;
30083
30078
  export const chargeback: PropTypes.Requireable<io.flow.internal.v0.models.Chargeback>;
30084
30079
  export const chargebackDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChargebackDeleted>;
30085
30080
  export const chargebackUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChargebackUpserted>;