@flowio/types 11.19.10 → 11.19.11
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/dist/api-internal.d.ts +197 -57
- package/dist/api.d.ts +17 -0
- package/package.json +2 -2
- package/src/api-internal.ts +246 -74
- package/src/api.ts +22 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -292,6 +292,9 @@ declare namespace io.flow.common.v0.models {
|
|
|
292
292
|
readonly name: string;
|
|
293
293
|
readonly attributes: Record<string, string>;
|
|
294
294
|
}
|
|
295
|
+
interface ChannelReference {
|
|
296
|
+
readonly id: string;
|
|
297
|
+
}
|
|
295
298
|
interface CheckoutReference {
|
|
296
299
|
readonly id: string;
|
|
297
300
|
}
|
|
@@ -600,7 +603,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
600
603
|
type ExperiencePaymentMethodTag = 'display';
|
|
601
604
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
602
605
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
603
|
-
type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
|
|
606
|
+
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
604
607
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
605
608
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
606
609
|
type OrderStatus = 'open' | 'submitted';
|
|
@@ -1537,6 +1540,10 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1537
1540
|
readonly weight: io.flow.common.v0.models.Measurement;
|
|
1538
1541
|
readonly width: io.flow.common.v0.models.Measurement;
|
|
1539
1542
|
}
|
|
1543
|
+
interface FeeWeight {
|
|
1544
|
+
readonly weight: number;
|
|
1545
|
+
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
1546
|
+
}
|
|
1540
1547
|
interface FuelSurchargeRatecardFee {
|
|
1541
1548
|
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
1542
1549
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1566,6 +1573,14 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1566
1573
|
readonly margin?: number;
|
|
1567
1574
|
readonly amount?: number;
|
|
1568
1575
|
}
|
|
1576
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
1577
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
1578
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1579
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
1580
|
+
readonly regions?: string[];
|
|
1581
|
+
readonly starts_at?: string;
|
|
1582
|
+
readonly ends_at?: string;
|
|
1583
|
+
}
|
|
1569
1584
|
interface PeakSurchargeRatecardFee {
|
|
1570
1585
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
1571
1586
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1769,7 +1784,7 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
1769
1784
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
1770
1785
|
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
1771
1786
|
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
|
|
1772
|
-
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
|
|
1787
|
+
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
|
|
1773
1788
|
}
|
|
1774
1789
|
declare namespace io.flow.error.v0.enums {
|
|
1775
1790
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
@@ -3126,6 +3141,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3126
3141
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
3127
3142
|
}
|
|
3128
3143
|
interface AuthorizationOrderReference {
|
|
3144
|
+
readonly discriminator: 'flow_order';
|
|
3129
3145
|
readonly number: string;
|
|
3130
3146
|
}
|
|
3131
3147
|
interface AuthorizationPayload {
|
|
@@ -3267,6 +3283,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3267
3283
|
readonly destination?: io.flow.common.v0.models.Address;
|
|
3268
3284
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
3269
3285
|
readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
3286
|
+
readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
|
|
3270
3287
|
readonly ip?: string;
|
|
3271
3288
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
3272
3289
|
readonly created_at: string;
|
|
@@ -3469,6 +3486,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3469
3486
|
readonly destination?: io.flow.common.v0.models.Address;
|
|
3470
3487
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
3471
3488
|
readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
3489
|
+
readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
|
|
3472
3490
|
readonly ip?: string;
|
|
3473
3491
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
3474
3492
|
readonly created_at: string;
|
|
@@ -3494,6 +3512,10 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3494
3512
|
readonly messages: string[];
|
|
3495
3513
|
readonly codes: io.flow.payment.v0.enums.PaymentErrorCode[];
|
|
3496
3514
|
}
|
|
3515
|
+
interface PaymentPaymentRequestReference {
|
|
3516
|
+
readonly discriminator: 'payment_request';
|
|
3517
|
+
readonly payment_request_id: string;
|
|
3518
|
+
}
|
|
3497
3519
|
interface PaymentPaypal {
|
|
3498
3520
|
readonly discriminator: 'payment_paypal';
|
|
3499
3521
|
readonly id: string;
|
|
@@ -3799,6 +3821,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
3799
3821
|
type OnlineAuthorizationDetails = io.flow.payment.v0.models.CryptopayAuthorizationDetails | io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails;
|
|
3800
3822
|
type Payment = io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay;
|
|
3801
3823
|
type PaymentForm = io.flow.payment.v0.models.MerchantOfRecordPaymentForm;
|
|
3824
|
+
type PaymentOrderReference = io.flow.payment.v0.models.AuthorizationOrderReference | io.flow.payment.v0.models.PaymentPaymentRequestReference;
|
|
3802
3825
|
type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
|
|
3803
3826
|
type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
|
|
3804
3827
|
type ThreedsChallengeAction = io.flow.payment.v0.models.ThreedsTwoChallengeRequest;
|
|
@@ -4683,10 +4706,19 @@ declare namespace io.flow.label.v0.models {
|
|
|
4683
4706
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
4684
4707
|
readonly center_key?: string;
|
|
4685
4708
|
}
|
|
4709
|
+
interface SummaryShippingNotificationForm {
|
|
4710
|
+
readonly discriminator: 'summary_shipping_notification_form';
|
|
4711
|
+
readonly order_number: string;
|
|
4712
|
+
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
4713
|
+
readonly service: string;
|
|
4714
|
+
readonly carrier_tracking_number: string;
|
|
4715
|
+
readonly key?: string;
|
|
4716
|
+
readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
|
|
4717
|
+
}
|
|
4686
4718
|
}
|
|
4687
4719
|
declare namespace io.flow.label.v0.unions {
|
|
4688
4720
|
type ShippingLabelForm = io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm;
|
|
4689
|
-
type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm;
|
|
4721
|
+
type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm;
|
|
4690
4722
|
}
|
|
4691
4723
|
declare namespace io.flow.external.paypal.v1.enums {
|
|
4692
4724
|
type AdjudicationType = 'DENY_BUYER' | 'PAYOUT_TO_BUYER' | 'PAYOUT_TO_SELLER' | 'RECOVER_FROM_SELLER';
|
|
@@ -5280,7 +5312,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
5280
5312
|
readonly id: number;
|
|
5281
5313
|
readonly path: string;
|
|
5282
5314
|
readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
|
|
5283
|
-
readonly value:
|
|
5315
|
+
readonly value: string[];
|
|
5284
5316
|
}
|
|
5285
5317
|
interface BehaviorForm {
|
|
5286
5318
|
readonly path: string;
|
|
@@ -5412,10 +5444,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5412
5444
|
readonly value: number;
|
|
5413
5445
|
readonly currency: string;
|
|
5414
5446
|
}
|
|
5415
|
-
interface Applepay {
|
|
5416
|
-
readonly type: 'applepay';
|
|
5417
|
-
readonly applePayToken: string;
|
|
5418
|
-
}
|
|
5419
5447
|
interface Authentication {
|
|
5420
5448
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5421
5449
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5575,12 +5603,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5575
5603
|
readonly details: any;
|
|
5576
5604
|
readonly paymentData?: string;
|
|
5577
5605
|
}
|
|
5578
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
5579
|
-
readonly 'threeds2.challengeResult': string;
|
|
5580
|
-
}
|
|
5581
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5582
|
-
readonly 'threeds2.fingerprint': string;
|
|
5583
|
-
}
|
|
5584
5606
|
interface PaymentRequest {
|
|
5585
5607
|
readonly reference: string;
|
|
5586
5608
|
readonly merchantAccount: string;
|
|
@@ -5602,7 +5624,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5602
5624
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5603
5625
|
readonly origin?: string;
|
|
5604
5626
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5605
|
-
readonly
|
|
5627
|
+
readonly returnURL?: string;
|
|
5606
5628
|
}
|
|
5607
5629
|
interface PaymentResponse {
|
|
5608
5630
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -5650,13 +5672,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5650
5672
|
readonly number: string;
|
|
5651
5673
|
readonly cvc?: string;
|
|
5652
5674
|
}
|
|
5653
|
-
interface SdkV3OnCompleteData {
|
|
5654
|
-
readonly details: any;
|
|
5655
|
-
readonly payment_data?: string;
|
|
5656
|
-
}
|
|
5657
|
-
interface SdkV3OnCompleteResult {
|
|
5658
|
-
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5659
|
-
}
|
|
5660
5675
|
interface ThreeDSecureData {
|
|
5661
5676
|
readonly authenticationResponse?: string;
|
|
5662
5677
|
readonly cavv?: string;
|
|
@@ -5682,7 +5697,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5682
5697
|
}
|
|
5683
5698
|
declare namespace io.flow.adyen.v0.unions {
|
|
5684
5699
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5685
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme
|
|
5700
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
5686
5701
|
}
|
|
5687
5702
|
declare namespace io.flow.order.management.v0.enums {
|
|
5688
5703
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -6706,23 +6721,12 @@ declare namespace io.flow.svb.v0.models {
|
|
|
6706
6721
|
}
|
|
6707
6722
|
}
|
|
6708
6723
|
declare namespace io.flow.payment.gateway.v0.enums {
|
|
6724
|
+
type PaymentActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6709
6725
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error';
|
|
6710
6726
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
6711
6727
|
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'afterpay';
|
|
6712
|
-
type SupportedActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6713
6728
|
}
|
|
6714
6729
|
declare namespace io.flow.payment.gateway.v0.models {
|
|
6715
|
-
interface ActionAddPaymentMethod {
|
|
6716
|
-
readonly type: 'add_payment_method';
|
|
6717
|
-
readonly expires_at?: string;
|
|
6718
|
-
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
6719
|
-
}
|
|
6720
|
-
interface ActionCapture {
|
|
6721
|
-
readonly type: 'capture';
|
|
6722
|
-
readonly expires_at?: string;
|
|
6723
|
-
readonly amount_awaiting_capture: number;
|
|
6724
|
-
readonly currency: string;
|
|
6725
|
-
}
|
|
6726
6730
|
interface ActionDisplayInlineWindow {
|
|
6727
6731
|
readonly type: 'display_inline_window';
|
|
6728
6732
|
readonly expires_at?: string;
|
|
@@ -6763,12 +6767,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6763
6767
|
readonly type: 'use_sdk_applepay_js_create_session';
|
|
6764
6768
|
readonly expires_at?: string;
|
|
6765
6769
|
readonly merchant_identifier: string;
|
|
6766
|
-
readonly payment_data_request:
|
|
6770
|
+
readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
|
|
6767
6771
|
}
|
|
6768
6772
|
interface ActionUseSdkGooglepay {
|
|
6769
6773
|
readonly type: 'use_sdk_googlepay';
|
|
6770
6774
|
readonly expires_at?: string;
|
|
6771
|
-
readonly payment_data_request:
|
|
6775
|
+
readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest;
|
|
6772
6776
|
}
|
|
6773
6777
|
interface ActionUseSdkKlarnaV1 {
|
|
6774
6778
|
readonly type: 'use_sdk_klarna_v1';
|
|
@@ -6809,18 +6813,22 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6809
6813
|
}
|
|
6810
6814
|
interface BrowserDetails {
|
|
6811
6815
|
readonly type: 'browser';
|
|
6812
|
-
readonly origin
|
|
6813
|
-
readonly language
|
|
6814
|
-
readonly java_enabled
|
|
6815
|
-
readonly color_depth
|
|
6816
|
-
readonly screen_height
|
|
6817
|
-
readonly screen_width
|
|
6818
|
-
readonly time_zone_offset
|
|
6816
|
+
readonly origin: string;
|
|
6817
|
+
readonly language: string;
|
|
6818
|
+
readonly java_enabled: boolean;
|
|
6819
|
+
readonly color_depth: number;
|
|
6820
|
+
readonly screen_height: number;
|
|
6821
|
+
readonly screen_width: number;
|
|
6822
|
+
readonly time_zone_offset: number;
|
|
6819
6823
|
readonly user_agent?: string;
|
|
6820
6824
|
readonly accept?: string;
|
|
6821
6825
|
}
|
|
6822
6826
|
interface OrderDetails {
|
|
6823
6827
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
6828
|
+
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
6829
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
6830
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
6831
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
6824
6832
|
}
|
|
6825
6833
|
interface OrderInformationDetails {
|
|
6826
6834
|
readonly type: 'details';
|
|
@@ -6869,16 +6877,49 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6869
6877
|
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
6870
6878
|
readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
6871
6879
|
}
|
|
6880
|
+
interface PaymentDiscount {
|
|
6881
|
+
readonly amount: number;
|
|
6882
|
+
readonly name?: string;
|
|
6883
|
+
readonly code?: string;
|
|
6884
|
+
}
|
|
6885
|
+
interface PaymentDuty {
|
|
6886
|
+
readonly amount: number;
|
|
6887
|
+
readonly name?: string;
|
|
6888
|
+
}
|
|
6872
6889
|
interface PaymentFailure {
|
|
6873
6890
|
readonly authorization_id?: string;
|
|
6874
6891
|
readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
|
|
6875
6892
|
readonly failure_message: string;
|
|
6876
6893
|
}
|
|
6894
|
+
interface PaymentInformation {
|
|
6895
|
+
readonly amount_refundable?: number;
|
|
6896
|
+
readonly amount_refunded?: number;
|
|
6897
|
+
readonly refundable_before?: string;
|
|
6898
|
+
readonly amount_capturable?: number;
|
|
6899
|
+
readonly amount_captured?: number;
|
|
6900
|
+
readonly capturable_before?: string;
|
|
6901
|
+
readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
|
|
6902
|
+
}
|
|
6877
6903
|
interface PaymentMethodBrand {
|
|
6878
6904
|
readonly id: string;
|
|
6879
6905
|
readonly name: string;
|
|
6880
6906
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6881
6907
|
}
|
|
6908
|
+
interface PaymentMethodCardNumberCipher {
|
|
6909
|
+
readonly type: 'cipher';
|
|
6910
|
+
readonly cipher: string;
|
|
6911
|
+
}
|
|
6912
|
+
interface PaymentMethodCardNumberCleartext {
|
|
6913
|
+
readonly type: 'cleartext';
|
|
6914
|
+
readonly number: string;
|
|
6915
|
+
}
|
|
6916
|
+
interface PaymentMethodCardPciDetails {
|
|
6917
|
+
readonly type: 'card_pci_details';
|
|
6918
|
+
readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
|
|
6919
|
+
readonly expiration_month: number;
|
|
6920
|
+
readonly expiration_year: number;
|
|
6921
|
+
readonly name: string;
|
|
6922
|
+
}
|
|
6882
6923
|
interface PaymentMethodCardToken {
|
|
6883
6924
|
readonly type: 'token';
|
|
6884
6925
|
readonly token: string;
|
|
@@ -6947,6 +6988,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6947
6988
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6948
6989
|
readonly last_four: string;
|
|
6949
6990
|
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
6991
|
+
readonly id: string;
|
|
6950
6992
|
}
|
|
6951
6993
|
interface PaymentMethodSummaryGooglepay {
|
|
6952
6994
|
readonly type: 'googlepay';
|
|
@@ -6966,13 +7008,16 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6966
7008
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6967
7009
|
}
|
|
6968
7010
|
interface PaymentOrderDetailsLineItem {
|
|
7011
|
+
readonly id: string;
|
|
6969
7012
|
readonly description: string;
|
|
6970
7013
|
readonly quantity: number;
|
|
6971
|
-
readonly
|
|
6972
|
-
readonly
|
|
6973
|
-
readonly
|
|
7014
|
+
readonly amount: number;
|
|
7015
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
7016
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
6974
7017
|
readonly product_url?: string;
|
|
6975
7018
|
readonly image_url?: string;
|
|
7019
|
+
readonly category?: string;
|
|
7020
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
6976
7021
|
}
|
|
6977
7022
|
interface PaymentPaymentMethod {
|
|
6978
7023
|
readonly id: string;
|
|
@@ -6981,7 +7026,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6981
7026
|
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
6982
7027
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6983
7028
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6984
|
-
readonly possible_actions: io.flow.payment.gateway.v0.enums.
|
|
7029
|
+
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
6985
7030
|
}
|
|
6986
7031
|
interface PaymentRefund {
|
|
6987
7032
|
readonly id: string;
|
|
@@ -7002,29 +7047,35 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7002
7047
|
interface PaymentRequest {
|
|
7003
7048
|
readonly id: string;
|
|
7004
7049
|
readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
|
|
7050
|
+
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
7005
7051
|
readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
|
|
7006
7052
|
readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
|
|
7007
7053
|
readonly amount: number;
|
|
7008
|
-
readonly amount_refundable?: number;
|
|
7009
7054
|
readonly currency: string;
|
|
7010
7055
|
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
7011
7056
|
readonly ip?: string;
|
|
7057
|
+
readonly locale?: string;
|
|
7012
7058
|
readonly return_url: string;
|
|
7013
7059
|
readonly attributes?: Record<string, string>;
|
|
7014
7060
|
readonly reference?: string;
|
|
7015
|
-
readonly
|
|
7016
|
-
readonly supported_actions: io.flow.payment.gateway.v0.enums.
|
|
7061
|
+
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
7062
|
+
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7017
7063
|
}
|
|
7018
7064
|
interface PaymentRequestForm {
|
|
7019
7065
|
readonly amount: number;
|
|
7020
7066
|
readonly currency: string;
|
|
7021
7067
|
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
7022
7068
|
readonly ip?: string;
|
|
7069
|
+
readonly locale?: string;
|
|
7023
7070
|
readonly return_url: string;
|
|
7024
7071
|
readonly attributes?: Record<string, string>;
|
|
7025
7072
|
readonly reference?: string;
|
|
7026
7073
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
7027
|
-
readonly supported_actions?: io.flow.payment.gateway.v0.enums.
|
|
7074
|
+
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7075
|
+
}
|
|
7076
|
+
interface PaymentRequestReference {
|
|
7077
|
+
readonly id: string;
|
|
7078
|
+
readonly reference?: string;
|
|
7028
7079
|
}
|
|
7029
7080
|
interface PaymentReversal {
|
|
7030
7081
|
readonly id: string;
|
|
@@ -7042,13 +7093,25 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7042
7093
|
readonly status: io.flow.payment.v0.enums.ReversalStatus;
|
|
7043
7094
|
readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
|
|
7044
7095
|
}
|
|
7096
|
+
interface PaymentTax {
|
|
7097
|
+
readonly amount: number;
|
|
7098
|
+
readonly name?: string;
|
|
7099
|
+
}
|
|
7100
|
+
interface Shipping {
|
|
7101
|
+
readonly description: string;
|
|
7102
|
+
readonly amount: number;
|
|
7103
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
7104
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
7105
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
7106
|
+
}
|
|
7045
7107
|
}
|
|
7046
7108
|
declare namespace io.flow.payment.gateway.v0.unions {
|
|
7047
|
-
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.
|
|
7109
|
+
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
|
|
7048
7110
|
type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
|
|
7111
|
+
type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
|
|
7049
7112
|
type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
|
|
7050
7113
|
type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
|
|
7051
|
-
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
7114
|
+
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
7052
7115
|
type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
7053
7116
|
type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
|
|
7054
7117
|
type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
@@ -7242,6 +7305,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7242
7305
|
readonly recipient: string;
|
|
7243
7306
|
readonly refunded: boolean;
|
|
7244
7307
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
7308
|
+
readonly time_window: number;
|
|
7245
7309
|
}
|
|
7246
7310
|
interface PaymentRequest {
|
|
7247
7311
|
readonly amount: number;
|
|
@@ -7684,7 +7748,7 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
7684
7748
|
declare namespace io.flow.permission.v0.enums {
|
|
7685
7749
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
7686
7750
|
type FlowBehavior = 'view_consumer_data';
|
|
7687
|
-
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
7751
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
|
|
7688
7752
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
7689
7753
|
}
|
|
7690
7754
|
declare namespace io.flow.permission.v0.models {
|
|
@@ -8332,6 +8396,8 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
8332
8396
|
readonly to: string;
|
|
8333
8397
|
readonly timezone?: string;
|
|
8334
8398
|
readonly label?: string;
|
|
8399
|
+
readonly min_days?: number;
|
|
8400
|
+
readonly max_days?: number;
|
|
8335
8401
|
}
|
|
8336
8402
|
interface DeliveryWindowComponent {
|
|
8337
8403
|
readonly from: string;
|
|
@@ -8852,11 +8918,22 @@ declare namespace io.flow.fraud.v0.models {
|
|
|
8852
8918
|
interface FraudEmailRuleForm {
|
|
8853
8919
|
readonly rule: io.flow.fraud.v0.models.FraudEmailRule;
|
|
8854
8920
|
}
|
|
8921
|
+
interface FraudFlowOrderReference {
|
|
8922
|
+
readonly discriminator: 'flow_order';
|
|
8923
|
+
readonly reference: io.flow.experience.v0.models.OrderReference;
|
|
8924
|
+
}
|
|
8925
|
+
interface FraudPaymentRequestReference {
|
|
8926
|
+
readonly discriminator: 'payment_request';
|
|
8927
|
+
readonly reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
|
|
8928
|
+
}
|
|
8855
8929
|
interface OrderFraudStatus {
|
|
8856
8930
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
8857
8931
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
8858
8932
|
}
|
|
8859
8933
|
}
|
|
8934
|
+
declare namespace io.flow.fraud.v0.unions {
|
|
8935
|
+
type FraudOrderReference = io.flow.fraud.v0.models.FraudFlowOrderReference | io.flow.fraud.v0.models.FraudPaymentRequestReference;
|
|
8936
|
+
}
|
|
8860
8937
|
declare namespace io.flow.currency.v0.models {
|
|
8861
8938
|
interface Rate {
|
|
8862
8939
|
readonly id: string;
|
|
@@ -8879,7 +8956,7 @@ declare namespace io.flow.currency.v0.models {
|
|
|
8879
8956
|
}
|
|
8880
8957
|
declare namespace io.flow.organization.v0.enums {
|
|
8881
8958
|
type CountryPickerSource = 'experience' | 'destination';
|
|
8882
|
-
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
8959
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
|
|
8883
8960
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
8884
8961
|
}
|
|
8885
8962
|
declare namespace io.flow.organization.v0.models {
|
|
@@ -9182,6 +9259,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9182
9259
|
type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
|
|
9183
9260
|
type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_book_contact_invalid' | 'address_book_contact_not_found' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_not_found' | 'checkout_not_found' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'first_name_invalid' | 'first_name_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'national_id_number_invalid' | 'no_customer' | 'no_valid_address_book_contacts' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_balance_not_available' | 'order_identifier_invalid' | 'payment_failed' | 'payment_not_found' | 'payment_source_confirmation_required' | 'payment_source_failed' | 'payment_source_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
|
|
9184
9261
|
type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
|
|
9262
|
+
type ClassificationErrorCode = 'generic_error';
|
|
9185
9263
|
type ComplianceType = 'weee';
|
|
9186
9264
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
9187
9265
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
@@ -11061,6 +11139,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11061
11139
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11062
11140
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11063
11141
|
}
|
|
11142
|
+
interface CheckoutOrderAddressSourceInputs {
|
|
11143
|
+
readonly shipping?: io.flow.internal.v0.enums.CheckoutAddressSource;
|
|
11144
|
+
readonly invoicing?: io.flow.internal.v0.enums.CheckoutAddressSource;
|
|
11145
|
+
}
|
|
11064
11146
|
interface CheckoutOrderAddresses {
|
|
11065
11147
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11066
11148
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
@@ -11136,6 +11218,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11136
11218
|
readonly contact?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
11137
11219
|
readonly addresses?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
11138
11220
|
readonly address_book?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
11221
|
+
readonly address_sources?: io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
|
|
11139
11222
|
readonly attributes?: Record<string, string>;
|
|
11140
11223
|
readonly delivery_options?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
|
|
11141
11224
|
readonly gift_cards?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
|
|
@@ -11906,6 +11989,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11906
11989
|
readonly MD: string;
|
|
11907
11990
|
readonly PaRes: string;
|
|
11908
11991
|
}
|
|
11992
|
+
interface Classification {
|
|
11993
|
+
readonly discriminator: 'classification';
|
|
11994
|
+
readonly product_id: string;
|
|
11995
|
+
readonly description: string;
|
|
11996
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
11997
|
+
readonly images: string[];
|
|
11998
|
+
readonly categories: string[];
|
|
11999
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12000
|
+
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
12001
|
+
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
12002
|
+
readonly score?: number;
|
|
12003
|
+
}
|
|
11909
12004
|
interface ClassificationDetails {
|
|
11910
12005
|
readonly updated_by_user_id: string;
|
|
11911
12006
|
readonly organization_id: string;
|
|
@@ -11922,6 +12017,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11922
12017
|
readonly gender: string;
|
|
11923
12018
|
readonly construction: string;
|
|
11924
12019
|
}
|
|
12020
|
+
interface ClassificationError {
|
|
12021
|
+
readonly discriminator: 'classification_error';
|
|
12022
|
+
readonly code: io.flow.internal.v0.enums.ClassificationErrorCode;
|
|
12023
|
+
readonly messages: string[];
|
|
12024
|
+
readonly form: io.flow.internal.v0.unions.ClassificationForm;
|
|
12025
|
+
}
|
|
12026
|
+
interface ClassificationFormWrapper {
|
|
12027
|
+
readonly classifications: io.flow.internal.v0.unions.ClassificationForm[];
|
|
12028
|
+
}
|
|
11925
12029
|
interface ClassificationItem {
|
|
11926
12030
|
readonly id: string;
|
|
11927
12031
|
readonly organization_id: string;
|
|
@@ -11941,6 +12045,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11941
12045
|
readonly attributes: Record<string, string>;
|
|
11942
12046
|
readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
|
|
11943
12047
|
}
|
|
12048
|
+
interface ClassificationProductHarmonization {
|
|
12049
|
+
readonly product_labels?: io.flow.internal.v0.models.ProductLabels;
|
|
12050
|
+
readonly customs_description?: string;
|
|
12051
|
+
readonly hs6_code?: string;
|
|
12052
|
+
readonly hs6_description?: string;
|
|
12053
|
+
}
|
|
11944
12054
|
interface ClassificationProductId {
|
|
11945
12055
|
readonly organization_id: string;
|
|
11946
12056
|
readonly product_id: string;
|
|
@@ -11963,6 +12073,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11963
12073
|
readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
11964
12074
|
readonly number_of_items: number;
|
|
11965
12075
|
}
|
|
12076
|
+
interface ClassificationWrapper {
|
|
12077
|
+
readonly classifications: io.flow.internal.v0.unions.ClassificationResponse[];
|
|
12078
|
+
}
|
|
11966
12079
|
interface ClassifiedProduct {
|
|
11967
12080
|
readonly product_id: string;
|
|
11968
12081
|
readonly organization_id: string;
|
|
@@ -12448,6 +12561,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12448
12561
|
interface EmailModificationForm {
|
|
12449
12562
|
readonly email?: string;
|
|
12450
12563
|
}
|
|
12564
|
+
interface EmptyClassificationForm {
|
|
12565
|
+
readonly discriminator: 'empty_classification_form';
|
|
12566
|
+
readonly product_id: string;
|
|
12567
|
+
readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
12568
|
+
}
|
|
12451
12569
|
interface Encryption {
|
|
12452
12570
|
readonly id: string;
|
|
12453
12571
|
readonly key: io.flow.internal.v0.models.KeyReference;
|
|
@@ -12979,6 +13097,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12979
13097
|
readonly id: string;
|
|
12980
13098
|
readonly fraud_review_id: string;
|
|
12981
13099
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13100
|
+
readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
12982
13101
|
readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
|
|
12983
13102
|
readonly apply_at?: string;
|
|
12984
13103
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
@@ -13013,6 +13132,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13013
13132
|
readonly id: string;
|
|
13014
13133
|
readonly organization_id: string;
|
|
13015
13134
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13135
|
+
readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
13016
13136
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
13017
13137
|
readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
13018
13138
|
readonly description?: string;
|
|
@@ -13026,6 +13146,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13026
13146
|
readonly id: string;
|
|
13027
13147
|
readonly fraud_review_id: string;
|
|
13028
13148
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13149
|
+
readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
13029
13150
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
13030
13151
|
readonly created_at: string;
|
|
13031
13152
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
@@ -16356,6 +16477,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16356
16477
|
readonly category: string;
|
|
16357
16478
|
readonly children: io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[];
|
|
16358
16479
|
}
|
|
16480
|
+
interface SingleClassificationForm {
|
|
16481
|
+
readonly discriminator: 'single_classification_form';
|
|
16482
|
+
readonly product_id: string;
|
|
16483
|
+
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonizationForm;
|
|
16484
|
+
readonly initial_customs_description?: string;
|
|
16485
|
+
}
|
|
16359
16486
|
interface SnapchatPixel {
|
|
16360
16487
|
readonly discriminator: 'snapchat_pixel';
|
|
16361
16488
|
readonly name?: string;
|
|
@@ -17079,7 +17206,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17079
17206
|
type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
17080
17207
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
17081
17208
|
type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
|
|
17082
|
-
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
17209
|
+
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
17083
17210
|
type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
|
|
17084
17211
|
type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
|
|
17085
17212
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
@@ -17152,11 +17279,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17152
17279
|
type CheckoutSequencedSubmitResponse = io.flow.internal.v0.models.CheckoutSequencedSubmitResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
17153
17280
|
type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
|
|
17154
17281
|
type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
|
|
17282
|
+
type ClassificationForm = io.flow.internal.v0.models.SingleClassificationForm | io.flow.internal.v0.models.EmptyClassificationForm;
|
|
17155
17283
|
type ClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationForm | io.flow.internal.v0.models.NoClassificationForm;
|
|
17156
17284
|
type ClassificationLabelAttribute = {
|
|
17157
17285
|
discriminator: 'empty_attribute';
|
|
17158
17286
|
value: io.flow.internal.v0.enums.EmptyAttribute;
|
|
17159
17287
|
} | io.flow.internal.v0.models.SupportedLabels;
|
|
17288
|
+
type ClassificationResponse = io.flow.internal.v0.models.Classification | io.flow.internal.v0.models.ClassificationError;
|
|
17160
17289
|
type ClassificationTaxonomy = io.flow.internal.v0.models.TaxonomyCategory | io.flow.internal.v0.models.LabelTaxonomy;
|
|
17161
17290
|
type ComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
17162
17291
|
type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
@@ -17620,6 +17749,7 @@ export declare type CheckoutOpenOrder = io.flow.internal.v0.models.CheckoutOpenO
|
|
|
17620
17749
|
export declare type CheckoutOrder = io.flow.internal.v0.unions.CheckoutOrder;
|
|
17621
17750
|
export declare type CheckoutOrderAddressBookInputs = io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
17622
17751
|
export declare type CheckoutOrderAddressInputs = io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
17752
|
+
export declare type CheckoutOrderAddressSourceInputs = io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
|
|
17623
17753
|
export declare type CheckoutOrderAddresses = io.flow.internal.v0.models.CheckoutOrderAddresses;
|
|
17624
17754
|
export declare type CheckoutOrderContactInputs = io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
17625
17755
|
export declare type CheckoutOrderDeliveries = io.flow.internal.v0.models.CheckoutOrderDeliveries;
|
|
@@ -17892,17 +18022,25 @@ export declare type Cipher = io.flow.internal.v0.models.Cipher;
|
|
|
17892
18022
|
export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
|
|
17893
18023
|
export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
|
|
17894
18024
|
export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
|
|
18025
|
+
export declare type Classification = io.flow.internal.v0.models.Classification;
|
|
17895
18026
|
export declare type ClassificationDetails = io.flow.internal.v0.models.ClassificationDetails;
|
|
18027
|
+
export declare type ClassificationError = io.flow.internal.v0.models.ClassificationError;
|
|
18028
|
+
export declare type ClassificationErrorCode = io.flow.internal.v0.enums.ClassificationErrorCode;
|
|
18029
|
+
export declare type ClassificationForm = io.flow.internal.v0.unions.ClassificationForm;
|
|
18030
|
+
export declare type ClassificationFormWrapper = io.flow.internal.v0.models.ClassificationFormWrapper;
|
|
17896
18031
|
export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
|
|
17897
18032
|
export declare type ClassificationJudgementForm = io.flow.internal.v0.unions.ClassificationJudgementForm;
|
|
17898
18033
|
export declare type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
|
|
17899
18034
|
export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
|
|
18035
|
+
export declare type ClassificationProductHarmonization = io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
17900
18036
|
export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
|
|
17901
18037
|
export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
|
|
17902
18038
|
export declare type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
17903
18039
|
export declare type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
18040
|
+
export declare type ClassificationResponse = io.flow.internal.v0.unions.ClassificationResponse;
|
|
17904
18041
|
export declare type ClassificationStatistics = io.flow.internal.v0.models.ClassificationStatistics;
|
|
17905
18042
|
export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
18043
|
+
export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
17906
18044
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
17907
18045
|
export declare type Compliance = io.flow.internal.v0.models.Compliance;
|
|
17908
18046
|
export declare type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
@@ -18001,6 +18139,7 @@ export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySim
|
|
|
18001
18139
|
export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
|
|
18002
18140
|
export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
|
|
18003
18141
|
export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
|
|
18142
|
+
export declare type EmptyClassificationForm = io.flow.internal.v0.models.EmptyClassificationForm;
|
|
18004
18143
|
export declare type Encryption = io.flow.internal.v0.models.Encryption;
|
|
18005
18144
|
export declare type Event = io.flow.internal.v0.unions.Event;
|
|
18006
18145
|
export declare type EventType = io.flow.internal.v0.enums.EventType;
|
|
@@ -18699,6 +18838,7 @@ export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRou
|
|
|
18699
18838
|
export declare type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
|
|
18700
18839
|
export declare type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
|
|
18701
18840
|
export declare type SimplifiedTaxonomyCategory = io.flow.internal.v0.models.SimplifiedTaxonomyCategory;
|
|
18841
|
+
export declare type SingleClassificationForm = io.flow.internal.v0.models.SingleClassificationForm;
|
|
18702
18842
|
export declare type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
|
|
18703
18843
|
export declare type SpotRate = io.flow.internal.v0.models.SpotRate;
|
|
18704
18844
|
export declare type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
|