@flowio/types 11.15.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.
- package/dist/api-internal.d.ts +90 -0
- package/dist/api.d.ts +16 -14
- package/package.json +2 -2
- package/src/api-internal.ts +104 -0
- package/src/api.ts +17 -15
package/dist/api-internal.d.ts
CHANGED
|
@@ -3925,6 +3925,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3925
3925
|
readonly details: any;
|
|
3926
3926
|
readonly paymentData?: string;
|
|
3927
3927
|
}
|
|
3928
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
3929
|
+
readonly 'threeds2.challengeResult': string;
|
|
3930
|
+
}
|
|
3931
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
3932
|
+
readonly 'threeds2.fingerprint': string;
|
|
3933
|
+
}
|
|
3928
3934
|
interface PaymentRequest {
|
|
3929
3935
|
readonly reference: string;
|
|
3930
3936
|
readonly merchantAccount: string;
|
|
@@ -3994,6 +4000,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3994
4000
|
readonly number: string;
|
|
3995
4001
|
readonly cvc?: string;
|
|
3996
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
|
+
}
|
|
3997
4010
|
interface ThreeDSecureData {
|
|
3998
4011
|
readonly authenticationResponse?: string;
|
|
3999
4012
|
readonly cavv?: string;
|
|
@@ -6007,7 +6020,9 @@ declare namespace io.flow.payment.internal.v0.unions {
|
|
|
6007
6020
|
declare namespace io.flow.fraud.internal.v0.enums {
|
|
6008
6021
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
6009
6022
|
type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
|
|
6023
|
+
type FraudProviderStatus = 'active' | 'archived';
|
|
6010
6024
|
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
6025
|
+
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
6011
6026
|
type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
|
|
6012
6027
|
}
|
|
6013
6028
|
declare namespace io.flow.fraud.internal.v0.models {
|
|
@@ -6027,6 +6042,17 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
6027
6042
|
readonly apply_at?: string;
|
|
6028
6043
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
6029
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
|
+
}
|
|
6030
6056
|
interface FraudReview {
|
|
6031
6057
|
readonly id: string;
|
|
6032
6058
|
readonly organization_id: string;
|
|
@@ -6057,10 +6083,25 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
6057
6083
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
6058
6084
|
readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
|
|
6059
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
|
+
}
|
|
6060
6097
|
interface Notification {
|
|
6061
6098
|
readonly order: io.flow.fraud.internal.v0.models.Decision;
|
|
6062
6099
|
}
|
|
6063
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
|
+
}
|
|
6064
6105
|
declare namespace io.flow.common.v0.enums {
|
|
6065
6106
|
type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
|
|
6066
6107
|
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
@@ -13988,12 +14029,14 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13988
14029
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
13989
14030
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
13990
14031
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
14032
|
+
type ExportContentType = 'item' | 'price_book_item';
|
|
13991
14033
|
type FeatureScope = 'global' | 'organization';
|
|
13992
14034
|
type FeatureStatus = 'draft' | 'active' | 'archived';
|
|
13993
14035
|
type FeatureType = 'boolean' | 'decimal' | 'string';
|
|
13994
14036
|
type FlowApp = 'console';
|
|
13995
14037
|
type Format = 'text' | 'phone' | 'email';
|
|
13996
14038
|
type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
|
|
14039
|
+
type FraudProviderStatus = 'active' | 'archived';
|
|
13997
14040
|
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
13998
14041
|
type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
|
|
13999
14042
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
@@ -14009,6 +14052,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14009
14052
|
type ItemType = 'standard' | 'multi_product';
|
|
14010
14053
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
14011
14054
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
14055
|
+
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
14012
14056
|
type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
|
|
14013
14057
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
14014
14058
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
@@ -17566,6 +17610,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17566
17610
|
readonly id: string;
|
|
17567
17611
|
readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
|
|
17568
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
|
+
}
|
|
17569
17624
|
interface FraudReview {
|
|
17570
17625
|
readonly id: string;
|
|
17571
17626
|
readonly organization_id: string;
|
|
@@ -19020,6 +19075,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19020
19075
|
readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
19021
19076
|
}
|
|
19022
19077
|
interface LocalizedItemsExportSettings {
|
|
19078
|
+
readonly content_type: io.flow.internal.v0.enums.ExportContentType;
|
|
19023
19079
|
readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
19024
19080
|
readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
19025
19081
|
}
|
|
@@ -19034,6 +19090,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19034
19090
|
readonly price_book_item_price: io.flow.common.v0.models.Price;
|
|
19035
19091
|
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
19036
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
|
+
}
|
|
19037
19104
|
interface LocalizedPriceBookItemDeleted {
|
|
19038
19105
|
readonly discriminator: 'localized_price_book_item_deleted';
|
|
19039
19106
|
readonly event_id: string;
|
|
@@ -19099,6 +19166,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19099
19166
|
readonly organization: string;
|
|
19100
19167
|
readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
|
|
19101
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
|
+
}
|
|
19102
19180
|
interface ManualTransaction {
|
|
19103
19181
|
readonly discriminator: 'manual_transaction';
|
|
19104
19182
|
readonly id: string;
|
|
@@ -21595,6 +21673,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21595
21673
|
type FeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm | io.flow.internal.v0.models.StringFeatureRuleForm;
|
|
21596
21674
|
type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
|
|
21597
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;
|
|
21598
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;
|
|
21599
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;
|
|
21600
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;
|
|
@@ -22397,6 +22477,7 @@ export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVer
|
|
|
22397
22477
|
export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
|
|
22398
22478
|
export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
|
|
22399
22479
|
export declare type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
|
|
22480
|
+
export declare type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
|
|
22400
22481
|
export declare type ExportFailed = io.flow.internal.v0.models.ExportFailed;
|
|
22401
22482
|
export declare type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
|
|
22402
22483
|
export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
|
|
@@ -22461,6 +22542,11 @@ export declare type FraudPendingReview = io.flow.internal.v0.models.FraudPending
|
|
|
22461
22542
|
export declare type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
|
|
22462
22543
|
export declare type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
|
|
22463
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;
|
|
22464
22550
|
export declare type FraudReview = io.flow.internal.v0.models.FraudReview;
|
|
22465
22551
|
export declare type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
|
|
22466
22552
|
export declare type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
|
|
@@ -22669,6 +22755,7 @@ export declare type LocalizedItemSnapshot = io.flow.internal.v0.models.Localized
|
|
|
22669
22755
|
export declare type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
|
|
22670
22756
|
export declare type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
|
|
22671
22757
|
export declare type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
|
|
22758
|
+
export declare type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
|
|
22672
22759
|
export declare type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
|
|
22673
22760
|
export declare type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
|
|
22674
22761
|
export declare type Location = io.flow.internal.v0.models.Location;
|
|
@@ -22681,6 +22768,9 @@ export declare type MagentoInstallForm = io.flow.internal.v0.models.MagentoInsta
|
|
|
22681
22768
|
export declare type MainTransaction = io.flow.internal.v0.models.MainTransaction;
|
|
22682
22769
|
export declare type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
|
|
22683
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;
|
|
22684
22774
|
export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
22685
22775
|
export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
22686
22776
|
export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
|
package/dist/api.d.ts
CHANGED
|
@@ -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
|
|
1045
|
-
readonly currency
|
|
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
|
|
1350
|
+
readonly result: any;
|
|
1351
1351
|
}
|
|
1352
1352
|
interface AuthorizationActionResultAdyenV4 {
|
|
1353
1353
|
readonly type: 'adyen_v4';
|
|
1354
|
-
readonly
|
|
1354
|
+
readonly result: any;
|
|
1355
1355
|
}
|
|
1356
1356
|
interface AuthorizationCopyForm {
|
|
1357
1357
|
readonly discriminator: 'authorization_copy_form';
|
|
@@ -5340,6 +5340,10 @@ declare namespace io.flow.v0.models {
|
|
|
5340
5340
|
interface PasswordResetRequestForm {
|
|
5341
5341
|
readonly email: string;
|
|
5342
5342
|
}
|
|
5343
|
+
interface PaymentAddress {
|
|
5344
|
+
readonly contact: io.flow.v0.models.Contact;
|
|
5345
|
+
readonly location: io.flow.v0.models.Address;
|
|
5346
|
+
}
|
|
5343
5347
|
interface PaymentAuthorization {
|
|
5344
5348
|
readonly id: string;
|
|
5345
5349
|
readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
|
|
@@ -5349,6 +5353,8 @@ declare namespace io.flow.v0.models {
|
|
|
5349
5353
|
readonly created_at: string;
|
|
5350
5354
|
readonly updated_at: string;
|
|
5351
5355
|
readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
|
|
5356
|
+
readonly amount: number;
|
|
5357
|
+
readonly currency: string;
|
|
5352
5358
|
}
|
|
5353
5359
|
interface PaymentAuthorizationStatus {
|
|
5354
5360
|
readonly status: io.flow.v0.enums.AuthorizationStatus;
|
|
@@ -5591,15 +5597,15 @@ declare namespace io.flow.v0.models {
|
|
|
5591
5597
|
}
|
|
5592
5598
|
interface PaymentRequest {
|
|
5593
5599
|
readonly id: string;
|
|
5594
|
-
readonly status: io.flow.v0.
|
|
5600
|
+
readonly status: io.flow.v0.enums.PaymentStatus;
|
|
5595
5601
|
readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
|
|
5596
5602
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
5597
5603
|
readonly amount: number;
|
|
5598
5604
|
readonly amount_refundable?: number;
|
|
5599
5605
|
readonly currency: string;
|
|
5600
5606
|
readonly order_details: io.flow.v0.models.OrderDetails;
|
|
5601
|
-
readonly
|
|
5602
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
5607
|
+
readonly billing_address?: io.flow.v0.models.PaymentAddress;
|
|
5608
|
+
readonly shipping_address?: io.flow.v0.models.PaymentAddress;
|
|
5603
5609
|
readonly ip?: string;
|
|
5604
5610
|
readonly return_url: string;
|
|
5605
5611
|
readonly attributes?: Record<string, string>;
|
|
@@ -5610,18 +5616,14 @@ declare namespace io.flow.v0.models {
|
|
|
5610
5616
|
readonly amount: number;
|
|
5611
5617
|
readonly currency: string;
|
|
5612
5618
|
readonly order_details: io.flow.v0.models.OrderDetails;
|
|
5613
|
-
readonly
|
|
5614
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
5619
|
+
readonly billing_address?: io.flow.v0.models.PaymentAddress;
|
|
5620
|
+
readonly shipping_address?: io.flow.v0.models.PaymentAddress;
|
|
5615
5621
|
readonly ip?: string;
|
|
5616
5622
|
readonly return_url: string;
|
|
5617
5623
|
readonly attributes?: Record<string, string>;
|
|
5618
5624
|
readonly reference?: string;
|
|
5619
5625
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
5620
5626
|
}
|
|
5621
|
-
interface PaymentRequestStatus {
|
|
5622
|
-
readonly status: io.flow.v0.enums.PaymentStatus;
|
|
5623
|
-
readonly reason?: string;
|
|
5624
|
-
}
|
|
5625
5627
|
interface PaymentReversal {
|
|
5626
5628
|
readonly id: string;
|
|
5627
5629
|
readonly amount: number;
|
|
@@ -8877,6 +8879,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
|
|
|
8877
8879
|
export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
|
|
8878
8880
|
export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
|
|
8879
8881
|
export declare type Payment = io.flow.v0.unions.Payment;
|
|
8882
|
+
export declare type PaymentAddress = io.flow.v0.models.PaymentAddress;
|
|
8880
8883
|
export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
|
|
8881
8884
|
export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
|
|
8882
8885
|
export declare type PaymentCapture = io.flow.v0.models.PaymentCapture;
|
|
@@ -8937,7 +8940,6 @@ export declare type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
8937
8940
|
export declare type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
8938
8941
|
export declare type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
8939
8942
|
export declare type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
|
|
8940
|
-
export declare type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
|
|
8941
8943
|
export declare type PaymentReversal = io.flow.v0.models.PaymentReversal;
|
|
8942
8944
|
export declare type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
|
|
8943
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.15.
|
|
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": "
|
|
28
|
+
"gitHead": "f056db30c77211642c466a67cf92ba02364225f6"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5321,6 +5321,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5321
5321
|
readonly paymentData?: string;
|
|
5322
5322
|
}
|
|
5323
5323
|
|
|
5324
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
5325
|
+
readonly 'threeds2.challengeResult': string;
|
|
5326
|
+
}
|
|
5327
|
+
|
|
5328
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5329
|
+
readonly 'threeds2.fingerprint': string;
|
|
5330
|
+
}
|
|
5331
|
+
|
|
5324
5332
|
interface PaymentRequest {
|
|
5325
5333
|
readonly reference: string;
|
|
5326
5334
|
readonly merchantAccount: string;
|
|
@@ -5398,6 +5406,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5398
5406
|
readonly cvc?: string;
|
|
5399
5407
|
}
|
|
5400
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
|
+
|
|
5401
5418
|
interface ThreeDSecureData {
|
|
5402
5419
|
readonly authenticationResponse?: string;
|
|
5403
5420
|
readonly cavv?: string;
|
|
@@ -7904,7 +7921,9 @@ declare namespace io.flow.fraud.internal.v0.enums {
|
|
|
7904
7921
|
| 'rps'
|
|
7905
7922
|
| 'other'
|
|
7906
7923
|
| 'none';
|
|
7924
|
+
type FraudProviderStatus = 'active' | 'archived';
|
|
7907
7925
|
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
7926
|
+
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
7908
7927
|
type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
|
|
7909
7928
|
}
|
|
7910
7929
|
|
|
@@ -7927,6 +7946,19 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
7927
7946
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
7928
7947
|
}
|
|
7929
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
|
+
|
|
7930
7962
|
interface FraudReview {
|
|
7931
7963
|
readonly id: string;
|
|
7932
7964
|
readonly organization_id: string;
|
|
@@ -7961,11 +7993,29 @@ declare namespace io.flow.fraud.internal.v0.models {
|
|
|
7961
7993
|
readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
|
|
7962
7994
|
}
|
|
7963
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
|
+
|
|
7964
8009
|
interface Notification {
|
|
7965
8010
|
readonly order: io.flow.fraud.internal.v0.models.Decision;
|
|
7966
8011
|
}
|
|
7967
8012
|
}
|
|
7968
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
|
+
|
|
7969
8019
|
declare namespace io.flow.common.v0.enums {
|
|
7970
8020
|
type AttributeDataType =
|
|
7971
8021
|
| 'boolean'
|
|
@@ -18596,6 +18646,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18596
18646
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
18597
18647
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
18598
18648
|
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
18649
|
+
type ExportContentType = 'item' | 'price_book_item';
|
|
18599
18650
|
type FeatureScope = 'global' | 'organization';
|
|
18600
18651
|
type FeatureStatus = 'draft' | 'active' | 'archived';
|
|
18601
18652
|
type FeatureType = 'boolean' | 'decimal' | 'string';
|
|
@@ -18608,6 +18659,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18608
18659
|
| 'rps'
|
|
18609
18660
|
| 'other'
|
|
18610
18661
|
| 'none';
|
|
18662
|
+
type FraudProviderStatus = 'active' | 'archived';
|
|
18611
18663
|
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
18612
18664
|
type FtpIntent =
|
|
18613
18665
|
| 'orders_from_flow'
|
|
@@ -18644,6 +18696,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18644
18696
|
| 'low_value_goods_tax'
|
|
18645
18697
|
| 'high_value_goods_tax'
|
|
18646
18698
|
| 'duties';
|
|
18699
|
+
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
18647
18700
|
type MarketingGatewayAccountConnectionStatus =
|
|
18648
18701
|
| 'not_connected'
|
|
18649
18702
|
| 'connecting'
|
|
@@ -22975,6 +23028,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22975
23028
|
readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
|
|
22976
23029
|
}
|
|
22977
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
|
+
|
|
22978
23044
|
interface FraudReview {
|
|
22979
23045
|
readonly id: string;
|
|
22980
23046
|
readonly organization_id: string;
|
|
@@ -24621,6 +24687,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24621
24687
|
}
|
|
24622
24688
|
|
|
24623
24689
|
interface LocalizedItemsExportSettings {
|
|
24690
|
+
readonly content_type: io.flow.internal.v0.enums.ExportContentType;
|
|
24624
24691
|
readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
24625
24692
|
readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
24626
24693
|
}
|
|
@@ -24637,6 +24704,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24637
24704
|
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
24638
24705
|
}
|
|
24639
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
|
+
|
|
24640
24719
|
interface LocalizedPriceBookItemDeleted {
|
|
24641
24720
|
readonly discriminator: 'localized_price_book_item_deleted';
|
|
24642
24721
|
readonly event_id: string;
|
|
@@ -24714,6 +24793,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24714
24793
|
readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
|
|
24715
24794
|
}
|
|
24716
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
|
+
|
|
24717
24809
|
interface ManualTransaction {
|
|
24718
24810
|
readonly discriminator: 'manual_transaction';
|
|
24719
24811
|
readonly id: string;
|
|
@@ -28006,6 +28098,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
28006
28098
|
type FeatureValue =
|
|
28007
28099
|
| io.flow.internal.v0.models.BooleanFeatureValue
|
|
28008
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;
|
|
28009
28103
|
type GlobalSearchResult =
|
|
28010
28104
|
| io.flow.internal.v0.models.SearchExperienceSummary
|
|
28011
28105
|
| io.flow.internal.v0.models.SearchExperimentSummary
|
|
@@ -28969,6 +29063,7 @@ export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
|
|
|
28969
29063
|
export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
|
|
28970
29064
|
export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
|
|
28971
29065
|
export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
|
|
29066
|
+
export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
|
|
28972
29067
|
export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
|
|
28973
29068
|
export type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
|
|
28974
29069
|
export type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
|
|
@@ -29033,6 +29128,11 @@ export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
|
|
|
29033
29128
|
export type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
|
|
29034
29129
|
export type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
|
|
29035
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;
|
|
29036
29136
|
export type FraudReview = io.flow.internal.v0.models.FraudReview;
|
|
29037
29137
|
export type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
|
|
29038
29138
|
export type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
|
|
@@ -29241,6 +29341,7 @@ export type LocalizedItemSnapshot = io.flow.internal.v0.models.LocalizedItemSnap
|
|
|
29241
29341
|
export type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
|
|
29242
29342
|
export type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
|
|
29243
29343
|
export type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
|
|
29344
|
+
export type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
|
|
29244
29345
|
export type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
|
|
29245
29346
|
export type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
|
|
29246
29347
|
export type Location = io.flow.internal.v0.models.Location;
|
|
@@ -29253,6 +29354,9 @@ export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
|
|
|
29253
29354
|
export type MainTransaction = io.flow.internal.v0.models.MainTransaction;
|
|
29254
29355
|
export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
|
|
29255
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;
|
|
29256
29360
|
export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
29257
29361
|
export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
29258
29362
|
export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
|
package/src/api.ts
CHANGED
|
@@ -1800,8 +1800,8 @@ declare namespace io.flow.v0.models {
|
|
|
1800
1800
|
interface ActionCapture {
|
|
1801
1801
|
readonly type: 'capture';
|
|
1802
1802
|
readonly expires_at?: string;
|
|
1803
|
-
readonly amount_awaiting_capture
|
|
1804
|
-
readonly currency
|
|
1803
|
+
readonly amount_awaiting_capture: number;
|
|
1804
|
+
readonly currency: string;
|
|
1805
1805
|
}
|
|
1806
1806
|
|
|
1807
1807
|
interface ActionDisplayInlineWindow {
|
|
@@ -2157,12 +2157,12 @@ declare namespace io.flow.v0.models {
|
|
|
2157
2157
|
|
|
2158
2158
|
interface AuthorizationActionResultAdyenV3 {
|
|
2159
2159
|
readonly type: 'adyen_v3';
|
|
2160
|
-
readonly
|
|
2160
|
+
readonly result: any /*object*/;
|
|
2161
2161
|
}
|
|
2162
2162
|
|
|
2163
2163
|
interface AuthorizationActionResultAdyenV4 {
|
|
2164
2164
|
readonly type: 'adyen_v4';
|
|
2165
|
-
readonly
|
|
2165
|
+
readonly result: any /*object*/;
|
|
2166
2166
|
}
|
|
2167
2167
|
|
|
2168
2168
|
interface AuthorizationCopyForm {
|
|
@@ -6796,6 +6796,11 @@ declare namespace io.flow.v0.models {
|
|
|
6796
6796
|
readonly email: string;
|
|
6797
6797
|
}
|
|
6798
6798
|
|
|
6799
|
+
interface PaymentAddress {
|
|
6800
|
+
readonly contact: io.flow.v0.models.Contact;
|
|
6801
|
+
readonly location: io.flow.v0.models.Address;
|
|
6802
|
+
}
|
|
6803
|
+
|
|
6799
6804
|
interface PaymentAuthorization {
|
|
6800
6805
|
readonly id: string;
|
|
6801
6806
|
readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
|
|
@@ -6805,6 +6810,8 @@ declare namespace io.flow.v0.models {
|
|
|
6805
6810
|
readonly created_at: string;
|
|
6806
6811
|
readonly updated_at: string;
|
|
6807
6812
|
readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
|
|
6813
|
+
readonly amount: number;
|
|
6814
|
+
readonly currency: string;
|
|
6808
6815
|
}
|
|
6809
6816
|
|
|
6810
6817
|
interface PaymentAuthorizationStatus {
|
|
@@ -7095,15 +7102,15 @@ declare namespace io.flow.v0.models {
|
|
|
7095
7102
|
|
|
7096
7103
|
interface PaymentRequest {
|
|
7097
7104
|
readonly id: string;
|
|
7098
|
-
readonly status: io.flow.v0.
|
|
7105
|
+
readonly status: io.flow.v0.enums.PaymentStatus;
|
|
7099
7106
|
readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
|
|
7100
7107
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
7101
7108
|
readonly amount: number;
|
|
7102
7109
|
readonly amount_refundable?: number;
|
|
7103
7110
|
readonly currency: string;
|
|
7104
7111
|
readonly order_details: io.flow.v0.models.OrderDetails;
|
|
7105
|
-
readonly
|
|
7106
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
7112
|
+
readonly billing_address?: io.flow.v0.models.PaymentAddress;
|
|
7113
|
+
readonly shipping_address?: io.flow.v0.models.PaymentAddress;
|
|
7107
7114
|
readonly ip?: string;
|
|
7108
7115
|
readonly return_url: string;
|
|
7109
7116
|
readonly attributes?: Record<string, string>;
|
|
@@ -7115,8 +7122,8 @@ declare namespace io.flow.v0.models {
|
|
|
7115
7122
|
readonly amount: number;
|
|
7116
7123
|
readonly currency: string;
|
|
7117
7124
|
readonly order_details: io.flow.v0.models.OrderDetails;
|
|
7118
|
-
readonly
|
|
7119
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
7125
|
+
readonly billing_address?: io.flow.v0.models.PaymentAddress;
|
|
7126
|
+
readonly shipping_address?: io.flow.v0.models.PaymentAddress;
|
|
7120
7127
|
readonly ip?: string;
|
|
7121
7128
|
readonly return_url: string;
|
|
7122
7129
|
readonly attributes?: Record<string, string>;
|
|
@@ -7124,11 +7131,6 @@ declare namespace io.flow.v0.models {
|
|
|
7124
7131
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
7125
7132
|
}
|
|
7126
7133
|
|
|
7127
|
-
interface PaymentRequestStatus {
|
|
7128
|
-
readonly status: io.flow.v0.enums.PaymentStatus;
|
|
7129
|
-
readonly reason?: string;
|
|
7130
|
-
}
|
|
7131
|
-
|
|
7132
7134
|
interface PaymentReversal {
|
|
7133
7135
|
readonly id: string;
|
|
7134
7136
|
readonly amount: number;
|
|
@@ -11125,6 +11127,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
|
|
|
11125
11127
|
export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
|
|
11126
11128
|
export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
|
|
11127
11129
|
export type Payment = io.flow.v0.unions.Payment;
|
|
11130
|
+
export type PaymentAddress = io.flow.v0.models.PaymentAddress;
|
|
11128
11131
|
export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
|
|
11129
11132
|
export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
|
|
11130
11133
|
export type PaymentCapture = io.flow.v0.models.PaymentCapture;
|
|
@@ -11185,7 +11188,6 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
11185
11188
|
export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
11186
11189
|
export type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
11187
11190
|
export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
|
|
11188
|
-
export type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
|
|
11189
11191
|
export type PaymentReversal = io.flow.v0.models.PaymentReversal;
|
|
11190
11192
|
export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
|
|
11191
11193
|
export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;
|