@flowio/api-prop-types 10.16.80 → 10.16.82
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/lib/api.d.ts +20 -5
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +20 -5
- package/src/api.js +67 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.82",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "e3d3fbfffe0108db636d2d051ab48c20d6726685"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -2501,7 +2501,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2501
2501
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2502
2502
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2503
2503
|
type FlowBehavior = 'view_consumer_data';
|
|
2504
|
-
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2504
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
2505
2505
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
2506
2506
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
2507
2507
|
type FraudLiability = 'flow' | 'organization';
|
|
@@ -2572,7 +2572,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2572
2572
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2573
2573
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2574
2574
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2575
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24';
|
|
2575
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay';
|
|
2576
2576
|
type PayoutAttachmentType = 'transactions';
|
|
2577
2577
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2578
2578
|
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
@@ -2639,7 +2639,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2639
2639
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2640
2640
|
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';
|
|
2641
2641
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
2642
|
-
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';
|
|
2642
|
+
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';
|
|
2643
2643
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2644
2644
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2645
2645
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -3554,6 +3554,7 @@ declare namespace io.flow.v0.models {
|
|
|
3554
3554
|
readonly 'items'?: io.flow.v0.models.LineItemForm[];
|
|
3555
3555
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
3556
3556
|
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
3557
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
3557
3558
|
}
|
|
3558
3559
|
|
|
3559
3560
|
interface BrowseOptinResponses {
|
|
@@ -9215,6 +9216,11 @@ declare namespace io.flow.v0.models {
|
|
|
9215
9216
|
readonly 'reference'?: string;
|
|
9216
9217
|
}
|
|
9217
9218
|
|
|
9219
|
+
interface PaymentMethodDataInitMobilepay {
|
|
9220
|
+
readonly 'type': 'init_mobilepay';
|
|
9221
|
+
readonly 'reference'?: string;
|
|
9222
|
+
}
|
|
9223
|
+
|
|
9218
9224
|
interface PaymentMethodDataInitPaypal {
|
|
9219
9225
|
readonly 'type': 'init_paypal';
|
|
9220
9226
|
readonly 'reference'?: string;
|
|
@@ -9341,6 +9347,11 @@ declare namespace io.flow.v0.models {
|
|
|
9341
9347
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9342
9348
|
}
|
|
9343
9349
|
|
|
9350
|
+
interface PaymentMethodSummaryMobilepay {
|
|
9351
|
+
readonly 'type': 'mobilepay';
|
|
9352
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9353
|
+
}
|
|
9354
|
+
|
|
9344
9355
|
interface PaymentMethodSummaryPaypal {
|
|
9345
9356
|
readonly 'type': 'paypal';
|
|
9346
9357
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
@@ -11320,6 +11331,7 @@ declare namespace io.flow.v0.models {
|
|
|
11320
11331
|
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
11321
11332
|
readonly 'created_at'?: string;
|
|
11322
11333
|
readonly 'updated_at'?: string;
|
|
11334
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
11323
11335
|
}
|
|
11324
11336
|
|
|
11325
11337
|
interface ShippingLabelDocument {
|
|
@@ -12002,6 +12014,7 @@ declare namespace io.flow.v0.models {
|
|
|
12002
12014
|
readonly 'order_number': string;
|
|
12003
12015
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
12004
12016
|
readonly 'center_key'?: string;
|
|
12017
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
12005
12018
|
}
|
|
12006
12019
|
|
|
12007
12020
|
interface SummaryShippingNotificationForm {
|
|
@@ -13051,12 +13064,12 @@ declare namespace io.flow.v0.unions {
|
|
|
13051
13064
|
type PaymentCaptureOption = (io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual);
|
|
13052
13065
|
type PaymentForm = (io.flow.v0.models.MerchantOfRecordPaymentForm);
|
|
13053
13066
|
type PaymentMethodCard = (io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken);
|
|
13054
|
-
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
13067
|
+
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitMobilepay | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
13055
13068
|
type PaymentMethodDataAuthorizeApplepayResult = (io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure);
|
|
13056
13069
|
type PaymentMethodDataAuthorizeKlarnaResult = (io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure);
|
|
13057
13070
|
type PaymentMethodDataOptionLogo = (io.flow.v0.models.PaymentMethodDataOptionLogoSvg);
|
|
13058
13071
|
type PaymentMethodStoredDetailsCard = (io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent);
|
|
13059
|
-
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
13072
|
+
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummaryMobilepay | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
13060
13073
|
|
|
13061
13074
|
type PaymentMethodTag = ({
|
|
13062
13075
|
discriminator: 'organization_payment_method_tag',
|
|
@@ -14241,6 +14254,7 @@ export const paymentMethodDataInitBancontact: PropTypes.Requireable<io.flow.v0.m
|
|
|
14241
14254
|
export const paymentMethodDataInitGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitGooglepay>;
|
|
14242
14255
|
export const paymentMethodDataInitIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitIdeal>;
|
|
14243
14256
|
export const paymentMethodDataInitKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitKlarna>;
|
|
14257
|
+
export const paymentMethodDataInitMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitMobilepay>;
|
|
14244
14258
|
export const paymentMethodDataInitPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPaypal>;
|
|
14245
14259
|
export const paymentMethodDataInitPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPrzelewy24>;
|
|
14246
14260
|
export const paymentMethodDataInitSofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitSofort>;
|
|
@@ -14263,6 +14277,7 @@ export const paymentMethodSummaryCard: PropTypes.Requireable<io.flow.v0.models.P
|
|
|
14263
14277
|
export const paymentMethodSummaryGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryGooglepay>;
|
|
14264
14278
|
export const paymentMethodSummaryIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryIdeal>;
|
|
14265
14279
|
export const paymentMethodSummaryKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryKlarna>;
|
|
14280
|
+
export const paymentMethodSummaryMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryMobilepay>;
|
|
14266
14281
|
export const paymentMethodSummaryPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPaypal>;
|
|
14267
14282
|
export const paymentMethodSummaryPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPrzelewy24>;
|
|
14268
14283
|
export const paymentMethodSummarySofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummarySofort>;
|
package/src/api.js
CHANGED
|
@@ -4376,7 +4376,7 @@ T['io.flow.v0.models.physical_delivery_preferred_service'] = PropTypes.exact({
|
|
|
4376
4376
|
selection_stratey: T['io.flow.v0.enums.preferred_service_selection_strategy'].isRequired,
|
|
4377
4377
|
});
|
|
4378
4378
|
|
|
4379
|
-
T['io.flow.v0.enums.flow_entity'] = PropTypes.oneOf(['flow-usa', 'flow-irl', 'flow-can']);
|
|
4379
|
+
T['io.flow.v0.enums.flow_entity'] = PropTypes.oneOf(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']);
|
|
4380
4380
|
T['io.flow.v0.enums.goods_supply'] = PropTypes.oneOf(['export', 'intra_community', 'local']);
|
|
4381
4381
|
T['io.flow.v0.enums.physical_delivery_special_serivce'] = PropTypes.oneOf(['cold_storage', 'hazardous', 'perishable']);
|
|
4382
4382
|
T['io.flow.v0.enums.fulfillment_routing'] = PropTypes.oneOf(['fulfilled_from_center', 'fulfillment_service']);
|
|
@@ -4462,6 +4462,11 @@ T['io.flow.v0.models.payment_method_data_init_bancontact'] = PropTypes.exact({
|
|
|
4462
4462
|
reference: PropTypes.string,
|
|
4463
4463
|
});
|
|
4464
4464
|
|
|
4465
|
+
T['io.flow.v0.models.payment_method_data_init_mobilepay'] = PropTypes.exact({
|
|
4466
|
+
type: PropTypes.oneOf(['init_mobilepay']).isRequired,
|
|
4467
|
+
reference: PropTypes.string,
|
|
4468
|
+
});
|
|
4469
|
+
|
|
4465
4470
|
T['io.flow.v0.models.payment_method_data_init_przelewy24'] = PropTypes.exact({
|
|
4466
4471
|
type: PropTypes.oneOf(['init_przelewy24']).isRequired,
|
|
4467
4472
|
reference: PropTypes.string,
|
|
@@ -4681,6 +4686,7 @@ T['io.flow.v0.enums.payment_type'] = PropTypes.oneOf([
|
|
|
4681
4686
|
'bancontact',
|
|
4682
4687
|
'twint',
|
|
4683
4688
|
'przelewy24',
|
|
4689
|
+
'mobilepay',
|
|
4684
4690
|
]);
|
|
4685
4691
|
|
|
4686
4692
|
T['io.flow.v0.enums.payment_method_rule_content_key'] = PropTypes.oneOf(['description']);
|
|
@@ -5517,6 +5523,7 @@ T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
|
|
|
5517
5523
|
'direct_delivery',
|
|
5518
5524
|
'saturday_stop',
|
|
5519
5525
|
'residential_extended_area_pickup',
|
|
5526
|
+
'package_level_detail',
|
|
5520
5527
|
]);
|
|
5521
5528
|
|
|
5522
5529
|
T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
|
|
@@ -6501,7 +6508,6 @@ T['io.flow.v0.enums.package_dimensions_source'] = PropTypes.oneOf([
|
|
|
6501
6508
|
]);
|
|
6502
6509
|
|
|
6503
6510
|
T['io.flow.v0.enums.shipment_recipient'] = PropTypes.oneOf(['customer', 'return', 'crossdock']);
|
|
6504
|
-
T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
|
|
6505
6511
|
T['io.flow.v0.enums.levy_component'] = PropTypes.oneOf(['goods', 'duty', 'insurance', 'freight', 'vat']);
|
|
6506
6512
|
|
|
6507
6513
|
T['io.flow.v0.models.deminimis_simple'] = PropTypes.exact({
|
|
@@ -6690,51 +6696,6 @@ T['io.flow.v0.models.shipping_label_lane_summary'] = PropTypes.exact({
|
|
|
6690
6696
|
weight_break: PropTypes.number,
|
|
6691
6697
|
});
|
|
6692
6698
|
|
|
6693
|
-
T['io.flow.v0.models.ratecard_form'] = PropTypes.exact({
|
|
6694
|
-
direction: T['io.flow.v0.enums.direction'].isRequired,
|
|
6695
|
-
effective_at: PropTypes.string.isRequired,
|
|
6696
|
-
origination_zones: PropTypes.arrayOf(T['io.flow.v0.models.zone']).isRequired,
|
|
6697
|
-
service: PropTypes.string.isRequired,
|
|
6698
|
-
number: PropTypes.string,
|
|
6699
|
-
rate_level_key: PropTypes.string,
|
|
6700
|
-
ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
|
|
6701
|
-
glbe_shipping_method_id: PropTypes.string,
|
|
6702
|
-
glbe_proposition_name: PropTypes.string,
|
|
6703
|
-
channel_revenue_share_percentage: PropTypes.number,
|
|
6704
|
-
data: PropTypes.objectOf(PropTypes.string),
|
|
6705
|
-
});
|
|
6706
|
-
|
|
6707
|
-
T['io.flow.v0.models.ratecard'] = PropTypes.exact({
|
|
6708
|
-
id: PropTypes.string.isRequired,
|
|
6709
|
-
number: PropTypes.string.isRequired,
|
|
6710
|
-
rate_level_key: PropTypes.string,
|
|
6711
|
-
direction: T['io.flow.v0.enums.direction'].isRequired,
|
|
6712
|
-
effective_at: PropTypes.string.isRequired,
|
|
6713
|
-
origination_zones: PropTypes.arrayOf(T['io.flow.v0.models.zone']).isRequired,
|
|
6714
|
-
service: T['io.flow.v0.models.ratecard_service_summary'].isRequired,
|
|
6715
|
-
published_at: PropTypes.string,
|
|
6716
|
-
ratecard_owner: T['io.flow.v0.enums.ratecard_owner'].isRequired,
|
|
6717
|
-
glbe_shipping_method_id: PropTypes.string,
|
|
6718
|
-
glbe_proposition_name: PropTypes.string,
|
|
6719
|
-
channel_revenue_share_percentage: PropTypes.number,
|
|
6720
|
-
});
|
|
6721
|
-
|
|
6722
|
-
T['io.flow.v0.models.ratecard_upserted'] = PropTypes.exact({
|
|
6723
|
-
discriminator: PropTypes.oneOf(['ratecard_upserted']).isRequired,
|
|
6724
|
-
event_id: PropTypes.string.isRequired,
|
|
6725
|
-
timestamp: PropTypes.string.isRequired,
|
|
6726
|
-
organization: PropTypes.string.isRequired,
|
|
6727
|
-
ratecard: T['io.flow.v0.models.ratecard'].isRequired,
|
|
6728
|
-
});
|
|
6729
|
-
|
|
6730
|
-
T['io.flow.v0.models.ratecard_deleted'] = PropTypes.exact({
|
|
6731
|
-
discriminator: PropTypes.oneOf(['ratecard_deleted']).isRequired,
|
|
6732
|
-
event_id: PropTypes.string.isRequired,
|
|
6733
|
-
timestamp: PropTypes.string.isRequired,
|
|
6734
|
-
organization: PropTypes.string.isRequired,
|
|
6735
|
-
ratecard: T['io.flow.v0.models.ratecard'].isRequired,
|
|
6736
|
-
});
|
|
6737
|
-
|
|
6738
6699
|
T['io.flow.v0.models.ratecard_summary'] = PropTypes.exact({
|
|
6739
6700
|
id: PropTypes.string.isRequired,
|
|
6740
6701
|
number: PropTypes.string.isRequired,
|
|
@@ -8096,6 +8057,11 @@ T['io.flow.v0.models.payment_method_summary_paypal'] = PropTypes.exact({
|
|
|
8096
8057
|
merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
|
|
8097
8058
|
});
|
|
8098
8059
|
|
|
8060
|
+
T['io.flow.v0.models.payment_method_summary_mobilepay'] = PropTypes.exact({
|
|
8061
|
+
type: PropTypes.oneOf(['mobilepay']).isRequired,
|
|
8062
|
+
merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
|
|
8063
|
+
});
|
|
8064
|
+
|
|
8099
8065
|
T['io.flow.v0.models.payment_method_summary_klarna'] = PropTypes.exact({
|
|
8100
8066
|
type: PropTypes.oneOf(['klarna']).isRequired,
|
|
8101
8067
|
merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
|
|
@@ -8210,6 +8176,7 @@ T['io.flow.v0.unions.payment_method_data'] = PropTypes.oneOfType([
|
|
|
8210
8176
|
T['io.flow.v0.models.payment_method_data_init_sofort'],
|
|
8211
8177
|
T['io.flow.v0.models.payment_method_data_init_twint'],
|
|
8212
8178
|
T['io.flow.v0.models.payment_method_data_init_przelewy24'],
|
|
8179
|
+
T['io.flow.v0.models.payment_method_data_init_mobilepay'],
|
|
8213
8180
|
T['io.flow.v0.models.payment_method_data_init_bancontact'],
|
|
8214
8181
|
T['io.flow.v0.models.payment_method_data_validate_applepay'],
|
|
8215
8182
|
T['io.flow.v0.models.payment_method_data_authorize_card'],
|
|
@@ -8495,6 +8462,53 @@ T['io.flow.v0.models.schedule'] = PropTypes.exact({
|
|
|
8495
8462
|
max_lead_time: PropTypes.number,
|
|
8496
8463
|
});
|
|
8497
8464
|
|
|
8465
|
+
T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
|
|
8466
|
+
|
|
8467
|
+
T['io.flow.v0.models.ratecard_form'] = PropTypes.exact({
|
|
8468
|
+
direction: T['io.flow.v0.enums.direction'].isRequired,
|
|
8469
|
+
effective_at: PropTypes.string.isRequired,
|
|
8470
|
+
origination_zones: PropTypes.arrayOf(T['io.flow.v0.models.zone']).isRequired,
|
|
8471
|
+
service: PropTypes.string.isRequired,
|
|
8472
|
+
number: PropTypes.string,
|
|
8473
|
+
rate_level_key: PropTypes.string,
|
|
8474
|
+
ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
|
|
8475
|
+
glbe_shipping_method_id: PropTypes.string,
|
|
8476
|
+
glbe_proposition_name: PropTypes.string,
|
|
8477
|
+
channel_revenue_share_percentage: PropTypes.number,
|
|
8478
|
+
data: PropTypes.objectOf(PropTypes.string),
|
|
8479
|
+
});
|
|
8480
|
+
|
|
8481
|
+
T['io.flow.v0.models.ratecard'] = PropTypes.exact({
|
|
8482
|
+
id: PropTypes.string.isRequired,
|
|
8483
|
+
number: PropTypes.string.isRequired,
|
|
8484
|
+
rate_level_key: PropTypes.string,
|
|
8485
|
+
direction: T['io.flow.v0.enums.direction'].isRequired,
|
|
8486
|
+
effective_at: PropTypes.string.isRequired,
|
|
8487
|
+
origination_zones: PropTypes.arrayOf(T['io.flow.v0.models.zone']).isRequired,
|
|
8488
|
+
service: T['io.flow.v0.models.ratecard_service_summary'].isRequired,
|
|
8489
|
+
published_at: PropTypes.string,
|
|
8490
|
+
ratecard_owner: T['io.flow.v0.enums.ratecard_owner'].isRequired,
|
|
8491
|
+
glbe_shipping_method_id: PropTypes.string,
|
|
8492
|
+
glbe_proposition_name: PropTypes.string,
|
|
8493
|
+
channel_revenue_share_percentage: PropTypes.number,
|
|
8494
|
+
});
|
|
8495
|
+
|
|
8496
|
+
T['io.flow.v0.models.ratecard_upserted'] = PropTypes.exact({
|
|
8497
|
+
discriminator: PropTypes.oneOf(['ratecard_upserted']).isRequired,
|
|
8498
|
+
event_id: PropTypes.string.isRequired,
|
|
8499
|
+
timestamp: PropTypes.string.isRequired,
|
|
8500
|
+
organization: PropTypes.string.isRequired,
|
|
8501
|
+
ratecard: T['io.flow.v0.models.ratecard'].isRequired,
|
|
8502
|
+
});
|
|
8503
|
+
|
|
8504
|
+
T['io.flow.v0.models.ratecard_deleted'] = PropTypes.exact({
|
|
8505
|
+
discriminator: PropTypes.oneOf(['ratecard_deleted']).isRequired,
|
|
8506
|
+
event_id: PropTypes.string.isRequired,
|
|
8507
|
+
timestamp: PropTypes.string.isRequired,
|
|
8508
|
+
organization: PropTypes.string.isRequired,
|
|
8509
|
+
ratecard: T['io.flow.v0.models.ratecard'].isRequired,
|
|
8510
|
+
});
|
|
8511
|
+
|
|
8498
8512
|
T['io.flow.v0.models.carrier_reference'] = PropTypes.exact({
|
|
8499
8513
|
id: PropTypes.string.isRequired,
|
|
8500
8514
|
});
|
|
@@ -10468,6 +10482,7 @@ T['io.flow.v0.unions.payment_method_summary'] = PropTypes.oneOfType([
|
|
|
10468
10482
|
T['io.flow.v0.models.payment_method_summary_ideal'],
|
|
10469
10483
|
T['io.flow.v0.models.payment_method_summary_twint'],
|
|
10470
10484
|
T['io.flow.v0.models.payment_method_summary_przelewy24'],
|
|
10485
|
+
T['io.flow.v0.models.payment_method_summary_mobilepay'],
|
|
10471
10486
|
T['io.flow.v0.models.payment_method_summary_sofort'],
|
|
10472
10487
|
T['io.flow.v0.models.payment_method_summary_bancontact'],
|
|
10473
10488
|
]);
|
|
@@ -13470,6 +13485,7 @@ T['io.flow.v0.models.summary_shipping_label_form'] = PropTypes.exact({
|
|
|
13470
13485
|
order_number: PropTypes.string.isRequired,
|
|
13471
13486
|
items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']).isRequired,
|
|
13472
13487
|
center_key: PropTypes.string,
|
|
13488
|
+
direction: T['io.flow.v0.enums.direction'],
|
|
13473
13489
|
});
|
|
13474
13490
|
|
|
13475
13491
|
T['io.flow.v0.models.ratecard_estimate_v4'] = PropTypes.exact({
|
|
@@ -13723,6 +13739,7 @@ T['io.flow.v0.models.shipping_label'] = PropTypes.exact({
|
|
|
13723
13739
|
additional_services_requested: PropTypes.arrayOf(T['io.flow.v0.models.additional_services_requested']),
|
|
13724
13740
|
created_at: PropTypes.string,
|
|
13725
13741
|
updated_at: PropTypes.string,
|
|
13742
|
+
direction: T['io.flow.v0.enums.direction'],
|
|
13726
13743
|
});
|
|
13727
13744
|
|
|
13728
13745
|
T['io.flow.v0.models.shipping_label_version'] = PropTypes.exact({
|
|
@@ -14046,6 +14063,7 @@ T['io.flow.v0.models.bridge_shipping_label_form'] = PropTypes.exact({
|
|
|
14046
14063
|
items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']),
|
|
14047
14064
|
'package': T['io.flow.v0.models.shipping_label_package'],
|
|
14048
14065
|
origin: T['io.flow.v0.models.shipping_address'],
|
|
14066
|
+
direction: T['io.flow.v0.enums.direction'],
|
|
14049
14067
|
});
|
|
14050
14068
|
|
|
14051
14069
|
T['io.flow.v0.unions.shipping_label_form'] = PropTypes.oneOfType([
|
|
@@ -16438,6 +16456,7 @@ export const paymentMethodDataInitBancontact = T['io.flow.v0.models.payment_meth
|
|
|
16438
16456
|
export const paymentMethodDataInitGooglepay = T['io.flow.v0.models.payment_method_data_init_googlepay'];
|
|
16439
16457
|
export const paymentMethodDataInitIdeal = T['io.flow.v0.models.payment_method_data_init_ideal'];
|
|
16440
16458
|
export const paymentMethodDataInitKlarna = T['io.flow.v0.models.payment_method_data_init_klarna'];
|
|
16459
|
+
export const paymentMethodDataInitMobilepay = T['io.flow.v0.models.payment_method_data_init_mobilepay'];
|
|
16441
16460
|
export const paymentMethodDataInitPaypal = T['io.flow.v0.models.payment_method_data_init_paypal'];
|
|
16442
16461
|
export const paymentMethodDataInitPrzelewy24 = T['io.flow.v0.models.payment_method_data_init_przelewy24'];
|
|
16443
16462
|
export const paymentMethodDataInitSofort = T['io.flow.v0.models.payment_method_data_init_sofort'];
|
|
@@ -16465,6 +16484,7 @@ export const paymentMethodSummaryCard = T['io.flow.v0.models.payment_method_summ
|
|
|
16465
16484
|
export const paymentMethodSummaryGooglepay = T['io.flow.v0.models.payment_method_summary_googlepay'];
|
|
16466
16485
|
export const paymentMethodSummaryIdeal = T['io.flow.v0.models.payment_method_summary_ideal'];
|
|
16467
16486
|
export const paymentMethodSummaryKlarna = T['io.flow.v0.models.payment_method_summary_klarna'];
|
|
16487
|
+
export const paymentMethodSummaryMobilepay = T['io.flow.v0.models.payment_method_summary_mobilepay'];
|
|
16468
16488
|
export const paymentMethodSummaryPaypal = T['io.flow.v0.models.payment_method_summary_paypal'];
|
|
16469
16489
|
export const paymentMethodSummaryPrzelewy24 = T['io.flow.v0.models.payment_method_summary_przelewy24'];
|
|
16470
16490
|
export const paymentMethodSummarySofort = T['io.flow.v0.models.payment_method_summary_sofort'];
|