@flowio/types 11.24.79 → 11.24.80

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.
@@ -1931,6 +1931,7 @@ declare namespace io.flow.billing.csv.v0.models {
1931
1931
  interface BillingCsvTransactionMetadata {
1932
1932
  readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
1933
1933
  readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
1934
+ readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
1934
1935
  readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
1935
1936
  readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
1936
1937
  }
@@ -1945,6 +1946,11 @@ declare namespace io.flow.billing.csv.v0.models {
1945
1946
  interface BillingCsvTransactionMetadataShippingLabel {
1946
1947
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
1947
1948
  }
1949
+ interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
1950
+ readonly label_id: string;
1951
+ readonly base_amount?: number;
1952
+ readonly percentage?: number;
1953
+ }
1948
1954
  interface BillingCsvTransactionMetadataTrueup {
1949
1955
  readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
1950
1956
  }
@@ -6823,6 +6829,10 @@ declare namespace io.flow.channel.internal.v0.models {
6823
6829
  readonly order_created_at?: string;
6824
6830
  readonly order_updated_at?: string;
6825
6831
  }
6832
+ interface ChannelOrderAcceptanceDetails {
6833
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
6834
+ readonly external_order: any;
6835
+ }
6826
6836
  interface ChannelOrderAcceptanceForm {
6827
6837
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
6828
6838
  }
@@ -8159,65 +8169,24 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
8159
8169
  readonly products: boolean;
8160
8170
  readonly shipping: boolean;
8161
8171
  }
8172
+ interface RecordReference {
8173
+ readonly id: string;
8174
+ }
8162
8175
  interface RefundRecord {
8163
- readonly billing_entity: string;
8164
- readonly order_id: string;
8165
- readonly order_refund_id: string;
8166
- readonly refund_created_at_date: string;
8167
- readonly reconciliation_date: string;
8168
- readonly reconciliation_month: number;
8169
- readonly reconciliation_year: number;
8170
- readonly order_created_at_date: string;
8171
- readonly order_status: string;
8172
- readonly b2b_sale: boolean;
8173
- readonly a_zero_vat_product_exists: boolean;
8174
- readonly payment_merchant_reference?: string;
8175
- readonly merchant_reference?: string;
8176
- readonly merchant_id: string;
8177
- readonly merchant_name: string;
8178
- readonly destination_country: string;
8179
- readonly shopper_country_is_eu: boolean;
8180
- readonly order_refund_reason_name: string;
8181
- readonly order_refund_status_name: string;
8182
- readonly original_ccy: string;
8183
- readonly transaction_ccy: string;
8184
- readonly total_refund_amount_exc_vat_in_transaction_ccy?: number;
8185
- readonly refund_vat_in_transaction_ccy?: number;
8186
- readonly total_refund_amount_inc_vat_in_transaction_ccy?: number;
8187
- readonly merchant_total_products_refund_amount_exc_vat_in_original_ccy: number;
8188
- readonly merchant_shipping_refund_amount_exc_vat_in_transaction_ccy?: number;
8189
- readonly merchant_shipping_refund_amount_exc_vat_in_original_ccy: number;
8190
- readonly total_refund_amount_exc_tax_collected_in_shopper_ccy?: number;
8191
- readonly tax_collected_amount_in_shopper_ccy: number;
8192
- readonly total_refund_amount_inc_tax_collected_in_shopper_ccy?: number;
8193
- readonly payment_gateway: string;
8194
- readonly min_product_customer_vat_rate?: number;
8195
- readonly is_virtual_order: boolean;
8196
- readonly is_mixed_virtual_order: boolean;
8197
- readonly total_refund_amount_exc_tax_collected_in_usd: number;
8198
- readonly tax_collected_amount_in_usd: number;
8199
- readonly total_refund_amount_inc_tax_collected_in_usd: number;
8200
- readonly total_refund_amount_exc_tax_collected_in_eur: number;
8201
- readonly tax_collected_amount_in_eur: number;
8202
- readonly total_refund_amount_inc_tax_collected_in_eur: number;
8203
- readonly is_wyol_order: boolean;
8204
- readonly is_duties_guaranteed: boolean;
8205
- readonly invoice_id?: string;
8206
- readonly total_refund_amount_exc_vat_in_entity_ccy: number;
8207
- readonly refund_vat_in_entity_ccy: number;
8208
- readonly total_refund_amount_inc_vat_in_entity_ccy: number;
8209
- readonly merchant_total_products_refund_amount_exc_vat_in_entity_ccy: number;
8210
- readonly merchant_shipping_refund_amount_exc_vat_in_entity_ccy: number;
8211
- readonly merchant_duties_and_taxes_refund_amount_in_entity_ccy: number;
8212
- readonly merchant_service_gesture_amount_exc_vat_in_entity_ccy: number;
8213
- readonly customer_prepaid_refund_amount_exc_vat_in_entity_ccy: number;
8214
- readonly total_refund_amount_exc_tax_collected_in_entity_ccy: number;
8215
- readonly tax_collected_amount_in_entity_ccy: number;
8216
- readonly total_refund_amount_inc_tax_collected_in_entity_ccy: number;
8217
- readonly conversion_rate_transaction_to_entity_ccy: number;
8218
- readonly merchant_order_id: string;
8219
- readonly transaction_date: string;
8220
- readonly debug_console_order_link: string;
8176
+ readonly id: string;
8177
+ readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
8178
+ readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
8179
+ readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
8180
+ readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
8181
+ readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
8182
+ readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
8183
+ readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
8184
+ readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
8185
+ readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
8186
+ readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
8187
+ readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
8188
+ readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
8189
+ readonly return?: io.flow.billing.reporting.csv.v0.models.ReportingReturn;
8221
8190
  }
8222
8191
  interface ReportingAuthorizationReference {
8223
8192
  readonly id: string;
@@ -8332,6 +8301,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
8332
8301
  readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8333
8302
  readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8334
8303
  readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8304
+ readonly refund: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8335
8305
  }
8336
8306
  interface ReportingMonetaryValue {
8337
8307
  readonly transaction: number;
@@ -8358,6 +8328,9 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
8358
8328
  readonly month: number;
8359
8329
  readonly year: number;
8360
8330
  }
8331
+ interface ReportingReturn {
8332
+ readonly placeholder: string;
8333
+ }
8361
8334
  interface ReportingShopperFees {
8362
8335
  readonly fuel: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8363
8336
  readonly remote_area: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
@@ -8381,23 +8354,23 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
8381
8354
  }
8382
8355
  interface SalesRecord {
8383
8356
  readonly id: string;
8384
- readonly parent?: io.flow.billing.reporting.csv.v0.models.SalesRecordReference;
8357
+ readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
8385
8358
  readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
8386
8359
  readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
8387
8360
  readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
8388
8361
  readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
8389
8362
  readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
8390
8363
  readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
8391
- readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
8392
8364
  readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
8393
- readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
8394
8365
  readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
8395
8366
  readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
8396
8367
  readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
8397
- readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
8398
8368
  readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
8369
+ readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
8370
+ readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
8371
+ readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
8399
8372
  }
8400
- interface SalesRecordReference {
8373
+ interface TransactionReference {
8401
8374
  readonly id: string;
8402
8375
  }
8403
8376
  }
@@ -13854,6 +13827,8 @@ declare namespace io.flow.internal.v0.enums {
13854
13827
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13855
13828
  type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
13856
13829
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13830
+ type ChargeEstimateSource = 'global-e' | 'shopify';
13831
+ type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'remote_area_delivery';
13857
13832
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13858
13833
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13859
13834
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -14049,7 +14024,7 @@ declare namespace io.flow.internal.v0.enums {
14049
14024
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
14050
14025
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
14051
14026
  type PromptTarget = 'browse' | 'checkout';
14052
- 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';
14027
+ 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';
14053
14028
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
14054
14029
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
14055
14030
  type RateSource = 'calculated' | 'market';
@@ -15678,6 +15653,10 @@ declare namespace io.flow.internal.v0.models {
15678
15653
  readonly channel_id: string;
15679
15654
  readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
15680
15655
  }
15656
+ interface ChannelOrderAcceptanceDetails {
15657
+ readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
15658
+ readonly external_order: any;
15659
+ }
15681
15660
  interface ChannelOrderAcceptanceForm {
15682
15661
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
15683
15662
  }
@@ -15777,6 +15756,11 @@ declare namespace io.flow.internal.v0.models {
15777
15756
  readonly timestamp: string;
15778
15757
  readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
15779
15758
  }
15759
+ interface ChargeInput {
15760
+ readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType;
15761
+ readonly price: io.flow.common.v0.models.Money;
15762
+ readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource;
15763
+ }
15780
15764
  interface Chargeback {
15781
15765
  readonly id: string;
15782
15766
  readonly key: string;
@@ -20921,6 +20905,7 @@ declare namespace io.flow.internal.v0.models {
20921
20905
  readonly organization: string;
20922
20906
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20923
20907
  readonly shipment_cost?: io.flow.common.v0.models.Money;
20908
+ readonly charges?: io.flow.internal.v0.models.ChargeInput[];
20924
20909
  readonly reference_id?: string;
20925
20910
  }
20926
20911
  interface LabelDestination {
@@ -25931,6 +25916,7 @@ export declare type ChannelMembershipPutForm = io.flow.internal.v0.models.Channe
25931
25916
  export declare type ChannelOrder = io.flow.internal.v0.models.ChannelOrder;
25932
25917
  export declare type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance;
25933
25918
  export declare type ChannelOrderAcceptanceDeleted = io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
25919
+ export declare type ChannelOrderAcceptanceDetails = io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
25934
25920
  export declare type ChannelOrderAcceptanceErrorAction = io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
25935
25921
  export declare type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
25936
25922
  export declare type ChannelOrderAcceptanceNextActionFrom = io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -25954,6 +25940,9 @@ export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.Chann
25954
25940
  export declare type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
25955
25941
  export declare type ChannelTransactionType = io.flow.internal.v0.enums.ChannelTransactionType;
25956
25942
  export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
25943
+ export declare type ChargeEstimateSource = io.flow.internal.v0.enums.ChargeEstimateSource;
25944
+ export declare type ChargeInput = io.flow.internal.v0.models.ChargeInput;
25945
+ export declare type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType;
25957
25946
  export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
25958
25947
  export declare type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
25959
25948
  export declare type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
package/dist/api.d.ts CHANGED
@@ -1999,6 +1999,7 @@ declare namespace io.flow.v0.enums {
1999
1999
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
2000
2000
  type PriceFacetBoundary = 'min' | 'max';
2001
2001
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
2002
+ type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood' | 'unknown';
2002
2003
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
2003
2004
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2004
2005
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -2012,6 +2013,7 @@ declare namespace io.flow.v0.enums {
2012
2013
  type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
2013
2014
  type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
2014
2015
  type ReversalStatus = 'pending' | 'processed' | 'failed';
2016
+ type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
2015
2017
  type Role = 'admin' | 'member';
2016
2018
  type RoundingMethod = 'up' | 'down' | 'nearest';
2017
2019
  type RoundingType = 'pattern' | 'multiple';
@@ -8372,6 +8374,9 @@ declare namespace io.flow.v0.models {
8372
8374
  readonly product_id: string;
8373
8375
  readonly item_numbers: string[];
8374
8376
  readonly prohibited_regions: string[];
8377
+ readonly review_status: io.flow.v0.enums.ReviewStatus;
8378
+ readonly rules: io.flow.v0.enums.ProductRestrictionRule[];
8379
+ readonly updated_by_user_id: string;
8375
8380
  }
8376
8381
  interface ProductRestrictionResultDeleted {
8377
8382
  readonly discriminator: 'product_restriction_result_deleted';
@@ -12222,6 +12227,7 @@ export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
12222
12227
  export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
12223
12228
  export declare type ProductRestrictionResultDeleted = io.flow.v0.models.ProductRestrictionResultDeleted;
12224
12229
  export declare type ProductRestrictionResultUpserted = io.flow.v0.models.ProductRestrictionResultUpserted;
12230
+ export declare type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
12225
12231
  export declare type Promotion = io.flow.v0.unions.Promotion;
12226
12232
  export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
12227
12233
  export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -12360,6 +12366,7 @@ export declare type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
12360
12366
  export declare type ReversalStatus = io.flow.v0.enums.ReversalStatus;
12361
12367
  export declare type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
12362
12368
  export declare type ReversalVersion = io.flow.v0.models.ReversalVersion;
12369
+ export declare type ReviewStatus = io.flow.v0.enums.ReviewStatus;
12363
12370
  export declare type Role = io.flow.v0.enums.Role;
12364
12371
  export declare type Romanization = io.flow.v0.models.Romanization;
12365
12372
  export declare type RomanizationForm = io.flow.v0.models.RomanizationForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.79",
3
+ "version": "11.24.80",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
28
+ "gitHead": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
29
29
  }
@@ -2400,6 +2400,7 @@ declare namespace io.flow.billing.csv.v0.models {
2400
2400
  interface BillingCsvTransactionMetadata {
2401
2401
  readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
2402
2402
  readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
2403
+ readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
2403
2404
  readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
2404
2405
  readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
2405
2406
  }
@@ -2418,6 +2419,12 @@ declare namespace io.flow.billing.csv.v0.models {
2418
2419
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
2419
2420
  }
2420
2421
 
2422
+ interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
2423
+ readonly label_id: string;
2424
+ readonly base_amount?: number;
2425
+ readonly percentage?: number;
2426
+ }
2427
+
2421
2428
  interface BillingCsvTransactionMetadataTrueup {
2422
2429
  readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2423
2430
  }
@@ -9201,6 +9208,11 @@ declare namespace io.flow.channel.internal.v0.models {
9201
9208
  readonly order_updated_at?: string;
9202
9209
  }
9203
9210
 
9211
+ interface ChannelOrderAcceptanceDetails {
9212
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
9213
+ readonly external_order: any /*object*/;
9214
+ }
9215
+
9204
9216
  interface ChannelOrderAcceptanceForm {
9205
9217
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9206
9218
  }
@@ -10873,65 +10885,25 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10873
10885
  readonly shipping: boolean;
10874
10886
  }
10875
10887
 
10888
+ interface RecordReference {
10889
+ readonly id: string;
10890
+ }
10891
+
10876
10892
  interface RefundRecord {
10877
- readonly billing_entity: string;
10878
- readonly order_id: string;
10879
- readonly order_refund_id: string;
10880
- readonly refund_created_at_date: string;
10881
- readonly reconciliation_date: string;
10882
- readonly reconciliation_month: number;
10883
- readonly reconciliation_year: number;
10884
- readonly order_created_at_date: string;
10885
- readonly order_status: string;
10886
- readonly b2b_sale: boolean;
10887
- readonly a_zero_vat_product_exists: boolean;
10888
- readonly payment_merchant_reference?: string;
10889
- readonly merchant_reference?: string;
10890
- readonly merchant_id: string;
10891
- readonly merchant_name: string;
10892
- readonly destination_country: string;
10893
- readonly shopper_country_is_eu: boolean;
10894
- readonly order_refund_reason_name: string;
10895
- readonly order_refund_status_name: string;
10896
- readonly original_ccy: string;
10897
- readonly transaction_ccy: string;
10898
- readonly total_refund_amount_exc_vat_in_transaction_ccy?: number;
10899
- readonly refund_vat_in_transaction_ccy?: number;
10900
- readonly total_refund_amount_inc_vat_in_transaction_ccy?: number;
10901
- readonly merchant_total_products_refund_amount_exc_vat_in_original_ccy: number;
10902
- readonly merchant_shipping_refund_amount_exc_vat_in_transaction_ccy?: number;
10903
- readonly merchant_shipping_refund_amount_exc_vat_in_original_ccy: number;
10904
- readonly total_refund_amount_exc_tax_collected_in_shopper_ccy?: number;
10905
- readonly tax_collected_amount_in_shopper_ccy: number;
10906
- readonly total_refund_amount_inc_tax_collected_in_shopper_ccy?: number;
10907
- readonly payment_gateway: string;
10908
- readonly min_product_customer_vat_rate?: number;
10909
- readonly is_virtual_order: boolean;
10910
- readonly is_mixed_virtual_order: boolean;
10911
- readonly total_refund_amount_exc_tax_collected_in_usd: number;
10912
- readonly tax_collected_amount_in_usd: number;
10913
- readonly total_refund_amount_inc_tax_collected_in_usd: number;
10914
- readonly total_refund_amount_exc_tax_collected_in_eur: number;
10915
- readonly tax_collected_amount_in_eur: number;
10916
- readonly total_refund_amount_inc_tax_collected_in_eur: number;
10917
- readonly is_wyol_order: boolean;
10918
- readonly is_duties_guaranteed: boolean;
10919
- readonly invoice_id?: string;
10920
- readonly total_refund_amount_exc_vat_in_entity_ccy: number;
10921
- readonly refund_vat_in_entity_ccy: number;
10922
- readonly total_refund_amount_inc_vat_in_entity_ccy: number;
10923
- readonly merchant_total_products_refund_amount_exc_vat_in_entity_ccy: number;
10924
- readonly merchant_shipping_refund_amount_exc_vat_in_entity_ccy: number;
10925
- readonly merchant_duties_and_taxes_refund_amount_in_entity_ccy: number;
10926
- readonly merchant_service_gesture_amount_exc_vat_in_entity_ccy: number;
10927
- readonly customer_prepaid_refund_amount_exc_vat_in_entity_ccy: number;
10928
- readonly total_refund_amount_exc_tax_collected_in_entity_ccy: number;
10929
- readonly tax_collected_amount_in_entity_ccy: number;
10930
- readonly total_refund_amount_inc_tax_collected_in_entity_ccy: number;
10931
- readonly conversion_rate_transaction_to_entity_ccy: number;
10932
- readonly merchant_order_id: string;
10933
- readonly transaction_date: string;
10934
- readonly debug_console_order_link: string;
10893
+ readonly id: string;
10894
+ readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
10895
+ readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
10896
+ readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
10897
+ readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
10898
+ readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
10899
+ readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
10900
+ readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
10901
+ readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
10902
+ readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
10903
+ readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
10904
+ readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
10905
+ readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
10906
+ readonly return?: io.flow.billing.reporting.csv.v0.models.ReportingReturn;
10935
10907
  }
10936
10908
 
10937
10909
  interface ReportingAuthorizationReference {
@@ -11065,6 +11037,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
11065
11037
  readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11066
11038
  readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11067
11039
  readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11040
+ readonly refund: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11068
11041
  }
11069
11042
 
11070
11043
  interface ReportingMonetaryValue {
@@ -11097,6 +11070,10 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
11097
11070
  readonly year: number;
11098
11071
  }
11099
11072
 
11073
+ interface ReportingReturn {
11074
+ readonly placeholder: string;
11075
+ }
11076
+
11100
11077
  interface ReportingShopperFees {
11101
11078
  readonly fuel: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11102
11079
  readonly remote_area: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
@@ -11125,24 +11102,24 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
11125
11102
 
11126
11103
  interface SalesRecord {
11127
11104
  readonly id: string;
11128
- readonly parent?: io.flow.billing.reporting.csv.v0.models.SalesRecordReference;
11105
+ readonly parent?: io.flow.billing.reporting.csv.v0.models.RecordReference;
11129
11106
  readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
11130
11107
  readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
11131
11108
  readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
11132
11109
  readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
11133
11110
  readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
11134
11111
  readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
11135
- readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
11136
11112
  readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
11137
- readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
11138
11113
  readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
11139
11114
  readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
11140
11115
  readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
11141
- readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
11142
11116
  readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
11117
+ readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
11118
+ readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
11119
+ readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
11143
11120
  }
11144
11121
 
11145
- interface SalesRecordReference {
11122
+ interface TransactionReference {
11146
11123
  readonly id: string;
11147
11124
  }
11148
11125
  }
@@ -18278,6 +18255,18 @@ declare namespace io.flow.internal.v0.enums {
18278
18255
  | 'partial'
18279
18256
  | 'cancelled';
18280
18257
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
18258
+ type ChargeEstimateSource = 'global-e' | 'shopify';
18259
+ type ChargeInputType =
18260
+ | 'fuelsc'
18261
+ | 'incoterm_ddp'
18262
+ | 'delivery_confirmation'
18263
+ | 'base_charge'
18264
+ | 'package_pickup'
18265
+ | 'insurance'
18266
+ | 'usps_first_mile'
18267
+ | 'oversize_piece'
18268
+ | 'incoterm_dap'
18269
+ | 'remote_area_delivery';
18281
18270
  type ChargebackPaymentStatus = 'captured' | 'refunded';
18282
18271
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
18283
18272
  type CheckoutAddAuthorizationErrorCode =
@@ -19241,6 +19230,7 @@ declare namespace io.flow.internal.v0.enums {
19241
19230
  | 'fulfillment_external'
19242
19231
  | 'fulfillment_order_combined_shipment'
19243
19232
  | 'fulfillment_order_time'
19233
+ | 'return_refund'
19244
19234
  | 'label_tracking_summary'
19245
19235
  | 'label_invoice_request'
19246
19236
  | 'carrier_charge'
@@ -21246,6 +21236,11 @@ declare namespace io.flow.internal.v0.models {
21246
21236
  readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
21247
21237
  }
21248
21238
 
21239
+ interface ChannelOrderAcceptanceDetails {
21240
+ readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
21241
+ readonly external_order: any /*object*/;
21242
+ }
21243
+
21249
21244
  interface ChannelOrderAcceptanceForm {
21250
21245
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
21251
21246
  }
@@ -21361,6 +21356,12 @@ declare namespace io.flow.internal.v0.models {
21361
21356
  readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
21362
21357
  }
21363
21358
 
21359
+ interface ChargeInput {
21360
+ readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType;
21361
+ readonly price: io.flow.common.v0.models.Money;
21362
+ readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource;
21363
+ }
21364
+
21364
21365
  interface Chargeback {
21365
21366
  readonly id: string;
21366
21367
  readonly key: string;
@@ -27373,6 +27374,7 @@ declare namespace io.flow.internal.v0.models {
27373
27374
  readonly organization: string;
27374
27375
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
27375
27376
  readonly shipment_cost?: io.flow.common.v0.models.Money;
27377
+ readonly charges?: io.flow.internal.v0.models.ChargeInput[];
27376
27378
  readonly reference_id?: string;
27377
27379
  }
27378
27380
 
@@ -34205,6 +34207,8 @@ export type ChannelOrderAcceptance =
34205
34207
  io.flow.internal.v0.models.ChannelOrderAcceptance;
34206
34208
  export type ChannelOrderAcceptanceDeleted =
34207
34209
  io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
34210
+ export type ChannelOrderAcceptanceDetails =
34211
+ io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
34208
34212
  export type ChannelOrderAcceptanceErrorAction =
34209
34213
  io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
34210
34214
  export type ChannelOrderAcceptanceForm =
@@ -34250,6 +34254,10 @@ export type ChannelTransactionType =
34250
34254
  io.flow.internal.v0.enums.ChannelTransactionType;
34251
34255
  export type ChannelTransactionUpserted =
34252
34256
  io.flow.internal.v0.models.ChannelTransactionUpserted;
34257
+ export type ChargeEstimateSource =
34258
+ io.flow.internal.v0.enums.ChargeEstimateSource;
34259
+ export type ChargeInput = io.flow.internal.v0.models.ChargeInput;
34260
+ export type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType;
34253
34261
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
34254
34262
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
34255
34263
  export type ChargebackPaymentStatus =
package/src/api.ts CHANGED
@@ -3303,6 +3303,36 @@ declare namespace io.flow.v0.enums {
3303
3303
  | 'adjustment';
3304
3304
  type PriceFacetBoundary = 'min' | 'max';
3305
3305
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
3306
+ type ProductRestrictionRule =
3307
+ | 'Adult Products'
3308
+ | 'Alcohol'
3309
+ | 'Anti Money Laundering'
3310
+ | 'Collagen'
3311
+ | 'Consumer Safety'
3312
+ | 'Cosmetics'
3313
+ | 'DG - Batteries'
3314
+ | 'DG - Hazmat'
3315
+ | 'Drugs'
3316
+ | 'Dual Use'
3317
+ | 'Fine Art'
3318
+ | 'Fish & Wildlife - CITES'
3319
+ | 'Fish & Wildlife - Plant'
3320
+ | 'Fish & Wildlife - USFWS'
3321
+ | 'Food'
3322
+ | 'Gambling'
3323
+ | 'Health'
3324
+ | 'Human hair'
3325
+ | 'Insufficient Details'
3326
+ | 'Intangible'
3327
+ | 'Jewelry'
3328
+ | 'Jewelry & Watches Over 5000'
3329
+ | 'Knives'
3330
+ | 'Liquids'
3331
+ | 'Oversized'
3332
+ | 'Supplements'
3333
+ | 'Weapon'
3334
+ | 'Wood'
3335
+ | 'unknown';
3306
3336
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
3307
3337
  type ProvinceType =
3308
3338
  | 'area'
@@ -3366,6 +3396,7 @@ declare namespace io.flow.v0.enums {
3366
3396
  | 'partial_reversal_not_supported'
3367
3397
  | 'unknown';
3368
3398
  type ReversalStatus = 'pending' | 'processed' | 'failed';
3399
+ type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
3369
3400
  type Role = 'admin' | 'member';
3370
3401
  type RoundingMethod = 'up' | 'down' | 'nearest';
3371
3402
  type RoundingType = 'pattern' | 'multiple';
@@ -10866,6 +10897,9 @@ declare namespace io.flow.v0.models {
10866
10897
  readonly product_id: string;
10867
10898
  readonly item_numbers: string[];
10868
10899
  readonly prohibited_regions: string[];
10900
+ readonly review_status: io.flow.v0.enums.ReviewStatus;
10901
+ readonly rules: io.flow.v0.enums.ProductRestrictionRule[];
10902
+ readonly updated_by_user_id: string;
10869
10903
  }
10870
10904
 
10871
10905
  interface ProductRestrictionResultDeleted {
@@ -15972,6 +16006,7 @@ export type ProductRestrictionResultDeleted =
15972
16006
  io.flow.v0.models.ProductRestrictionResultDeleted;
15973
16007
  export type ProductRestrictionResultUpserted =
15974
16008
  io.flow.v0.models.ProductRestrictionResultUpserted;
16009
+ export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
15975
16010
  export type Promotion = io.flow.v0.unions.Promotion;
15976
16011
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
15977
16012
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -16122,6 +16157,7 @@ export type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
16122
16157
  export type ReversalStatus = io.flow.v0.enums.ReversalStatus;
16123
16158
  export type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
16124
16159
  export type ReversalVersion = io.flow.v0.models.ReversalVersion;
16160
+ export type ReviewStatus = io.flow.v0.enums.ReviewStatus;
16125
16161
  export type Role = io.flow.v0.enums.Role;
16126
16162
  export type Romanization = io.flow.v0.models.Romanization;
16127
16163
  export type RomanizationForm = io.flow.v0.models.RomanizationForm;