@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.78",
3
+ "version": "9.24.79",
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": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
33
+ "gitHead": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
34
34
  }
@@ -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>;
@@ -1764,6 +1764,10 @@ T['io.flow.billing.reporting.csv.v0.models.reporting_debug_missing_subsidies'] =
1764
1764
  duty: PropTypes.bool,
1765
1765
  });
1766
1766
 
1767
+ T['io.flow.billing.reporting.csv.v0.models.reporting_return'] = PropTypes.exact({
1768
+ placeholder: PropTypes.string.isRequired,
1769
+ });
1770
+
1767
1771
  T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'] = PropTypes.exact({
1768
1772
  transaction: PropTypes.number.isRequired,
1769
1773
  merchant: PropTypes.number.isRequired,
@@ -5014,6 +5018,11 @@ T['io.flow.channel.internal.v0.models.channel_order_acceptance'] = PropTypes.exa
5014
5018
  order_updated_at: PropTypes.string,
5015
5019
  });
5016
5020
 
5021
+ T['io.flow.channel.internal.v0.models.channel_order_acceptance_details'] = PropTypes.exact({
5022
+ order_acceptance: T['io.flow.channel.internal.v0.models.channel_order_acceptance'].isRequired,
5023
+ external_order: PropTypes.object.isRequired,
5024
+ });
5025
+
5017
5026
  T['io.flow.shopify.markets.internal.v0.models.product_restriction_result_validation_error'] = PropTypes.exact({
5018
5027
  message: PropTypes.string.isRequired,
5019
5028
  reason: PropTypes.string.isRequired,
@@ -7294,6 +7303,12 @@ T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_trueup'] = Pro
7294
7303
  original: T['io.flow.billing.v0.models.transaction_metadata_original_transaction'].isRequired,
7295
7304
  });
7296
7305
 
7306
+ T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label_revenue_share'] = PropTypes.exact({
7307
+ label_id: PropTypes.string.isRequired,
7308
+ base_amount: PropTypes.number,
7309
+ percentage: PropTypes.number,
7310
+ });
7311
+
7297
7312
  T['io.flow.billing.csv.v0.models.billing_csv_transaction_account_source_summary'] = PropTypes.exact({
7298
7313
  id: PropTypes.string.isRequired,
7299
7314
  type: T['io.flow.billing.internal.v0.enums.account_type'].isRequired,
@@ -11513,6 +11528,32 @@ T['io.flow.payment.v0.unions.expandable_payment_processor'] = PropTypes.oneOfTyp
11513
11528
  T['io.flow.payment.v0.models.payment_processor_reference'],
11514
11529
  ]);
11515
11530
 
11531
+ T['io.flow.billing.reporting.csv.v0.models.marked_as_final'] = PropTypes.exact({
11532
+ products: PropTypes.bool.isRequired,
11533
+ shipping: PropTypes.bool.isRequired,
11534
+ });
11535
+
11536
+ T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance'] = PropTypes.exact({
11537
+ currency: PropTypes.string.isRequired,
11538
+ rate: T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance_rate'].isRequired,
11539
+ });
11540
+
11541
+ T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment'] = PropTypes.exact({
11542
+ id: PropTypes.string.isRequired,
11543
+ sequence_number: PropTypes.number.isRequired,
11544
+ fulfilled_at: PropTypes.string.isRequired,
11545
+ completes_order: PropTypes.bool.isRequired,
11546
+ payment: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_payment'].isRequired,
11547
+ value: T['io.flow.billing.reporting.csv.v0.models.fulfillment_shopper_breakdown'].isRequired,
11548
+ dispatch_country: T['io.flow.billing.reporting.csv.v0.models.reporting_country'],
11549
+ destination: T['io.flow.billing.reporting.csv.v0.models.reporting_destination'].isRequired,
11550
+ carrier: PropTypes.string,
11551
+ is: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_is'].isRequired,
11552
+ has: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_has'].isRequired,
11553
+ fx: T['io.flow.billing.reporting.csv.v0.models.reporting_fx'].isRequired,
11554
+ business: T['io.flow.billing.reporting.csv.v0.models.reporting_business'],
11555
+ });
11556
+
11516
11557
  T['io.flow.billing.reporting.csv.v0.models.reporting_debug'] = PropTypes.exact({
11517
11558
  console_order_link: PropTypes.string.isRequired,
11518
11559
  allocation_order_totals_delta: PropTypes.number,
@@ -11521,17 +11562,13 @@ T['io.flow.billing.reporting.csv.v0.models.reporting_debug'] = PropTypes.exact({
11521
11562
  missing_shipping_subsidies: T['io.flow.billing.reporting.csv.v0.models.reporting_debug_missing_subsidies'],
11522
11563
  });
11523
11564
 
11524
- T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance'] = PropTypes.exact({
11525
- currency: PropTypes.string.isRequired,
11526
- rate: T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance_rate'].isRequired,
11527
- });
11528
-
11529
11565
  T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_transactions'] = PropTypes.exact({
11530
11566
  adjustment: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11531
11567
  reversal: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11532
11568
  tax: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11533
11569
  duty: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11534
11570
  freight: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11571
+ refund: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11535
11572
  });
11536
11573
 
11537
11574
  T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_fees'] = PropTypes.exact({
@@ -11551,33 +11588,12 @@ T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_subsidies'] = Prop
11551
11588
  ccf: T['io.flow.billing.reporting.csv.v0.models.reporting_monetary_value'].isRequired,
11552
11589
  });
11553
11590
 
11554
- T['io.flow.billing.reporting.csv.v0.models.marked_as_final'] = PropTypes.exact({
11555
- products: PropTypes.bool.isRequired,
11556
- shipping: PropTypes.bool.isRequired,
11557
- });
11558
-
11559
11591
  T['io.flow.billing.reporting.csv.v0.models.reporting_reconciliation'] = PropTypes.exact({
11560
11592
  date: PropTypes.string.isRequired,
11561
11593
  month: PropTypes.number.isRequired,
11562
11594
  year: PropTypes.number.isRequired,
11563
11595
  });
11564
11596
 
11565
- T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment'] = PropTypes.exact({
11566
- id: PropTypes.string.isRequired,
11567
- sequence_number: PropTypes.number.isRequired,
11568
- fulfilled_at: PropTypes.string.isRequired,
11569
- completes_order: PropTypes.bool.isRequired,
11570
- payment: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_payment'].isRequired,
11571
- value: T['io.flow.billing.reporting.csv.v0.models.fulfillment_shopper_breakdown'].isRequired,
11572
- dispatch_country: T['io.flow.billing.reporting.csv.v0.models.reporting_country'],
11573
- destination: T['io.flow.billing.reporting.csv.v0.models.reporting_destination'].isRequired,
11574
- carrier: PropTypes.string,
11575
- is: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_is'].isRequired,
11576
- has: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment_has'].isRequired,
11577
- fx: T['io.flow.billing.reporting.csv.v0.models.reporting_fx'].isRequired,
11578
- business: T['io.flow.billing.reporting.csv.v0.models.reporting_business'],
11579
- });
11580
-
11581
11597
  T['io.flow.billing.reporting.csv.v0.models.reporting_conversion_rates'] = PropTypes.exact({
11582
11598
  merchant: PropTypes.number.isRequired,
11583
11599
  entity: PropTypes.number.isRequired,
@@ -11610,27 +11626,44 @@ T['io.flow.billing.reporting.csv.v0.models.reporting_organization_summary'] = Pr
11610
11626
  name: PropTypes.string.isRequired,
11611
11627
  });
11612
11628
 
11613
- T['io.flow.billing.reporting.csv.v0.models.sales_record_reference'] = PropTypes.exact({
11629
+ T['io.flow.billing.reporting.csv.v0.models.record_reference'] = PropTypes.exact({
11630
+ id: PropTypes.string.isRequired,
11631
+ });
11632
+
11633
+ T['io.flow.billing.reporting.csv.v0.models.refund_record'] = PropTypes.exact({
11614
11634
  id: PropTypes.string.isRequired,
11635
+ parent: T['io.flow.billing.reporting.csv.v0.models.record_reference'],
11636
+ merchant: T['io.flow.billing.reporting.csv.v0.models.reporting_organization_summary'].isRequired,
11637
+ order: T['io.flow.billing.reporting.csv.v0.models.reporting_order_summary'].isRequired,
11638
+ entity: T['io.flow.billing.reporting.csv.v0.models.reporting_entity'].isRequired,
11639
+ vendor: T['io.flow.billing.reporting.csv.v0.models.reporting_vendor'].isRequired,
11640
+ currencies: T['io.flow.billing.reporting.csv.v0.models.reporting_currencies'].isRequired,
11641
+ conversion_rate: T['io.flow.billing.reporting.csv.v0.models.reporting_conversion_rates'].isRequired,
11642
+ reconciliation: T['io.flow.billing.reporting.csv.v0.models.reporting_reconciliation'].isRequired,
11643
+ merchant_subsidies: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_subsidies'].isRequired,
11644
+ merchant_fees: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_fees'].isRequired,
11645
+ merchant_transactions: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_transactions'].isRequired,
11646
+ debug: T['io.flow.billing.reporting.csv.v0.models.reporting_debug'].isRequired,
11647
+ 'return': T['io.flow.billing.reporting.csv.v0.models.reporting_return'],
11615
11648
  });
11616
11649
 
11617
11650
  T['io.flow.billing.reporting.csv.v0.models.sales_record'] = PropTypes.exact({
11618
11651
  id: PropTypes.string.isRequired,
11619
- parent: T['io.flow.billing.reporting.csv.v0.models.sales_record_reference'],
11652
+ parent: T['io.flow.billing.reporting.csv.v0.models.record_reference'],
11620
11653
  merchant: T['io.flow.billing.reporting.csv.v0.models.reporting_organization_summary'].isRequired,
11621
11654
  order: T['io.flow.billing.reporting.csv.v0.models.reporting_order_summary'].isRequired,
11622
11655
  entity: T['io.flow.billing.reporting.csv.v0.models.reporting_entity'].isRequired,
11623
11656
  vendor: T['io.flow.billing.reporting.csv.v0.models.reporting_vendor'].isRequired,
11624
11657
  currencies: T['io.flow.billing.reporting.csv.v0.models.reporting_currencies'].isRequired,
11625
11658
  conversion_rate: T['io.flow.billing.reporting.csv.v0.models.reporting_conversion_rates'].isRequired,
11626
- fulfillment: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment'].isRequired,
11627
11659
  reconciliation: T['io.flow.billing.reporting.csv.v0.models.reporting_reconciliation'].isRequired,
11628
- marked_as_final: T['io.flow.billing.reporting.csv.v0.models.marked_as_final'].isRequired,
11629
11660
  merchant_subsidies: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_subsidies'].isRequired,
11630
11661
  merchant_fees: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_fees'].isRequired,
11631
11662
  merchant_transactions: T['io.flow.billing.reporting.csv.v0.models.reporting_merchant_transactions'].isRequired,
11632
- vat_remittance: T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance'].isRequired,
11633
11663
  debug: T['io.flow.billing.reporting.csv.v0.models.reporting_debug'].isRequired,
11664
+ fulfillment: T['io.flow.billing.reporting.csv.v0.models.reporting_fulfillment'].isRequired,
11665
+ vat_remittance: T['io.flow.billing.reporting.csv.v0.models.reporting_vat_remittance'].isRequired,
11666
+ marked_as_final: T['io.flow.billing.reporting.csv.v0.models.marked_as_final'].isRequired,
11634
11667
  });
11635
11668
 
11636
11669
  T['io.flow.internal.v0.models.sales_record_upserted'] = PropTypes.exact({
@@ -20540,6 +20573,20 @@ T['io.flow.internal.v0.models.experiment_version'] = PropTypes.exact({
20540
20573
 
20541
20574
  T['io.flow.internal.v0.enums.chargeback_process_status'] = PropTypes.oneOf(['inquiry', 'open', 'closed']);
20542
20575
  T['io.flow.internal.v0.enums.chargeback_payment_status'] = PropTypes.oneOf(['captured', 'refunded']);
20576
+ T['io.flow.internal.v0.enums.charge_estimate_source'] = PropTypes.oneOf(['global-e', 'shopify']);
20577
+
20578
+ T['io.flow.internal.v0.enums.charge_input_type'] = PropTypes.oneOf([
20579
+ 'fuelsc',
20580
+ 'incoterm_ddp',
20581
+ 'delivery_confirmation',
20582
+ 'base_charge',
20583
+ 'package_pickup',
20584
+ 'insurance',
20585
+ 'usps_first_mile',
20586
+ 'oversize_piece',
20587
+ 'incoterm_dap',
20588
+ 'remote_area_delivery',
20589
+ ]);
20543
20590
 
20544
20591
  T['io.flow.internal.v0.models.transaction_reference'] = PropTypes.exact({
20545
20592
  id: PropTypes.string.isRequired,
@@ -21457,6 +21504,11 @@ T['io.flow.internal.v0.models.channel_order_acceptance_upserted'] = PropTypes.ex
21457
21504
  channel_order_acceptance: T['io.flow.internal.v0.models.channel_order_acceptance'].isRequired,
21458
21505
  });
21459
21506
 
21507
+ T['io.flow.internal.v0.models.channel_order_acceptance_details'] = PropTypes.exact({
21508
+ order_acceptance: T['io.flow.internal.v0.models.channel_order_acceptance'].isRequired,
21509
+ external_order: PropTypes.object.isRequired,
21510
+ });
21511
+
21460
21512
  T['io.flow.internal.v0.models.channel_order_acceptance_deleted'] = PropTypes.exact({
21461
21513
  discriminator: PropTypes.oneOf(['channel_order_acceptance_deleted']).isRequired,
21462
21514
  event_id: PropTypes.string.isRequired,
@@ -22807,6 +22859,7 @@ T['io.flow.billing.v0.models.parent_transaction_summary'] = PropTypes.exact({
22807
22859
  T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata'] = PropTypes.exact({
22808
22860
  channel: T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_channel'],
22809
22861
  shipping_label: T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label'],
22862
+ shipping_label_revenue_share: T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label_revenue_share'],
22810
22863
  trueup: T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_trueup'],
22811
22864
  manual: T['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_manual'],
22812
22865
  });
@@ -26262,13 +26315,6 @@ T['io.flow.internal.v0.models.liability_item'] = PropTypes.exact({
26262
26315
  no_liability_reason_code: T['io.flow.internal.v0.enums.no_liability_reason_code'],
26263
26316
  });
26264
26317
 
26265
- T['io.flow.internal.v0.models.label_creation_request_form'] = PropTypes.exact({
26266
- organization: PropTypes.string.isRequired,
26267
- shipping_label_form: T['io.flow.label.v0.unions.shipping_label_form'].isRequired,
26268
- shipment_cost: T['io.flow.common.v0.models.money'],
26269
- reference_id: PropTypes.string,
26270
- });
26271
-
26272
26318
  T['io.flow.internal.v0.models.fx_revenue_recognition_source'] = PropTypes.exact({
26273
26319
  id: PropTypes.string.isRequired,
26274
26320
  local: T['io.flow.common.v0.models.money'].isRequired,
@@ -26551,6 +26597,20 @@ T['io.flow.internal.v0.models.chargeback_deleted'] = PropTypes.exact({
26551
26597
  chargeback: T['io.flow.internal.v0.models.chargeback'].isRequired,
26552
26598
  });
26553
26599
 
26600
+ T['io.flow.internal.v0.models.charge_input'] = PropTypes.exact({
26601
+ charge_input_code: T['io.flow.internal.v0.enums.charge_input_type'].isRequired,
26602
+ price: T['io.flow.common.v0.models.money'].isRequired,
26603
+ charge_input_source: T['io.flow.internal.v0.enums.charge_estimate_source'].isRequired,
26604
+ });
26605
+
26606
+ T['io.flow.internal.v0.models.label_creation_request_form'] = PropTypes.exact({
26607
+ organization: PropTypes.string.isRequired,
26608
+ shipping_label_form: T['io.flow.label.v0.unions.shipping_label_form'].isRequired,
26609
+ shipment_cost: T['io.flow.common.v0.models.money'],
26610
+ charges: PropTypes.arrayOf(T['io.flow.internal.v0.models.charge_input']),
26611
+ reference_id: PropTypes.string,
26612
+ });
26613
+
26554
26614
  T['io.flow.internal.v0.models.adjustment_details_amount_fixed'] = PropTypes.exact({
26555
26615
  amount: T['io.flow.common.v0.models.money'].isRequired,
26556
26616
  });
@@ -31531,6 +31591,7 @@ T['io.flow.internal.v0.enums.queued_record_type'] = PropTypes.oneOf([
31531
31591
  'fulfillment_external',
31532
31592
  'fulfillment_order_combined_shipment',
31533
31593
  'fulfillment_order_time',
31594
+ 'return_refund',
31534
31595
  'label_tracking_summary',
31535
31596
  'label_invoice_request',
31536
31597
  'carrier_charge',
@@ -33525,65 +33586,8 @@ T['io.flow.ftp.v0.models.ftp_organization_settings_form'] = PropTypes.exact({
33525
33586
  emails: PropTypes.arrayOf(PropTypes.string).isRequired,
33526
33587
  });
33527
33588
 
33528
- T['io.flow.billing.reporting.csv.v0.models.refund_record'] = PropTypes.exact({
33529
- billing_entity: PropTypes.string.isRequired,
33530
- order_id: PropTypes.string.isRequired,
33531
- order_refund_id: PropTypes.string.isRequired,
33532
- refund_created_at_date: PropTypes.string.isRequired,
33533
- reconciliation_date: PropTypes.string.isRequired,
33534
- reconciliation_month: PropTypes.number.isRequired,
33535
- reconciliation_year: PropTypes.number.isRequired,
33536
- order_created_at_date: PropTypes.string.isRequired,
33537
- order_status: PropTypes.string.isRequired,
33538
- b2b_sale: PropTypes.bool.isRequired,
33539
- a_zero_vat_product_exists: PropTypes.bool.isRequired,
33540
- payment_merchant_reference: PropTypes.string,
33541
- merchant_reference: PropTypes.string,
33542
- merchant_id: PropTypes.string.isRequired,
33543
- merchant_name: PropTypes.string.isRequired,
33544
- destination_country: PropTypes.string.isRequired,
33545
- shopper_country_is_eu: PropTypes.bool.isRequired,
33546
- order_refund_reason_name: PropTypes.string.isRequired,
33547
- order_refund_status_name: PropTypes.string.isRequired,
33548
- original_ccy: PropTypes.string.isRequired,
33549
- transaction_ccy: PropTypes.string.isRequired,
33550
- total_refund_amount_exc_vat_in_transaction_ccy: PropTypes.number,
33551
- refund_vat_in_transaction_ccy: PropTypes.number,
33552
- total_refund_amount_inc_vat_in_transaction_ccy: PropTypes.number,
33553
- merchant_total_products_refund_amount_exc_vat_in_original_ccy: PropTypes.number.isRequired,
33554
- merchant_shipping_refund_amount_exc_vat_in_transaction_ccy: PropTypes.number,
33555
- merchant_shipping_refund_amount_exc_vat_in_original_ccy: PropTypes.number.isRequired,
33556
- total_refund_amount_exc_tax_collected_in_shopper_ccy: PropTypes.number,
33557
- tax_collected_amount_in_shopper_ccy: PropTypes.number.isRequired,
33558
- total_refund_amount_inc_tax_collected_in_shopper_ccy: PropTypes.number,
33559
- payment_gateway: PropTypes.string.isRequired,
33560
- min_product_customer_vat_rate: PropTypes.number,
33561
- is_virtual_order: PropTypes.bool.isRequired,
33562
- is_mixed_virtual_order: PropTypes.bool.isRequired,
33563
- total_refund_amount_exc_tax_collected_in_usd: PropTypes.number.isRequired,
33564
- tax_collected_amount_in_usd: PropTypes.number.isRequired,
33565
- total_refund_amount_inc_tax_collected_in_usd: PropTypes.number.isRequired,
33566
- total_refund_amount_exc_tax_collected_in_eur: PropTypes.number.isRequired,
33567
- tax_collected_amount_in_eur: PropTypes.number.isRequired,
33568
- total_refund_amount_inc_tax_collected_in_eur: PropTypes.number.isRequired,
33569
- is_wyol_order: PropTypes.bool.isRequired,
33570
- is_duties_guaranteed: PropTypes.bool.isRequired,
33571
- invoice_id: PropTypes.string,
33572
- total_refund_amount_exc_vat_in_entity_ccy: PropTypes.number.isRequired,
33573
- refund_vat_in_entity_ccy: PropTypes.number.isRequired,
33574
- total_refund_amount_inc_vat_in_entity_ccy: PropTypes.number.isRequired,
33575
- merchant_total_products_refund_amount_exc_vat_in_entity_ccy: PropTypes.number.isRequired,
33576
- merchant_shipping_refund_amount_exc_vat_in_entity_ccy: PropTypes.number.isRequired,
33577
- merchant_duties_and_taxes_refund_amount_in_entity_ccy: PropTypes.number.isRequired,
33578
- merchant_service_gesture_amount_exc_vat_in_entity_ccy: PropTypes.number.isRequired,
33579
- customer_prepaid_refund_amount_exc_vat_in_entity_ccy: PropTypes.number.isRequired,
33580
- total_refund_amount_exc_tax_collected_in_entity_ccy: PropTypes.number.isRequired,
33581
- tax_collected_amount_in_entity_ccy: PropTypes.number.isRequired,
33582
- total_refund_amount_inc_tax_collected_in_entity_ccy: PropTypes.number.isRequired,
33583
- conversion_rate_transaction_to_entity_ccy: PropTypes.number.isRequired,
33584
- merchant_order_id: PropTypes.string.isRequired,
33585
- transaction_date: PropTypes.string.isRequired,
33586
- debug_console_order_link: PropTypes.string.isRequired,
33589
+ T['io.flow.billing.reporting.csv.v0.models.transaction_reference'] = PropTypes.exact({
33590
+ id: PropTypes.string.isRequired,
33587
33591
  });
33588
33592
 
33589
33593
  T['io.flow.experience.v0.models.checkout_attribute_form'] = PropTypes.exact({
@@ -34438,6 +34442,7 @@ export const channelMembershipPutForm = T['io.flow.internal.v0.models.channel_me
34438
34442
  export const channelOrder = T['io.flow.internal.v0.models.channel_order'];
34439
34443
  export const channelOrderAcceptance = T['io.flow.internal.v0.models.channel_order_acceptance'];
34440
34444
  export const channelOrderAcceptanceDeleted = T['io.flow.internal.v0.models.channel_order_acceptance_deleted'];
34445
+ export const channelOrderAcceptanceDetails = T['io.flow.internal.v0.models.channel_order_acceptance_details'];
34441
34446
  export const channelOrderAcceptanceErrorAction = T['io.flow.internal.v0.enums.channel_order_acceptance_error_action'];
34442
34447
  export const channelOrderAcceptanceForm = T['io.flow.internal.v0.models.channel_order_acceptance_form'];
34443
34448
  export const channelOrderAcceptanceNextActionFrom = T['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'];
@@ -34461,6 +34466,9 @@ export const channelTransactionDeleted = T['io.flow.internal.v0.models.channel_t
34461
34466
  export const channelTransactionRate = T['io.flow.internal.v0.models.channel_transaction_rate'];
34462
34467
  export const channelTransactionType = T['io.flow.internal.v0.enums.channel_transaction_type'];
34463
34468
  export const channelTransactionUpserted = T['io.flow.internal.v0.models.channel_transaction_upserted'];
34469
+ export const chargeEstimateSource = T['io.flow.internal.v0.enums.charge_estimate_source'];
34470
+ export const chargeInput = T['io.flow.internal.v0.models.charge_input'];
34471
+ export const chargeInputType = T['io.flow.internal.v0.enums.charge_input_type'];
34464
34472
  export const chargeback = T['io.flow.internal.v0.models.chargeback'];
34465
34473
  export const chargebackDeleted = T['io.flow.internal.v0.models.chargeback_deleted'];
34466
34474
  export const chargebackPaymentStatus = T['io.flow.internal.v0.enums.chargeback_payment_status'];