@flowio/types 11.19.0 → 11.19.2

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.
@@ -1,97 +1,3 @@
1
- declare namespace io.flow.tracking.internal.v0.enums {
2
- type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
3
- }
4
-
5
- declare namespace io.flow.tracking.internal.v0.models {
6
- interface Dhl {
7
- readonly discriminator: 'dhl';
8
- readonly export_account_number: string;
9
- readonly import_account_number: string;
10
- readonly password: string;
11
- readonly site_id: string;
12
- }
13
-
14
- interface DhlEcommerce {
15
- readonly discriminator: 'dhl_ecommerce';
16
- readonly client_id_v4: string;
17
- readonly client_secret_v4: string;
18
- readonly distribution_center: string;
19
- readonly pickup_account_number: string;
20
- readonly pickup_name: string;
21
- }
22
-
23
- interface Fedex {
24
- readonly discriminator: 'fedex';
25
- readonly key: string;
26
- readonly password: string;
27
- readonly account_number: string;
28
- readonly meter_number: string;
29
- }
30
-
31
- interface FedexCrossborder {
32
- readonly discriminator: 'fedex_crossborder';
33
- readonly api_key: string;
34
- readonly api_url: string;
35
- }
36
-
37
- interface Landmark {
38
- readonly discriminator: 'landmark';
39
- readonly username: string;
40
- readonly password: string;
41
- readonly client_id: string;
42
- readonly region: string;
43
- }
44
-
45
- interface SfExpress {
46
- readonly discriminator: 'sf_express';
47
- readonly checkword: string;
48
- readonly customer_code: string;
49
- readonly product_code: string;
50
- readonly customer_id: string;
51
- }
52
-
53
- interface TrackingEvent {
54
- readonly timestamp: string;
55
- readonly carrier_status_code: string;
56
- readonly location?: string;
57
- readonly description?: string;
58
- }
59
-
60
- interface TrackingRequest {
61
- readonly carrier: string;
62
- readonly carrier_tracking_number: string;
63
- readonly flow_tracking_number: string;
64
- readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
65
- }
66
-
67
- interface TrackingResponse {
68
- readonly carrier: string;
69
- readonly carrier_tracking_number: string;
70
- readonly flow_tracking_number: string;
71
- readonly tracking_events: io.flow.tracking.internal.v0.models.TrackingEvent[];
72
- }
73
-
74
- interface Ups {
75
- readonly discriminator: 'ups';
76
- readonly username: string;
77
- readonly password: string;
78
- readonly access_license_number: string;
79
- readonly account_number: string;
80
- readonly direct_feed_location_code?: string;
81
- }
82
- }
83
-
84
- declare namespace io.flow.tracking.internal.v0.unions {
85
- type CarrierCredentials =
86
- | io.flow.tracking.internal.v0.models.SfExpress
87
- | io.flow.tracking.internal.v0.models.DhlEcommerce
88
- | io.flow.tracking.internal.v0.models.Landmark
89
- | io.flow.tracking.internal.v0.models.Dhl
90
- | io.flow.tracking.internal.v0.models.FedexCrossborder
91
- | io.flow.tracking.internal.v0.models.Ups
92
- | io.flow.tracking.internal.v0.models.Fedex;
93
- }
94
-
95
1
  declare namespace io.flow.ups.license.v0.models {
96
2
  interface AccessLicenceAgreementRequest {
97
3
  readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
@@ -265,7 +171,8 @@ declare namespace io.flow.order.price.v0.enums {
265
171
  | 'duty_subsidy'
266
172
  | 'remote_area_surcharge'
267
173
  | 'fuel_surcharge'
268
- | 'emergency_situation_surcharge';
174
+ | 'emergency_situation_surcharge'
175
+ | 'peak_surcharge';
269
176
  type OrderPriceDetailKey =
270
177
  | 'adjustment'
271
178
  | 'subtotal'
@@ -2650,6 +2557,252 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2650
2557
  | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
2651
2558
  }
2652
2559
 
2560
+ declare namespace io.flow.google.pay.v0.enums {
2561
+ type AuthMethod = 'PAN_ONLY' | 'CRYPTOGRAM_3DS';
2562
+ type BillingAddressFormat = 'MIN' | 'FULL';
2563
+ type CardGateway = 'adyen' | 'stripe';
2564
+ type CardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA';
2565
+ type PaymentMethodType = 'CARD';
2566
+ type TokenizationType = 'PAYMENT_GATEWAY' | 'DIRECT';
2567
+ type TotalPriceStatus = 'NOT_CURRENTLY_KNOWN' | 'ESTIMATED' | 'FINAL';
2568
+ }
2569
+
2570
+ declare namespace io.flow.google.pay.v0.models {
2571
+ interface Address {
2572
+ readonly name: string;
2573
+ readonly postalCode: string;
2574
+ readonly countryCode: string;
2575
+ readonly phoneNumber: string;
2576
+ readonly companyName: string;
2577
+ readonly address1: string;
2578
+ readonly address2: string;
2579
+ readonly address3: string;
2580
+ readonly locality: string;
2581
+ readonly administrativeArea: string;
2582
+ readonly sortingCode: string;
2583
+ }
2584
+
2585
+ interface BillingAddressParameters {
2586
+ readonly format?: io.flow.google.pay.v0.enums.BillingAddressFormat;
2587
+ readonly phoneNumberRequired?: boolean;
2588
+ }
2589
+
2590
+ interface CardAdyenTokenizationParameters {
2591
+ readonly gateway: string;
2592
+ readonly gatewayMerchantId: string;
2593
+ }
2594
+
2595
+ interface CardDirectTokenizationParameters {
2596
+ readonly protocolVersion: string;
2597
+ readonly publicKey: string;
2598
+ }
2599
+
2600
+ interface CardPaymentMethodDataInfo {
2601
+ readonly cardDetails: string;
2602
+ readonly cardNetwork: string;
2603
+ readonly billingAddress?: io.flow.google.pay.v0.models.Address;
2604
+ }
2605
+
2606
+ interface CardPaymentMethodParameters {
2607
+ readonly allowedAuthMethods: io.flow.google.pay.v0.enums.AuthMethod[];
2608
+ readonly allowedCardNetworks: io.flow.google.pay.v0.enums.CardNetwork[];
2609
+ readonly billingAddressRequired?: boolean;
2610
+ readonly billingAddressParameters?: io.flow.google.pay.v0.models.BillingAddressParameters;
2611
+ }
2612
+
2613
+ interface DirectPaymentMethodToken {
2614
+ readonly discriminator: 'direct_payment_method_token';
2615
+ readonly protocolVersion: string;
2616
+ readonly signature: string;
2617
+ readonly signedMessage: string;
2618
+ }
2619
+
2620
+ interface EncryptedMessage {
2621
+ readonly messageExpiration: string;
2622
+ readonly messageId: string;
2623
+ readonly paymentMethod: io.flow.google.pay.v0.models.PaymentMethod;
2624
+ readonly paymentMethodDetails: io.flow.google.pay.v0.models.PaymentMethodDetails;
2625
+ }
2626
+
2627
+ interface MerchantInfo {
2628
+ readonly merchantId: string;
2629
+ readonly merchantName?: string;
2630
+ readonly authJwt?: string;
2631
+ }
2632
+
2633
+ interface PaymentData {
2634
+ readonly apiVersion: number;
2635
+ readonly apiVersionMinor: number;
2636
+ readonly paymentMethodData: io.flow.google.pay.v0.models.PaymentMethodData;
2637
+ readonly email?: string;
2638
+ readonly shippingAddress?: io.flow.google.pay.v0.models.Address;
2639
+ }
2640
+
2641
+ interface PaymentDataRequest {
2642
+ readonly apiVersion: number;
2643
+ readonly apiVersionMinor: number;
2644
+ readonly merchantInfo: io.flow.google.pay.v0.models.MerchantInfo;
2645
+ readonly allowedPaymentMethods: io.flow.google.pay.v0.models.PaymentMethod[];
2646
+ readonly transactionInfo: io.flow.google.pay.v0.models.TransactionInfo;
2647
+ readonly emailRequired?: boolean;
2648
+ readonly shippingAddressRequired?: boolean;
2649
+ readonly shippingAddressParameters?: io.flow.google.pay.v0.models.ShippingAddressParameters;
2650
+ }
2651
+
2652
+ interface PaymentMethod {
2653
+ readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
2654
+ readonly parameters: io.flow.google.pay.v0.models.CardPaymentMethodParameters;
2655
+ readonly tokenizationSpecification: io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification;
2656
+ }
2657
+
2658
+ interface PaymentMethodData {
2659
+ readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
2660
+ readonly description: string;
2661
+ readonly info: io.flow.google.pay.v0.models.CardPaymentMethodDataInfo;
2662
+ readonly tokenizationData: io.flow.google.pay.v0.models.PaymentMethodTokenizationData;
2663
+ }
2664
+
2665
+ interface PaymentMethodDetails {
2666
+ readonly pan: string;
2667
+ readonly expirationMonth: number;
2668
+ readonly expirationYear: number;
2669
+ readonly authMethod: io.flow.google.pay.v0.enums.AuthMethod;
2670
+ readonly cryptogram?: string;
2671
+ readonly eciIndicator?: string;
2672
+ }
2673
+
2674
+ interface PaymentMethodTokenizationData {
2675
+ readonly type: string;
2676
+ readonly token?: string;
2677
+ }
2678
+
2679
+ interface PaymentMethodTokenizationSpecification {
2680
+ readonly type: io.flow.google.pay.v0.enums.TokenizationType;
2681
+ readonly parameters: any /*object*/;
2682
+ }
2683
+
2684
+ interface ShippingAddressParameters {
2685
+ readonly allowedCountryCodes?: string[];
2686
+ }
2687
+
2688
+ interface SignedMessage {
2689
+ readonly encryptedMessage: string;
2690
+ readonly ephemeralPublicKey: string;
2691
+ readonly tag: string;
2692
+ }
2693
+
2694
+ interface StripePaymentMethodToken {
2695
+ readonly discriminator: 'stripe_payment_method_token';
2696
+ readonly token: io.flow.stripe.v0.models.Token;
2697
+ }
2698
+
2699
+ interface TransactionInfo {
2700
+ readonly totalPriceStatus: io.flow.google.pay.v0.enums.TotalPriceStatus;
2701
+ readonly totalPrice?: string;
2702
+ readonly currencyCode?: string;
2703
+ }
2704
+ }
2705
+
2706
+ declare namespace io.flow.google.pay.v0.unions {
2707
+ type PaymentMethodToken =
2708
+ | io.flow.google.pay.v0.models.DirectPaymentMethodToken
2709
+ | io.flow.google.pay.v0.models.StripePaymentMethodToken;
2710
+ }
2711
+
2712
+ declare namespace io.flow.tracking.internal.v0.enums {
2713
+ type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
2714
+ }
2715
+
2716
+ declare namespace io.flow.tracking.internal.v0.models {
2717
+ interface Dhl {
2718
+ readonly discriminator: 'dhl';
2719
+ readonly export_account_number: string;
2720
+ readonly import_account_number: string;
2721
+ readonly password: string;
2722
+ readonly site_id: string;
2723
+ }
2724
+
2725
+ interface DhlEcommerce {
2726
+ readonly discriminator: 'dhl_ecommerce';
2727
+ readonly client_id_v4: string;
2728
+ readonly client_secret_v4: string;
2729
+ readonly distribution_center: string;
2730
+ readonly pickup_account_number: string;
2731
+ readonly pickup_name: string;
2732
+ }
2733
+
2734
+ interface Fedex {
2735
+ readonly discriminator: 'fedex';
2736
+ readonly key: string;
2737
+ readonly password: string;
2738
+ readonly account_number: string;
2739
+ readonly meter_number: string;
2740
+ }
2741
+
2742
+ interface FedexCrossborder {
2743
+ readonly discriminator: 'fedex_crossborder';
2744
+ readonly api_key: string;
2745
+ readonly api_url: string;
2746
+ }
2747
+
2748
+ interface Landmark {
2749
+ readonly discriminator: 'landmark';
2750
+ readonly username: string;
2751
+ readonly password: string;
2752
+ readonly client_id: string;
2753
+ readonly region: string;
2754
+ }
2755
+
2756
+ interface SfExpress {
2757
+ readonly discriminator: 'sf_express';
2758
+ readonly checkword: string;
2759
+ readonly customer_code: string;
2760
+ readonly product_code: string;
2761
+ readonly customer_id: string;
2762
+ }
2763
+
2764
+ interface TrackingEvent {
2765
+ readonly timestamp: string;
2766
+ readonly carrier_status_code: string;
2767
+ readonly location?: string;
2768
+ readonly description?: string;
2769
+ }
2770
+
2771
+ interface TrackingRequest {
2772
+ readonly carrier: string;
2773
+ readonly carrier_tracking_number: string;
2774
+ readonly flow_tracking_number: string;
2775
+ readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
2776
+ }
2777
+
2778
+ interface TrackingResponse {
2779
+ readonly carrier: string;
2780
+ readonly carrier_tracking_number: string;
2781
+ readonly flow_tracking_number: string;
2782
+ readonly tracking_events: io.flow.tracking.internal.v0.models.TrackingEvent[];
2783
+ }
2784
+
2785
+ interface Ups {
2786
+ readonly discriminator: 'ups';
2787
+ readonly username: string;
2788
+ readonly password: string;
2789
+ readonly access_license_number: string;
2790
+ readonly account_number: string;
2791
+ readonly direct_feed_location_code?: string;
2792
+ }
2793
+ }
2794
+
2795
+ declare namespace io.flow.tracking.internal.v0.unions {
2796
+ type CarrierCredentials =
2797
+ | io.flow.tracking.internal.v0.models.SfExpress
2798
+ | io.flow.tracking.internal.v0.models.DhlEcommerce
2799
+ | io.flow.tracking.internal.v0.models.Landmark
2800
+ | io.flow.tracking.internal.v0.models.Dhl
2801
+ | io.flow.tracking.internal.v0.models.FedexCrossborder
2802
+ | io.flow.tracking.internal.v0.models.Ups
2803
+ | io.flow.tracking.internal.v0.models.Fedex;
2804
+ }
2805
+
2653
2806
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2654
2807
  type ReturnStatus = 'open' | 'refunded';
2655
2808
  type ReturnTrackingStatus =
@@ -6715,246 +6868,6 @@ declare namespace io.flow.shopify.external.v0.models {
6715
6868
  }
6716
6869
  }
6717
6870
 
6718
- declare namespace io.flow.harmonization.internal.event.v0.enums {
6719
- type SuggestionAction = 'accept' | 'validate' | 'review';
6720
- }
6721
-
6722
- declare namespace io.flow.harmonization.internal.event.v0.models {
6723
- interface AllItemsExport {
6724
- readonly discriminator: 'all_items_export';
6725
- readonly event_id: string;
6726
- readonly timestamp: string;
6727
- readonly organization: string;
6728
- readonly export_id: string;
6729
- }
6730
-
6731
- interface CustomsDescriptionImport {
6732
- readonly discriminator: 'customs_description_import';
6733
- readonly event_id: string;
6734
- readonly timestamp: string;
6735
- readonly organization: string;
6736
- readonly import_id: string;
6737
- readonly source_url: string;
6738
- readonly filename?: string;
6739
- }
6740
-
6741
- interface CustomsDescriptionTariffsImport {
6742
- readonly discriminator: 'customs_description_tariffs_import';
6743
- readonly event_id: string;
6744
- readonly timestamp: string;
6745
- readonly organization: string;
6746
- readonly import_id: string;
6747
- readonly source_url: string;
6748
- readonly filename?: string;
6749
- }
6750
-
6751
- interface DutiedItemsExport {
6752
- readonly discriminator: 'dutied_items_export';
6753
- readonly event_id: string;
6754
- readonly timestamp: string;
6755
- readonly organization: string;
6756
- readonly export_id: string;
6757
- readonly origin?: string;
6758
- readonly destination: string;
6759
- readonly item_numbers?: string[];
6760
- }
6761
-
6762
- interface HarmonizationCodesImport {
6763
- readonly discriminator: 'harmonization_codes_import';
6764
- readonly event_id: string;
6765
- readonly timestamp: string;
6766
- readonly organization: string;
6767
- readonly import_id: string;
6768
- readonly source_url: string;
6769
- readonly filename?: string;
6770
- }
6771
-
6772
- interface HarmonizationPhraseSuggestionRequestImport {
6773
- readonly discriminator: 'harmonization_phrase_suggestion_request_import';
6774
- readonly event_id: string;
6775
- readonly timestamp: string;
6776
- readonly organization: string;
6777
- readonly import_id: string;
6778
- readonly source_url: string;
6779
- readonly filename?: string;
6780
- }
6781
-
6782
- interface HarmonizeFullyRequestV2 {
6783
- readonly discriminator: 'harmonize_fully_request_v2';
6784
- readonly event_id: string;
6785
- readonly timestamp: string;
6786
- readonly organization: string;
6787
- readonly item_number: string;
6788
- }
6789
-
6790
- interface HarmonizedItemsHs6Export {
6791
- readonly discriminator: 'harmonized_items_hs6_export';
6792
- readonly event_id: string;
6793
- readonly timestamp: string;
6794
- readonly organization: string;
6795
- readonly export_id: string;
6796
- }
6797
-
6798
- interface ItemClassificationCreated {
6799
- readonly discriminator: 'item_classification_created';
6800
- readonly event_id: string;
6801
- readonly timestamp: string;
6802
- readonly organization: string;
6803
- readonly item_number: string;
6804
- readonly model_id: string;
6805
- readonly labels_prediction: io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
6806
- readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
6807
- }
6808
-
6809
- interface LabelsPrediction {
6810
- readonly main_material: string;
6811
- readonly gender: string;
6812
- readonly construction: string;
6813
- readonly product_type: string;
6814
- }
6815
-
6816
- interface LandedCostItem {
6817
- readonly number: string;
6818
- readonly origin: string;
6819
- readonly destination: string;
6820
- }
6821
-
6822
- interface PhraseClassified {
6823
- readonly event_id: string;
6824
- readonly timestamp: string;
6825
- readonly phrase_id: string;
6826
- }
6827
-
6828
- interface PhrasePropagated {
6829
- readonly event_id: string;
6830
- readonly timestamp: string;
6831
- readonly phrase_id: string;
6832
- }
6833
-
6834
- interface RateFreshnessSummaryDeleted {
6835
- readonly discriminator: 'rate_freshness_summary_deleted';
6836
- readonly event_id: string;
6837
- readonly timestamp: string;
6838
- readonly rate_freshness_summary: io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
6839
- }
6840
-
6841
- interface RateFreshnessSummaryUpserted {
6842
- readonly discriminator: 'rate_freshness_summary_upserted';
6843
- readonly event_id: string;
6844
- readonly timestamp: string;
6845
- readonly rate_freshness_summary: io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
6846
- }
6847
-
6848
- interface RateSourceSummaryDeleted {
6849
- readonly discriminator: 'rate_source_summary_deleted';
6850
- readonly event_id: string;
6851
- readonly timestamp: string;
6852
- readonly rate_source_summary: io.flow.harmonization.engine.internal.v0.models.RateSourceSummary;
6853
- }
6854
-
6855
- interface RateSourceSummaryUpserted {
6856
- readonly discriminator: 'rate_source_summary_upserted';
6857
- readonly event_id: string;
6858
- readonly timestamp: string;
6859
- readonly rate_source_summary: io.flow.harmonization.engine.internal.v0.models.RateSourceSummary;
6860
- }
6861
-
6862
- interface RatesChanged {
6863
- readonly event_id: string;
6864
- readonly timestamp: string;
6865
- readonly hs6: string;
6866
- readonly origin: io.flow.reference.v0.models.Country;
6867
- readonly destination: io.flow.reference.v0.models.Country;
6868
- }
6869
-
6870
- interface ResyncByDestinations {
6871
- readonly destinations: io.flow.reference.v0.models.Country[];
6872
- }
6873
-
6874
- interface ResyncByHs6Destinations {
6875
- readonly hs6_code: string;
6876
- readonly destinations: io.flow.reference.v0.models.Country[];
6877
- }
6878
-
6879
- interface ResyncByHs6Origin {
6880
- readonly hs6_code: string;
6881
- readonly origin: io.flow.reference.v0.models.Country;
6882
- }
6883
-
6884
- interface ResyncFallbackRates {
6885
- readonly destinations: io.flow.reference.v0.models.Country[];
6886
- }
6887
-
6888
- interface TariffCodesExport {
6889
- readonly discriminator: 'tariff_codes_export';
6890
- readonly event_id: string;
6891
- readonly timestamp: string;
6892
- readonly organization: string;
6893
- readonly export_id: string;
6894
- }
6895
-
6896
- interface TimeToClassifyAggregatedDeleted {
6897
- readonly discriminator: 'time_to_classify_aggregated_deleted';
6898
- readonly event_id: string;
6899
- readonly timestamp: string;
6900
- readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
6901
- }
6902
-
6903
- interface TimeToClassifyAggregatedUpserted {
6904
- readonly discriminator: 'time_to_classify_aggregated_upserted';
6905
- readonly event_id: string;
6906
- readonly timestamp: string;
6907
- readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
6908
- }
6909
-
6910
- interface TimeToClassifyDeleted {
6911
- readonly discriminator: 'time_to_classify_deleted';
6912
- readonly event_id: string;
6913
- readonly timestamp: string;
6914
- readonly time_to_classify: io.flow.harmonization.engine.internal.v0.models.TimeToClassify;
6915
- }
6916
-
6917
- interface TimeToClassifyUpserted {
6918
- readonly discriminator: 'time_to_classify_upserted';
6919
- readonly event_id: string;
6920
- readonly timestamp: string;
6921
- readonly time_to_classify: io.flow.harmonization.engine.internal.v0.models.TimeToClassify;
6922
- }
6923
-
6924
- interface UnharmonizedItemsExport {
6925
- readonly discriminator: 'unharmonized_items_export';
6926
- readonly event_id: string;
6927
- readonly timestamp: string;
6928
- readonly organization: string;
6929
- readonly export_id: string;
6930
- }
6931
- }
6932
-
6933
- declare namespace io.flow.harmonization.internal.event.v0.unions {
6934
- type CustomsDescriptions =
6935
- | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport
6936
- | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
6937
- type HarmonizationExportRequest =
6938
- | io.flow.harmonization.internal.event.v0.models.AllItemsExport
6939
- | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export
6940
- | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport
6941
- | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
6942
- | io.flow.harmonization.internal.event.v0.models.TariffCodesExport;
6943
- type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
6944
- type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
6945
- type HarmonizationSugestionEvent = io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
6946
- type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequestV2;
6947
- type InternalHarmonizationStatisticEvent =
6948
- | io.flow.harmonization.internal.event.v0.models.TimeToClassifyUpserted
6949
- | io.flow.harmonization.internal.event.v0.models.TimeToClassifyDeleted
6950
- | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedUpserted
6951
- | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedDeleted
6952
- | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryUpserted
6953
- | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryDeleted
6954
- | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryUpserted
6955
- | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryDeleted;
6956
- }
6957
-
6958
6871
  declare namespace io.flow.svb.v0.enums {
6959
6872
  type ClearingType = 'Credit' | 'Debit';
6960
6873
  type NotificationType =
@@ -7087,116 +7000,600 @@ declare namespace io.flow.svb.v0.models {
7087
7000
  readonly data: io.flow.svb.v0.models.NotificationData;
7088
7001
  }
7089
7002
 
7090
- interface UpdateBody {
7091
- readonly data: io.flow.svb.v0.models.UpdateVirtualCard;
7003
+ interface UpdateBody {
7004
+ readonly data: io.flow.svb.v0.models.UpdateVirtualCard;
7005
+ }
7006
+
7007
+ interface UpdateVirtualCard {
7008
+ readonly emails?: string[];
7009
+ readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
7010
+ readonly metadata?: any /*object*/;
7011
+ readonly per_transaction_max?: number;
7012
+ readonly per_transaction_min?: number;
7013
+ readonly total_card_amount?: number;
7014
+ readonly transactions_max?: number;
7015
+ readonly valid_ending_on?: string;
7016
+ readonly valid_starting_on?: string;
7017
+ }
7018
+
7019
+ interface VirtualCard {
7020
+ readonly authorizations: io.flow.svb.v0.models.Authorization[];
7021
+ readonly available_balance?: number;
7022
+ readonly card_number?: string;
7023
+ readonly clearings: io.flow.svb.v0.models.Clearing[];
7024
+ readonly currency: string;
7025
+ readonly cvc?: string;
7026
+ readonly emails?: string[];
7027
+ readonly expiry: string;
7028
+ readonly id: string;
7029
+ readonly last4: string;
7030
+ readonly mastercard_data: io.flow.svb.v0.models.MastercardData;
7031
+ readonly metadata?: any /*object*/;
7032
+ readonly notified: boolean;
7033
+ readonly per_transaction_max: number;
7034
+ readonly per_transaction_min: number;
7035
+ readonly rcn_alias: string;
7036
+ readonly rcn_id: number;
7037
+ readonly status: string;
7038
+ readonly supplier_id: number;
7039
+ readonly total_card_amount: number;
7040
+ readonly transactions_max: number;
7041
+ readonly valid_ending_on: string;
7042
+ readonly valid_starting_on: string;
7043
+ }
7044
+
7045
+ interface VirtualCardResponse {
7046
+ readonly data: io.flow.svb.v0.models.VirtualCard;
7047
+ }
7048
+ }
7049
+
7050
+ declare namespace io.flow.search.v0.models {
7051
+ interface CatalogItemDocument {
7052
+ readonly discriminator: 'catalog_item_document';
7053
+ readonly number: string;
7054
+ readonly name: string;
7055
+ readonly categories: string[];
7056
+ readonly experiences: io.flow.common.v0.models.ExperienceSummary[];
7057
+ readonly attributes: Record<string, string>;
7058
+ readonly images: io.flow.search.v0.models.CatalogItemDocumentImages;
7059
+ }
7060
+
7061
+ interface CatalogItemDocumentImages {
7062
+ readonly thumbnail?: io.flow.catalog.v0.models.Image;
7063
+ }
7064
+
7065
+ interface CatalogPriceBookItemDocument {
7066
+ readonly price_book_key: string;
7067
+ readonly price_book_item_key: string;
7068
+ readonly catalog: io.flow.common.v0.models.CatalogItemSummary;
7069
+ readonly price?: io.flow.common.v0.models.Price;
7070
+ readonly amount: number;
7071
+ readonly starts_at: string;
7072
+ readonly ends_at?: string;
7073
+ }
7074
+
7075
+ interface CategorySummary {
7076
+ readonly name?: string;
7077
+ readonly count: number;
7078
+ }
7079
+
7080
+ interface HarmonizationDocument {
7081
+ readonly discriminator: 'harmonization_document';
7082
+ readonly code: string;
7083
+ readonly categories: io.flow.search.v0.models.CategorySummary[];
7084
+ readonly origin?: string;
7085
+ }
7086
+
7087
+ interface ItemQuerySuggestion {
7088
+ readonly q: string;
7089
+ readonly count?: number;
7090
+ }
7091
+
7092
+ interface PriceBookItemExportOptions {
7093
+ readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
7094
+ }
7095
+
7096
+ interface Suggestion {
7097
+ readonly label: string;
7098
+ readonly count: number;
7099
+ }
7100
+
7101
+ interface Upload {
7102
+ readonly id: string;
7103
+ readonly name: string;
7104
+ readonly url: string;
7105
+ readonly expiration: string;
7106
+ }
7107
+ }
7108
+
7109
+ declare namespace io.flow.search.v0.unions {
7110
+ type Document =
7111
+ | io.flow.search.v0.models.CatalogItemDocument
7112
+ | io.flow.search.v0.models.HarmonizationDocument;
7113
+ }
7114
+
7115
+ declare namespace io.flow.payment.gateway.v0.enums {
7116
+ type PaymentFailureCode =
7117
+ | 'action_expired'
7118
+ | 'action_cancelled'
7119
+ | 'action_failed'
7120
+ | 'authorization_declined'
7121
+ | 'not_supported'
7122
+ | 'fraudulent'
7123
+ | 'error';
7124
+ type PaymentStatus =
7125
+ | 'requires_payment_method'
7126
+ | 'requires_action'
7127
+ | 'processing'
7128
+ | 'cancelled'
7129
+ | 'expired'
7130
+ | 'authorized'
7131
+ | 'reversed'
7132
+ | 'captured'
7133
+ | 'refunded'
7134
+ | 'in_dispute'
7135
+ | 'charged_back';
7136
+ type PaymentType =
7137
+ | 'card'
7138
+ | 'klarna'
7139
+ | 'googlepay'
7140
+ | 'paypal'
7141
+ | 'applepay'
7142
+ | 'ideal'
7143
+ | 'afterpay';
7144
+ type SupportedActionType =
7145
+ | 'redirect'
7146
+ | 'use_sdk_klarna_v1'
7147
+ | 'use_sdk_applepay_js'
7148
+ | 'use_sdk_googlepay'
7149
+ | 'use_sdk_paypal'
7150
+ | 'use_sdk_stripe_v3'
7151
+ | 'use_sdk_adyen_v3'
7152
+ | 'use_sdk_adyen_v4'
7153
+ | 'execute_script'
7154
+ | 'display_inline_window';
7155
+ }
7156
+
7157
+ declare namespace io.flow.payment.gateway.v0.models {
7158
+ interface ActionAddPaymentMethod {
7159
+ readonly type: 'add_payment_method';
7160
+ readonly expires_at?: string;
7161
+ readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
7162
+ }
7163
+
7164
+ interface ActionCapture {
7165
+ readonly type: 'capture';
7166
+ readonly expires_at?: string;
7167
+ readonly amount_awaiting_capture: number;
7168
+ readonly currency: string;
7169
+ }
7170
+
7171
+ interface ActionDisplayInlineWindow {
7172
+ readonly type: 'display_inline_window';
7173
+ readonly expires_at?: string;
7174
+ readonly method: string;
7175
+ readonly url: string;
7176
+ readonly data?: any /*object*/;
7177
+ }
7178
+
7179
+ interface ActionExecuteScript {
7180
+ readonly type: 'execute_script';
7181
+ readonly expires_at?: string;
7182
+ readonly script: string;
7183
+ }
7184
+
7185
+ interface ActionRedirect {
7186
+ readonly type: 'redirect';
7187
+ readonly expires_at?: string;
7188
+ readonly method: string;
7189
+ readonly url: string;
7190
+ readonly data?: any /*object*/;
7191
+ }
7192
+
7193
+ interface ActionUseSdkAdyenV3 {
7194
+ readonly type: 'use_sdk_adyen_v3';
7195
+ readonly expires_at?: string;
7196
+ readonly origin_key: string;
7197
+ readonly authentication_token: io.flow.payment.gateway.v0.unions.SdkAdyenV3AuthenticationToken;
7198
+ }
7199
+
7200
+ interface ActionUseSdkAdyenV4 {
7201
+ readonly type: 'use_sdk_adyen_v4';
7202
+ readonly expires_at?: string;
7203
+ readonly client_key: string;
7204
+ readonly action: any /*object*/;
7205
+ }
7206
+
7207
+ interface ActionUseSdkApplepayJsCompleteValidation {
7208
+ readonly type: 'use_sdk_applepay_js_complete_validation';
7209
+ readonly expires_at?: string;
7210
+ readonly payment_session: any /*object*/;
7211
+ }
7212
+
7213
+ interface ActionUseSdkApplepayJsCreateSession {
7214
+ readonly type: 'use_sdk_applepay_js_create_session';
7215
+ readonly expires_at?: string;
7216
+ readonly merchant_identifier: string;
7217
+ readonly payment_data_request: any /*object*/;
7218
+ }
7219
+
7220
+ interface ActionUseSdkGooglepay {
7221
+ readonly type: 'use_sdk_googlepay';
7222
+ readonly expires_at?: string;
7223
+ readonly payment_data_request: any /*object*/;
7224
+ }
7225
+
7226
+ interface ActionUseSdkKlarnaV1 {
7227
+ readonly type: 'use_sdk_klarna_v1';
7228
+ readonly expires_at?: string;
7229
+ readonly client_token: string;
7230
+ readonly payment_method_categories: string[];
7231
+ }
7232
+
7233
+ interface ActionUseSdkPaypal {
7234
+ readonly type: 'use_sdk_paypal';
7235
+ readonly expires_at?: string;
7236
+ readonly payment_id: string;
7237
+ }
7238
+
7239
+ interface ActionUseSdkStripeV3 {
7240
+ readonly type: 'use_sdk_stripe_v3';
7241
+ readonly expires_at?: string;
7242
+ readonly client_secret: string;
7243
+ readonly publishable_key: string;
7244
+ }
7245
+
7246
+ interface ActionWait {
7247
+ readonly type: 'wait';
7248
+ readonly expires_at?: string;
7249
+ }
7250
+
7251
+ interface AdyenV3ChallengeToken {
7252
+ readonly type: 'token';
7253
+ readonly challenge_token: string;
7254
+ }
7255
+
7256
+ interface AdyenV3FingerprintToken {
7257
+ readonly type: 'fingerprint';
7258
+ readonly fingerprint_token: string;
7259
+ }
7260
+
7261
+ interface AuthorizationActionResultAdyenV3 {
7262
+ readonly type: 'adyen_v3';
7263
+ readonly result: any /*object*/;
7264
+ }
7265
+
7266
+ interface AuthorizationActionResultAdyenV4 {
7267
+ readonly type: 'adyen_v4';
7268
+ readonly result: any /*object*/;
7269
+ }
7270
+
7271
+ interface BrowserDetails {
7272
+ readonly type: 'browser';
7273
+ readonly origin?: string;
7274
+ readonly language?: string;
7275
+ readonly java_enabled?: boolean;
7276
+ readonly color_depth?: number;
7277
+ readonly screen_height?: number;
7278
+ readonly screen_width?: number;
7279
+ readonly time_zone_offset?: number;
7280
+ readonly user_agent?: string;
7281
+ readonly accept?: string;
7282
+ }
7283
+
7284
+ interface OrderDetails {
7285
+ readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
7286
+ }
7287
+
7288
+ interface OrderInformationDetails {
7289
+ readonly type: 'details';
7290
+ readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
7291
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7292
+ readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7293
+ }
7294
+
7295
+ interface OrderInformationFlow {
7296
+ readonly type: 'flow';
7297
+ readonly order_number: string;
7298
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
7299
+ }
7300
+
7301
+ interface PaymentAddress {
7302
+ readonly contact: io.flow.common.v0.models.Contact;
7303
+ readonly location: io.flow.common.v0.models.Address;
7304
+ }
7305
+
7306
+ interface PaymentAuthorization {
7307
+ readonly id: string;
7308
+ readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
7309
+ readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
7310
+ readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
7311
+ readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
7312
+ readonly created_at: string;
7313
+ readonly updated_at: string;
7314
+ readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
7315
+ readonly amount: number;
7316
+ readonly currency: string;
7317
+ }
7318
+
7319
+ interface PaymentAuthorizationStatus {
7320
+ readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
7321
+ readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
7322
+ }
7323
+
7324
+ interface PaymentCapture {
7325
+ readonly id: string;
7326
+ readonly amount: number;
7327
+ readonly currency: string;
7328
+ readonly created_at: string;
7329
+ readonly updated_at: string;
7330
+ readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
7331
+ }
7332
+
7333
+ interface PaymentCaptureForm {
7334
+ readonly amount?: number;
7335
+ readonly currency?: string;
7336
+ }
7337
+
7338
+ interface PaymentCaptureStatus {
7339
+ readonly status: io.flow.payment.v0.enums.CaptureStatus;
7340
+ readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
7341
+ }
7342
+
7343
+ interface PaymentFailure {
7344
+ readonly authorization_id?: string;
7345
+ readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
7346
+ readonly failure_message: string;
7347
+ }
7348
+
7349
+ interface PaymentMethodBrand {
7350
+ readonly id: string;
7351
+ readonly name: string;
7352
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
7353
+ }
7354
+
7355
+ interface PaymentMethodCardToken {
7356
+ readonly type: 'token';
7357
+ readonly token: string;
7358
+ }
7359
+
7360
+ interface PaymentMethodDataAuthorizeApplepay {
7361
+ readonly type: 'authorize_applepay';
7362
+ readonly token: string;
7363
+ }
7364
+
7365
+ interface PaymentMethodDataAuthorizeCard {
7366
+ readonly type: 'authorize_card';
7367
+ readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
7368
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7369
+ readonly cvv?: string;
7370
+ }
7371
+
7372
+ interface PaymentMethodDataAuthorizeGooglepay {
7373
+ readonly type: 'authorize_googlepay';
7374
+ readonly payment_data: any /*object*/;
7375
+ }
7376
+
7377
+ interface PaymentMethodDataAuthorizePaypal {
7378
+ readonly type: 'authorize_paypal';
7379
+ readonly payment_id: string;
7380
+ readonly payer_id: string;
7381
+ }
7382
+
7383
+ interface PaymentMethodDataCompleteAuthorizationCard {
7384
+ readonly type: 'complete_authorization_card';
7385
+ readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
7386
+ }
7387
+
7388
+ interface PaymentMethodDataInitAfterpay {
7389
+ readonly type: 'init_afterpay';
7390
+ readonly placeholder?: string;
7391
+ }
7392
+
7393
+ interface PaymentMethodDataInitApplepay {
7394
+ readonly type: 'init_applepay';
7395
+ readonly placeholder?: string;
7396
+ }
7397
+
7398
+ interface PaymentMethodDataInitGooglepay {
7399
+ readonly type: 'init_googlepay';
7400
+ readonly placeholder?: string;
7401
+ }
7402
+
7403
+ interface PaymentMethodDataInitIdeal {
7404
+ readonly type: 'init_ideal';
7405
+ readonly issuer?: string;
7406
+ }
7407
+
7408
+ interface PaymentMethodDataInitKlarna {
7409
+ readonly type: 'init_klarna';
7410
+ readonly placeholder?: string;
7411
+ }
7412
+
7413
+ interface PaymentMethodDataInitPaypal {
7414
+ readonly type: 'init_paypal';
7415
+ readonly placeholder?: string;
7416
+ }
7417
+
7418
+ interface PaymentMethodDataValidateApplepay {
7419
+ readonly type: 'validate_applepay';
7420
+ readonly validation_url: string;
7421
+ }
7422
+
7423
+ interface PaymentMethodSummaryAfterpay {
7424
+ readonly type: 'afterpay';
7425
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7426
+ }
7427
+
7428
+ interface PaymentMethodSummaryApplepay {
7429
+ readonly type: 'applepay';
7430
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7431
+ }
7432
+
7433
+ interface PaymentMethodSummaryCard {
7434
+ readonly type: 'card';
7435
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7436
+ readonly last_four: string;
7437
+ readonly card_type: io.flow.payment.v0.enums.CardType;
7438
+ }
7439
+
7440
+ interface PaymentMethodSummaryGooglepay {
7441
+ readonly type: 'googlepay';
7442
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7443
+ }
7444
+
7445
+ interface PaymentMethodSummaryIdeal {
7446
+ readonly type: 'ideal';
7447
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7448
+ readonly issuer: string;
7092
7449
  }
7093
7450
 
7094
- interface UpdateVirtualCard {
7095
- readonly emails?: string[];
7096
- readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
7097
- readonly metadata?: any /*object*/;
7098
- readonly per_transaction_max?: number;
7099
- readonly per_transaction_min?: number;
7100
- readonly total_card_amount?: number;
7101
- readonly transactions_max?: number;
7102
- readonly valid_ending_on?: string;
7103
- readonly valid_starting_on?: string;
7451
+ interface PaymentMethodSummaryKlarna {
7452
+ readonly type: 'klarna';
7453
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7104
7454
  }
7105
7455
 
7106
- interface VirtualCard {
7107
- readonly authorizations: io.flow.svb.v0.models.Authorization[];
7108
- readonly available_balance?: number;
7109
- readonly card_number?: string;
7110
- readonly clearings: io.flow.svb.v0.models.Clearing[];
7111
- readonly currency: string;
7112
- readonly cvc?: string;
7113
- readonly emails?: string[];
7114
- readonly expiry: string;
7115
- readonly id: string;
7116
- readonly last4: string;
7117
- readonly mastercard_data: io.flow.svb.v0.models.MastercardData;
7118
- readonly metadata?: any /*object*/;
7119
- readonly notified: boolean;
7120
- readonly per_transaction_max: number;
7121
- readonly per_transaction_min: number;
7122
- readonly rcn_alias: string;
7123
- readonly rcn_id: number;
7124
- readonly status: string;
7125
- readonly supplier_id: number;
7126
- readonly total_card_amount: number;
7127
- readonly transactions_max: number;
7128
- readonly valid_ending_on: string;
7129
- readonly valid_starting_on: string;
7456
+ interface PaymentMethodSummaryPaypal {
7457
+ readonly type: 'paypal';
7458
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7130
7459
  }
7131
7460
 
7132
- interface VirtualCardResponse {
7133
- readonly data: io.flow.svb.v0.models.VirtualCard;
7461
+ interface PaymentOrderDetailsLineItem {
7462
+ readonly description: string;
7463
+ readonly quantity: number;
7464
+ readonly amount_excluding_tax_and_duty: number;
7465
+ readonly tax_amount?: number;
7466
+ readonly duty_amount?: number;
7467
+ readonly product_url?: string;
7468
+ readonly image_url?: string;
7134
7469
  }
7135
- }
7136
7470
 
7137
- declare namespace io.flow.search.v0.models {
7138
- interface CatalogItemDocument {
7139
- readonly discriminator: 'catalog_item_document';
7140
- readonly number: string;
7471
+ interface PaymentPaymentMethod {
7472
+ readonly id: string;
7141
7473
  readonly name: string;
7142
- readonly categories: string[];
7143
- readonly experiences: io.flow.common.v0.models.ExperienceSummary[];
7144
- readonly attributes: Record<string, string>;
7145
- readonly images: io.flow.search.v0.models.CatalogItemDocumentImages;
7474
+ readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
7475
+ readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
7476
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7477
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
7478
+ readonly possible_actions: io.flow.payment.gateway.v0.enums.SupportedActionType[];
7146
7479
  }
7147
7480
 
7148
- interface CatalogItemDocumentImages {
7149
- readonly thumbnail?: io.flow.catalog.v0.models.Image;
7481
+ interface PaymentRefund {
7482
+ readonly id: string;
7483
+ readonly amount: number;
7484
+ readonly currency: string;
7485
+ readonly created_at: string;
7486
+ readonly updated_at: string;
7487
+ readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
7150
7488
  }
7151
7489
 
7152
- interface CatalogPriceBookItemDocument {
7153
- readonly price_book_key: string;
7154
- readonly price_book_item_key: string;
7155
- readonly catalog: io.flow.common.v0.models.CatalogItemSummary;
7156
- readonly price?: io.flow.common.v0.models.Price;
7157
- readonly amount: number;
7158
- readonly starts_at: string;
7159
- readonly ends_at?: string;
7490
+ interface PaymentRefundForm {
7491
+ readonly amount?: number;
7492
+ readonly currency?: string;
7160
7493
  }
7161
7494
 
7162
- interface CategorySummary {
7163
- readonly name?: string;
7164
- readonly count: number;
7495
+ interface PaymentRefundStatus {
7496
+ readonly status: io.flow.payment.v0.enums.RefundStatus;
7497
+ readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
7165
7498
  }
7166
7499
 
7167
- interface HarmonizationDocument {
7168
- readonly discriminator: 'harmonization_document';
7169
- readonly code: string;
7170
- readonly categories: io.flow.search.v0.models.CategorySummary[];
7171
- readonly origin?: string;
7500
+ interface PaymentRequest {
7501
+ readonly id: string;
7502
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
7503
+ readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
7504
+ readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
7505
+ readonly amount: number;
7506
+ readonly amount_refundable?: number;
7507
+ readonly currency: string;
7508
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7509
+ readonly ip?: string;
7510
+ readonly return_url: string;
7511
+ readonly attributes?: Record<string, string>;
7512
+ readonly reference?: string;
7513
+ readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
7514
+ readonly supported_actions: io.flow.payment.gateway.v0.enums.SupportedActionType[];
7172
7515
  }
7173
7516
 
7174
- interface ItemQuerySuggestion {
7175
- readonly q: string;
7176
- readonly count?: number;
7517
+ interface PaymentRequestForm {
7518
+ readonly amount: number;
7519
+ readonly currency: string;
7520
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7521
+ readonly ip?: string;
7522
+ readonly return_url: string;
7523
+ readonly attributes?: Record<string, string>;
7524
+ readonly reference?: string;
7525
+ readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
7526
+ readonly supported_actions?: io.flow.payment.gateway.v0.enums.SupportedActionType[];
7177
7527
  }
7178
7528
 
7179
- interface PriceBookItemExportOptions {
7180
- readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
7529
+ interface PaymentReversal {
7530
+ readonly id: string;
7531
+ readonly amount: number;
7532
+ readonly currency: string;
7533
+ readonly created_at: string;
7534
+ readonly updated_at: string;
7535
+ readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
7181
7536
  }
7182
7537
 
7183
- interface Suggestion {
7184
- readonly label: string;
7185
- readonly count: number;
7538
+ interface PaymentReversalForm {
7539
+ readonly amount?: number;
7540
+ readonly currency?: string;
7186
7541
  }
7187
7542
 
7188
- interface Upload {
7189
- readonly id: string;
7190
- readonly name: string;
7191
- readonly url: string;
7192
- readonly expiration: string;
7543
+ interface PaymentReversalStatus {
7544
+ readonly status: io.flow.payment.v0.enums.ReversalStatus;
7545
+ readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
7193
7546
  }
7194
7547
  }
7195
7548
 
7196
- declare namespace io.flow.search.v0.unions {
7197
- type Document =
7198
- | io.flow.search.v0.models.CatalogItemDocument
7199
- | io.flow.search.v0.models.HarmonizationDocument;
7549
+ declare namespace io.flow.payment.gateway.v0.unions {
7550
+ type Action =
7551
+ | io.flow.payment.gateway.v0.models.ActionRedirect
7552
+ | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1
7553
+ | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession
7554
+ | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation
7555
+ | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay
7556
+ | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal
7557
+ | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3
7558
+ | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
7559
+ | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
7560
+ | io.flow.payment.gateway.v0.models.ActionExecuteScript
7561
+ | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
7562
+ | io.flow.payment.gateway.v0.models.ActionCapture
7563
+ | io.flow.payment.gateway.v0.models.ActionAddPaymentMethod
7564
+ | io.flow.payment.gateway.v0.models.ActionWait;
7565
+ type CardAuthorizationActionResult =
7566
+ | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3
7567
+ | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
7568
+ type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
7569
+ type OrderInformation =
7570
+ | io.flow.payment.gateway.v0.models.OrderInformationFlow
7571
+ | io.flow.payment.gateway.v0.models.OrderInformationDetails;
7572
+ type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
7573
+ type PaymentMethodData =
7574
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna
7575
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay
7576
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay
7577
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay
7578
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal
7579
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal
7580
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
7581
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
7582
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
7583
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
7584
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
7585
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
7586
+ type PaymentMethodSummary =
7587
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
7588
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
7589
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay
7590
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay
7591
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay
7592
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
7593
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
7594
+ type SdkAdyenV3AuthenticationToken =
7595
+ | io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
7596
+ | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
7200
7597
  }
7201
7598
 
7202
7599
  declare namespace io.flow.duty.internal.v0.enums {
@@ -7674,6 +8071,11 @@ declare namespace io.flow.payment.internal.v0.models {
7674
8071
  readonly fiserv_authentication_data: io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
7675
8072
  }
7676
8073
 
8074
+ interface InternalPaymentRequest {
8075
+ readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest;
8076
+ readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
8077
+ }
8078
+
7677
8079
  interface InternalPaypalAuthorizationDetails {
7678
8080
  readonly discriminator: 'internal_paypal_authorization_details';
7679
8081
  readonly paypal_authentication_data: io.flow.payment.internal.v0.models.PaypalAuthenticationDataReference;
@@ -8979,6 +9381,20 @@ declare namespace io.flow.ratecard.v0.models {
8979
9381
  readonly amount?: number;
8980
9382
  }
8981
9383
 
9384
+ interface PeakSurchargeRatecardFee {
9385
+ readonly discriminator: 'peak_surcharge_ratecard_fee';
9386
+ readonly amount: io.flow.common.v0.models.Money;
9387
+ readonly starts_at?: string;
9388
+ readonly ends_at?: string;
9389
+ }
9390
+
9391
+ interface PeakSurchargeServiceFee {
9392
+ readonly discriminator: 'peak_surcharge_service_fee';
9393
+ readonly amount: io.flow.common.v0.models.Money;
9394
+ readonly starts_at?: string;
9395
+ readonly ends_at?: string;
9396
+ }
9397
+
8982
9398
  interface Ratecard {
8983
9399
  readonly id: string;
8984
9400
  readonly number: string;
@@ -9205,11 +9621,13 @@ declare namespace io.flow.ratecard.v0.unions {
9205
9621
  | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
9206
9622
  | io.flow.ratecard.v0.models.CrossdockRatecardFee
9207
9623
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
9208
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee;
9624
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
9625
+ | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
9209
9626
  type ServiceFee =
9210
9627
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
9211
9628
  | io.flow.ratecard.v0.models.RemoteAreaServiceFee
9212
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee;
9629
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
9630
+ | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
9213
9631
  }
9214
9632
 
9215
9633
  declare namespace io.flow.magento.v0.models {
@@ -11026,7 +11444,8 @@ declare namespace io.flow.catalog.v0.enums {
11026
11444
  | 'searchable'
11027
11445
  | 'barcode'
11028
11446
  | 'min_days_to_ship'
11029
- | 'max_days_to_ship';
11447
+ | 'max_days_to_ship'
11448
+ | 'commercial_invoice_item_number';
11030
11449
  type FulfillmentMethodType = 'fulfillment_method';
11031
11450
  type FulfillmentMethodValue = 'digital' | 'physical';
11032
11451
  type ImageTag = 'thumbnail' | 'checkout';
@@ -12282,6 +12701,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
12282
12701
  }
12283
12702
 
12284
12703
  interface ItemHarmonization {
12704
+ readonly id?: string;
12285
12705
  readonly organization_id: string;
12286
12706
  readonly item_number: string;
12287
12707
  readonly phrase_id?: string;
@@ -13164,6 +13584,7 @@ declare namespace io.flow.fulfillment.v0.enums {
13164
13584
  | 'ratecard_oversized_shipment_fee'
13165
13585
  | 'ratecard_rural_shipment_fee'
13166
13586
  | 'ratecard_emergency_situation_surcharge_fee'
13587
+ | 'ratecard_peak_surcharge_fee'
13167
13588
  | 'center_commercial_invoice_fee'
13168
13589
  | 'center_inbound_carton_fee'
13169
13590
  | 'center_outbound_carton_fee';
@@ -15427,6 +15848,94 @@ declare namespace io.flow.checkout.protocol.v0.unions {
15427
15848
  | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseSuccess;
15428
15849
  }
15429
15850
 
15851
+ declare namespace io.flow.apple.pay.v0.enums {
15852
+ type ApplePayContactField =
15853
+ | 'email'
15854
+ | 'name'
15855
+ | 'phone'
15856
+ | 'postal_address'
15857
+ | 'phonetic_name';
15858
+ type ApplePayLineItemType = 'final' | 'pending';
15859
+ type ApplePayMerchantCapability =
15860
+ | 'supports3DS'
15861
+ | 'supportsCredit'
15862
+ | 'supportsDebit'
15863
+ | 'supportsEMV';
15864
+ type ApplePayShippingType =
15865
+ | 'shipping'
15866
+ | 'delivery'
15867
+ | 'store_pickup'
15868
+ | 'service_pickup';
15869
+ type ApplePaySupportedNetworks =
15870
+ | 'amex'
15871
+ | 'chinaUnionPay'
15872
+ | 'discover'
15873
+ | 'jcb'
15874
+ | 'masterCard'
15875
+ | 'privateLabel'
15876
+ | 'visa';
15877
+ }
15878
+
15879
+ declare namespace io.flow.apple.pay.v0.models {
15880
+ interface ApplePayLineItem {
15881
+ readonly label: string;
15882
+ readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
15883
+ readonly amount: number;
15884
+ }
15885
+
15886
+ interface ApplePayPaymentContact {
15887
+ readonly email_address?: string;
15888
+ readonly family_name?: string;
15889
+ readonly given_name?: string;
15890
+ readonly phone_number?: string;
15891
+ readonly phonetic_familyName?: string;
15892
+ readonly phonetic_givenName?: string;
15893
+ readonly address_lines?: string[];
15894
+ readonly locality?: string;
15895
+ readonly sub_locality?: string;
15896
+ readonly administrative_area?: string;
15897
+ readonly sub_administrative_area?: string;
15898
+ readonly postal_code?: string;
15899
+ readonly country?: string;
15900
+ readonly country_code?: string;
15901
+ }
15902
+
15903
+ interface ApplePayPaymentData {
15904
+ readonly applicationPrimaryAccountNumber: string;
15905
+ readonly applicationExpirationDate: string;
15906
+ readonly currencyCode: string;
15907
+ readonly transactionAmount: number;
15908
+ readonly cardholderName?: string;
15909
+ readonly deviceManufacturerIdentifier: string;
15910
+ readonly paymentDataType: string;
15911
+ readonly paymentData: any /*object*/;
15912
+ }
15913
+
15914
+ interface ApplePayPaymentInfo {
15915
+ readonly total: io.flow.apple.pay.v0.models.ApplePayLineItem;
15916
+ readonly line_items?: io.flow.apple.pay.v0.models.ApplePayLineItem[];
15917
+ readonly country_code: string;
15918
+ readonly currency_code: string;
15919
+ readonly merchant_capabilities: io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
15920
+ readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
15921
+ readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
15922
+ readonly supported_countries?: string[];
15923
+ readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
15924
+ readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
15925
+ readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
15926
+ readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
15927
+ readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
15928
+ readonly application_data?: string;
15929
+ }
15930
+
15931
+ interface ApplePayShippingMethod {
15932
+ readonly label: string;
15933
+ readonly detail: string;
15934
+ readonly amount: number;
15935
+ readonly identifier: string;
15936
+ }
15937
+ }
15938
+
15430
15939
  declare namespace io.flow.merchant.of.record.v0.enums {
15431
15940
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
15432
15941
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
@@ -17177,6 +17686,48 @@ declare namespace io.flow.payment.v0.unions {
17177
17686
  type ThreedsIdentifyAction = io.flow.payment.v0.models.ThreedsTwoMethod;
17178
17687
  }
17179
17688
 
17689
+ declare namespace io.flow.item.classification.api.v0.enums {
17690
+ type SuggestionAction = 'accept' | 'validate' | 'review';
17691
+ }
17692
+
17693
+ declare namespace io.flow.item.classification.api.v0.models {
17694
+ interface ItemClassification {
17695
+ readonly id?: string;
17696
+ readonly organization: string;
17697
+ readonly uid: string;
17698
+ readonly action: io.flow.item.classification.api.v0.enums.SuggestionAction;
17699
+ readonly main_material: Record<string, number>;
17700
+ readonly gender: Record<string, number>;
17701
+ readonly construction: Record<string, number>;
17702
+ readonly item: Record<string, number>;
17703
+ readonly model_id: string;
17704
+ }
17705
+
17706
+ interface ItemClassificationForm {
17707
+ readonly organization: string;
17708
+ readonly uid: string;
17709
+ readonly name: string;
17710
+ readonly description: string;
17711
+ readonly categories: string[];
17712
+ readonly attributes?: Record<string, string>;
17713
+ }
17714
+
17715
+ interface ItemClassificationV2 {
17716
+ readonly uid: string;
17717
+ readonly prediction: io.flow.item.classification.api.v0.models.Prediction;
17718
+ readonly score: number;
17719
+ readonly action: io.flow.item.classification.api.v0.enums.SuggestionAction;
17720
+ readonly model_id: string;
17721
+ }
17722
+
17723
+ interface Prediction {
17724
+ readonly main_material: string;
17725
+ readonly gender: string;
17726
+ readonly construction: string;
17727
+ readonly item: string;
17728
+ }
17729
+ }
17730
+
17180
17731
  declare namespace io.flow.checkout.backend.v0.enums {
17181
17732
  type CheckoutAddressType = 'shipping' | 'invoicing';
17182
17733
  type CheckoutLineErrorCode =
@@ -18957,6 +19508,10 @@ declare namespace io.flow.internal.v0.enums {
18957
19508
  | 'rate_source_summary_deleted'
18958
19509
  | 'rate_freshness_summary_upserted'
18959
19510
  | 'rate_freshness_summary_deleted'
19511
+ | 'item_harmonization_upserted'
19512
+ | 'item_harmonization_deleted'
19513
+ | 'item_classification_upserted'
19514
+ | 'item_classification_deleted'
18960
19515
  | 'issuer_upserted'
18961
19516
  | 'issuer_deleted'
18962
19517
  | 'item_form_import_request'
@@ -18997,9 +19552,7 @@ declare namespace io.flow.internal.v0.enums {
18997
19552
  | 'paypal_execution_upserted'
18998
19553
  | 'paypal_refund_deleted'
18999
19554
  | 'paypal_refund_upserted'
19000
- | 'consumed_localized_item'
19001
- | 'upserted_catalog_item'
19002
- | 'published_localized_item'
19555
+ | 'pricing_indicator'
19003
19556
  | 'order_rates_published_v3'
19004
19557
  | 'ratecard_dimension_estimate_upserted'
19005
19558
  | 'ratecard_dimension_estimate_deleted'
@@ -22424,17 +22977,6 @@ declare namespace io.flow.internal.v0.models {
22424
22977
  readonly insurance: io.flow.common.v0.models.Price;
22425
22978
  }
22426
22979
 
22427
- interface ConsumedLocalizedItem {
22428
- readonly discriminator: 'consumed_localized_item';
22429
- readonly event_id: string;
22430
- readonly timestamp: string;
22431
- readonly organization: string;
22432
- readonly published_from: io.flow.internal.v0.enums.ServiceName;
22433
- readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
22434
- readonly idempotency_key: string;
22435
- readonly details: io.flow.internal.v0.models.Details;
22436
- }
22437
-
22438
22980
  interface ConsumerOptinActivity {
22439
22981
  readonly optin_attribute_key: string;
22440
22982
  readonly optin_region: string;
@@ -24641,6 +25183,11 @@ declare namespace io.flow.internal.v0.models {
24641
25183
  readonly discount?: io.flow.common.v0.models.Money;
24642
25184
  }
24643
25185
 
25186
+ interface InternalPaymentRequest {
25187
+ readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest;
25188
+ readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
25189
+ }
25190
+
24644
25191
  interface InternalPaypalAuthorizationDetails {
24645
25192
  readonly discriminator: 'internal_paypal_authorization_details';
24646
25193
  readonly paypal_authentication_data: io.flow.internal.v0.models.PaypalAuthenticationDataReference;
@@ -24736,9 +25283,10 @@ declare namespace io.flow.internal.v0.models {
24736
25283
  }
24737
25284
 
24738
25285
  interface ItemClassification {
25286
+ readonly id?: string;
24739
25287
  readonly organization: string;
24740
25288
  readonly uid: string;
24741
- readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
25289
+ readonly action: io.flow.internal.v0.enums.SuggestionAction;
24742
25290
  readonly main_material: Record<string, number>;
24743
25291
  readonly gender: Record<string, number>;
24744
25292
  readonly construction: Record<string, number>;
@@ -24754,7 +25302,14 @@ declare namespace io.flow.internal.v0.models {
24754
25302
  readonly item_number: string;
24755
25303
  readonly model_id: string;
24756
25304
  readonly labels_prediction: io.flow.internal.v0.models.LabelsPrediction;
24757
- readonly action: io.flow.internal.v0.enums.SuggestionAction;
25305
+ readonly action: io.flow.item.classification.api.v0.enums.SuggestionAction;
25306
+ }
25307
+
25308
+ interface ItemClassificationDeleted {
25309
+ readonly discriminator: 'item_classification_deleted';
25310
+ readonly event_id: string;
25311
+ readonly timestamp: string;
25312
+ readonly item_classification: io.flow.item.classification.api.v0.models.ItemClassification;
24758
25313
  }
24759
25314
 
24760
25315
  interface ItemClassificationForm {
@@ -24774,11 +25329,18 @@ declare namespace io.flow.internal.v0.models {
24774
25329
  readonly customs_description?: string;
24775
25330
  }
24776
25331
 
25332
+ interface ItemClassificationUpserted {
25333
+ readonly discriminator: 'item_classification_upserted';
25334
+ readonly event_id: string;
25335
+ readonly timestamp: string;
25336
+ readonly item_classification: io.flow.item.classification.api.v0.models.ItemClassification;
25337
+ }
25338
+
24777
25339
  interface ItemClassificationV2 {
24778
25340
  readonly uid: string;
24779
25341
  readonly prediction: io.flow.internal.v0.models.Prediction;
24780
25342
  readonly score: number;
24781
- readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
25343
+ readonly action: io.flow.internal.v0.enums.SuggestionAction;
24782
25344
  readonly model_id: string;
24783
25345
  }
24784
25346
 
@@ -24843,6 +25405,7 @@ declare namespace io.flow.internal.v0.models {
24843
25405
  }
24844
25406
 
24845
25407
  interface ItemHarmonization {
25408
+ readonly id?: string;
24846
25409
  readonly organization_id: string;
24847
25410
  readonly item_number: string;
24848
25411
  readonly phrase_id?: string;
@@ -24856,6 +25419,20 @@ declare namespace io.flow.internal.v0.models {
24856
25419
  >;
24857
25420
  }
24858
25421
 
25422
+ interface ItemHarmonizationDeleted {
25423
+ readonly discriminator: 'item_harmonization_deleted';
25424
+ readonly event_id: string;
25425
+ readonly timestamp: string;
25426
+ readonly item_harmonization: io.flow.harmonization.internal.v0.models.ItemHarmonization;
25427
+ }
25428
+
25429
+ interface ItemHarmonizationUpserted {
25430
+ readonly discriminator: 'item_harmonization_upserted';
25431
+ readonly event_id: string;
25432
+ readonly timestamp: string;
25433
+ readonly item_harmonization: io.flow.harmonization.internal.v0.models.ItemHarmonization;
25434
+ }
25435
+
24859
25436
  interface ItemQueryResponse {
24860
25437
  readonly q: string;
24861
25438
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -26382,6 +26959,17 @@ declare namespace io.flow.internal.v0.models {
26382
26959
  readonly quote_request: io.flow.internal.v0.models.QuoteRequest;
26383
26960
  }
26384
26961
 
26962
+ interface PricingIndicator {
26963
+ readonly discriminator: 'pricing_indicator';
26964
+ readonly event_id: string;
26965
+ readonly timestamp: string;
26966
+ readonly organization: string;
26967
+ readonly published_from: io.flow.internal.v0.enums.ServiceName;
26968
+ readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
26969
+ readonly event_identifier: string;
26970
+ readonly details: io.flow.internal.v0.models.Details;
26971
+ }
26972
+
26385
26973
  interface PrioritizedCenterReference {
26386
26974
  readonly center_key: string;
26387
26975
  readonly position: number;
@@ -26509,17 +27097,6 @@ declare namespace io.flow.internal.v0.models {
26509
27097
  readonly construction?: io.flow.internal.v0.models.AttributeLabel;
26510
27098
  }
26511
27099
 
26512
- interface PublishedLocalizedItem {
26513
- readonly discriminator: 'published_localized_item';
26514
- readonly event_id: string;
26515
- readonly timestamp: string;
26516
- readonly organization: string;
26517
- readonly published_from: io.flow.internal.v0.enums.ServiceName;
26518
- readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
26519
- readonly idempotency_key: string;
26520
- readonly details: io.flow.internal.v0.models.Details;
26521
- }
26522
-
26523
27100
  interface QuoteRequest {
26524
27101
  readonly id: string;
26525
27102
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -28087,17 +28664,6 @@ declare namespace io.flow.internal.v0.models {
28087
28664
  readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
28088
28665
  }
28089
28666
 
28090
- interface UpsertedCatalogItem {
28091
- readonly discriminator: 'upserted_catalog_item';
28092
- readonly event_id: string;
28093
- readonly timestamp: string;
28094
- readonly organization: string;
28095
- readonly published_from: io.flow.internal.v0.enums.ServiceName;
28096
- readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
28097
- readonly idempotency_key: string;
28098
- readonly details: io.flow.internal.v0.models.Details;
28099
- }
28100
-
28101
28667
  interface UserDeletedV2 {
28102
28668
  readonly discriminator: 'user_deleted_v2';
28103
28669
  readonly event_id: string;
@@ -28653,6 +29219,10 @@ declare namespace io.flow.internal.v0.unions {
28653
29219
  | io.flow.internal.v0.models.RateSourceSummaryDeleted
28654
29220
  | io.flow.internal.v0.models.RateFreshnessSummaryUpserted
28655
29221
  | io.flow.internal.v0.models.RateFreshnessSummaryDeleted
29222
+ | io.flow.internal.v0.models.ItemHarmonizationUpserted
29223
+ | io.flow.internal.v0.models.ItemHarmonizationDeleted
29224
+ | io.flow.internal.v0.models.ItemClassificationUpserted
29225
+ | io.flow.internal.v0.models.ItemClassificationDeleted
28656
29226
  | io.flow.internal.v0.models.IssuerUpserted
28657
29227
  | io.flow.internal.v0.models.IssuerDeleted
28658
29228
  | io.flow.internal.v0.models.ItemFormImportRequest
@@ -28693,9 +29263,7 @@ declare namespace io.flow.internal.v0.unions {
28693
29263
  | io.flow.internal.v0.models.PaypalExecutionUpserted
28694
29264
  | io.flow.internal.v0.models.PaypalRefundDeleted
28695
29265
  | io.flow.internal.v0.models.PaypalRefundUpserted
28696
- | io.flow.internal.v0.models.ConsumedLocalizedItem
28697
- | io.flow.internal.v0.models.UpsertedCatalogItem
28698
- | io.flow.internal.v0.models.PublishedLocalizedItem
29266
+ | io.flow.internal.v0.models.PricingIndicator
28699
29267
  | io.flow.internal.v0.models.OrderRatesPublishedV3
28700
29268
  | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted
28701
29269
  | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted
@@ -29630,7 +30198,6 @@ export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
29630
30198
  export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
29631
30199
  export type ComplianceType = io.flow.internal.v0.enums.ComplianceType;
29632
30200
  export type Components = io.flow.internal.v0.models.Components;
29633
- export type ConsumedLocalizedItem = io.flow.internal.v0.models.ConsumedLocalizedItem;
29634
30201
  export type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
29635
30202
  export type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
29636
30203
  export type ContentItem = io.flow.internal.v0.unions.ContentItem;
@@ -29946,6 +30513,7 @@ export type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.Inte
29946
30513
  export type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
29947
30514
  export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
29948
30515
  export type InternalOrder = io.flow.internal.v0.models.InternalOrder;
30516
+ export type InternalPaymentRequest = io.flow.internal.v0.models.InternalPaymentRequest;
29949
30517
  export type InternalPaypalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails;
29950
30518
  export type InternalRedirectAuthorizationDetails = io.flow.internal.v0.models.InternalRedirectAuthorizationDetails;
29951
30519
  export type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
@@ -29965,9 +30533,11 @@ export type IssuerUpserted = io.flow.internal.v0.models.IssuerUpserted;
29965
30533
  export type ItemClassification = io.flow.internal.v0.models.ItemClassification;
29966
30534
  export type ItemClassificationAction = io.flow.internal.v0.enums.ItemClassificationAction;
29967
30535
  export type ItemClassificationCreated = io.flow.internal.v0.models.ItemClassificationCreated;
30536
+ export type ItemClassificationDeleted = io.flow.internal.v0.models.ItemClassificationDeleted;
29968
30537
  export type ItemClassificationForm = io.flow.internal.v0.models.ItemClassificationForm;
29969
30538
  export type ItemClassificationStatus = io.flow.internal.v0.enums.ItemClassificationStatus;
29970
30539
  export type ItemClassificationSummary = io.flow.internal.v0.models.ItemClassificationSummary;
30540
+ export type ItemClassificationUpserted = io.flow.internal.v0.models.ItemClassificationUpserted;
29971
30541
  export type ItemClassificationV2 = io.flow.internal.v0.models.ItemClassificationV2;
29972
30542
  export type ItemCustomsDetails = io.flow.internal.v0.models.ItemCustomsDetails;
29973
30543
  export type ItemDimensionEstimate = io.flow.internal.v0.models.ItemDimensionEstimate;
@@ -29978,7 +30548,9 @@ export type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValue
29978
30548
  export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
29979
30549
  export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
29980
30550
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
30551
+ export type ItemHarmonizationDeleted = io.flow.internal.v0.models.ItemHarmonizationDeleted;
29981
30552
  export type ItemHarmonizationStatus = io.flow.internal.v0.enums.ItemHarmonizationStatus;
30553
+ export type ItemHarmonizationUpserted = io.flow.internal.v0.models.ItemHarmonizationUpserted;
29982
30554
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
29983
30555
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
29984
30556
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
@@ -30226,6 +30798,7 @@ export type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
30226
30798
  export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
30227
30799
  export type PregeneratedRequestEvent = io.flow.internal.v0.models.PregeneratedRequestEvent;
30228
30800
  export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
30801
+ export type PricingIndicator = io.flow.internal.v0.models.PricingIndicator;
30229
30802
  export type PricingIndicatorStatus = io.flow.internal.v0.enums.PricingIndicatorStatus;
30230
30803
  export type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
30231
30804
  export type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
@@ -30255,7 +30828,6 @@ export type PromptAction = io.flow.internal.v0.enums.PromptAction;
30255
30828
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
30256
30829
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
30257
30830
  export type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
30258
- export type PublishedLocalizedItem = io.flow.internal.v0.models.PublishedLocalizedItem;
30259
30831
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
30260
30832
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
30261
30833
  export type RateData = io.flow.internal.v0.models.RateData;
@@ -30518,7 +31090,6 @@ export type UpsLicense = io.flow.internal.v0.models.UpsLicense;
30518
31090
  export type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
30519
31091
  export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
30520
31092
  export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
30521
- export type UpsertedCatalogItem = io.flow.internal.v0.models.UpsertedCatalogItem;
30522
31093
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
30523
31094
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
30524
31095
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;