@flowio/api-types 0.0.242 → 0.0.244
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/generated/io.flow.billing.v0.billing.d.ts +1 -1
- package/generated/io.flow.common.v0.common.d.ts +1 -1
- package/generated/io.flow.experience.v0.experience.d.ts +1 -1
- package/generated/io.flow.internal.v0.api-internal.d.ts +135 -412
- package/generated/io.flow.payment.v0.payment.d.ts +15 -1
- package/generated/io.flow.ratecard.v0.ratecard.d.ts +1 -0
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +6 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +56 -1
- package/generated/io.flow.units.v0.units.d.ts +1 -1
- package/generated/io.flow.v0.api.d.ts +76 -64
- package/index.d.ts +0 -1
- package/package.json +2 -2
- package/generated/io.flow.checkout.v0.checkout.d.ts +0 -46
|
@@ -12,6 +12,7 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
12
12
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
13
13
|
type CvvResultCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
|
|
14
14
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
15
|
+
type PaymentFeeType = 'fx' | 'mor';
|
|
15
16
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
16
17
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
17
18
|
type RefundFailureCategory = 'amount_too_high' | 'amount_too_low' | 'not_enough_balance' | 'insufficient_funds' | 'refund_period_expired' | 'dispute' | 'not_captured' | 'unsupported_payment_method' | 'unsupported_partial_refund' | 'invalid_currency' | 'card_no_longer_valid' | 'general';
|
|
@@ -210,6 +211,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
210
211
|
readonly 'attributes'?: Record<string, string>;
|
|
211
212
|
readonly 'status'?: io.flow.payment.v0.enums.CaptureStatus;
|
|
212
213
|
readonly 'base'?: io.flow.common.v0.models.Money;
|
|
214
|
+
readonly 'fees'?: io.flow.payment.v0.models.PaymentFee[];
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
interface CaptureError {
|
|
@@ -454,6 +456,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
454
456
|
readonly 'year': number;
|
|
455
457
|
}
|
|
456
458
|
|
|
459
|
+
interface ExternalCard {
|
|
460
|
+
readonly 'discriminator': 'external_card';
|
|
461
|
+
readonly 'id': string;
|
|
462
|
+
readonly 'type'?: io.flow.payment.v0.enums.CardType;
|
|
463
|
+
}
|
|
464
|
+
|
|
457
465
|
interface GooglePayAuthorizationPayload {
|
|
458
466
|
readonly 'discriminator': 'google_pay_authorization_payload';
|
|
459
467
|
readonly 'payload': any/*object*/;
|
|
@@ -590,6 +598,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
590
598
|
readonly 'codes': io.flow.payment.v0.enums.PaymentErrorCode[];
|
|
591
599
|
}
|
|
592
600
|
|
|
601
|
+
interface PaymentFee {
|
|
602
|
+
readonly 'type': io.flow.payment.v0.enums.PaymentFeeType;
|
|
603
|
+
readonly 'money': io.flow.common.v0.models.Money;
|
|
604
|
+
readonly 'base'?: io.flow.common.v0.models.Money;
|
|
605
|
+
}
|
|
606
|
+
|
|
593
607
|
interface PaymentPaymentRequestReference {
|
|
594
608
|
readonly 'discriminator': 'payment_request';
|
|
595
609
|
readonly 'payment_request_id': string;
|
|
@@ -985,7 +999,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
985
999
|
type BrowserActionConfiguration = (io.flow.payment.v0.models.CardBrowserActionConfiguration);
|
|
986
1000
|
type ConfirmationDetails = (io.flow.payment.v0.models.DirectDebit | io.flow.payment.v0.models.CardConfirmationSummary);
|
|
987
1001
|
type DeviceDetails = (io.flow.payment.v0.models.DeviceDetailsBrowser);
|
|
988
|
-
type ExpandableCard = (io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary);
|
|
1002
|
+
type ExpandableCard = (io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary | io.flow.payment.v0.models.ExternalCard);
|
|
989
1003
|
type ExpandablePaymentProcessor = (io.flow.payment.v0.models.PaymentProcessor | io.flow.payment.v0.models.PaymentProcessorReference);
|
|
990
1004
|
type GatewayAuthenticationData = (io.flow.payment.v0.models.StripeAuthenticationData);
|
|
991
1005
|
type GatewayAuthenticationDataForm = (io.flow.payment.v0.models.StripeAuthenticationDataForm);
|
|
@@ -52,6 +52,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
52
52
|
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
53
53
|
readonly 'discriminator': 'duties_taxes_paid_surcharge_service_fee';
|
|
54
54
|
readonly 'amount': io.flow.common.v0.models.Money;
|
|
55
|
+
readonly 'destination_countries'?: string[];
|
|
55
56
|
readonly 'starts_at'?: string;
|
|
56
57
|
readonly 'ends_at'?: string;
|
|
57
58
|
}
|
|
@@ -78,6 +78,12 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
78
78
|
interface GraphqlMetaobject {
|
|
79
79
|
readonly 'id': string;
|
|
80
80
|
readonly 'displayName': string;
|
|
81
|
+
readonly 'fields': io.flow.shopify.external.v0.models.GraphqlMetaobjectField[];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface GraphqlMetaobjectField {
|
|
85
|
+
readonly 'key': string;
|
|
86
|
+
readonly 'value'?: string;
|
|
81
87
|
}
|
|
82
88
|
|
|
83
89
|
interface GraphqlOption {
|
|
@@ -5,6 +5,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
5
5
|
type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
6
6
|
type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
7
7
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
8
|
+
type CapabilityStatus = 'active' | 'disabled' | 'inactive' | 'pending' | 'unrequested';
|
|
8
9
|
type CaptureMethod = 'automatic' | 'manual';
|
|
9
10
|
type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
|
|
10
11
|
type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
@@ -12,6 +13,9 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
12
13
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
13
14
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
14
15
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
16
|
+
type ConnectReportReportingCategory = 'charge' | 'refund' | 'payout_reversal' | 'transfer' | 'transfer_reversal';
|
|
17
|
+
type ConnectReportShopPlan = 'shopify_plus' | 'standard';
|
|
18
|
+
type ConnectReportTransferType = 'ManagedMarketsRefundDebit' | 'ManagedMarketsDutiesAndTaxesAdjustmentDebit' | 'ManagedMarketsDisputedAmountDebit';
|
|
15
19
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
16
20
|
type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
|
|
17
21
|
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
@@ -22,7 +26,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
22
26
|
type EarlyFraudWarningType = 'card_never_received' | 'fraudulent_card_application' | 'made_with_counterfeit_card' | 'made_with_lost_card' | 'made_with_stolen_card' | 'unauthorized_use_of_card' | 'misc';
|
|
23
27
|
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
24
28
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
25
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
29
|
+
type EventType = 'capability.updated' | 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
26
30
|
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
27
31
|
type FeatureAvailability = 'available' | 'unavailable';
|
|
28
32
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
@@ -114,6 +118,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
114
118
|
readonly 'type': io.flow.stripe.v0.enums.ApplePayType;
|
|
115
119
|
}
|
|
116
120
|
|
|
121
|
+
interface Capability {
|
|
122
|
+
readonly 'id': string;
|
|
123
|
+
readonly 'account': string;
|
|
124
|
+
readonly 'requested': boolean;
|
|
125
|
+
readonly 'requirements': any/*object*/;
|
|
126
|
+
readonly 'status': io.flow.stripe.v0.enums.CapabilityStatus;
|
|
127
|
+
readonly 'object': string;
|
|
128
|
+
readonly 'future_requirements': any/*object*/;
|
|
129
|
+
readonly 'requested_at'?: number;
|
|
130
|
+
}
|
|
131
|
+
|
|
117
132
|
interface Card {
|
|
118
133
|
readonly 'id': string;
|
|
119
134
|
readonly 'object': string;
|
|
@@ -257,6 +272,46 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
257
272
|
readonly 'status': io.flow.stripe.v0.enums.CodeVerificationStatus;
|
|
258
273
|
}
|
|
259
274
|
|
|
275
|
+
interface ConnectReportRecord {
|
|
276
|
+
readonly 'created_utc': string;
|
|
277
|
+
readonly 'charge_id'?: string;
|
|
278
|
+
readonly 'payment_intent_id'?: string;
|
|
279
|
+
readonly 'gross': number;
|
|
280
|
+
readonly 'fee': number;
|
|
281
|
+
readonly 'net': number;
|
|
282
|
+
readonly 'currency': string;
|
|
283
|
+
readonly 'connected_account': string;
|
|
284
|
+
readonly 'reporting_category': io.flow.stripe.v0.enums.ConnectReportReportingCategory;
|
|
285
|
+
readonly 'dispute_reason'?: io.flow.stripe.v0.enums.DisputeReason;
|
|
286
|
+
readonly 'available_on_utc': string;
|
|
287
|
+
readonly 'automatic_payout_effective_at_utc'?: string;
|
|
288
|
+
readonly 'source_id'?: string;
|
|
289
|
+
readonly 'customer_facing_amount'?: number;
|
|
290
|
+
readonly 'customer_facing_currency'?: string;
|
|
291
|
+
readonly 'payment_method_type'?: string;
|
|
292
|
+
readonly 'card_brand'?: string;
|
|
293
|
+
readonly 'statement_descriptor'?: string;
|
|
294
|
+
readonly 'payment_metadata'?: io.flow.stripe.v0.models.ConnectReportRecordPaymentMetadata;
|
|
295
|
+
readonly 'transfer_metadata'?: any/*object*/;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
interface ConnectReportRecordPaymentMetadata {
|
|
299
|
+
readonly 'shop_id'?: number;
|
|
300
|
+
readonly 'shop_plan'?: io.flow.stripe.v0.enums.ConnectReportShopPlan;
|
|
301
|
+
readonly 'checkout_id'?: string;
|
|
302
|
+
readonly 'order_id'?: number;
|
|
303
|
+
readonly 'order_transaction_id'?: number;
|
|
304
|
+
readonly 'transfer_type'?: io.flow.stripe.v0.enums.ConnectReportTransferType;
|
|
305
|
+
readonly 'transfer_exchange_rate'?: number;
|
|
306
|
+
readonly 'charge_total'?: number;
|
|
307
|
+
readonly 'charge_currency'?: string;
|
|
308
|
+
readonly 'charge_exchange_rate'?: number;
|
|
309
|
+
readonly 'duties'?: number;
|
|
310
|
+
readonly 'import_taxes'?: number;
|
|
311
|
+
readonly 'mor_fee'?: number;
|
|
312
|
+
readonly 'fx_fee'?: number;
|
|
313
|
+
}
|
|
314
|
+
|
|
260
315
|
interface Customer {
|
|
261
316
|
readonly 'id': string;
|
|
262
317
|
readonly 'object': string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace io.flow.units.v0.enums {
|
|
2
2
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
3
|
-
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
3
|
+
type UnitOfVolume = 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter';
|
|
4
4
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
5
5
|
}
|
|
@@ -54,7 +54,7 @@ declare namespace io.flow.v0.enums {
|
|
|
54
54
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
55
55
|
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
56
56
|
type Environment = 'sandbox' | 'production';
|
|
57
|
-
type EventType = '
|
|
57
|
+
type EventType = 'test_upserted' | 'generate_load' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_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' | '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' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_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' | 'import_completed_v2' | 'import_failed_v2' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_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_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_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' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
58
58
|
type ExceptionType = 'open' | 'closed';
|
|
59
59
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
60
60
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -75,6 +75,9 @@ declare namespace io.flow.v0.enums {
|
|
|
75
75
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
76
76
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
77
77
|
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
78
|
+
type GeCatalogItemIngestionResponse = 'ge_catalog_item_ingestion_success' | 'ge_catalog_item_ingestion_failure';
|
|
79
|
+
type GeEnvironment = 'production' | 'sandbox';
|
|
80
|
+
type GeEventType = 'restriction_result' | 'ingestion_result';
|
|
78
81
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
79
82
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
80
83
|
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
@@ -107,7 +110,6 @@ declare namespace io.flow.v0.enums {
|
|
|
107
110
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
108
111
|
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing' | 'missing_logistics_contact_info';
|
|
109
112
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
110
|
-
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
111
113
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
112
114
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
113
115
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
@@ -119,7 +121,7 @@ declare namespace io.flow.v0.enums {
|
|
|
119
121
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
120
122
|
type OrderStatus = 'open' | 'submitted';
|
|
121
123
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
122
|
-
type OrderType = 'standard' | 'replacement';
|
|
124
|
+
type OrderType = 'standard' | 'replacement' | 'edit';
|
|
123
125
|
type OrganizationPaymentMethodTag = 'deny';
|
|
124
126
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
125
127
|
type OrganizationType = 'standalone' | 'channel';
|
|
@@ -128,6 +130,7 @@ declare namespace io.flow.v0.enums {
|
|
|
128
130
|
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
129
131
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
130
132
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
|
|
133
|
+
type PaymentFeeType = 'fx' | 'mor';
|
|
131
134
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
132
135
|
type PaymentMethodDataOptionType = 'ideal_issuer_option';
|
|
133
136
|
type PaymentMethodRuleContentKey = 'description';
|
|
@@ -201,13 +204,13 @@ declare namespace io.flow.v0.enums {
|
|
|
201
204
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
|
|
202
205
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
203
206
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
204
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'non_l4l_tax_duty_fx' | 'ge_revenue_share'
|
|
207
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'non_l4l_tax_duty_fx' | 'ge_revenue_share';
|
|
205
208
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
206
209
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
207
210
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
208
|
-
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
211
|
+
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
209
212
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
210
|
-
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
213
|
+
type UnitOfVolume = 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter';
|
|
211
214
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
212
215
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
213
216
|
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
@@ -1177,28 +1180,6 @@ declare namespace io.flow.v0.models {
|
|
|
1177
1180
|
readonly 'hub_code'?: string;
|
|
1178
1181
|
}
|
|
1179
1182
|
|
|
1180
|
-
interface BrowseOptinResponses {
|
|
1181
|
-
readonly 'id': string;
|
|
1182
|
-
readonly 'session_id': string;
|
|
1183
|
-
readonly 'optin_responses': io.flow.v0.models.OptinResponse[];
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
interface BrowseOptinResponsesDeleted {
|
|
1187
|
-
readonly 'discriminator': 'browse_optin_responses_deleted';
|
|
1188
|
-
readonly 'event_id': string;
|
|
1189
|
-
readonly 'timestamp': string;
|
|
1190
|
-
readonly 'organization': string;
|
|
1191
|
-
readonly 'id': string;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
interface BrowseOptinResponsesUpserted {
|
|
1195
|
-
readonly 'discriminator': 'browse_optin_responses_upserted';
|
|
1196
|
-
readonly 'event_id': string;
|
|
1197
|
-
readonly 'timestamp': string;
|
|
1198
|
-
readonly 'organization': string;
|
|
1199
|
-
readonly 'browse_optin_responses': io.flow.v0.models.BrowseOptinResponses;
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
1183
|
interface BrowserInfo {
|
|
1203
1184
|
readonly 'origin'?: string;
|
|
1204
1185
|
readonly 'language'?: string;
|
|
@@ -1228,6 +1209,7 @@ declare namespace io.flow.v0.models {
|
|
|
1228
1209
|
readonly 'attributes'?: Record<string, string>;
|
|
1229
1210
|
readonly 'status'?: io.flow.v0.enums.CaptureStatus;
|
|
1230
1211
|
readonly 'base'?: io.flow.v0.models.Money;
|
|
1212
|
+
readonly 'fees'?: io.flow.v0.models.PaymentFee[];
|
|
1231
1213
|
}
|
|
1232
1214
|
|
|
1233
1215
|
interface CaptureDeleted {
|
|
@@ -2025,29 +2007,6 @@ declare namespace io.flow.v0.models {
|
|
|
2025
2007
|
readonly 'value': string;
|
|
2026
2008
|
}
|
|
2027
2009
|
|
|
2028
|
-
interface CheckoutOptinResponses {
|
|
2029
|
-
readonly 'id': string;
|
|
2030
|
-
readonly 'order_number': string;
|
|
2031
|
-
readonly 'session_id': string;
|
|
2032
|
-
readonly 'optin_responses': io.flow.v0.models.OptinResponse[];
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
interface CheckoutOptinResponsesDeleted {
|
|
2036
|
-
readonly 'discriminator': 'checkout_optin_responses_deleted';
|
|
2037
|
-
readonly 'event_id': string;
|
|
2038
|
-
readonly 'timestamp': string;
|
|
2039
|
-
readonly 'organization': string;
|
|
2040
|
-
readonly 'id': string;
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
interface CheckoutOptinResponsesUpserted {
|
|
2044
|
-
readonly 'discriminator': 'checkout_optin_responses_upserted';
|
|
2045
|
-
readonly 'event_id': string;
|
|
2046
|
-
readonly 'timestamp': string;
|
|
2047
|
-
readonly 'organization': string;
|
|
2048
|
-
readonly 'checkout_optin_responses': io.flow.v0.models.CheckoutOptinResponses;
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
2010
|
interface CheckoutReference {
|
|
2052
2011
|
readonly 'id': string;
|
|
2053
2012
|
}
|
|
@@ -3008,6 +2967,7 @@ declare namespace io.flow.v0.models {
|
|
|
3008
2967
|
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
3009
2968
|
readonly 'discriminator': 'duties_taxes_paid_surcharge_service_fee';
|
|
3010
2969
|
readonly 'amount': io.flow.v0.models.Money;
|
|
2970
|
+
readonly 'destination_countries'?: string[];
|
|
3011
2971
|
readonly 'starts_at'?: string;
|
|
3012
2972
|
readonly 'ends_at'?: string;
|
|
3013
2973
|
}
|
|
@@ -3560,6 +3520,12 @@ declare namespace io.flow.v0.models {
|
|
|
3560
3520
|
readonly 'export': io.flow.v0.models.Export;
|
|
3561
3521
|
}
|
|
3562
3522
|
|
|
3523
|
+
interface ExternalCard {
|
|
3524
|
+
readonly 'discriminator': 'external_card';
|
|
3525
|
+
readonly 'id': string;
|
|
3526
|
+
readonly 'type'?: io.flow.v0.enums.CardType;
|
|
3527
|
+
}
|
|
3528
|
+
|
|
3563
3529
|
interface FeeDeduction {
|
|
3564
3530
|
readonly 'type': io.flow.v0.enums.FeeDeductionType;
|
|
3565
3531
|
readonly 'amount': number;
|
|
@@ -3858,6 +3824,45 @@ declare namespace io.flow.v0.models {
|
|
|
3858
3824
|
readonly 'landed_costs': io.flow.v0.models.LaneLandedCost[];
|
|
3859
3825
|
}
|
|
3860
3826
|
|
|
3827
|
+
interface GeCatalogItemIngestionResult {
|
|
3828
|
+
readonly 'discriminator': 'ge_catalog_item_ingestion_result';
|
|
3829
|
+
readonly 'event_id': string;
|
|
3830
|
+
readonly 'event_type': io.flow.v0.enums.GeEventType;
|
|
3831
|
+
readonly 'environment': io.flow.v0.enums.GeEnvironment;
|
|
3832
|
+
readonly 'timestamp': string;
|
|
3833
|
+
readonly 'source': string;
|
|
3834
|
+
readonly 'response': io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
3835
|
+
readonly 'message': string;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
interface GeCatalogItemInput {
|
|
3839
|
+
readonly 'event_id': string;
|
|
3840
|
+
readonly 'number': string;
|
|
3841
|
+
readonly 'organization_id': string;
|
|
3842
|
+
readonly 'name': string;
|
|
3843
|
+
readonly 'description': string;
|
|
3844
|
+
readonly 'price': io.flow.v0.models.GeInputPrice;
|
|
3845
|
+
readonly 'attributes': io.flow.v0.models.GeInputAttributes;
|
|
3846
|
+
readonly 'locale': string;
|
|
3847
|
+
readonly 'id': string;
|
|
3848
|
+
readonly 'categories': string[];
|
|
3849
|
+
readonly 'created_at': string;
|
|
3850
|
+
readonly 'updated_at': string;
|
|
3851
|
+
readonly 'images': string[];
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
interface GeInputAttributes {
|
|
3855
|
+
readonly 'country_of_origin': string;
|
|
3856
|
+
readonly 'ge_hs6_code': string;
|
|
3857
|
+
readonly 'product_id': string;
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
interface GeInputPrice {
|
|
3861
|
+
readonly 'amount': number;
|
|
3862
|
+
readonly 'currency': string;
|
|
3863
|
+
readonly 'label': string;
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3861
3866
|
interface GeItemDeleted {
|
|
3862
3867
|
readonly 'discriminator': 'ge_item_deleted';
|
|
3863
3868
|
readonly 'event_id': string;
|
|
@@ -3882,19 +3887,23 @@ declare namespace io.flow.v0.models {
|
|
|
3882
3887
|
readonly 'item': io.flow.v0.models.Item;
|
|
3883
3888
|
}
|
|
3884
3889
|
|
|
3885
|
-
interface
|
|
3886
|
-
readonly 'discriminator': '
|
|
3890
|
+
interface GeProductRestrictionResultDelete {
|
|
3891
|
+
readonly 'discriminator': 'ge_product_restriction_result_delete';
|
|
3892
|
+
readonly 'organization': string;
|
|
3887
3893
|
readonly 'event_id': string;
|
|
3894
|
+
readonly 'event_type': io.flow.v0.enums.GeEventType;
|
|
3895
|
+
readonly 'environment': io.flow.v0.enums.GeEnvironment;
|
|
3888
3896
|
readonly 'timestamp': string;
|
|
3889
|
-
readonly 'organization': string;
|
|
3890
3897
|
readonly 'id': string;
|
|
3891
3898
|
}
|
|
3892
3899
|
|
|
3893
|
-
interface
|
|
3894
|
-
readonly 'discriminator': '
|
|
3900
|
+
interface GeProductRestrictionResultUpsert {
|
|
3901
|
+
readonly 'discriminator': 'ge_product_restriction_result_upsert';
|
|
3902
|
+
readonly 'organization': string;
|
|
3895
3903
|
readonly 'event_id': string;
|
|
3904
|
+
readonly 'event_type': io.flow.v0.enums.GeEventType;
|
|
3905
|
+
readonly 'environment': io.flow.v0.enums.GeEnvironment;
|
|
3896
3906
|
readonly 'timestamp': string;
|
|
3897
|
-
readonly 'organization': string;
|
|
3898
3907
|
readonly 'ge_product_restriction_result': io.flow.v0.models.ProductRestrictionResult;
|
|
3899
3908
|
}
|
|
3900
3909
|
|
|
@@ -5426,11 +5435,6 @@ declare namespace io.flow.v0.models {
|
|
|
5426
5435
|
readonly 'phone'?: string;
|
|
5427
5436
|
}
|
|
5428
5437
|
|
|
5429
|
-
interface OptinResponse {
|
|
5430
|
-
readonly 'key': string;
|
|
5431
|
-
readonly 'value': io.flow.v0.enums.OptinResponseType;
|
|
5432
|
-
}
|
|
5433
|
-
|
|
5434
5438
|
interface OptionWeightEstimates {
|
|
5435
5439
|
readonly 'gravitational': io.flow.v0.models.Measurement;
|
|
5436
5440
|
readonly 'dimensional': io.flow.v0.models.Measurement;
|
|
@@ -6608,6 +6612,12 @@ declare namespace io.flow.v0.models {
|
|
|
6608
6612
|
readonly 'failure_message': string;
|
|
6609
6613
|
}
|
|
6610
6614
|
|
|
6615
|
+
interface PaymentFee {
|
|
6616
|
+
readonly 'type': io.flow.v0.enums.PaymentFeeType;
|
|
6617
|
+
readonly 'money': io.flow.v0.models.Money;
|
|
6618
|
+
readonly 'base'?: io.flow.v0.models.Money;
|
|
6619
|
+
}
|
|
6620
|
+
|
|
6611
6621
|
interface PaymentInformation {
|
|
6612
6622
|
readonly 'amount_refundable'?: number;
|
|
6613
6623
|
readonly 'amount_refunded'?: number;
|
|
@@ -7615,6 +7625,7 @@ declare namespace io.flow.v0.models {
|
|
|
7615
7625
|
readonly 'updated_by'?: string;
|
|
7616
7626
|
readonly 'product_restriction_id'?: string;
|
|
7617
7627
|
readonly 'hs_code'?: string;
|
|
7628
|
+
readonly 'restricted_regions_by_type'?: io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
7618
7629
|
}
|
|
7619
7630
|
|
|
7620
7631
|
interface ProductRestrictionResultDeleted {
|
|
@@ -10372,8 +10383,8 @@ declare namespace io.flow.v0.unions {
|
|
|
10372
10383
|
type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
|
|
10373
10384
|
type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
|
|
10374
10385
|
type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
|
|
10375
|
-
type Event = (io.flow.v0.models.
|
|
10376
|
-
type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary);
|
|
10386
|
+
type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | 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.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | 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.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.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | 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.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | 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.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | 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.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | 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.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | 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);
|
|
10387
|
+
type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary | io.flow.v0.models.ExternalCard);
|
|
10377
10388
|
type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
|
|
10378
10389
|
type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
|
|
10379
10390
|
type ExpandableOrder = (io.flow.v0.models.Order | io.flow.v0.models.OrderReference);
|
|
@@ -10388,6 +10399,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10388
10399
|
type FuelSurchargeRate = (io.flow.v0.models.FuelSurchargePercent | io.flow.v0.models.FuelSurchargeByWeight);
|
|
10389
10400
|
type GatewayAuthenticationData = (io.flow.v0.models.StripeAuthenticationData);
|
|
10390
10401
|
type GatewayAuthenticationDataForm = (io.flow.v0.models.StripeAuthenticationDataForm);
|
|
10402
|
+
type GeRestrictionEvent = (io.flow.v0.models.GeProductRestrictionResultUpsert | io.flow.v0.models.GeProductRestrictionResultDelete | io.flow.v0.models.GeCatalogItemIngestionResult);
|
|
10391
10403
|
type InlineActionConfiguration = (io.flow.v0.models.BrowserInlineActionConfiguration);
|
|
10392
10404
|
type InputSpecificationLimitation = (io.flow.v0.models.InputSpecificationLimitationMax);
|
|
10393
10405
|
type KnowYourBusiness = (io.flow.v0.models.KnowYourBusinessUsa);
|
package/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
/// <reference path="generated/io.flow.channel.currency.v0.channel-currency.d.ts" />
|
|
13
13
|
/// <reference path="generated/io.flow.channel.internal.v0.channel-internal.d.ts" />
|
|
14
14
|
/// <reference path="generated/io.flow.channel.v0.channel.d.ts" />
|
|
15
|
-
/// <reference path="generated/io.flow.checkout.v0.checkout.d.ts" />
|
|
16
15
|
/// <reference path="generated/io.flow.common.v0.common.d.ts" />
|
|
17
16
|
/// <reference path="generated/io.flow.crypto.v0.crypto.d.ts" />
|
|
18
17
|
/// <reference path="generated/io.flow.currency.v0.currency.d.ts" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.244",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"generate": "apibuilder update && node scripts/generate-index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "3e62beab3080f4977b85152f0e0626078fa26933"
|
|
18
18
|
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.checkout.v0.models {
|
|
2
|
-
interface CheckoutToken {
|
|
3
|
-
readonly 'id': string;
|
|
4
|
-
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
5
|
-
readonly 'checkout': io.flow.common.v0.models.CheckoutReference;
|
|
6
|
-
readonly 'order': io.flow.experience.v0.models.OrderNumberReference;
|
|
7
|
-
readonly 'urls': io.flow.checkout.v0.models.CheckoutUrls;
|
|
8
|
-
readonly 'expires_at': string;
|
|
9
|
-
readonly 'session': io.flow.common.v0.models.SessionReference;
|
|
10
|
-
readonly 'customer'?: io.flow.common.v0.models.CustomerReference;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface CheckoutTokenOrderForm {
|
|
14
|
-
readonly 'discriminator': 'checkout_token_order_form';
|
|
15
|
-
readonly 'order_form': io.flow.experience.v0.models.OrderForm;
|
|
16
|
-
readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
|
|
17
|
-
readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
|
|
18
|
-
readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
|
|
19
|
-
readonly 'session_id': string;
|
|
20
|
-
readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
21
|
-
readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface CheckoutTokenReferenceForm {
|
|
25
|
-
readonly 'discriminator': 'checkout_token_reference_form';
|
|
26
|
-
readonly 'order_number': string;
|
|
27
|
-
readonly 'session_id': string;
|
|
28
|
-
readonly 'urls': io.flow.checkout.v0.models.CheckoutUrlsForm;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface CheckoutUrls {
|
|
32
|
-
readonly 'continue_shopping'?: string;
|
|
33
|
-
readonly 'confirmation'?: string;
|
|
34
|
-
readonly 'invalid_checkout'?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface CheckoutUrlsForm {
|
|
38
|
-
readonly 'continue_shopping'?: string;
|
|
39
|
-
readonly 'confirmation'?: string;
|
|
40
|
-
readonly 'invalid_checkout'?: string;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
declare namespace io.flow.checkout.v0.unions {
|
|
45
|
-
type CheckoutTokenForm = (io.flow.checkout.v0.models.CheckoutTokenOrderForm | io.flow.checkout.v0.models.CheckoutTokenReferenceForm);
|
|
46
|
-
}
|