@flowio/types 11.24.100 → 11.24.102

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/types",
3
- "version": "11.24.100",
3
+ "version": "11.24.102",
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": "6f3d155eabc51fc1da757af5889d9066f4c03efe"
28
+ "gitHead": "186c2bb75e0d707e7d5df6a6b87e63a9be573e4d"
29
29
  }
@@ -327,7 +327,10 @@ declare namespace io.flow.payment.gateway.v0.enums {
327
327
  | 'bancontact'
328
328
  | 'twint'
329
329
  | 'przelewy24'
330
- | 'mobilepay';
330
+ | 'mobilepay'
331
+ | 'grabpay'
332
+ | 'vipps'
333
+ | 'kcp_creditcard';
331
334
  }
332
335
 
333
336
  declare namespace io.flow.payment.gateway.v0.models {
@@ -702,12 +705,22 @@ declare namespace io.flow.payment.gateway.v0.models {
702
705
  readonly reference?: string;
703
706
  }
704
707
 
708
+ interface PaymentMethodDataInitGrabpay {
709
+ readonly type: 'init_grabpay';
710
+ readonly reference?: string;
711
+ }
712
+
705
713
  interface PaymentMethodDataInitIdeal {
706
714
  readonly type: 'init_ideal';
707
715
  readonly issuer?: string;
708
716
  readonly reference?: string;
709
717
  }
710
718
 
719
+ interface PaymentMethodDataInitKcpCreditcard {
720
+ readonly type: 'init_kcp_creditcard';
721
+ readonly reference?: string;
722
+ }
723
+
711
724
  interface PaymentMethodDataInitKlarna {
712
725
  readonly type: 'init_klarna';
713
726
  readonly reference?: string;
@@ -738,6 +751,11 @@ declare namespace io.flow.payment.gateway.v0.models {
738
751
  readonly reference?: string;
739
752
  }
740
753
 
754
+ interface PaymentMethodDataInitVipps {
755
+ readonly type: 'init_vipps';
756
+ readonly reference?: string;
757
+ }
758
+
741
759
  interface PaymentMethodDataOptionLogoSvg {
742
760
  readonly type: 'svg';
743
761
  readonly url: string;
@@ -800,12 +818,22 @@ declare namespace io.flow.payment.gateway.v0.models {
800
818
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
801
819
  }
802
820
 
821
+ interface PaymentMethodSummaryGrabpay {
822
+ readonly type: 'grabpay';
823
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
824
+ }
825
+
803
826
  interface PaymentMethodSummaryIdeal {
804
827
  readonly type: 'ideal';
805
828
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
806
829
  readonly issuer?: string;
807
830
  }
808
831
 
832
+ interface PaymentMethodSummaryKcpCreditcard {
833
+ readonly type: 'kcp_creditcard';
834
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
835
+ }
836
+
809
837
  interface PaymentMethodSummaryKlarna {
810
838
  readonly type: 'klarna';
811
839
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -836,6 +864,11 @@ declare namespace io.flow.payment.gateway.v0.models {
836
864
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
837
865
  }
838
866
 
867
+ interface PaymentMethodSummaryVipps {
868
+ readonly type: 'vipps';
869
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
870
+ }
871
+
839
872
  interface PaymentOrderDetailsLineItem {
840
873
  readonly id?: string;
841
874
  readonly description: string;
@@ -1020,7 +1053,10 @@ declare namespace io.flow.payment.gateway.v0.unions {
1020
1053
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitTwint
1021
1054
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPrzelewy24
1022
1055
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitMobilepay
1056
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKcpCreditcard
1023
1057
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact
1058
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGrabpay
1059
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitVipps
1024
1060
  | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
1025
1061
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
1026
1062
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
@@ -1049,10 +1085,13 @@ declare namespace io.flow.payment.gateway.v0.unions {
1049
1085
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
1050
1086
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal
1051
1087
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryTwint
1088
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryVipps
1052
1089
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPrzelewy24
1053
1090
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryMobilepay
1091
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKcpCreditcard
1054
1092
  | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort
1055
- | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
1093
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact
1094
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGrabpay;
1056
1095
  type PaymentRequestCancellationReason =
1057
1096
  io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing;
1058
1097
  type SdkAdyenV3AuthenticationToken =
@@ -1797,6 +1836,19 @@ declare namespace io.flow.payment.v0.enums {
1797
1836
  | 'billing_address'
1798
1837
  | 'number';
1799
1838
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
1839
+ type RefundFailureCategory =
1840
+ | 'amount_too_high'
1841
+ | 'amount_too_low'
1842
+ | 'not_enough_balance'
1843
+ | 'insufficient_funds'
1844
+ | 'refund_period_expired'
1845
+ | 'dispute'
1846
+ | 'not_captured'
1847
+ | 'unsupported_payment_method'
1848
+ | 'unsupported_partial_refund'
1849
+ | 'invalid_currency'
1850
+ | 'card_no_longer_valid'
1851
+ | 'general';
1800
1852
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
1801
1853
  type ReversalErrorCode =
1802
1854
  | 'amount_exceeds_balance'
@@ -2515,6 +2567,8 @@ declare namespace io.flow.payment.v0.models {
2515
2567
  readonly attributes?: Record<string, string>;
2516
2568
  readonly status?: io.flow.payment.v0.enums.RefundStatus;
2517
2569
  readonly base?: io.flow.common.v0.models.Money;
2570
+ readonly failure_category?: io.flow.payment.v0.enums.RefundFailureCategory;
2571
+ readonly failure_psp_reason?: string;
2518
2572
  }
2519
2573
 
2520
2574
  interface RefundCapture {
@@ -3247,8 +3301,12 @@ declare namespace io.flow.stripe.v0.enums {
3247
3301
  | 'it-CH'
3248
3302
  | 'en-CH';
3249
3303
  type RefundFailureReason =
3250
- | 'lost_or_stolen_card'
3304
+ | 'charge_for_pending_refund_disputed'
3305
+ | 'declined'
3251
3306
  | 'expired_or_canceled_card'
3307
+ | 'insufficient_funds'
3308
+ | 'lost_or_stolen_card'
3309
+ | 'merchant_request'
3252
3310
  | 'unknown';
3253
3311
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
3254
3312
  type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'canceled';
@@ -5237,7 +5295,7 @@ declare namespace io.flow.external.paypal.v1.models {
5237
5295
  }
5238
5296
 
5239
5297
  interface CanceledRecurringBilling {
5240
- readonly expected_refund?: io.flow.external.paypal.v1.models.Money;
5298
+ readonly expected_refund?: io.flow.external.paypal.v1.models.DisputeMoney;
5241
5299
  readonly cancellation_details?: io.flow.external.paypal.v1.models.CancellationDetails;
5242
5300
  }
5243
5301
 
@@ -5256,7 +5314,7 @@ declare namespace io.flow.external.paypal.v1.models {
5256
5314
 
5257
5315
  interface CreditNotProcessed {
5258
5316
  readonly issue_type?: io.flow.external.paypal.v1.enums.IssueType;
5259
- readonly expected_refund?: io.flow.external.paypal.v1.models.Money;
5317
+ readonly expected_refund?: io.flow.external.paypal.v1.models.DisputeMoney;
5260
5318
  readonly cancellation_details?: io.flow.external.paypal.v1.models.CancellationDetails;
5261
5319
  readonly product_details?: io.flow.external.paypal.v1.models.ProductDetails;
5262
5320
  readonly service_details?: io.flow.external.paypal.v1.models.ServiceDetails;
@@ -5270,7 +5328,7 @@ declare namespace io.flow.external.paypal.v1.models {
5270
5328
  readonly disputed_transactions: io.flow.external.paypal.v1.models.TransactionInfo[];
5271
5329
  readonly reason: io.flow.external.paypal.v1.enums.DisputeReason;
5272
5330
  readonly status: io.flow.external.paypal.v1.enums.DisputeStatus;
5273
- readonly dispute_amount: io.flow.external.paypal.v1.models.Money;
5331
+ readonly dispute_amount: io.flow.external.paypal.v1.models.DisputeMoney;
5274
5332
  readonly fee_policy?: any /*object*/;
5275
5333
  readonly external_reason_code?: string;
5276
5334
  readonly dispute_outcome?: io.flow.external.paypal.v1.models.DisputeOutcome;
@@ -5307,9 +5365,14 @@ declare namespace io.flow.external.paypal.v1.models {
5307
5365
  readonly links: io.flow.external.paypal.v1.models.Link[];
5308
5366
  }
5309
5367
 
5368
+ interface DisputeMoney {
5369
+ readonly currency_code: string;
5370
+ readonly value: string;
5371
+ }
5372
+
5310
5373
  interface DisputeOutcome {
5311
5374
  readonly outcome_code?: io.flow.external.paypal.v1.enums.DisputeOutcomeCode;
5312
- readonly amount_refunded?: io.flow.external.paypal.v1.models.Money;
5375
+ readonly amount_refunded?: io.flow.external.paypal.v1.models.DisputeMoney;
5313
5376
  }
5314
5377
 
5315
5378
  interface DisputeSummary {
@@ -5318,7 +5381,7 @@ declare namespace io.flow.external.paypal.v1.models {
5318
5381
  readonly update_time: string;
5319
5382
  readonly reason: io.flow.external.paypal.v1.enums.DisputeReason;
5320
5383
  readonly status: io.flow.external.paypal.v1.enums.DisputeStatus;
5321
- readonly dispute_amount: io.flow.external.paypal.v1.models.Money;
5384
+ readonly dispute_amount: io.flow.external.paypal.v1.models.DisputeMoney;
5322
5385
  readonly dispute_life_cycle_stage: io.flow.external.paypal.v1.enums.DisputeLifeCycleStage;
5323
5386
  readonly links: io.flow.external.paypal.v1.models.Link[];
5324
5387
  }
@@ -5364,7 +5427,7 @@ declare namespace io.flow.external.paypal.v1.models {
5364
5427
  }
5365
5428
 
5366
5429
  interface IncorrectTransactionAmount {
5367
- readonly correct_transaction_amount?: io.flow.external.paypal.v1.models.Money;
5430
+ readonly correct_transaction_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5368
5431
  readonly correct_transaction_time?: string;
5369
5432
  }
5370
5433
 
@@ -5384,7 +5447,7 @@ declare namespace io.flow.external.paypal.v1.models {
5384
5447
  readonly item_quantity?: string;
5385
5448
  readonly partner_transaction_id?: string;
5386
5449
  readonly reason?: io.flow.external.paypal.v1.enums.DisputeReason;
5387
- readonly dispute_amount?: io.flow.external.paypal.v1.models.Money;
5450
+ readonly dispute_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5388
5451
  readonly notes?: string;
5389
5452
  }
5390
5453
 
@@ -5417,21 +5480,21 @@ declare namespace io.flow.external.paypal.v1.models {
5417
5480
  }
5418
5481
 
5419
5482
  interface Money {
5420
- readonly currency_code: string;
5421
- readonly value: string;
5483
+ readonly currency_code?: string;
5484
+ readonly value?: string;
5422
5485
  }
5423
5486
 
5424
5487
  interface MoneyMovement {
5425
5488
  readonly affected_party?: io.flow.external.paypal.v1.enums.AffectedParty;
5426
- readonly amount?: io.flow.external.paypal.v1.models.Money;
5489
+ readonly amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5427
5490
  readonly initiated_time?: string;
5428
5491
  readonly type?: io.flow.external.paypal.v1.enums.MoneyMovementType;
5429
5492
  readonly reason?: io.flow.external.paypal.v1.enums.MoneyMovementReason;
5430
5493
  }
5431
5494
 
5432
5495
  interface Offer {
5433
- readonly buyer_requested_amount?: io.flow.external.paypal.v1.models.Money;
5434
- readonly seller_offered_amount?: io.flow.external.paypal.v1.models.Money;
5496
+ readonly buyer_requested_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5497
+ readonly seller_offered_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5435
5498
  readonly offer_type?: io.flow.external.paypal.v1.enums.OfferType;
5436
5499
  }
5437
5500
 
@@ -5535,7 +5598,7 @@ declare namespace io.flow.external.paypal.v1.models {
5535
5598
  }
5536
5599
 
5537
5600
  interface RefundDetails {
5538
- readonly allowed_refund_amount?: io.flow.external.paypal.v1.models.Money;
5601
+ readonly allowed_refund_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5539
5602
  }
5540
5603
 
5541
5604
  interface RefundId {
@@ -5670,7 +5733,7 @@ declare namespace io.flow.external.paypal.v1.models {
5670
5733
  readonly reference_id?: string;
5671
5734
  readonly create_time?: string;
5672
5735
  readonly transaction_status?: io.flow.external.paypal.v1.enums.TransactionStatus;
5673
- readonly gross_amount?: io.flow.external.paypal.v1.models.Money;
5736
+ readonly gross_amount?: io.flow.external.paypal.v1.models.DisputeMoney;
5674
5737
  readonly invoice_number: string;
5675
5738
  readonly custom?: string;
5676
5739
  readonly buyer?: io.flow.external.paypal.v1.models.Buyer;
@@ -6099,6 +6162,12 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
6099
6162
  }
6100
6163
 
6101
6164
  declare namespace io.flow.shopify.markets.internal.v0.models {
6165
+ interface BulkDutyUpdateValidationError {
6166
+ readonly message: string;
6167
+ readonly reason: string;
6168
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
6169
+ }
6170
+
6102
6171
  interface CatalogPublicationSyncValidationError {
6103
6172
  readonly message: string;
6104
6173
  readonly reason: string;
@@ -6389,6 +6458,9 @@ declare namespace io.flow.adyen.v0.enums {
6389
6458
  | 'ebanking_FI'
6390
6459
  | 'gcash'
6391
6460
  | 'giropay'
6461
+ | 'grabpay_MY'
6462
+ | 'grabpay_PH'
6463
+ | 'grabpay_SG'
6392
6464
  | 'ideal'
6393
6465
  | 'interac'
6394
6466
  | 'jcb'
@@ -6410,6 +6482,7 @@ declare namespace io.flow.adyen.v0.enums {
6410
6482
  | 'trustpay'
6411
6483
  | 'twint'
6412
6484
  | 'unionpay'
6485
+ | 'vipps'
6413
6486
  | 'visa'
6414
6487
  | 'wechatpay'
6415
6488
  | 'unknowncard';
@@ -7065,7 +7138,7 @@ declare namespace io.flow.shopify.external.v0.models {
7065
7138
  }
7066
7139
 
7067
7140
  interface GraphqlMeasurement {
7068
- readonly weight: io.flow.shopify.external.v0.models.GraphqlWeight;
7141
+ readonly weight?: io.flow.shopify.external.v0.models.GraphqlWeight;
7069
7142
  }
7070
7143
 
7071
7144
  interface GraphqlOption {
@@ -8567,7 +8640,7 @@ declare namespace io.flow.shopify.markets.v0.models {
8567
8640
  readonly created_at: string;
8568
8641
  readonly notify_customer: boolean;
8569
8642
  readonly order_id: number;
8570
- readonly staff_note: string;
8643
+ readonly staff_note?: string;
8571
8644
  readonly user_id?: number;
8572
8645
  readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItems;
8573
8646
  readonly discounts: any /*object*/;
@@ -8613,6 +8686,7 @@ declare namespace io.flow.shopify.markets.v0.models {
8613
8686
  }
8614
8687
 
8615
8688
  interface ShopifyOrderLineItem {
8689
+ readonly current_quantity?: number;
8616
8690
  readonly fulfillable_quantity?: number;
8617
8691
  readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
8618
8692
  readonly grams?: number;
@@ -8787,6 +8861,13 @@ declare namespace io.flow.shopify.markets.v0.models {
8787
8861
  readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
8788
8862
  }
8789
8863
 
8864
+ interface ShopifyProductVariantInventoryItemWrapper {
8865
+ readonly product_id: number;
8866
+ readonly variant_id: number;
8867
+ readonly harmonized_system_code: string;
8868
+ readonly country_harmonized_system_codes: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
8869
+ }
8870
+
8790
8871
  interface ShopifyRefund {
8791
8872
  readonly notify_x: boolean;
8792
8873
  readonly note?: string;
@@ -13568,7 +13649,8 @@ declare namespace io.flow.billing.v0.enums {
13568
13649
  | 'order_service'
13569
13650
  | 'virtual_card_capture'
13570
13651
  | 'virtual_card_refund'
13571
- | 'failed_payout';
13652
+ | 'failed_payout'
13653
+ | 'tax_refund';
13572
13654
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
13573
13655
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
13574
13656
  }
@@ -16187,11 +16269,12 @@ declare namespace io.flow.internal.v0.enums {
16187
16269
  | 'accounts_with_final_statements_pending_transaction_total'
16188
16270
  | 'edited_order_tax_amount_exceeding_transaction'
16189
16271
  | 'edited_order_duty_amount_exceeding_transaction'
16272
+ | 'negative_balance_scheduled_count'
16190
16273
  | 'negative_balance_scheduled_total'
16191
- | 'negative_balance_debited_total'
16192
- | 'negative_balance_failed_to_be_debited_total'
16193
- | 'number_of_orgs_eligible_to_negative_balance_debit'
16194
- | 'number_of_orgs_with_failed_negative_debit'
16274
+ | 'negative_balance_sent_count'
16275
+ | 'negative_balance_sent_total'
16276
+ | 'negative_balance_failed_count'
16277
+ | 'negative_balance_failed_total'
16195
16278
  | 'negative_debit_success_rate';
16196
16279
  type BillingStatementAttachmentKey =
16197
16280
  | 'invoice'
@@ -16234,7 +16317,8 @@ declare namespace io.flow.internal.v0.enums {
16234
16317
  | 'tax'
16235
16318
  | 'duty'
16236
16319
  | 'trueup'
16237
- | 'carrier_charge';
16320
+ | 'carrier_charge'
16321
+ | 'tax_refund';
16238
16322
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
16239
16323
  type CalculatorEngine =
16240
16324
  | 'flow_rate_and_rule'
@@ -16379,7 +16463,7 @@ declare namespace io.flow.internal.v0.enums {
16379
16463
  type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
16380
16464
  type DisputeImportType = 'adyen_dispute' | 'paypal_dispute';
16381
16465
  type DisputeLiability = 'flow' | 'organization';
16382
- type DisputeProcessor = 'adyen' | 'paypal';
16466
+ type DisputeProcessor = 'adyen' | 'paypal' | 'stripe';
16383
16467
  type DisputeReportingCategory =
16384
16468
  | 'charge_issues'
16385
16469
  | 'delivery'
@@ -16413,6 +16497,7 @@ declare namespace io.flow.internal.v0.enums {
16413
16497
  | 'preferential_rate';
16414
16498
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
16415
16499
  type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
16500
+ type EldarItemType = 'digital' | 'physical';
16416
16501
  type EmptyAttribute = 'irrelevant';
16417
16502
  type ErpFileType = 'vendor';
16418
16503
  type EventType =
@@ -16756,6 +16841,8 @@ declare namespace io.flow.internal.v0.enums {
16756
16841
  | 'svitlana_item_deleted'
16757
16842
  | 'colm_item_upserted'
16758
16843
  | 'colm_item_deleted'
16844
+ | 'eldar_item_upserted'
16845
+ | 'eldar_item_deleted'
16759
16846
  | 'harinath_item_upserted'
16760
16847
  | 'harinath_item_deleted'
16761
16848
  | 'konstantin_item_upserted'
@@ -16782,6 +16869,8 @@ declare namespace io.flow.internal.v0.enums {
16782
16869
  | 'tracking_deleted'
16783
16870
  | 'tracking_assurance_analysis_upserted'
16784
16871
  | 'tracking_assurance_analysis_deleted'
16872
+ | 'tracking_assurance_job_upserted'
16873
+ | 'tracking_assurance_job_deleted'
16785
16874
  | 'tracking_request_upserted'
16786
16875
  | 'tracking_response_upserted'
16787
16876
  | 'user_upserted_v2'
@@ -17215,7 +17304,8 @@ declare namespace io.flow.internal.v0.enums {
17215
17304
  | 'product_sync'
17216
17305
  | 'webhook_registrations'
17217
17306
  | 'channel_organization_identifier'
17218
- | 'bulk_product_ingestion';
17307
+ | 'bulk_product_ingestion'
17308
+ | 'bulk_duty_update';
17219
17309
  type ShopifyMarketsTradeSector =
17220
17310
  | 'apparel_and_accessories'
17221
17311
  | 'beauty_and_cosmetics'
@@ -17277,7 +17367,7 @@ declare namespace io.flow.internal.v0.enums {
17277
17367
  | 'duty_inclusive_tax_inclusive';
17278
17368
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
17279
17369
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
17280
- type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
17370
+ type TaxTransactionType = 'adjustment' | 'reversal' | 'tax' | 'refund';
17281
17371
  type ThiagoItemType = 'digital' | 'physical';
17282
17372
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
17283
17373
  type TrackingProcessingFailureClassification =
@@ -18367,6 +18457,7 @@ declare namespace io.flow.internal.v0.models {
18367
18457
  readonly trueup: io.flow.common.v0.models.Price;
18368
18458
  readonly carrier_charge: io.flow.common.v0.models.Price;
18369
18459
  readonly ending_balance: io.flow.common.v0.models.Price;
18460
+ readonly tax_refund: io.flow.common.v0.models.Price;
18370
18461
  }
18371
18462
 
18372
18463
  interface BillingStatementUpserted {
@@ -18524,6 +18615,12 @@ declare namespace io.flow.internal.v0.models {
18524
18615
  readonly actions: io.flow.internal.v0.models.SingleClassificationAction[];
18525
18616
  }
18526
18617
 
18618
+ interface BulkDutyUpdateValidationError {
18619
+ readonly message: string;
18620
+ readonly reason: string;
18621
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
18622
+ }
18623
+
18527
18624
  interface CalculatedTaxAmount {
18528
18625
  readonly discriminator: 'calculated_tax_amount';
18529
18626
  readonly amount: number;
@@ -19794,6 +19891,7 @@ declare namespace io.flow.internal.v0.models {
19794
19891
  readonly transaction_date: string;
19795
19892
  readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
19796
19893
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
19894
+ readonly billing_address?: io.flow.fulfillment.v0.models.ShippingAddress;
19797
19895
  readonly service: string;
19798
19896
  readonly flow_tracking_number: string;
19799
19897
  readonly rex_number?: string;
@@ -19821,6 +19919,7 @@ declare namespace io.flow.internal.v0.models {
19821
19919
  readonly show_us_outbound_signature: boolean;
19822
19920
  readonly show_us_outbound_stamp: boolean;
19823
19921
  readonly invoice_url?: string;
19922
+ readonly invoice_number?: string;
19824
19923
  }
19825
19924
 
19826
19925
  interface CommercialInvoiceInternalDeleted {
@@ -20443,6 +20542,7 @@ declare namespace io.flow.internal.v0.models {
20443
20542
  readonly category: io.flow.internal.v0.enums.DisputeCategory;
20444
20543
  readonly reporting_category?: io.flow.internal.v0.enums.DisputeReportingCategory;
20445
20544
  readonly reason: string;
20545
+ readonly code?: string;
20446
20546
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
20447
20547
  readonly liability: io.flow.internal.v0.enums.DisputeLiability;
20448
20548
  readonly billable: io.flow.internal.v0.enums.DisputeBillable;
@@ -20476,6 +20576,7 @@ declare namespace io.flow.internal.v0.models {
20476
20576
  readonly original_transaction_id: string;
20477
20577
  readonly transaction_invoice_id: string;
20478
20578
  readonly case_id: string;
20579
+ readonly dispute_channel?: string;
20479
20580
  }
20480
20581
 
20481
20582
  interface DisputeDetailsStripe {
@@ -20723,6 +20824,37 @@ declare namespace io.flow.internal.v0.models {
20723
20824
  readonly duty_transaction: io.flow.internal.v0.models.DutyTransaction;
20724
20825
  }
20725
20826
 
20827
+ interface EldarItem {
20828
+ readonly id: string;
20829
+ readonly number: string;
20830
+ readonly amount: io.flow.common.v0.models.Price;
20831
+ readonly description?: string;
20832
+ readonly type: io.flow.internal.v0.enums.EldarItemType;
20833
+ readonly added_on: string;
20834
+ }
20835
+
20836
+ interface EldarItemDeleted {
20837
+ readonly discriminator: 'eldar_item_deleted';
20838
+ readonly event_id: string;
20839
+ readonly timestamp: string;
20840
+ readonly id: string;
20841
+ }
20842
+
20843
+ interface EldarItemForm {
20844
+ readonly number: string;
20845
+ readonly amount: io.flow.common.v0.models.Price;
20846
+ readonly description?: string;
20847
+ readonly type: io.flow.internal.v0.enums.EldarItemType;
20848
+ readonly added_on: string;
20849
+ }
20850
+
20851
+ interface EldarItemUpserted {
20852
+ readonly discriminator: 'eldar_item_upserted';
20853
+ readonly event_id: string;
20854
+ readonly timestamp: string;
20855
+ readonly item: io.flow.internal.v0.models.EldarItem;
20856
+ }
20857
+
20726
20858
  interface EmailForm {
20727
20859
  readonly to: string[];
20728
20860
  readonly cc?: string[];
@@ -23959,6 +24091,7 @@ declare namespace io.flow.internal.v0.models {
23959
24091
  readonly duty: number;
23960
24092
  readonly freight: number;
23961
24093
  readonly total: number;
24094
+ readonly tax_refund?: number;
23962
24095
  }
23963
24096
 
23964
24097
  interface MerchantUpserted {
@@ -24519,6 +24652,8 @@ declare namespace io.flow.internal.v0.models {
24519
24652
  readonly resolved_at?: string;
24520
24653
  readonly last_failure?: io.flow.internal.v0.models.LastFailureSummary;
24521
24654
  readonly sla_breach_at?: string;
24655
+ readonly capabilities_at_creation?: io.flow.internal.v0.enums.LogisticsCapability[];
24656
+ readonly first_globale_address_repair_failure_at?: string;
24522
24657
  }
24523
24658
 
24524
24659
  interface OrderValidationDeleted {
@@ -26540,6 +26675,8 @@ declare namespace io.flow.internal.v0.models {
26540
26675
  readonly tax_inclusive?: boolean;
26541
26676
  readonly duty_inclusive?: boolean;
26542
26677
  readonly manual_payment?: boolean;
26678
+ readonly partial_fulfillment?: boolean;
26679
+ readonly partial_refund?: boolean;
26543
26680
  }
26544
26681
 
26545
26682
  interface ReportingFx {
@@ -26585,6 +26722,7 @@ declare namespace io.flow.internal.v0.models {
26585
26722
  readonly freight: io.flow.internal.v0.models.ReportingMonetaryValue;
26586
26723
  readonly discount?: io.flow.internal.v0.models.ReportingMonetaryValue;
26587
26724
  readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
26725
+ readonly tax_refund?: io.flow.internal.v0.models.ReportingMonetaryValue;
26588
26726
  }
26589
26727
 
26590
26728
  interface ReportingMonetaryValue {
@@ -28752,6 +28890,25 @@ declare namespace io.flow.internal.v0.models {
28752
28890
  readonly analysis: io.flow.internal.v0.models.TrackingAssuranceAnalysis;
28753
28891
  }
28754
28892
 
28893
+ interface TrackingAssuranceJob {
28894
+ readonly id: string;
28895
+ readonly created_at: string;
28896
+ }
28897
+
28898
+ interface TrackingAssuranceJobDeleted {
28899
+ readonly discriminator: 'tracking_assurance_job_deleted';
28900
+ readonly event_id: string;
28901
+ readonly timestamp: string;
28902
+ readonly id: string;
28903
+ }
28904
+
28905
+ interface TrackingAssuranceJobUpserted {
28906
+ readonly discriminator: 'tracking_assurance_job_upserted';
28907
+ readonly event_id: string;
28908
+ readonly timestamp: string;
28909
+ readonly job: io.flow.internal.v0.models.TrackingAssuranceJob;
28910
+ }
28911
+
28755
28912
  interface TrackingDebugForceTransitForm {
28756
28913
  readonly description: string;
28757
28914
  }
@@ -29609,6 +29766,8 @@ declare namespace io.flow.internal.v0.unions {
29609
29766
  | io.flow.internal.v0.models.SvitlanaItemDeleted
29610
29767
  | io.flow.internal.v0.models.ColmItemUpserted
29611
29768
  | io.flow.internal.v0.models.ColmItemDeleted
29769
+ | io.flow.internal.v0.models.EldarItemUpserted
29770
+ | io.flow.internal.v0.models.EldarItemDeleted
29612
29771
  | io.flow.internal.v0.models.HarinathItemUpserted
29613
29772
  | io.flow.internal.v0.models.HarinathItemDeleted
29614
29773
  | io.flow.internal.v0.models.KonstantinItemUpserted
@@ -29635,6 +29794,8 @@ declare namespace io.flow.internal.v0.unions {
29635
29794
  | io.flow.internal.v0.models.TrackingDeleted
29636
29795
  | io.flow.internal.v0.models.TrackingAssuranceAnalysisUpserted
29637
29796
  | io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted
29797
+ | io.flow.internal.v0.models.TrackingAssuranceJobUpserted
29798
+ | io.flow.internal.v0.models.TrackingAssuranceJobDeleted
29638
29799
  | io.flow.internal.v0.models.TrackingRequestUpserted
29639
29800
  | io.flow.internal.v0.models.TrackingResponseUpserted
29640
29801
  | io.flow.internal.v0.models.UserUpsertedV2
@@ -30191,6 +30352,8 @@ export type BrowserBundlePaymentMethods =
30191
30352
  io.flow.internal.v0.models.BrowserBundlePaymentMethods;
30192
30353
  export type BulkClassificationAction =
30193
30354
  io.flow.internal.v0.models.BulkClassificationAction;
30355
+ export type BulkDutyUpdateValidationError =
30356
+ io.flow.internal.v0.models.BulkDutyUpdateValidationError;
30194
30357
  export type CalculatedTaxAmount =
30195
30358
  io.flow.internal.v0.models.CalculatedTaxAmount;
30196
30359
  export type CalculationStampingLineItem =
@@ -30785,6 +30948,11 @@ export type DutyTransactionDeleted =
30785
30948
  export type DutyTransactionType = io.flow.internal.v0.enums.DutyTransactionType;
30786
30949
  export type DutyTransactionUpserted =
30787
30950
  io.flow.internal.v0.models.DutyTransactionUpserted;
30951
+ export type EldarItem = io.flow.internal.v0.models.EldarItem;
30952
+ export type EldarItemDeleted = io.flow.internal.v0.models.EldarItemDeleted;
30953
+ export type EldarItemForm = io.flow.internal.v0.models.EldarItemForm;
30954
+ export type EldarItemType = io.flow.internal.v0.enums.EldarItemType;
30955
+ export type EldarItemUpserted = io.flow.internal.v0.models.EldarItemUpserted;
30788
30956
  export type EmailForm = io.flow.internal.v0.models.EmailForm;
30789
30957
  export type EmailModificationForm =
30790
30958
  io.flow.internal.v0.models.EmailModificationForm;
@@ -32874,6 +33042,12 @@ export type TrackingAssuranceAnalysisDeleted =
32874
33042
  io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted;
32875
33043
  export type TrackingAssuranceAnalysisUpserted =
32876
33044
  io.flow.internal.v0.models.TrackingAssuranceAnalysisUpserted;
33045
+ export type TrackingAssuranceJob =
33046
+ io.flow.internal.v0.models.TrackingAssuranceJob;
33047
+ export type TrackingAssuranceJobDeleted =
33048
+ io.flow.internal.v0.models.TrackingAssuranceJobDeleted;
33049
+ export type TrackingAssuranceJobUpserted =
33050
+ io.flow.internal.v0.models.TrackingAssuranceJobUpserted;
32877
33051
  export type TrackingDebugForceTransitForm =
32878
33052
  io.flow.internal.v0.models.TrackingDebugForceTransitForm;
32879
33053
  export type TrackingDebugLabel = io.flow.internal.v0.models.TrackingDebugLabel;