@flowio/types 11.24.85 → 11.24.87

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.
@@ -4012,9 +4012,9 @@ declare namespace io.flow.label.v0.models {
4012
4012
  readonly key: string;
4013
4013
  readonly attributes: Record<string, string>;
4014
4014
  readonly carrier_tracking_number: string;
4015
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4015
+ readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
4016
4016
  readonly flow_tracking_number: string;
4017
- readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
4017
+ readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
4018
4018
  readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
4019
4019
  readonly service: io.flow.fulfillment.v0.unions.ServiceDescription;
4020
4020
  readonly window?: io.flow.common.v0.models.DatetimeRange;
@@ -5482,6 +5482,7 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
5482
5482
 
5483
5483
  interface ShopifyOrderDestinationForm {
5484
5484
  readonly destination: io.flow.common.v0.models.Address;
5485
+ readonly order_note?: string;
5485
5486
  }
5486
5487
 
5487
5488
  interface ShopifyShopStatistics {
@@ -8097,6 +8098,7 @@ declare namespace io.flow.shopify.markets.v0.models {
8097
8098
  readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8098
8099
  readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
8099
8100
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafieldForm[];
8101
+ readonly note?: string;
8100
8102
  }
8101
8103
 
8102
8104
  interface ShopifyWebhookCustomersDataRequest {
@@ -9147,7 +9149,8 @@ declare namespace io.flow.order.price.v0.enums {
9147
9149
  | 'fuel_surcharge'
9148
9150
  | 'emergency_situation_surcharge'
9149
9151
  | 'peak_surcharge'
9150
- | 'duties_taxes_paid_surcharge';
9152
+ | 'duties_taxes_paid_surcharge'
9153
+ | 'tip';
9151
9154
  type OrderPriceDetailKey =
9152
9155
  | 'adjustment'
9153
9156
  | 'subtotal'
@@ -9156,7 +9159,8 @@ declare namespace io.flow.order.price.v0.enums {
9156
9159
  | 'shipping'
9157
9160
  | 'insurance'
9158
9161
  | 'discount'
9159
- | 'surcharges';
9162
+ | 'surcharges'
9163
+ | 'tip';
9160
9164
  }
9161
9165
 
9162
9166
  declare namespace io.flow.order.price.v0.models {
@@ -9208,7 +9212,8 @@ declare namespace io.flow.channel.internal.v0.enums {
9208
9212
  | 'payment_authorization_failed'
9209
9213
  | 'unsupported_subsidized_order'
9210
9214
  | 'unsupported_virtual_goods'
9211
- | 'non_matching_currencies';
9215
+ | 'non_matching_currencies'
9216
+ | 'unsupported_order_edit';
9212
9217
  type ChannelOrderAcceptanceStatus =
9213
9218
  | 'accepted'
9214
9219
  | 'rejected'
@@ -9948,7 +9953,8 @@ declare namespace io.flow.billing.reporting.v0.enums {
9948
9953
  type ReportType =
9949
9954
  | 'sales_record'
9950
9955
  | 'trueup_overview'
9951
- | 'non_channel_payment_bank_account';
9956
+ | 'non_channel_payment_bank_account'
9957
+ | 'scheduled_payment';
9952
9958
  type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
9953
9959
  type RevenueRecordType = 'sales' | 'refund';
9954
9960
  }
@@ -9992,6 +9998,7 @@ declare namespace io.flow.billing.reporting.v0.models {
9992
9998
 
9993
9999
  interface ReportAccount {
9994
10000
  readonly id: string;
10001
+ readonly currency: string;
9995
10002
  readonly source: io.flow.billing.internal.v0.models.AccountSource;
9996
10003
  }
9997
10004
 
@@ -10000,14 +10007,25 @@ declare namespace io.flow.billing.reporting.v0.models {
10000
10007
  readonly last4?: string;
10001
10008
  }
10002
10009
 
10010
+ interface ReportBankAccountCleartext {
10011
+ readonly type: string;
10012
+ readonly routing_number: string;
10013
+ readonly account_number: string;
10014
+ }
10015
+
10003
10016
  interface ReportForm {
10004
10017
  readonly from: string;
10005
10018
  readonly to: string;
10006
10019
  readonly type: io.flow.billing.reporting.v0.enums.ReportType;
10007
10020
  }
10008
10021
 
10022
+ interface ReportOwner {
10023
+ readonly name: string;
10024
+ }
10025
+
10009
10026
  interface ReportPayment {
10010
10027
  readonly id: string;
10028
+ readonly amount: number;
10011
10029
  readonly created_at: string;
10012
10030
  }
10013
10031
 
@@ -10234,6 +10252,14 @@ declare namespace io.flow.billing.reporting.v0.models {
10234
10252
  readonly marked_as_final: io.flow.billing.reporting.v0.models.MarkedAsFinal;
10235
10253
  readonly debug: io.flow.billing.reporting.v0.models.ReportingDebug;
10236
10254
  }
10255
+
10256
+ interface ScheduledPayment {
10257
+ readonly payment: io.flow.billing.reporting.v0.models.ReportPayment;
10258
+ readonly bank_account: io.flow.billing.reporting.v0.models.ReportBankAccountCleartext;
10259
+ readonly account: io.flow.billing.reporting.v0.models.ReportAccount;
10260
+ readonly owner: io.flow.billing.reporting.v0.models.ReportOwner;
10261
+ readonly description: string;
10262
+ }
10237
10263
  }
10238
10264
 
10239
10265
  declare namespace io.flow.payment.internal.v0.enums {
@@ -15092,6 +15118,7 @@ declare namespace io.flow.billing.internal.v0.models {
15092
15118
  readonly sent_on?: string;
15093
15119
  readonly status: io.flow.billing.v0.unions.PayoutStatus;
15094
15120
  readonly expected_delivery_by?: string;
15121
+ readonly attributes?: Record<string, string>;
15095
15122
  readonly total: io.flow.common.v0.models.Price;
15096
15123
  }
15097
15124
 
@@ -15103,6 +15130,7 @@ declare namespace io.flow.billing.internal.v0.models {
15103
15130
  readonly amount: number;
15104
15131
  readonly currency: string;
15105
15132
  readonly transfer_transaction_ids: string[];
15133
+ readonly attributes?: Record<string, string>;
15106
15134
  }
15107
15135
 
15108
15136
  interface BankPaymentStatusForm {
@@ -15110,6 +15138,33 @@ declare namespace io.flow.billing.internal.v0.models {
15110
15138
  readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
15111
15139
  }
15112
15140
 
15141
+ interface BankPaymentStatusImport {
15142
+ readonly id: string;
15143
+ readonly created_at: string;
15144
+ readonly result?: io.flow.billing.internal.v0.models.BankPaymentStatusImportResult;
15145
+ }
15146
+
15147
+ interface BankPaymentStatusImportForm {
15148
+ readonly forms: io.flow.billing.internal.v0.models.BankPaymentStatusSingleForm[];
15149
+ }
15150
+
15151
+ interface BankPaymentStatusImportResult {
15152
+ readonly processed_at: string;
15153
+ readonly number_lines_successful: number;
15154
+ readonly number_lines_with_errors: number;
15155
+ readonly errors_url?: string;
15156
+ }
15157
+
15158
+ interface BankPaymentStatusSentImportForm {
15159
+ readonly payment_ids: string[];
15160
+ }
15161
+
15162
+ interface BankPaymentStatusSingleForm {
15163
+ readonly payment_id: string;
15164
+ readonly code: io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
15165
+ readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
15166
+ }
15167
+
15113
15168
  interface BillingAuthorizationReference {
15114
15169
  readonly id: string;
15115
15170
  }
@@ -16018,7 +16073,8 @@ declare namespace io.flow.billing.v0.enums {
16018
16073
  | 'fx'
16019
16074
  | 'processing'
16020
16075
  | 'rate_lock'
16021
- | 'transfer';
16076
+ | 'transfer'
16077
+ | 'negative_balance_guarantee';
16022
16078
  type PayoutAttachmentType = 'transactions';
16023
16079
  type PayoutStatusFailureCode =
16024
16080
  | 'invalid_account_number'
@@ -16353,6 +16409,7 @@ declare namespace io.flow.billing.v0.models {
16353
16409
  readonly discriminator: 'shipping_label';
16354
16410
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
16355
16411
  readonly carrier: io.flow.billing.v0.models.TransactionMetadataShippingLabelCarrier;
16412
+ readonly revenue_share_percentage?: number;
16356
16413
  }
16357
16414
 
16358
16415
  interface TransactionMetadataShippingLabelCarrier {
@@ -18299,10 +18356,6 @@ declare namespace io.flow.internal.v0.enums {
18299
18356
  | 'queued_other_unprocessed_count'
18300
18357
  | 'queued_record_snooze_count'
18301
18358
  | 'queued_record_snooze_ending_in_48_hours_count'
18302
- | 'statements_no_payout_count'
18303
- | 'statements_no_payout_total'
18304
- | 'statements_pending_payout_count'
18305
- | 'statements_pending_payout_total'
18306
18359
  | 'payouts_scheduled_count'
18307
18360
  | 'payouts_scheduled_total'
18308
18361
  | 'payouts_sent_count'
@@ -18316,8 +18369,10 @@ declare namespace io.flow.internal.v0.enums {
18316
18369
  | 'percentage_billable_label_transactions_with_carrier_charge_30_days'
18317
18370
  | 'percentage_billable_label_transactions_with_carrier_charge_60_days'
18318
18371
  | 'percentage_billable_label_transactions_with_carrier_charge_90_days'
18372
+ | 'percentage_bank_account_inserts'
18319
18373
  | 'percentage_bank_account_updates'
18320
18374
  | 'percentage_bank_account_unique_updates'
18375
+ | 'percentage_bank_account_deletes'
18321
18376
  | 'negative_balance_number_accounts'
18322
18377
  | 'negative_balance_number_accounts_with_order_in_past_30_days'
18323
18378
  | 'negative_balance_number_accounts_without_order_in_past_30_days'
@@ -18384,6 +18439,7 @@ declare namespace io.flow.internal.v0.enums {
18384
18439
  | 'dtce_merged_with_tax'
18385
18440
  | 'dtce_with_inclusive_pricing';
18386
18441
  type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
18442
+ type CarrierChargeType = 'label' | 'other';
18387
18443
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
18388
18444
  type CarrierValidationStatus = 'success' | 'error';
18389
18445
  type CatalogImportType =
@@ -18420,7 +18476,8 @@ declare namespace io.flow.internal.v0.enums {
18420
18476
  | 'payment_authorization_failed'
18421
18477
  | 'unsupported_subsidized_order'
18422
18478
  | 'unsupported_virtual_goods'
18423
- | 'non_matching_currencies';
18479
+ | 'non_matching_currencies'
18480
+ | 'unsupported_order_edit';
18424
18481
  type ChannelOrderAcceptanceStatus =
18425
18482
  | 'accepted'
18426
18483
  | 'rejected'
@@ -18941,6 +18998,8 @@ declare namespace io.flow.internal.v0.enums {
18941
18998
  | 'billing_csv_transaction_deleted'
18942
18999
  | 'label_invoice_request_upserted'
18943
19000
  | 'label_invoice_request_deleted'
19001
+ | 'carrier_charge_upserted'
19002
+ | 'carrier_charge_deleted'
18944
19003
  | 'fraud_review_upserted'
18945
19004
  | 'fraud_review_deleted'
18946
19005
  | 'fraud_pending_review_upserted'
@@ -19077,6 +19136,8 @@ declare namespace io.flow.internal.v0.enums {
19077
19136
  | 'restriction_organization_status_deleted'
19078
19137
  | 'organization_restriction_status_upserted'
19079
19138
  | 'organization_restriction_status_deleted'
19139
+ | 'screening_status_change_upserted'
19140
+ | 'screening_status_change_deleted'
19080
19141
  | 'shopify_shop_upserted'
19081
19142
  | 'shopify_shop_deleted'
19082
19143
  | 'shopify_experience_short_id_upserted'
@@ -19181,10 +19242,6 @@ declare namespace io.flow.internal.v0.enums {
19181
19242
  type LabelBillingStrategy = 'quote' | 'carrier';
19182
19243
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
19183
19244
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
19184
- type LabelGenerationAddressFailureStatus =
19185
- | 'in_review'
19186
- | 'resolved'
19187
- | 'unresolved';
19188
19245
  type LabelRequestErrorHandlingResponsibility =
19189
19246
  | 'merchant'
19190
19247
  | 'merchant_integration'
@@ -19336,6 +19393,7 @@ declare namespace io.flow.internal.v0.enums {
19336
19393
  | 'fraud_review_decline'
19337
19394
  | 'payment_fully_authorize'
19338
19395
  | 'payment_fully_capture';
19396
+ type OrderAddressValidationStatus = 'success' | 'failed';
19339
19397
  type OrderAttributeIntent = 'discount_code';
19340
19398
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
19341
19399
  type OrderChargeTrigger =
@@ -19344,6 +19402,7 @@ declare namespace io.flow.internal.v0.enums {
19344
19402
  | 'shipment_exhausted';
19345
19403
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
19346
19404
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
19405
+ type OrderValidationStatus = 'success' | 'failed' | 'unresolvable';
19347
19406
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
19348
19407
  type OrganizationMetricType =
19349
19408
  | 'organization_restriction_snapshot'
@@ -19442,7 +19501,8 @@ declare namespace io.flow.internal.v0.enums {
19442
19501
  type ReportType =
19443
19502
  | 'sales_record'
19444
19503
  | 'trueup_overview'
19445
- | 'non_channel_payment_bank_account';
19504
+ | 'non_channel_payment_bank_account'
19505
+ | 'scheduled_payment';
19446
19506
  type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
19447
19507
  type ReportingScheme =
19448
19508
  | 'immediate_reporting_to_tax_authority'
@@ -19506,6 +19566,7 @@ declare namespace io.flow.internal.v0.enums {
19506
19566
  | 'flow_shop'
19507
19567
  | 'online_payment'
19508
19568
  | 'order_update'
19569
+ | 'order_edit'
19509
19570
  | 'product_restriction_result'
19510
19571
  | 'product_sync'
19511
19572
  | 'webhook_registrations';
@@ -19558,6 +19619,7 @@ declare namespace io.flow.internal.v0.enums {
19558
19619
  type SubscriptionFrequency = 'yearly' | 'monthly';
19559
19620
  type SuggestionAction = 'accept' | 'validate' | 'review';
19560
19621
  type SvitlanaType = 'physical' | 'digital';
19622
+ type TamItemType = 'physical' | 'digital';
19561
19623
  type TariffEligibilityType = 'rex';
19562
19624
  type TaskProcessorKey =
19563
19625
  | 'order_messenger'
@@ -20378,6 +20440,7 @@ declare namespace io.flow.internal.v0.models {
20378
20440
  readonly sent_on?: string;
20379
20441
  readonly status: io.flow.billing.v0.unions.PayoutStatus;
20380
20442
  readonly expected_delivery_by?: string;
20443
+ readonly attributes?: Record<string, string>;
20381
20444
  readonly total: io.flow.common.v0.models.Price;
20382
20445
  }
20383
20446
 
@@ -20404,6 +20467,7 @@ declare namespace io.flow.internal.v0.models {
20404
20467
  readonly amount: number;
20405
20468
  readonly currency: string;
20406
20469
  readonly transfer_transaction_ids: string[];
20470
+ readonly attributes?: Record<string, string>;
20407
20471
  }
20408
20472
 
20409
20473
  interface BankPaymentStatusForm {
@@ -20411,6 +20475,33 @@ declare namespace io.flow.internal.v0.models {
20411
20475
  readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
20412
20476
  }
20413
20477
 
20478
+ interface BankPaymentStatusImport {
20479
+ readonly id: string;
20480
+ readonly created_at: string;
20481
+ readonly result?: io.flow.internal.v0.models.BankPaymentStatusImportResult;
20482
+ }
20483
+
20484
+ interface BankPaymentStatusImportForm {
20485
+ readonly forms: io.flow.internal.v0.models.BankPaymentStatusSingleForm[];
20486
+ }
20487
+
20488
+ interface BankPaymentStatusImportResult {
20489
+ readonly processed_at: string;
20490
+ readonly number_lines_successful: number;
20491
+ readonly number_lines_with_errors: number;
20492
+ readonly errors_url?: string;
20493
+ }
20494
+
20495
+ interface BankPaymentStatusSentImportForm {
20496
+ readonly payment_ids: string[];
20497
+ }
20498
+
20499
+ interface BankPaymentStatusSingleForm {
20500
+ readonly payment_id: string;
20501
+ readonly code: io.flow.internal.v0.enums.BankPaymentStatusCode;
20502
+ readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
20503
+ }
20504
+
20414
20505
  interface BankPaymentUpserted {
20415
20506
  readonly discriminator: 'bank_payment_upserted';
20416
20507
  readonly event_id: string;
@@ -21036,15 +21127,45 @@ declare namespace io.flow.internal.v0.models {
21036
21127
  readonly error_message?: string;
21037
21128
  }
21038
21129
 
21130
+ interface CarrierCharge {
21131
+ readonly id: string;
21132
+ readonly type: io.flow.internal.v0.enums.CarrierChargeType;
21133
+ readonly label_invoice_request_id?: string;
21134
+ readonly organization_id: string;
21135
+ readonly order_number: string;
21136
+ readonly carrier_id: string;
21137
+ readonly carrier_tracking_number: string;
21138
+ readonly label_created_at: string;
21139
+ readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
21140
+ readonly base: io.flow.trueup.v0.models.LabelBase;
21141
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
21142
+ readonly total: number;
21143
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
21144
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
21145
+ readonly attributes?: Record<string, string>;
21146
+ readonly outbound_carrier_charge_id?: string;
21147
+ readonly reason?: io.flow.trueup.v0.enums.CarrierChargeReason;
21148
+ }
21149
+
21150
+ interface CarrierChargeDeleted {
21151
+ readonly discriminator: 'carrier_charge_deleted';
21152
+ readonly event_id: string;
21153
+ readonly timestamp: string;
21154
+ readonly organization: string;
21155
+ readonly id: string;
21156
+ }
21157
+
21039
21158
  interface CarrierChargeFile {
21040
21159
  readonly id: string;
21041
21160
  readonly url: string;
21161
+ readonly attributes?: Record<string, string>;
21042
21162
  readonly created_at: string;
21043
21163
  readonly result?: io.flow.internal.v0.models.CarrierChargeFileResult;
21044
21164
  }
21045
21165
 
21046
21166
  interface CarrierChargeFileForm {
21047
21167
  readonly url: string;
21168
+ readonly attributes?: Record<string, string>;
21048
21169
  }
21049
21170
 
21050
21171
  interface CarrierChargeFileResult {
@@ -21111,6 +21232,14 @@ declare namespace io.flow.internal.v0.models {
21111
21232
  readonly length?: io.flow.units.v0.enums.UnitOfLength;
21112
21233
  }
21113
21234
 
21235
+ interface CarrierChargeUpserted {
21236
+ readonly discriminator: 'carrier_charge_upserted';
21237
+ readonly event_id: string;
21238
+ readonly timestamp: string;
21239
+ readonly organization: string;
21240
+ readonly carrier_charge: io.flow.internal.v0.models.CarrierCharge;
21241
+ }
21242
+
21114
21243
  interface CarrierInvoice {
21115
21244
  readonly number: string;
21116
21245
  readonly timestamp: string;
@@ -23985,6 +24114,20 @@ declare namespace io.flow.internal.v0.models {
23985
24114
  readonly insurance: io.flow.common.v0.models.Price;
23986
24115
  }
23987
24116
 
24117
+ interface ConsoleLabelRequestForm {
24118
+ readonly discriminator: 'console_label_request_form';
24119
+ readonly order_number: string;
24120
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
24121
+ readonly service?: string;
24122
+ }
24123
+
24124
+ interface ConsoleMarkUnresolvableForm {
24125
+ readonly discriminator: 'console_mark_unresolvable_form';
24126
+ readonly order_number: string;
24127
+ readonly service?: string;
24128
+ readonly note?: string;
24129
+ }
24130
+
23988
24131
  interface ConsumerOptinActivity {
23989
24132
  readonly optin_attribute_key: string;
23990
24133
  readonly optin_region: string;
@@ -24969,6 +25112,7 @@ declare namespace io.flow.internal.v0.models {
24969
25112
  interface ErpPriorityVendorForm {
24970
25113
  readonly acc_des?: string;
24971
25114
  readonly tax_code?: string;
25115
+ readonly tax_code_2?: string;
24972
25116
  readonly vat_flag?: string;
24973
25117
  readonly country_name?: string;
24974
25118
  readonly w_tax_percent?: string;
@@ -25005,6 +25149,8 @@ declare namespace io.flow.internal.v0.models {
25005
25149
  readonly eacc_des?: string;
25006
25150
  readonly acng_des?: string;
25007
25151
  readonly branch_des?: string;
25152
+ readonly debit_entry_code?: string;
25153
+ readonly credit_entry_code?: string;
25008
25154
  }
25009
25155
 
25010
25156
  interface ErpVendor {
@@ -27523,6 +27669,8 @@ declare namespace io.flow.internal.v0.models {
27523
27669
  interface ItemSummary {
27524
27670
  readonly number: string;
27525
27671
  readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
27672
+ readonly country_of_origin?: string;
27673
+ readonly inferred?: boolean;
27526
27674
  }
27527
27675
 
27528
27676
  interface ItemValuesForm {
@@ -27629,20 +27777,6 @@ declare namespace io.flow.internal.v0.models {
27629
27777
  readonly postal?: string;
27630
27778
  }
27631
27779
 
27632
- interface LabelGenerationAddressFailureStatusUpdateForm {
27633
- readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
27634
- }
27635
-
27636
- interface LabelGenerationAddressFailures {
27637
- readonly id: string;
27638
- readonly organization_id: string;
27639
- readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
27640
- readonly order_number: string;
27641
- readonly order_submitted_at: string;
27642
- readonly carrier_id: string;
27643
- readonly destination_errors: io.flow.internal.v0.models.DestinationError[];
27644
- }
27645
-
27646
27780
  interface LabelGenerationSettings {
27647
27781
  readonly id: string;
27648
27782
  readonly item_identifier?: string;
@@ -28812,6 +28946,20 @@ declare namespace io.flow.internal.v0.models {
28812
28946
  readonly lines: io.flow.internal.v0.models.LineActionQuantities[];
28813
28947
  }
28814
28948
 
28949
+ interface OrderAddressValidation {
28950
+ readonly id: string;
28951
+ readonly organization_id: string;
28952
+ readonly order_number: string;
28953
+ readonly service_id: string;
28954
+ readonly status: io.flow.internal.v0.enums.OrderAddressValidationStatus;
28955
+ readonly destination_street1?: string;
28956
+ readonly destination_street2?: string;
28957
+ readonly destination_city?: string;
28958
+ readonly destination_postal?: string;
28959
+ readonly destination_state?: string;
28960
+ readonly destination_country: string;
28961
+ }
28962
+
28815
28963
  interface OrderAttribute {
28816
28964
  readonly id: string;
28817
28965
  readonly key: string;
@@ -29058,6 +29206,27 @@ declare namespace io.flow.internal.v0.models {
29058
29206
  readonly order_transaction: io.flow.internal.v0.models.OrderTransaction;
29059
29207
  }
29060
29208
 
29209
+ interface OrderValidation {
29210
+ readonly id: string;
29211
+ readonly organization_id: string;
29212
+ readonly order_number: string;
29213
+ readonly service_id: string;
29214
+ readonly status: io.flow.internal.v0.enums.OrderValidationStatus;
29215
+ }
29216
+
29217
+ interface OrderValidationAttempt {
29218
+ readonly id: string;
29219
+ readonly organization_id: string;
29220
+ readonly order_number: string;
29221
+ readonly service_id: string;
29222
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
29223
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
29224
+ readonly label_request_method: io.flow.label.v0.enums.LabelRequestMethod;
29225
+ readonly label_trigger_method: io.flow.label.v0.enums.LabelTriggerMethod;
29226
+ readonly suggested_responsibility: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
29227
+ readonly errors: string[];
29228
+ }
29229
+
29061
29230
  interface OrderValidationError {
29062
29231
  readonly message: string;
29063
29232
  readonly reason: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
@@ -30654,6 +30823,7 @@ declare namespace io.flow.internal.v0.models {
30654
30823
 
30655
30824
  interface ReportAccount {
30656
30825
  readonly id: string;
30826
+ readonly currency: string;
30657
30827
  readonly source: io.flow.internal.v0.models.AccountSource;
30658
30828
  }
30659
30829
 
@@ -30662,14 +30832,25 @@ declare namespace io.flow.internal.v0.models {
30662
30832
  readonly last4?: string;
30663
30833
  }
30664
30834
 
30835
+ interface ReportBankAccountCleartext {
30836
+ readonly type: string;
30837
+ readonly routing_number: string;
30838
+ readonly account_number: string;
30839
+ }
30840
+
30665
30841
  interface ReportForm {
30666
30842
  readonly from: string;
30667
30843
  readonly to: string;
30668
30844
  readonly type: io.flow.internal.v0.enums.ReportType;
30669
30845
  }
30670
30846
 
30847
+ interface ReportOwner {
30848
+ readonly name: string;
30849
+ }
30850
+
30671
30851
  interface ReportPayment {
30672
30852
  readonly id: string;
30853
+ readonly amount: number;
30673
30854
  readonly created_at: string;
30674
30855
  }
30675
30856
 
@@ -30924,6 +31105,7 @@ declare namespace io.flow.internal.v0.models {
30924
31105
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
30925
31106
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
30926
31107
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
31108
+ readonly cause_rule_id?: string;
30927
31109
  readonly created_at: string;
30928
31110
  readonly updated_at: string;
30929
31111
  readonly updated_by?: io.flow.common.v0.models.User;
@@ -30961,6 +31143,7 @@ declare namespace io.flow.internal.v0.models {
30961
31143
  readonly id: string;
30962
31144
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
30963
31145
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
31146
+ readonly cause_rule_id?: string;
30964
31147
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
30965
31148
  readonly date?: string;
30966
31149
  readonly updated_by?: io.flow.common.v0.models.User;
@@ -31292,6 +31475,14 @@ declare namespace io.flow.internal.v0.models {
31292
31475
  readonly requested_by: string;
31293
31476
  }
31294
31477
 
31478
+ interface ScheduledPayment {
31479
+ readonly payment: io.flow.internal.v0.models.ReportPayment;
31480
+ readonly bank_account: io.flow.internal.v0.models.ReportBankAccountCleartext;
31481
+ readonly account: io.flow.internal.v0.models.ReportAccount;
31482
+ readonly owner: io.flow.internal.v0.models.ReportOwner;
31483
+ readonly description: string;
31484
+ }
31485
+
31295
31486
  interface Screen {
31296
31487
  readonly id: string;
31297
31488
  readonly q: string;
@@ -31307,6 +31498,30 @@ declare namespace io.flow.internal.v0.models {
31307
31498
  readonly country?: string;
31308
31499
  }
31309
31500
 
31501
+ interface ScreeningStatusChange {
31502
+ readonly id: string;
31503
+ readonly previous_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
31504
+ readonly status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
31505
+ readonly reason?: string;
31506
+ readonly status_set_at: string;
31507
+ }
31508
+
31509
+ interface ScreeningStatusChangeDeleted {
31510
+ readonly discriminator: 'screening_status_change_deleted';
31511
+ readonly event_id: string;
31512
+ readonly timestamp: string;
31513
+ readonly organization: string;
31514
+ readonly id: string;
31515
+ }
31516
+
31517
+ interface ScreeningStatusChangeUpserted {
31518
+ readonly discriminator: 'screening_status_change_upserted';
31519
+ readonly event_id: string;
31520
+ readonly timestamp: string;
31521
+ readonly organization: string;
31522
+ readonly screening_status_change: io.flow.internal.v0.models.ScreeningStatusChange;
31523
+ }
31524
+
31310
31525
  interface SearchAuthorization {
31311
31526
  readonly discriminator: 'search_authorization';
31312
31527
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
@@ -31794,6 +32009,7 @@ declare namespace io.flow.internal.v0.models {
31794
32009
 
31795
32010
  interface ShopifyOrderDestinationForm {
31796
32011
  readonly destination: io.flow.common.v0.models.Address;
32012
+ readonly order_note?: string;
31797
32013
  }
31798
32014
 
31799
32015
  interface ShopifyOrderDetail {
@@ -32559,6 +32775,26 @@ declare namespace io.flow.internal.v0.models {
32559
32775
  readonly item: io.flow.internal.v0.models.SvitlanaItem;
32560
32776
  }
32561
32777
 
32778
+ interface SvitlanaTest {
32779
+ readonly name: string;
32780
+ }
32781
+
32782
+ interface TamItem {
32783
+ readonly id: string;
32784
+ readonly number: string;
32785
+ readonly amount: io.flow.common.v0.models.Price;
32786
+ readonly description?: string;
32787
+ readonly type: io.flow.internal.v0.enums.TamItemType;
32788
+ readonly added_on: string;
32789
+ }
32790
+
32791
+ interface TamItemForm {
32792
+ readonly number: string;
32793
+ readonly amount: io.flow.common.v0.models.Price;
32794
+ readonly description?: string;
32795
+ readonly type: io.flow.internal.v0.enums.TamItemType;
32796
+ }
32797
+
32562
32798
  interface TariffCodeDuty {
32563
32799
  readonly tariff_code: string;
32564
32800
  readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
@@ -32815,6 +33051,22 @@ declare namespace io.flow.internal.v0.models {
32815
33051
  readonly timezone: string;
32816
33052
  }
32817
33053
 
33054
+ interface TrackingDebugLabel {
33055
+ readonly in_transit_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
33056
+ readonly delivery_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
33057
+ readonly events: io.flow.internal.v0.models.TrackingDebugLabelEvent[];
33058
+ }
33059
+
33060
+ interface TrackingDebugLabelEvent {
33061
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
33062
+ readonly raw_carrier_event_code?: string;
33063
+ readonly location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
33064
+ }
33065
+
33066
+ interface TrackingDebugLabelLocation {
33067
+ readonly country: string;
33068
+ }
33069
+
32818
33070
  interface TrackingDeleted {
32819
33071
  readonly discriminator: 'tracking_deleted';
32820
33072
  readonly event_id: string;
@@ -33672,6 +33924,9 @@ declare namespace io.flow.internal.v0.unions {
33672
33924
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
33673
33925
  type ComplianceForm =
33674
33926
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
33927
+ type ConsoleLabelValidationForm =
33928
+ | io.flow.internal.v0.models.ConsoleLabelRequestForm
33929
+ | io.flow.internal.v0.models.ConsoleMarkUnresolvableForm;
33675
33930
  type ContentItem =
33676
33931
  | io.flow.internal.v0.models.Dict
33677
33932
  | io.flow.internal.v0.models.Href
@@ -33848,6 +34103,8 @@ declare namespace io.flow.internal.v0.unions {
33848
34103
  | io.flow.internal.v0.models.BillingCsvTransactionDeleted
33849
34104
  | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
33850
34105
  | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
34106
+ | io.flow.internal.v0.models.CarrierChargeUpserted
34107
+ | io.flow.internal.v0.models.CarrierChargeDeleted
33851
34108
  | io.flow.internal.v0.models.FraudReviewUpserted
33852
34109
  | io.flow.internal.v0.models.FraudReviewDeleted
33853
34110
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -33984,6 +34241,8 @@ declare namespace io.flow.internal.v0.unions {
33984
34241
  | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted
33985
34242
  | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted
33986
34243
  | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted
34244
+ | io.flow.internal.v0.models.ScreeningStatusChangeUpserted
34245
+ | io.flow.internal.v0.models.ScreeningStatusChangeDeleted
33987
34246
  | io.flow.internal.v0.models.ShopifyShopUpserted
33988
34247
  | io.flow.internal.v0.models.ShopifyShopDeleted
33989
34248
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
@@ -34517,6 +34776,16 @@ export type BankPaymentStatusCode =
34517
34776
  io.flow.internal.v0.enums.BankPaymentStatusCode;
34518
34777
  export type BankPaymentStatusForm =
34519
34778
  io.flow.internal.v0.models.BankPaymentStatusForm;
34779
+ export type BankPaymentStatusImport =
34780
+ io.flow.internal.v0.models.BankPaymentStatusImport;
34781
+ export type BankPaymentStatusImportForm =
34782
+ io.flow.internal.v0.models.BankPaymentStatusImportForm;
34783
+ export type BankPaymentStatusImportResult =
34784
+ io.flow.internal.v0.models.BankPaymentStatusImportResult;
34785
+ export type BankPaymentStatusSentImportForm =
34786
+ io.flow.internal.v0.models.BankPaymentStatusSentImportForm;
34787
+ export type BankPaymentStatusSingleForm =
34788
+ io.flow.internal.v0.models.BankPaymentStatusSingleForm;
34520
34789
  export type BankPaymentUpserted =
34521
34790
  io.flow.internal.v0.models.BankPaymentUpserted;
34522
34791
  export type BankPaymentUpsertedV2 =
@@ -34705,6 +34974,9 @@ export type CarrierAccountUpsertedV2 =
34705
34974
  io.flow.internal.v0.models.CarrierAccountUpsertedV2;
34706
34975
  export type CarrierAccountValidation =
34707
34976
  io.flow.internal.v0.models.CarrierAccountValidation;
34977
+ export type CarrierCharge = io.flow.internal.v0.models.CarrierCharge;
34978
+ export type CarrierChargeDeleted =
34979
+ io.flow.internal.v0.models.CarrierChargeDeleted;
34708
34980
  export type CarrierChargeFile = io.flow.internal.v0.models.CarrierChargeFile;
34709
34981
  export type CarrierChargeFileForm =
34710
34982
  io.flow.internal.v0.models.CarrierChargeFileForm;
@@ -34721,7 +34993,10 @@ export type CarrierChargeTransaction =
34721
34993
  io.flow.internal.v0.models.CarrierChargeTransaction;
34722
34994
  export type CarrierChargeTransactionType =
34723
34995
  io.flow.internal.v0.enums.CarrierChargeTransactionType;
34996
+ export type CarrierChargeType = io.flow.internal.v0.enums.CarrierChargeType;
34724
34997
  export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
34998
+ export type CarrierChargeUpserted =
34999
+ io.flow.internal.v0.models.CarrierChargeUpserted;
34725
35000
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
34726
35001
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
34727
35002
  export type CarrierLabelGenerationMethod =
@@ -35962,6 +36237,12 @@ export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
35962
36237
  export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
35963
36238
  export type ComplianceType = io.flow.internal.v0.enums.ComplianceType;
35964
36239
  export type Components = io.flow.internal.v0.models.Components;
36240
+ export type ConsoleLabelRequestForm =
36241
+ io.flow.internal.v0.models.ConsoleLabelRequestForm;
36242
+ export type ConsoleLabelValidationForm =
36243
+ io.flow.internal.v0.unions.ConsoleLabelValidationForm;
36244
+ export type ConsoleMarkUnresolvableForm =
36245
+ io.flow.internal.v0.models.ConsoleMarkUnresolvableForm;
35965
36246
  export type ConsumerOptinActivity =
35966
36247
  io.flow.internal.v0.models.ConsumerOptinActivity;
35967
36248
  export type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
@@ -36787,12 +37068,6 @@ export type LabelCreationRequestForm =
36787
37068
  io.flow.internal.v0.models.LabelCreationRequestForm;
36788
37069
  export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
36789
37070
  export type LabelDestination = io.flow.internal.v0.models.LabelDestination;
36790
- export type LabelGenerationAddressFailureStatus =
36791
- io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
36792
- export type LabelGenerationAddressFailureStatusUpdateForm =
36793
- io.flow.internal.v0.models.LabelGenerationAddressFailureStatusUpdateForm;
36794
- export type LabelGenerationAddressFailures =
36795
- io.flow.internal.v0.models.LabelGenerationAddressFailures;
36796
37071
  export type LabelGenerationSettings =
36797
37072
  io.flow.internal.v0.models.LabelGenerationSettings;
36798
37073
  export type LabelGenerationSettingsDeleted =
@@ -37120,6 +37395,10 @@ export type OptinPromptUpserted =
37120
37395
  export type OrderAction = io.flow.internal.v0.enums.OrderAction;
37121
37396
  export type OrderActionForm = io.flow.internal.v0.unions.OrderActionForm;
37122
37397
  export type OrderActionability = io.flow.internal.v0.models.OrderActionability;
37398
+ export type OrderAddressValidation =
37399
+ io.flow.internal.v0.models.OrderAddressValidation;
37400
+ export type OrderAddressValidationStatus =
37401
+ io.flow.internal.v0.enums.OrderAddressValidationStatus;
37123
37402
  export type OrderAttribute = io.flow.internal.v0.models.OrderAttribute;
37124
37403
  export type OrderAttributeDeleted =
37125
37404
  io.flow.internal.v0.models.OrderAttributeDeleted;
@@ -37185,8 +37464,13 @@ export type OrderTransactionType =
37185
37464
  io.flow.internal.v0.enums.OrderTransactionType;
37186
37465
  export type OrderTransactionUpserted =
37187
37466
  io.flow.internal.v0.models.OrderTransactionUpserted;
37467
+ export type OrderValidation = io.flow.internal.v0.models.OrderValidation;
37468
+ export type OrderValidationAttempt =
37469
+ io.flow.internal.v0.models.OrderValidationAttempt;
37188
37470
  export type OrderValidationError =
37189
37471
  io.flow.internal.v0.models.OrderValidationError;
37472
+ export type OrderValidationStatus =
37473
+ io.flow.internal.v0.enums.OrderValidationStatus;
37190
37474
  export type OrganizationAccount =
37191
37475
  io.flow.internal.v0.models.OrganizationAccount;
37192
37476
  export type OrganizationAccountDeleted =
@@ -37618,8 +37902,11 @@ export type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
37618
37902
  export type Report = io.flow.internal.v0.models.Report;
37619
37903
  export type ReportAccount = io.flow.internal.v0.models.ReportAccount;
37620
37904
  export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
37905
+ export type ReportBankAccountCleartext =
37906
+ io.flow.internal.v0.models.ReportBankAccountCleartext;
37621
37907
  export type ReportForm = io.flow.internal.v0.models.ReportForm;
37622
37908
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
37909
+ export type ReportOwner = io.flow.internal.v0.models.ReportOwner;
37623
37910
  export type ReportPayment = io.flow.internal.v0.models.ReportPayment;
37624
37911
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
37625
37912
  export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
@@ -37774,9 +38061,16 @@ export type SalesRecordUpserted =
37774
38061
  io.flow.internal.v0.models.SalesRecordUpserted;
37775
38062
  export type SandboxSetup = io.flow.internal.v0.models.SandboxSetup;
37776
38063
  export type SandboxSetupForm = io.flow.internal.v0.models.SandboxSetupForm;
38064
+ export type ScheduledPayment = io.flow.internal.v0.models.ScheduledPayment;
37777
38065
  export type Scope = io.flow.internal.v0.enums.Scope;
37778
38066
  export type Screen = io.flow.internal.v0.models.Screen;
37779
38067
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
38068
+ export type ScreeningStatusChange =
38069
+ io.flow.internal.v0.models.ScreeningStatusChange;
38070
+ export type ScreeningStatusChangeDeleted =
38071
+ io.flow.internal.v0.models.ScreeningStatusChangeDeleted;
38072
+ export type ScreeningStatusChangeUpserted =
38073
+ io.flow.internal.v0.models.ScreeningStatusChangeUpserted;
37780
38074
  export type SearchAuthorization =
37781
38075
  io.flow.internal.v0.models.SearchAuthorization;
37782
38076
  export type SearchCustomerSummary =
@@ -38138,7 +38432,11 @@ export type SvitlanaItemDeleted =
38138
38432
  export type SvitlanaItemForm = io.flow.internal.v0.models.SvitlanaItemForm;
38139
38433
  export type SvitlanaItemUpserted =
38140
38434
  io.flow.internal.v0.models.SvitlanaItemUpserted;
38435
+ export type SvitlanaTest = io.flow.internal.v0.models.SvitlanaTest;
38141
38436
  export type SvitlanaType = io.flow.internal.v0.enums.SvitlanaType;
38437
+ export type TamItem = io.flow.internal.v0.models.TamItem;
38438
+ export type TamItemForm = io.flow.internal.v0.models.TamItemForm;
38439
+ export type TamItemType = io.flow.internal.v0.enums.TamItemType;
38142
38440
  export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
38143
38441
  export type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
38144
38442
  export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
@@ -38206,6 +38504,11 @@ export type TimeToClassifyUpserted =
38206
38504
  export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
38207
38505
  export type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
38208
38506
  export type Tracker = io.flow.internal.v0.unions.Tracker;
38507
+ export type TrackingDebugLabel = io.flow.internal.v0.models.TrackingDebugLabel;
38508
+ export type TrackingDebugLabelEvent =
38509
+ io.flow.internal.v0.models.TrackingDebugLabelEvent;
38510
+ export type TrackingDebugLabelLocation =
38511
+ io.flow.internal.v0.models.TrackingDebugLabelLocation;
38209
38512
  export type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted;
38210
38513
  export type TrackingEvent = io.flow.internal.v0.models.TrackingEvent;
38211
38514
  export type TrackingIntegrationType =