@flowio/types 11.14.0 → 11.15.1

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.
@@ -236,6 +236,7 @@ declare namespace io.flow.experience.v0.enums {
236
236
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
237
237
  type OrderStatus = 'open' | 'submitted';
238
238
  type OrderStorage = 'do_not_persist' | 'persist';
239
+ type OrderType = 'standard' | 'replacement';
239
240
  type OrganizationPaymentMethodTag = 'deny';
240
241
  type PaymentMethodRuleContentKey = 'description';
241
242
  type PriceFacetBoundary = 'min' | 'max';
@@ -696,6 +697,7 @@ declare namespace io.flow.experience.v0.models {
696
697
  readonly discriminator: 'order';
697
698
  readonly id: string;
698
699
  readonly number: string;
700
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
699
701
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
700
702
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
701
703
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -868,6 +870,7 @@ declare namespace io.flow.experience.v0.models {
868
870
  readonly min?: io.flow.common.v0.models.Price;
869
871
  }
870
872
  interface OrderPutForm {
873
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
871
874
  readonly items: io.flow.common.v0.models.LineItemForm[];
872
875
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
873
876
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -914,6 +917,14 @@ declare namespace io.flow.experience.v0.models {
914
917
  readonly key: io.flow.experience.v0.enums.OrderRefundSummaryIncludes;
915
918
  readonly charged: io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
916
919
  }
920
+ interface OrderReplacement {
921
+ readonly id: string;
922
+ readonly parent_order: io.flow.experience.v0.models.Order;
923
+ readonly replacement_order: io.flow.experience.v0.models.Order;
924
+ }
925
+ interface OrderReplacementForm {
926
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
927
+ }
917
928
  interface OrderRuleReference {
918
929
  readonly id: string;
919
930
  readonly key: string;
@@ -3914,6 +3925,12 @@ declare namespace io.flow.adyen.v0.models {
3914
3925
  readonly details: any;
3915
3926
  readonly paymentData?: string;
3916
3927
  }
3928
+ interface PaymentDetailsV663Ds2Challenge {
3929
+ readonly 'threeds2.challengeResult': string;
3930
+ }
3931
+ interface PaymentDetailsV663Ds2Fingerprint {
3932
+ readonly 'threeds2.fingerprint': string;
3933
+ }
3917
3934
  interface PaymentRequest {
3918
3935
  readonly reference: string;
3919
3936
  readonly merchantAccount: string;
@@ -3983,6 +4000,13 @@ declare namespace io.flow.adyen.v0.models {
3983
4000
  readonly number: string;
3984
4001
  readonly cvc?: string;
3985
4002
  }
4003
+ interface SdkV3OnCompleteData {
4004
+ readonly details: any;
4005
+ readonly payment_data?: string;
4006
+ }
4007
+ interface SdkV3OnCompleteResult {
4008
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4009
+ }
3986
4010
  interface ThreeDSecureData {
3987
4011
  readonly authenticationResponse?: string;
3988
4012
  readonly cavv?: string;
@@ -5996,7 +6020,9 @@ declare namespace io.flow.payment.internal.v0.unions {
5996
6020
  declare namespace io.flow.fraud.internal.v0.enums {
5997
6021
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
5998
6022
  type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
6023
+ type FraudProviderStatus = 'active' | 'archived';
5999
6024
  type FraudReviewResponsibleParty = 'flow' | 'organization';
6025
+ type ManualReviewRuleStatus = 'active' | 'archived';
6000
6026
  type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
6001
6027
  }
6002
6028
  declare namespace io.flow.fraud.internal.v0.models {
@@ -6016,6 +6042,17 @@ declare namespace io.flow.fraud.internal.v0.models {
6016
6042
  readonly apply_at?: string;
6017
6043
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
6018
6044
  }
6045
+ interface FraudProviderConfigurationFormRiskified {
6046
+ readonly discriminator: 'riskified';
6047
+ readonly external_id: string;
6048
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
6049
+ }
6050
+ interface FraudProviderConfigurationRiskified {
6051
+ readonly discriminator: 'riskified';
6052
+ readonly key: string;
6053
+ readonly external_id: string;
6054
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
6055
+ }
6019
6056
  interface FraudReview {
6020
6057
  readonly id: string;
6021
6058
  readonly organization_id: string;
@@ -6046,10 +6083,25 @@ declare namespace io.flow.fraud.internal.v0.models {
6046
6083
  readonly type: io.flow.common.v0.enums.ChangeType;
6047
6084
  readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
6048
6085
  }
6086
+ interface ManualReviewRule {
6087
+ readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
6088
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
6089
+ readonly duration: io.flow.common.v0.models.Duration;
6090
+ readonly emails: string[];
6091
+ }
6092
+ interface ManualReviewRuleForm {
6093
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
6094
+ readonly duration: io.flow.common.v0.models.Duration;
6095
+ readonly emails: string[];
6096
+ }
6049
6097
  interface Notification {
6050
6098
  readonly order: io.flow.fraud.internal.v0.models.Decision;
6051
6099
  }
6052
6100
  }
6101
+ declare namespace io.flow.fraud.internal.v0.unions {
6102
+ type FraudProviderConfiguration = io.flow.fraud.internal.v0.models.FraudProviderConfigurationRiskified;
6103
+ type FraudProviderConfigurationForm = io.flow.fraud.internal.v0.models.FraudProviderConfigurationFormRiskified;
6104
+ }
6053
6105
  declare namespace io.flow.common.v0.enums {
6054
6106
  type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
6055
6107
  type AvailabilityStatus = 'enabled' | 'disabled';
@@ -13167,6 +13219,12 @@ declare namespace io.flow.checkout.backend.v0.models {
13167
13219
  interface CheckoutPredictionInputs {
13168
13220
  readonly address_prediction_metadata?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
13169
13221
  }
13222
+ interface CheckoutPriceEstimated {
13223
+ readonly discriminator: 'estimated';
13224
+ readonly amount: number;
13225
+ readonly currency: string;
13226
+ readonly label: string;
13227
+ }
13170
13228
  interface CheckoutPriceFree {
13171
13229
  readonly discriminator: 'free';
13172
13230
  readonly placeholder?: string;
@@ -13229,7 +13287,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
13229
13287
  type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
13230
13288
  type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement;
13231
13289
  type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
13232
- type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
13290
+ type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard | io.flow.checkout.backend.v0.models.CheckoutPriceEstimated;
13233
13291
  }
13234
13292
  declare namespace io.flow.organization.v0.enums {
13235
13293
  type CountryPickerSource = 'experience' | 'destination';
@@ -13971,12 +14029,14 @@ declare namespace io.flow.internal.v0.enums {
13971
14029
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
13972
14030
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
13973
14031
  type ExperimentDiscriminatorKey = 'experience' | 'feature';
14032
+ type ExportContentType = 'item' | 'price_book_item';
13974
14033
  type FeatureScope = 'global' | 'organization';
13975
14034
  type FeatureStatus = 'draft' | 'active' | 'archived';
13976
14035
  type FeatureType = 'boolean' | 'decimal' | 'string';
13977
14036
  type FlowApp = 'console';
13978
14037
  type Format = 'text' | 'phone' | 'email';
13979
14038
  type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
14039
+ type FraudProviderStatus = 'active' | 'archived';
13980
14040
  type FraudReviewResponsibleParty = 'flow' | 'organization';
13981
14041
  type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
13982
14042
  type FtpProtocol = 'sftp' | 'ftp';
@@ -13992,6 +14052,7 @@ declare namespace io.flow.internal.v0.enums {
13992
14052
  type ItemType = 'standard' | 'multi_product';
13993
14053
  type LabelBillingStrategy = 'quote' | 'carrier';
13994
14054
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
14055
+ type ManualReviewRuleStatus = 'active' | 'archived';
13995
14056
  type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
13996
14057
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
13997
14058
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
@@ -15950,6 +16011,12 @@ declare namespace io.flow.internal.v0.models {
15950
16011
  interface CheckoutPredictionInputs {
15951
16012
  readonly address_prediction_metadata?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
15952
16013
  }
16014
+ interface CheckoutPriceEstimated {
16015
+ readonly discriminator: 'estimated';
16016
+ readonly amount: number;
16017
+ readonly currency: string;
16018
+ readonly label: string;
16019
+ }
15953
16020
  interface CheckoutPriceFree {
15954
16021
  readonly discriminator: 'free';
15955
16022
  readonly placeholder?: string;
@@ -17543,6 +17610,17 @@ declare namespace io.flow.internal.v0.models {
17543
17610
  readonly id: string;
17544
17611
  readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
17545
17612
  }
17613
+ interface FraudProviderConfigurationFormRiskified {
17614
+ readonly discriminator: 'riskified';
17615
+ readonly external_id: string;
17616
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
17617
+ }
17618
+ interface FraudProviderConfigurationRiskified {
17619
+ readonly discriminator: 'riskified';
17620
+ readonly key: string;
17621
+ readonly external_id: string;
17622
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
17623
+ }
17546
17624
  interface FraudReview {
17547
17625
  readonly id: string;
17548
17626
  readonly organization_id: string;
@@ -18997,6 +19075,7 @@ declare namespace io.flow.internal.v0.models {
18997
19075
  readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
18998
19076
  }
18999
19077
  interface LocalizedItemsExportSettings {
19078
+ readonly content_type: io.flow.internal.v0.enums.ExportContentType;
19000
19079
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
19001
19080
  readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
19002
19081
  }
@@ -19011,6 +19090,17 @@ declare namespace io.flow.internal.v0.models {
19011
19090
  readonly price_book_item_price: io.flow.common.v0.models.Price;
19012
19091
  readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
19013
19092
  }
19093
+ interface LocalizedPriceBookItemData {
19094
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
19095
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
19096
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
19097
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
19098
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
19099
+ readonly price_book_key: string;
19100
+ readonly price_book_item_price: io.flow.common.v0.models.Price;
19101
+ readonly price_start_date: string;
19102
+ readonly price_end_date?: string;
19103
+ }
19014
19104
  interface LocalizedPriceBookItemDeleted {
19015
19105
  readonly discriminator: 'localized_price_book_item_deleted';
19016
19106
  readonly event_id: string;
@@ -19076,6 +19166,17 @@ declare namespace io.flow.internal.v0.models {
19076
19166
  readonly organization: string;
19077
19167
  readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
19078
19168
  }
19169
+ interface ManualReviewRule {
19170
+ readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
19171
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
19172
+ readonly duration: io.flow.common.v0.models.Duration;
19173
+ readonly emails: string[];
19174
+ }
19175
+ interface ManualReviewRuleForm {
19176
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
19177
+ readonly duration: io.flow.common.v0.models.Duration;
19178
+ readonly emails: string[];
19179
+ }
19079
19180
  interface ManualTransaction {
19080
19181
  readonly discriminator: 'manual_transaction';
19081
19182
  readonly id: string;
@@ -21511,7 +21612,7 @@ declare namespace io.flow.internal.v0.unions {
21511
21612
  type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
21512
21613
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
21513
21614
  type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
21514
- type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
21615
+ type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated;
21515
21616
  type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
21516
21617
  type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
21517
21618
  type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
@@ -21572,6 +21673,8 @@ declare namespace io.flow.internal.v0.unions {
21572
21673
  type FeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm | io.flow.internal.v0.models.StringFeatureRuleForm;
21573
21674
  type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
21574
21675
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
21676
+ type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
21677
+ type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
21575
21678
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
21576
21679
  type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
21577
21680
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
@@ -22038,6 +22141,7 @@ export declare type CheckoutPaypalAuthorizationPayload = io.flow.internal.v0.mod
22038
22141
  export declare type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
22039
22142
  export declare type CheckoutPredictionInputs = io.flow.internal.v0.models.CheckoutPredictionInputs;
22040
22143
  export declare type CheckoutPrice = io.flow.internal.v0.unions.CheckoutPrice;
22144
+ export declare type CheckoutPriceEstimated = io.flow.internal.v0.models.CheckoutPriceEstimated;
22041
22145
  export declare type CheckoutPriceFree = io.flow.internal.v0.models.CheckoutPriceFree;
22042
22146
  export declare type CheckoutPriceIncluded = io.flow.internal.v0.models.CheckoutPriceIncluded;
22043
22147
  export declare type CheckoutPriceNotYetKnown = io.flow.internal.v0.models.CheckoutPriceNotYetKnown;
@@ -22373,6 +22477,7 @@ export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVer
22373
22477
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
22374
22478
  export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
22375
22479
  export declare type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
22480
+ export declare type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
22376
22481
  export declare type ExportFailed = io.flow.internal.v0.models.ExportFailed;
22377
22482
  export declare type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
22378
22483
  export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
@@ -22437,6 +22542,11 @@ export declare type FraudPendingReview = io.flow.internal.v0.models.FraudPending
22437
22542
  export declare type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
22438
22543
  export declare type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
22439
22544
  export declare type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
22545
+ export declare type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration;
22546
+ export declare type FraudProviderConfigurationForm = io.flow.internal.v0.unions.FraudProviderConfigurationForm;
22547
+ export declare type FraudProviderConfigurationFormRiskified = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
22548
+ export declare type FraudProviderConfigurationRiskified = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
22549
+ export declare type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
22440
22550
  export declare type FraudReview = io.flow.internal.v0.models.FraudReview;
22441
22551
  export declare type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
22442
22552
  export declare type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
@@ -22645,6 +22755,7 @@ export declare type LocalizedItemSnapshot = io.flow.internal.v0.models.Localized
22645
22755
  export declare type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
22646
22756
  export declare type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
22647
22757
  export declare type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
22758
+ export declare type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
22648
22759
  export declare type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
22649
22760
  export declare type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
22650
22761
  export declare type Location = io.flow.internal.v0.models.Location;
@@ -22657,6 +22768,9 @@ export declare type MagentoInstallForm = io.flow.internal.v0.models.MagentoInsta
22657
22768
  export declare type MainTransaction = io.flow.internal.v0.models.MainTransaction;
22658
22769
  export declare type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
22659
22770
  export declare type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
22771
+ export declare type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
22772
+ export declare type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
22773
+ export declare type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
22660
22774
  export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
22661
22775
  export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
22662
22776
  export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
package/dist/api.d.ts CHANGED
@@ -853,7 +853,7 @@ declare namespace io.flow.v0.enums {
853
853
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
854
854
  type EntityIdentifierType = 'ioss' | 'voec';
855
855
  type Environment = 'sandbox' | 'production';
856
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
856
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
857
857
  type ExceptionType = 'open' | 'closed';
858
858
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
859
859
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1041,8 +1041,8 @@ declare namespace io.flow.v0.models {
1041
1041
  interface ActionCapture {
1042
1042
  readonly type: 'capture';
1043
1043
  readonly expires_at?: string;
1044
- readonly amount_awaiting_capture?: number;
1045
- readonly currency?: string;
1044
+ readonly amount_awaiting_capture: number;
1045
+ readonly currency: string;
1046
1046
  }
1047
1047
  interface ActionDisplayInlineWindow {
1048
1048
  readonly type: 'display_inline_window';
@@ -1347,11 +1347,11 @@ declare namespace io.flow.v0.models {
1347
1347
  }
1348
1348
  interface AuthorizationActionResultAdyenV3 {
1349
1349
  readonly type: 'adyen_v3';
1350
- readonly details: any;
1350
+ readonly result: any;
1351
1351
  }
1352
1352
  interface AuthorizationActionResultAdyenV4 {
1353
1353
  readonly type: 'adyen_v4';
1354
- readonly details: any;
1354
+ readonly result: any;
1355
1355
  }
1356
1356
  interface AuthorizationCopyForm {
1357
1357
  readonly discriminator: 'authorization_copy_form';
@@ -4943,9 +4943,23 @@ declare namespace io.flow.v0.models {
4943
4943
  readonly parent_order: io.flow.v0.models.Order;
4944
4944
  readonly replacement_order: io.flow.v0.models.Order;
4945
4945
  }
4946
+ interface OrderReplacementDeleted {
4947
+ readonly discriminator: 'order_replacement_deleted';
4948
+ readonly event_id: string;
4949
+ readonly timestamp: string;
4950
+ readonly organization: string;
4951
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
4952
+ }
4946
4953
  interface OrderReplacementForm {
4947
4954
  readonly items?: io.flow.v0.models.LineItemForm[];
4948
4955
  }
4956
+ interface OrderReplacementUpserted {
4957
+ readonly discriminator: 'order_replacement_upserted';
4958
+ readonly event_id: string;
4959
+ readonly timestamp: string;
4960
+ readonly organization: string;
4961
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
4962
+ }
4949
4963
  interface OrderRuleReference {
4950
4964
  readonly id: string;
4951
4965
  readonly key: string;
@@ -5326,6 +5340,10 @@ declare namespace io.flow.v0.models {
5326
5340
  interface PasswordResetRequestForm {
5327
5341
  readonly email: string;
5328
5342
  }
5343
+ interface PaymentAddress {
5344
+ readonly contact: io.flow.v0.models.Contact;
5345
+ readonly location: io.flow.v0.models.Address;
5346
+ }
5329
5347
  interface PaymentAuthorization {
5330
5348
  readonly id: string;
5331
5349
  readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
@@ -5335,6 +5353,8 @@ declare namespace io.flow.v0.models {
5335
5353
  readonly created_at: string;
5336
5354
  readonly updated_at: string;
5337
5355
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
5356
+ readonly amount: number;
5357
+ readonly currency: string;
5338
5358
  }
5339
5359
  interface PaymentAuthorizationStatus {
5340
5360
  readonly status: io.flow.v0.enums.AuthorizationStatus;
@@ -5577,15 +5597,15 @@ declare namespace io.flow.v0.models {
5577
5597
  }
5578
5598
  interface PaymentRequest {
5579
5599
  readonly id: string;
5580
- readonly status: io.flow.v0.models.PaymentRequestStatus;
5600
+ readonly status: io.flow.v0.enums.PaymentStatus;
5581
5601
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
5582
5602
  readonly next_action?: io.flow.v0.unions.Action;
5583
5603
  readonly amount: number;
5584
5604
  readonly amount_refundable?: number;
5585
5605
  readonly currency: string;
5586
5606
  readonly order_details: io.flow.v0.models.OrderDetails;
5587
- readonly customer?: io.flow.v0.models.OrderCustomer;
5588
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
5607
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
5608
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
5589
5609
  readonly ip?: string;
5590
5610
  readonly return_url: string;
5591
5611
  readonly attributes?: Record<string, string>;
@@ -5596,18 +5616,14 @@ declare namespace io.flow.v0.models {
5596
5616
  readonly amount: number;
5597
5617
  readonly currency: string;
5598
5618
  readonly order_details: io.flow.v0.models.OrderDetails;
5599
- readonly customer?: io.flow.v0.models.OrderCustomer;
5600
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
5619
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
5620
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
5601
5621
  readonly ip?: string;
5602
5622
  readonly return_url: string;
5603
5623
  readonly attributes?: Record<string, string>;
5604
5624
  readonly reference?: string;
5605
5625
  readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
5606
5626
  }
5607
- interface PaymentRequestStatus {
5608
- readonly status: io.flow.v0.enums.PaymentStatus;
5609
- readonly reason?: string;
5610
- }
5611
5627
  interface PaymentReversal {
5612
5628
  readonly id: string;
5613
5629
  readonly amount: number;
@@ -7947,7 +7963,7 @@ declare namespace io.flow.v0.unions {
7947
7963
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
7948
7964
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
7949
7965
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
7950
- type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7966
+ type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7951
7967
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
7952
7968
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
7953
7969
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -8794,7 +8810,9 @@ export declare type OrderRefundSummaryPartialCharged = io.flow.v0.enums.OrderRef
8794
8810
  export declare type OrderRefundSummaryPartialForm = io.flow.v0.models.OrderRefundSummaryPartialForm;
8795
8811
  export declare type OrderRefundSummaryPartialIncludes = io.flow.v0.models.OrderRefundSummaryPartialIncludes;
8796
8812
  export declare type OrderReplacement = io.flow.v0.models.OrderReplacement;
8813
+ export declare type OrderReplacementDeleted = io.flow.v0.models.OrderReplacementDeleted;
8797
8814
  export declare type OrderReplacementForm = io.flow.v0.models.OrderReplacementForm;
8815
+ export declare type OrderReplacementUpserted = io.flow.v0.models.OrderReplacementUpserted;
8798
8816
  export declare type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
8799
8817
  export declare type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
8800
8818
  export declare type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
@@ -8861,6 +8879,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
8861
8879
  export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
8862
8880
  export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
8863
8881
  export declare type Payment = io.flow.v0.unions.Payment;
8882
+ export declare type PaymentAddress = io.flow.v0.models.PaymentAddress;
8864
8883
  export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
8865
8884
  export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
8866
8885
  export declare type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -8921,7 +8940,6 @@ export declare type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
8921
8940
  export declare type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
8922
8941
  export declare type PaymentRequest = io.flow.v0.models.PaymentRequest;
8923
8942
  export declare type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
8924
- export declare type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
8925
8943
  export declare type PaymentReversal = io.flow.v0.models.PaymentReversal;
8926
8944
  export declare type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
8927
8945
  export declare type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.14.0",
3
+ "version": "11.15.1",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "9769b7fb2d83cbbedf5b031b65d235cbea955967"
28
+ "gitHead": "f056db30c77211642c466a67cf92ba02364225f6"
29
29
  }
@@ -359,6 +359,7 @@ declare namespace io.flow.experience.v0.enums {
359
359
  | 'by_quantity_percentage';
360
360
  type OrderStatus = 'open' | 'submitted';
361
361
  type OrderStorage = 'do_not_persist' | 'persist';
362
+ type OrderType = 'standard' | 'replacement';
362
363
  type OrganizationPaymentMethodTag = 'deny';
363
364
  type PaymentMethodRuleContentKey = 'description';
364
365
  type PriceFacetBoundary = 'min' | 'max';
@@ -897,6 +898,7 @@ declare namespace io.flow.experience.v0.models {
897
898
  readonly discriminator: 'order';
898
899
  readonly id: string;
899
900
  readonly number: string;
901
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
900
902
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
901
903
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
902
904
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -1097,6 +1099,7 @@ declare namespace io.flow.experience.v0.models {
1097
1099
  }
1098
1100
 
1099
1101
  interface OrderPutForm {
1102
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
1100
1103
  readonly items: io.flow.common.v0.models.LineItemForm[];
1101
1104
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1102
1105
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -1151,6 +1154,16 @@ declare namespace io.flow.experience.v0.models {
1151
1154
  readonly charged: io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
1152
1155
  }
1153
1156
 
1157
+ interface OrderReplacement {
1158
+ readonly id: string;
1159
+ readonly parent_order: io.flow.experience.v0.models.Order;
1160
+ readonly replacement_order: io.flow.experience.v0.models.Order;
1161
+ }
1162
+
1163
+ interface OrderReplacementForm {
1164
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
1165
+ }
1166
+
1154
1167
  interface OrderRuleReference {
1155
1168
  readonly id: string;
1156
1169
  readonly key: string;
@@ -5308,6 +5321,14 @@ declare namespace io.flow.adyen.v0.models {
5308
5321
  readonly paymentData?: string;
5309
5322
  }
5310
5323
 
5324
+ interface PaymentDetailsV663Ds2Challenge {
5325
+ readonly 'threeds2.challengeResult': string;
5326
+ }
5327
+
5328
+ interface PaymentDetailsV663Ds2Fingerprint {
5329
+ readonly 'threeds2.fingerprint': string;
5330
+ }
5331
+
5311
5332
  interface PaymentRequest {
5312
5333
  readonly reference: string;
5313
5334
  readonly merchantAccount: string;
@@ -5385,6 +5406,15 @@ declare namespace io.flow.adyen.v0.models {
5385
5406
  readonly cvc?: string;
5386
5407
  }
5387
5408
 
5409
+ interface SdkV3OnCompleteData {
5410
+ readonly details: any /*object*/;
5411
+ readonly payment_data?: string;
5412
+ }
5413
+
5414
+ interface SdkV3OnCompleteResult {
5415
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5416
+ }
5417
+
5388
5418
  interface ThreeDSecureData {
5389
5419
  readonly authenticationResponse?: string;
5390
5420
  readonly cavv?: string;
@@ -7891,7 +7921,9 @@ declare namespace io.flow.fraud.internal.v0.enums {
7891
7921
  | 'rps'
7892
7922
  | 'other'
7893
7923
  | 'none';
7924
+ type FraudProviderStatus = 'active' | 'archived';
7894
7925
  type FraudReviewResponsibleParty = 'flow' | 'organization';
7926
+ type ManualReviewRuleStatus = 'active' | 'archived';
7895
7927
  type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
7896
7928
  }
7897
7929
 
@@ -7914,6 +7946,19 @@ declare namespace io.flow.fraud.internal.v0.models {
7914
7946
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
7915
7947
  }
7916
7948
 
7949
+ interface FraudProviderConfigurationFormRiskified {
7950
+ readonly discriminator: 'riskified';
7951
+ readonly external_id: string;
7952
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
7953
+ }
7954
+
7955
+ interface FraudProviderConfigurationRiskified {
7956
+ readonly discriminator: 'riskified';
7957
+ readonly key: string;
7958
+ readonly external_id: string;
7959
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
7960
+ }
7961
+
7917
7962
  interface FraudReview {
7918
7963
  readonly id: string;
7919
7964
  readonly organization_id: string;
@@ -7948,11 +7993,29 @@ declare namespace io.flow.fraud.internal.v0.models {
7948
7993
  readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
7949
7994
  }
7950
7995
 
7996
+ interface ManualReviewRule {
7997
+ readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
7998
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
7999
+ readonly duration: io.flow.common.v0.models.Duration;
8000
+ readonly emails: string[];
8001
+ }
8002
+
8003
+ interface ManualReviewRuleForm {
8004
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
8005
+ readonly duration: io.flow.common.v0.models.Duration;
8006
+ readonly emails: string[];
8007
+ }
8008
+
7951
8009
  interface Notification {
7952
8010
  readonly order: io.flow.fraud.internal.v0.models.Decision;
7953
8011
  }
7954
8012
  }
7955
8013
 
8014
+ declare namespace io.flow.fraud.internal.v0.unions {
8015
+ type FraudProviderConfiguration = io.flow.fraud.internal.v0.models.FraudProviderConfigurationRiskified;
8016
+ type FraudProviderConfigurationForm = io.flow.fraud.internal.v0.models.FraudProviderConfigurationFormRiskified;
8017
+ }
8018
+
7956
8019
  declare namespace io.flow.common.v0.enums {
7957
8020
  type AttributeDataType =
7958
8021
  | 'boolean'
@@ -17161,6 +17224,13 @@ declare namespace io.flow.checkout.backend.v0.models {
17161
17224
  readonly address_prediction_metadata?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
17162
17225
  }
17163
17226
 
17227
+ interface CheckoutPriceEstimated {
17228
+ readonly discriminator: 'estimated';
17229
+ readonly amount: number;
17230
+ readonly currency: string;
17231
+ readonly label: string;
17232
+ }
17233
+
17164
17234
  interface CheckoutPriceFree {
17165
17235
  readonly discriminator: 'free';
17166
17236
  readonly placeholder?: string;
@@ -17259,7 +17329,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
17259
17329
  | io.flow.checkout.backend.v0.models.CheckoutPriceFree
17260
17330
  | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown
17261
17331
  | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded
17262
- | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
17332
+ | io.flow.checkout.backend.v0.models.CheckoutPriceStandard
17333
+ | io.flow.checkout.backend.v0.models.CheckoutPriceEstimated;
17263
17334
  }
17264
17335
 
17265
17336
  declare namespace io.flow.organization.v0.enums {
@@ -18575,6 +18646,7 @@ declare namespace io.flow.internal.v0.enums {
18575
18646
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
18576
18647
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
18577
18648
  type ExperimentDiscriminatorKey = 'experience' | 'feature';
18649
+ type ExportContentType = 'item' | 'price_book_item';
18578
18650
  type FeatureScope = 'global' | 'organization';
18579
18651
  type FeatureStatus = 'draft' | 'active' | 'archived';
18580
18652
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -18587,6 +18659,7 @@ declare namespace io.flow.internal.v0.enums {
18587
18659
  | 'rps'
18588
18660
  | 'other'
18589
18661
  | 'none';
18662
+ type FraudProviderStatus = 'active' | 'archived';
18590
18663
  type FraudReviewResponsibleParty = 'flow' | 'organization';
18591
18664
  type FtpIntent =
18592
18665
  | 'orders_from_flow'
@@ -18623,6 +18696,7 @@ declare namespace io.flow.internal.v0.enums {
18623
18696
  | 'low_value_goods_tax'
18624
18697
  | 'high_value_goods_tax'
18625
18698
  | 'duties';
18699
+ type ManualReviewRuleStatus = 'active' | 'archived';
18626
18700
  type MarketingGatewayAccountConnectionStatus =
18627
18701
  | 'not_connected'
18628
18702
  | 'connecting'
@@ -21052,6 +21126,13 @@ declare namespace io.flow.internal.v0.models {
21052
21126
  readonly address_prediction_metadata?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
21053
21127
  }
21054
21128
 
21129
+ interface CheckoutPriceEstimated {
21130
+ readonly discriminator: 'estimated';
21131
+ readonly amount: number;
21132
+ readonly currency: string;
21133
+ readonly label: string;
21134
+ }
21135
+
21055
21136
  interface CheckoutPriceFree {
21056
21137
  readonly discriminator: 'free';
21057
21138
  readonly placeholder?: string;
@@ -22947,6 +23028,19 @@ declare namespace io.flow.internal.v0.models {
22947
23028
  readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
22948
23029
  }
22949
23030
 
23031
+ interface FraudProviderConfigurationFormRiskified {
23032
+ readonly discriminator: 'riskified';
23033
+ readonly external_id: string;
23034
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
23035
+ }
23036
+
23037
+ interface FraudProviderConfigurationRiskified {
23038
+ readonly discriminator: 'riskified';
23039
+ readonly key: string;
23040
+ readonly external_id: string;
23041
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
23042
+ }
23043
+
22950
23044
  interface FraudReview {
22951
23045
  readonly id: string;
22952
23046
  readonly organization_id: string;
@@ -24593,6 +24687,7 @@ declare namespace io.flow.internal.v0.models {
24593
24687
  }
24594
24688
 
24595
24689
  interface LocalizedItemsExportSettings {
24690
+ readonly content_type: io.flow.internal.v0.enums.ExportContentType;
24596
24691
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
24597
24692
  readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
24598
24693
  }
@@ -24609,6 +24704,18 @@ declare namespace io.flow.internal.v0.models {
24609
24704
  readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
24610
24705
  }
24611
24706
 
24707
+ interface LocalizedPriceBookItemData {
24708
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
24709
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
24710
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
24711
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
24712
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
24713
+ readonly price_book_key: string;
24714
+ readonly price_book_item_price: io.flow.common.v0.models.Price;
24715
+ readonly price_start_date: string;
24716
+ readonly price_end_date?: string;
24717
+ }
24718
+
24612
24719
  interface LocalizedPriceBookItemDeleted {
24613
24720
  readonly discriminator: 'localized_price_book_item_deleted';
24614
24721
  readonly event_id: string;
@@ -24686,6 +24793,19 @@ declare namespace io.flow.internal.v0.models {
24686
24793
  readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
24687
24794
  }
24688
24795
 
24796
+ interface ManualReviewRule {
24797
+ readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
24798
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
24799
+ readonly duration: io.flow.common.v0.models.Duration;
24800
+ readonly emails: string[];
24801
+ }
24802
+
24803
+ interface ManualReviewRuleForm {
24804
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
24805
+ readonly duration: io.flow.common.v0.models.Duration;
24806
+ readonly emails: string[];
24807
+ }
24808
+
24689
24809
  interface ManualTransaction {
24690
24810
  readonly discriminator: 'manual_transaction';
24691
24811
  readonly id: string;
@@ -27603,7 +27723,8 @@ declare namespace io.flow.internal.v0.unions {
27603
27723
  | io.flow.internal.v0.models.CheckoutPriceFree
27604
27724
  | io.flow.internal.v0.models.CheckoutPriceNotYetKnown
27605
27725
  | io.flow.internal.v0.models.CheckoutPriceIncluded
27606
- | io.flow.internal.v0.models.CheckoutPriceStandard;
27726
+ | io.flow.internal.v0.models.CheckoutPriceStandard
27727
+ | io.flow.internal.v0.models.CheckoutPriceEstimated;
27607
27728
  type CheckoutRequestForm =
27608
27729
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
27609
27730
  | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
@@ -27977,6 +28098,8 @@ declare namespace io.flow.internal.v0.unions {
27977
28098
  type FeatureValue =
27978
28099
  | io.flow.internal.v0.models.BooleanFeatureValue
27979
28100
  | io.flow.internal.v0.models.StringFeatureValue;
28101
+ type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
28102
+ type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
27980
28103
  type GlobalSearchResult =
27981
28104
  | io.flow.internal.v0.models.SearchExperienceSummary
27982
28105
  | io.flow.internal.v0.models.SearchExperimentSummary
@@ -28604,6 +28727,7 @@ export type CheckoutPaypalAuthorizationPayload = io.flow.internal.v0.models.Chec
28604
28727
  export type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
28605
28728
  export type CheckoutPredictionInputs = io.flow.internal.v0.models.CheckoutPredictionInputs;
28606
28729
  export type CheckoutPrice = io.flow.internal.v0.unions.CheckoutPrice;
28730
+ export type CheckoutPriceEstimated = io.flow.internal.v0.models.CheckoutPriceEstimated;
28607
28731
  export type CheckoutPriceFree = io.flow.internal.v0.models.CheckoutPriceFree;
28608
28732
  export type CheckoutPriceIncluded = io.flow.internal.v0.models.CheckoutPriceIncluded;
28609
28733
  export type CheckoutPriceNotYetKnown = io.flow.internal.v0.models.CheckoutPriceNotYetKnown;
@@ -28939,6 +29063,7 @@ export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
28939
29063
  export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
28940
29064
  export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
28941
29065
  export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
29066
+ export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
28942
29067
  export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
28943
29068
  export type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
28944
29069
  export type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
@@ -29003,6 +29128,11 @@ export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
29003
29128
  export type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
29004
29129
  export type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
29005
29130
  export type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
29131
+ export type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration;
29132
+ export type FraudProviderConfigurationForm = io.flow.internal.v0.unions.FraudProviderConfigurationForm;
29133
+ export type FraudProviderConfigurationFormRiskified = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
29134
+ export type FraudProviderConfigurationRiskified = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
29135
+ export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
29006
29136
  export type FraudReview = io.flow.internal.v0.models.FraudReview;
29007
29137
  export type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
29008
29138
  export type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
@@ -29211,6 +29341,7 @@ export type LocalizedItemSnapshot = io.flow.internal.v0.models.LocalizedItemSnap
29211
29341
  export type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
29212
29342
  export type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
29213
29343
  export type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
29344
+ export type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
29214
29345
  export type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
29215
29346
  export type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
29216
29347
  export type Location = io.flow.internal.v0.models.Location;
@@ -29223,6 +29354,9 @@ export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
29223
29354
  export type MainTransaction = io.flow.internal.v0.models.MainTransaction;
29224
29355
  export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
29225
29356
  export type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
29357
+ export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
29358
+ export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
29359
+ export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
29226
29360
  export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
29227
29361
  export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
29228
29362
  export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
package/src/api.ts CHANGED
@@ -1247,6 +1247,8 @@ declare namespace io.flow.v0.enums {
1247
1247
  | 'order_identifier_deleted_v2'
1248
1248
  | 'order_identifier_upserted_v2'
1249
1249
  | 'order_identifier_upserted_v3'
1250
+ | 'order_replacement_upserted'
1251
+ | 'order_replacement_deleted'
1250
1252
  | 'pricing_deleted'
1251
1253
  | 'pricing_upserted'
1252
1254
  | 'order_service_change_request'
@@ -1798,8 +1800,8 @@ declare namespace io.flow.v0.models {
1798
1800
  interface ActionCapture {
1799
1801
  readonly type: 'capture';
1800
1802
  readonly expires_at?: string;
1801
- readonly amount_awaiting_capture?: number;
1802
- readonly currency?: string;
1803
+ readonly amount_awaiting_capture: number;
1804
+ readonly currency: string;
1803
1805
  }
1804
1806
 
1805
1807
  interface ActionDisplayInlineWindow {
@@ -2155,12 +2157,12 @@ declare namespace io.flow.v0.models {
2155
2157
 
2156
2158
  interface AuthorizationActionResultAdyenV3 {
2157
2159
  readonly type: 'adyen_v3';
2158
- readonly details: any /*object*/;
2160
+ readonly result: any /*object*/;
2159
2161
  }
2160
2162
 
2161
2163
  interface AuthorizationActionResultAdyenV4 {
2162
2164
  readonly type: 'adyen_v4';
2163
- readonly details: any /*object*/;
2165
+ readonly result: any /*object*/;
2164
2166
  }
2165
2167
 
2166
2168
  interface AuthorizationCopyForm {
@@ -6335,10 +6337,26 @@ declare namespace io.flow.v0.models {
6335
6337
  readonly replacement_order: io.flow.v0.models.Order;
6336
6338
  }
6337
6339
 
6340
+ interface OrderReplacementDeleted {
6341
+ readonly discriminator: 'order_replacement_deleted';
6342
+ readonly event_id: string;
6343
+ readonly timestamp: string;
6344
+ readonly organization: string;
6345
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
6346
+ }
6347
+
6338
6348
  interface OrderReplacementForm {
6339
6349
  readonly items?: io.flow.v0.models.LineItemForm[];
6340
6350
  }
6341
6351
 
6352
+ interface OrderReplacementUpserted {
6353
+ readonly discriminator: 'order_replacement_upserted';
6354
+ readonly event_id: string;
6355
+ readonly timestamp: string;
6356
+ readonly organization: string;
6357
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
6358
+ }
6359
+
6342
6360
  interface OrderRuleReference {
6343
6361
  readonly id: string;
6344
6362
  readonly key: string;
@@ -6778,6 +6796,11 @@ declare namespace io.flow.v0.models {
6778
6796
  readonly email: string;
6779
6797
  }
6780
6798
 
6799
+ interface PaymentAddress {
6800
+ readonly contact: io.flow.v0.models.Contact;
6801
+ readonly location: io.flow.v0.models.Address;
6802
+ }
6803
+
6781
6804
  interface PaymentAuthorization {
6782
6805
  readonly id: string;
6783
6806
  readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
@@ -6787,6 +6810,8 @@ declare namespace io.flow.v0.models {
6787
6810
  readonly created_at: string;
6788
6811
  readonly updated_at: string;
6789
6812
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
6813
+ readonly amount: number;
6814
+ readonly currency: string;
6790
6815
  }
6791
6816
 
6792
6817
  interface PaymentAuthorizationStatus {
@@ -7077,15 +7102,15 @@ declare namespace io.flow.v0.models {
7077
7102
 
7078
7103
  interface PaymentRequest {
7079
7104
  readonly id: string;
7080
- readonly status: io.flow.v0.models.PaymentRequestStatus;
7105
+ readonly status: io.flow.v0.enums.PaymentStatus;
7081
7106
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
7082
7107
  readonly next_action?: io.flow.v0.unions.Action;
7083
7108
  readonly amount: number;
7084
7109
  readonly amount_refundable?: number;
7085
7110
  readonly currency: string;
7086
7111
  readonly order_details: io.flow.v0.models.OrderDetails;
7087
- readonly customer?: io.flow.v0.models.OrderCustomer;
7088
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7112
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
7113
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
7089
7114
  readonly ip?: string;
7090
7115
  readonly return_url: string;
7091
7116
  readonly attributes?: Record<string, string>;
@@ -7097,8 +7122,8 @@ declare namespace io.flow.v0.models {
7097
7122
  readonly amount: number;
7098
7123
  readonly currency: string;
7099
7124
  readonly order_details: io.flow.v0.models.OrderDetails;
7100
- readonly customer?: io.flow.v0.models.OrderCustomer;
7101
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7125
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
7126
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
7102
7127
  readonly ip?: string;
7103
7128
  readonly return_url: string;
7104
7129
  readonly attributes?: Record<string, string>;
@@ -7106,11 +7131,6 @@ declare namespace io.flow.v0.models {
7106
7131
  readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
7107
7132
  }
7108
7133
 
7109
- interface PaymentRequestStatus {
7110
- readonly status: io.flow.v0.enums.PaymentStatus;
7111
- readonly reason?: string;
7112
- }
7113
-
7114
7134
  interface PaymentReversal {
7115
7135
  readonly id: string;
7116
7136
  readonly amount: number;
@@ -9953,6 +9973,8 @@ declare namespace io.flow.v0.unions {
9953
9973
  | io.flow.v0.models.OrderIdentifierDeletedV2
9954
9974
  | io.flow.v0.models.OrderIdentifierUpsertedV2
9955
9975
  | io.flow.v0.models.OrderIdentifierUpsertedV3
9976
+ | io.flow.v0.models.OrderReplacementUpserted
9977
+ | io.flow.v0.models.OrderReplacementDeleted
9956
9978
  | io.flow.v0.models.PricingDeleted
9957
9979
  | io.flow.v0.models.PricingUpserted
9958
9980
  | io.flow.v0.models.OrderServiceChangeRequest
@@ -11036,7 +11058,9 @@ export type OrderRefundSummaryPartialCharged = io.flow.v0.enums.OrderRefundSumma
11036
11058
  export type OrderRefundSummaryPartialForm = io.flow.v0.models.OrderRefundSummaryPartialForm;
11037
11059
  export type OrderRefundSummaryPartialIncludes = io.flow.v0.models.OrderRefundSummaryPartialIncludes;
11038
11060
  export type OrderReplacement = io.flow.v0.models.OrderReplacement;
11061
+ export type OrderReplacementDeleted = io.flow.v0.models.OrderReplacementDeleted;
11039
11062
  export type OrderReplacementForm = io.flow.v0.models.OrderReplacementForm;
11063
+ export type OrderReplacementUpserted = io.flow.v0.models.OrderReplacementUpserted;
11040
11064
  export type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
11041
11065
  export type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
11042
11066
  export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
@@ -11103,6 +11127,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
11103
11127
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
11104
11128
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
11105
11129
  export type Payment = io.flow.v0.unions.Payment;
11130
+ export type PaymentAddress = io.flow.v0.models.PaymentAddress;
11106
11131
  export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
11107
11132
  export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
11108
11133
  export type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -11163,7 +11188,6 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
11163
11188
  export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
11164
11189
  export type PaymentRequest = io.flow.v0.models.PaymentRequest;
11165
11190
  export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
11166
- export type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
11167
11191
  export type PaymentReversal = io.flow.v0.models.PaymentReversal;
11168
11192
  export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
11169
11193
  export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;