@flowio/types 11.19.3 → 11.19.5
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 +5473 -5381
- package/dist/api.d.ts +54 -27
- package/package.json +2 -2
- package/src/api-internal.ts +6496 -6391
- package/src/api.ts +62 -27
package/src/api.ts
CHANGED
|
@@ -2265,6 +2265,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2265
2265
|
| 'hybris'
|
|
2266
2266
|
| 'magento'
|
|
2267
2267
|
| 'shopify'
|
|
2268
|
+
| 'shopify_markets'
|
|
2268
2269
|
| 'sfcc'
|
|
2269
2270
|
| 'solidus'
|
|
2270
2271
|
| 'workarea';
|
|
@@ -2422,6 +2423,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2422
2423
|
| 'virtual_card_capture_deleted'
|
|
2423
2424
|
| 'virtual_card_refund_upserted'
|
|
2424
2425
|
| 'virtual_card_refund_deleted'
|
|
2426
|
+
| 'payment_request_upserted'
|
|
2425
2427
|
| 'price_book_upserted'
|
|
2426
2428
|
| 'price_book_deleted'
|
|
2427
2429
|
| 'price_book_item_upserted'
|
|
@@ -2894,19 +2896,6 @@ declare namespace io.flow.v0.models {
|
|
|
2894
2896
|
readonly ip?: string;
|
|
2895
2897
|
}
|
|
2896
2898
|
|
|
2897
|
-
interface ActionAddPaymentMethod {
|
|
2898
|
-
readonly type: 'add_payment_method';
|
|
2899
|
-
readonly expires_at?: string;
|
|
2900
|
-
readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
interface ActionCapture {
|
|
2904
|
-
readonly type: 'capture';
|
|
2905
|
-
readonly expires_at?: string;
|
|
2906
|
-
readonly amount_awaiting_capture: number;
|
|
2907
|
-
readonly currency: string;
|
|
2908
|
-
}
|
|
2909
|
-
|
|
2910
2899
|
interface ActionDisplayInlineWindow {
|
|
2911
2900
|
readonly type: 'display_inline_window';
|
|
2912
2901
|
readonly expires_at?: string;
|
|
@@ -3588,13 +3577,13 @@ declare namespace io.flow.v0.models {
|
|
|
3588
3577
|
|
|
3589
3578
|
interface BrowserDetails {
|
|
3590
3579
|
readonly type: 'browser';
|
|
3591
|
-
readonly origin
|
|
3592
|
-
readonly language
|
|
3593
|
-
readonly java_enabled
|
|
3594
|
-
readonly color_depth
|
|
3595
|
-
readonly screen_height
|
|
3596
|
-
readonly screen_width
|
|
3597
|
-
readonly time_zone_offset
|
|
3580
|
+
readonly origin: string;
|
|
3581
|
+
readonly language: string;
|
|
3582
|
+
readonly java_enabled: boolean;
|
|
3583
|
+
readonly color_depth: number;
|
|
3584
|
+
readonly screen_height: number;
|
|
3585
|
+
readonly screen_width: number;
|
|
3586
|
+
readonly time_zone_offset: number;
|
|
3598
3587
|
readonly user_agent?: string;
|
|
3599
3588
|
readonly accept?: string;
|
|
3600
3589
|
}
|
|
@@ -4795,6 +4784,8 @@ declare namespace io.flow.v0.models {
|
|
|
4795
4784
|
readonly to: string;
|
|
4796
4785
|
readonly timezone?: string;
|
|
4797
4786
|
readonly label?: string;
|
|
4787
|
+
readonly min_days?: number;
|
|
4788
|
+
readonly max_days?: number;
|
|
4798
4789
|
}
|
|
4799
4790
|
|
|
4800
4791
|
interface DeliveryWindowComponent {
|
|
@@ -8041,6 +8032,16 @@ declare namespace io.flow.v0.models {
|
|
|
8041
8032
|
readonly failure_message: string;
|
|
8042
8033
|
}
|
|
8043
8034
|
|
|
8035
|
+
interface PaymentInformation {
|
|
8036
|
+
readonly amount_refundable?: number;
|
|
8037
|
+
readonly amount_refunded?: number;
|
|
8038
|
+
readonly refundable_before?: string;
|
|
8039
|
+
readonly amount_capturable?: number;
|
|
8040
|
+
readonly amount_captured?: number;
|
|
8041
|
+
readonly capturable_before?: string;
|
|
8042
|
+
readonly authorizations: io.flow.v0.models.PaymentAuthorization[];
|
|
8043
|
+
}
|
|
8044
|
+
|
|
8044
8045
|
interface PaymentMethod {
|
|
8045
8046
|
readonly id: string;
|
|
8046
8047
|
readonly type: io.flow.v0.enums.PaymentMethodType;
|
|
@@ -8056,6 +8057,24 @@ declare namespace io.flow.v0.models {
|
|
|
8056
8057
|
readonly images: io.flow.v0.models.PaymentMethodImages;
|
|
8057
8058
|
}
|
|
8058
8059
|
|
|
8060
|
+
interface PaymentMethodCardNumberCipher {
|
|
8061
|
+
readonly type: 'cipher';
|
|
8062
|
+
readonly cipher: string;
|
|
8063
|
+
}
|
|
8064
|
+
|
|
8065
|
+
interface PaymentMethodCardNumberCleartext {
|
|
8066
|
+
readonly type: 'cleartext';
|
|
8067
|
+
readonly number: string;
|
|
8068
|
+
}
|
|
8069
|
+
|
|
8070
|
+
interface PaymentMethodCardPciDetails {
|
|
8071
|
+
readonly type: 'card_pci_details';
|
|
8072
|
+
readonly card_number: io.flow.v0.unions.CardNumber;
|
|
8073
|
+
readonly expiration_month: number;
|
|
8074
|
+
readonly expiration_year: number;
|
|
8075
|
+
readonly name: string;
|
|
8076
|
+
}
|
|
8077
|
+
|
|
8059
8078
|
interface PaymentMethodCardToken {
|
|
8060
8079
|
readonly type: 'token';
|
|
8061
8080
|
readonly token: string;
|
|
@@ -8171,6 +8190,7 @@ declare namespace io.flow.v0.models {
|
|
|
8171
8190
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
8172
8191
|
readonly last_four: string;
|
|
8173
8192
|
readonly card_type: io.flow.v0.enums.CardType;
|
|
8193
|
+
readonly id: string;
|
|
8174
8194
|
}
|
|
8175
8195
|
|
|
8176
8196
|
interface PaymentMethodSummaryGooglepay {
|
|
@@ -8281,10 +8301,10 @@ declare namespace io.flow.v0.models {
|
|
|
8281
8301
|
interface PaymentRequest {
|
|
8282
8302
|
readonly id: string;
|
|
8283
8303
|
readonly status: io.flow.v0.enums.PaymentStatus;
|
|
8304
|
+
readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
|
|
8284
8305
|
readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
|
|
8285
8306
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
8286
8307
|
readonly amount: number;
|
|
8287
|
-
readonly amount_refundable?: number;
|
|
8288
8308
|
readonly currency: string;
|
|
8289
8309
|
readonly order_information: io.flow.v0.unions.OrderInformation;
|
|
8290
8310
|
readonly ip?: string;
|
|
@@ -8292,7 +8312,7 @@ declare namespace io.flow.v0.models {
|
|
|
8292
8312
|
readonly return_url: string;
|
|
8293
8313
|
readonly attributes?: Record<string, string>;
|
|
8294
8314
|
readonly reference?: string;
|
|
8295
|
-
readonly
|
|
8315
|
+
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8296
8316
|
readonly supported_actions: io.flow.v0.enums.SupportedActionType[];
|
|
8297
8317
|
}
|
|
8298
8318
|
|
|
@@ -8309,6 +8329,13 @@ declare namespace io.flow.v0.models {
|
|
|
8309
8329
|
readonly supported_actions?: io.flow.v0.enums.SupportedActionType[];
|
|
8310
8330
|
}
|
|
8311
8331
|
|
|
8332
|
+
interface PaymentRequestUpserted {
|
|
8333
|
+
readonly discriminator: 'payment_request_upserted';
|
|
8334
|
+
readonly event_id: string;
|
|
8335
|
+
readonly timestamp: string;
|
|
8336
|
+
readonly payment_request: io.flow.v0.models.PaymentRequest;
|
|
8337
|
+
}
|
|
8338
|
+
|
|
8312
8339
|
interface PaymentReversal {
|
|
8313
8340
|
readonly id: string;
|
|
8314
8341
|
readonly amount: number;
|
|
@@ -11037,8 +11064,6 @@ declare namespace io.flow.v0.unions {
|
|
|
11037
11064
|
| io.flow.v0.models.ActionUseSdkAdyenV4
|
|
11038
11065
|
| io.flow.v0.models.ActionExecuteScript
|
|
11039
11066
|
| io.flow.v0.models.ActionDisplayInlineWindow
|
|
11040
|
-
| io.flow.v0.models.ActionCapture
|
|
11041
|
-
| io.flow.v0.models.ActionAddPaymentMethod
|
|
11042
11067
|
| io.flow.v0.models.ActionWait;
|
|
11043
11068
|
type AdyenNativeData =
|
|
11044
11069
|
| io.flow.v0.models.AdyenIdentifyShopperData
|
|
@@ -11082,6 +11107,9 @@ declare namespace io.flow.v0.unions {
|
|
|
11082
11107
|
type CardAuthorizationActionResult =
|
|
11083
11108
|
| io.flow.v0.models.AuthorizationActionResultAdyenV3
|
|
11084
11109
|
| io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
11110
|
+
type CardNumber =
|
|
11111
|
+
| io.flow.v0.models.PaymentMethodCardNumberCleartext
|
|
11112
|
+
| io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
11085
11113
|
type CheckoutTokenForm =
|
|
11086
11114
|
| io.flow.v0.models.CheckoutTokenOrderForm
|
|
11087
11115
|
| io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
@@ -11262,6 +11290,7 @@ declare namespace io.flow.v0.unions {
|
|
|
11262
11290
|
| io.flow.v0.models.VirtualCardCaptureDeleted
|
|
11263
11291
|
| io.flow.v0.models.VirtualCardRefundUpserted
|
|
11264
11292
|
| io.flow.v0.models.VirtualCardRefundDeleted
|
|
11293
|
+
| io.flow.v0.models.PaymentRequestUpserted
|
|
11265
11294
|
| io.flow.v0.models.PriceBookUpserted
|
|
11266
11295
|
| io.flow.v0.models.PriceBookDeleted
|
|
11267
11296
|
| io.flow.v0.models.PriceBookItemUpserted
|
|
@@ -11367,7 +11396,9 @@ declare namespace io.flow.v0.unions {
|
|
|
11367
11396
|
| io.flow.v0.models.PaymentPaypal
|
|
11368
11397
|
| io.flow.v0.models.PaymentCryptopay;
|
|
11369
11398
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
11370
|
-
type PaymentMethodCard =
|
|
11399
|
+
type PaymentMethodCard =
|
|
11400
|
+
| io.flow.v0.models.PaymentMethodCardPciDetails
|
|
11401
|
+
| io.flow.v0.models.PaymentMethodCardToken;
|
|
11371
11402
|
type PaymentMethodData =
|
|
11372
11403
|
| io.flow.v0.models.PaymentMethodDataInitKlarna
|
|
11373
11404
|
| io.flow.v0.models.PaymentMethodDataInitAfterpay
|
|
@@ -11493,8 +11524,6 @@ export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
|
11493
11524
|
export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
11494
11525
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
11495
11526
|
export type Action = io.flow.v0.unions.Action;
|
|
11496
|
-
export type ActionAddPaymentMethod = io.flow.v0.models.ActionAddPaymentMethod;
|
|
11497
|
-
export type ActionCapture = io.flow.v0.models.ActionCapture;
|
|
11498
11527
|
export type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow;
|
|
11499
11528
|
export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
|
|
11500
11529
|
export type ActionRedirect = io.flow.v0.models.ActionRedirect;
|
|
@@ -11642,6 +11671,7 @@ export type CardErrorCode = io.flow.v0.enums.CardErrorCode;
|
|
|
11642
11671
|
export type CardForm = io.flow.v0.models.CardForm;
|
|
11643
11672
|
export type CardMetadata = io.flow.v0.models.CardMetadata;
|
|
11644
11673
|
export type CardNonceForm = io.flow.v0.models.CardNonceForm;
|
|
11674
|
+
export type CardNumber = io.flow.v0.unions.CardNumber;
|
|
11645
11675
|
export type CardPaymentSource = io.flow.v0.models.CardPaymentSource;
|
|
11646
11676
|
export type CardPaymentSourceAuthorizationForm = io.flow.v0.models.CardPaymentSourceAuthorizationForm;
|
|
11647
11677
|
export type CardPaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
|
|
@@ -12360,10 +12390,14 @@ export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
|
|
|
12360
12390
|
export type PaymentFailure = io.flow.v0.models.PaymentFailure;
|
|
12361
12391
|
export type PaymentFailureCode = io.flow.v0.enums.PaymentFailureCode;
|
|
12362
12392
|
export type PaymentForm = io.flow.v0.unions.PaymentForm;
|
|
12393
|
+
export type PaymentInformation = io.flow.v0.models.PaymentInformation;
|
|
12363
12394
|
export type PaymentMethod = io.flow.v0.models.PaymentMethod;
|
|
12364
12395
|
export type PaymentMethodBrand = io.flow.v0.models.PaymentMethodBrand;
|
|
12365
12396
|
export type PaymentMethodCapability = io.flow.v0.enums.PaymentMethodCapability;
|
|
12366
12397
|
export type PaymentMethodCard = io.flow.v0.unions.PaymentMethodCard;
|
|
12398
|
+
export type PaymentMethodCardNumberCipher = io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
12399
|
+
export type PaymentMethodCardNumberCleartext = io.flow.v0.models.PaymentMethodCardNumberCleartext;
|
|
12400
|
+
export type PaymentMethodCardPciDetails = io.flow.v0.models.PaymentMethodCardPciDetails;
|
|
12367
12401
|
export type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
|
|
12368
12402
|
export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
|
|
12369
12403
|
export type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
|
|
@@ -12408,6 +12442,7 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
12408
12442
|
export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
12409
12443
|
export type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
12410
12444
|
export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
|
|
12445
|
+
export type PaymentRequestUpserted = io.flow.v0.models.PaymentRequestUpserted;
|
|
12411
12446
|
export type PaymentReversal = io.flow.v0.models.PaymentReversal;
|
|
12412
12447
|
export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
|
|
12413
12448
|
export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;
|