@flowio/api-internal-prop-types 9.8.1 → 9.9.0
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-internal.d.ts +15 -4
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +15 -4
- package/src/api-internal.js +42 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.9.0",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "9da131fe8536ec8b18dc745de741ebe545c5bc12"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -2009,6 +2009,7 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
2009
2009
|
|
|
2010
2010
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
2011
2011
|
readonly 'discriminator': 'checkout_sequenced_initiate_payment_response_success';
|
|
2012
|
+
readonly 'authorization_key'?: string;
|
|
2012
2013
|
readonly 'action_requirement': io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
2013
2014
|
}
|
|
2014
2015
|
|
|
@@ -4497,7 +4498,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
4497
4498
|
readonly 'id': number;
|
|
4498
4499
|
readonly 'path': string;
|
|
4499
4500
|
readonly 'behavior': io.flow.brickftp.v0.enums.BehaviorType;
|
|
4500
|
-
readonly 'value':
|
|
4501
|
+
readonly 'value': any/*object*/;
|
|
4501
4502
|
}
|
|
4502
4503
|
|
|
4503
4504
|
interface BehaviorForm {
|
|
@@ -6625,6 +6626,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6625
6626
|
readonly 'currency': string;
|
|
6626
6627
|
readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
|
|
6627
6628
|
readonly 'ip'?: string;
|
|
6629
|
+
readonly 'origin_url'?: string;
|
|
6628
6630
|
}
|
|
6629
6631
|
|
|
6630
6632
|
interface BitpayAccount {
|
|
@@ -7274,6 +7276,7 @@ declare namespace io.flow.common.v0.enums {
|
|
|
7274
7276
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
7275
7277
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
7276
7278
|
type DiscountTarget = 'item' | 'shipping';
|
|
7279
|
+
type EntityIdentifierType = 'ioss';
|
|
7277
7280
|
type Environment = 'sandbox' | 'production';
|
|
7278
7281
|
type ExceptionType = 'open' | 'closed';
|
|
7279
7282
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
@@ -7395,6 +7398,11 @@ declare namespace io.flow.common.v0.models {
|
|
|
7395
7398
|
readonly 'value': number;
|
|
7396
7399
|
}
|
|
7397
7400
|
|
|
7401
|
+
interface EntityIdentifier {
|
|
7402
|
+
readonly 'name': io.flow.common.v0.enums.EntityIdentifierType;
|
|
7403
|
+
readonly 'number': string;
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7398
7406
|
interface Exception {
|
|
7399
7407
|
readonly 'type': io.flow.common.v0.enums.ExceptionType;
|
|
7400
7408
|
readonly 'datetime_range': io.flow.common.v0.models.DatetimeRange;
|
|
@@ -7483,7 +7491,8 @@ declare namespace io.flow.common.v0.models {
|
|
|
7483
7491
|
interface MerchantOfRecordEntity {
|
|
7484
7492
|
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
7485
7493
|
readonly 'name': string;
|
|
7486
|
-
readonly 'vat'
|
|
7494
|
+
readonly 'vat'?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
7495
|
+
readonly 'identifiers'?: io.flow.common.v0.models.EntityIdentifier[];
|
|
7487
7496
|
readonly 'streets': string[];
|
|
7488
7497
|
readonly 'city': string;
|
|
7489
7498
|
readonly 'province'?: string;
|
|
@@ -10640,7 +10649,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10640
10649
|
readonly 'discriminator': 'platform_fee_flat';
|
|
10641
10650
|
readonly 'amount': number;
|
|
10642
10651
|
readonly 'currency': string;
|
|
10643
|
-
readonly 'frequency':
|
|
10652
|
+
readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
10644
10653
|
}
|
|
10645
10654
|
|
|
10646
10655
|
interface PlatformFeePause {
|
|
@@ -15805,6 +15814,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15805
15814
|
readonly 'currency': string;
|
|
15806
15815
|
readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
|
|
15807
15816
|
readonly 'ip'?: string;
|
|
15817
|
+
readonly 'origin_url'?: string;
|
|
15808
15818
|
}
|
|
15809
15819
|
|
|
15810
15820
|
interface AuthorizedChargeStatus {
|
|
@@ -17641,6 +17651,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17641
17651
|
|
|
17642
17652
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
17643
17653
|
readonly 'discriminator': 'checkout_sequenced_initiate_payment_response_success';
|
|
17654
|
+
readonly 'authorization_key'?: string;
|
|
17644
17655
|
readonly 'action_requirement': io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
17645
17656
|
}
|
|
17646
17657
|
|
|
@@ -21800,7 +21811,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21800
21811
|
readonly 'discriminator': 'platform_fee_flat';
|
|
21801
21812
|
readonly 'amount': number;
|
|
21802
21813
|
readonly 'currency': string;
|
|
21803
|
-
readonly 'frequency':
|
|
21814
|
+
readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
21804
21815
|
}
|
|
21805
21816
|
|
|
21806
21817
|
interface PlatformFeePause {
|
package/src/api-internal.js
CHANGED
|
@@ -1299,8 +1299,6 @@ T['io.flow.harmonization.v0.models.hs10'] = PropTypes.exact({
|
|
|
1299
1299
|
code: PropTypes.string.isRequired,
|
|
1300
1300
|
});
|
|
1301
1301
|
|
|
1302
|
-
T['io.flow.billing.v0.enums.subscription_frequency'] = PropTypes.oneOf(['yearly', 'monthly']);
|
|
1303
|
-
|
|
1304
1302
|
T['io.flow.billing.v0.enums.billing_statement_attachment_key'] = PropTypes.oneOf([
|
|
1305
1303
|
'invoice',
|
|
1306
1304
|
'statement',
|
|
@@ -1637,37 +1635,11 @@ T['io.flow.billing.internal.v0.models.platform_fee_percentage'] = PropTypes.exac
|
|
|
1637
1635
|
tiers: PropTypes.arrayOf(T['io.flow.billing.internal.v0.models.platform_fee_percentage_tier']).isRequired,
|
|
1638
1636
|
});
|
|
1639
1637
|
|
|
1640
|
-
T['io.flow.billing.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
|
|
1641
|
-
discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
|
|
1642
|
-
amount: PropTypes.number.isRequired,
|
|
1643
|
-
currency: PropTypes.string.isRequired,
|
|
1644
|
-
frequency: PropTypes.string.isRequired,
|
|
1645
|
-
});
|
|
1646
|
-
|
|
1647
1638
|
T['io.flow.billing.internal.v0.models.platform_fee_pause'] = PropTypes.exact({
|
|
1648
1639
|
discriminator: PropTypes.oneOf(['platform_fee_pause']).isRequired,
|
|
1649
1640
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
1650
1641
|
});
|
|
1651
1642
|
|
|
1652
|
-
T['io.flow.billing.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
|
|
1653
|
-
T['io.flow.billing.internal.v0.models.platform_fee_pause'],
|
|
1654
|
-
T['io.flow.billing.internal.v0.models.platform_fee_flat'],
|
|
1655
|
-
T['io.flow.billing.internal.v0.models.platform_fee_percentage'],
|
|
1656
|
-
T['io.flow.billing.internal.v0.models.platform_fee_disabled'],
|
|
1657
|
-
]);
|
|
1658
|
-
|
|
1659
|
-
T['io.flow.billing.internal.v0.models.platform_fee_change_form'] = PropTypes.exact({
|
|
1660
|
-
platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
|
|
1661
|
-
starts_at: PropTypes.string.isRequired,
|
|
1662
|
-
});
|
|
1663
|
-
|
|
1664
|
-
T['io.flow.billing.internal.v0.models.platform_fee_change'] = PropTypes.exact({
|
|
1665
|
-
organization_id: PropTypes.string.isRequired,
|
|
1666
|
-
key: PropTypes.string.isRequired,
|
|
1667
|
-
platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
|
|
1668
|
-
starts_at: PropTypes.string.isRequired,
|
|
1669
|
-
});
|
|
1670
|
-
|
|
1671
1643
|
T['io.flow.billing.internal.v0.models.transaction_reference'] = PropTypes.exact({
|
|
1672
1644
|
id: PropTypes.string.isRequired,
|
|
1673
1645
|
});
|
|
@@ -2971,6 +2943,7 @@ T['io.flow.price.v0.models.price_book_form'] = PropTypes.exact({
|
|
|
2971
2943
|
});
|
|
2972
2944
|
|
|
2973
2945
|
T['io.flow.common.v0.enums.exception_type'] = PropTypes.oneOf(['open', 'closed']);
|
|
2946
|
+
T['io.flow.common.v0.enums.entity_identifier_type'] = PropTypes.oneOf(['ioss']);
|
|
2974
2947
|
T['io.flow.common.v0.enums.discount_target'] = PropTypes.oneOf(['item', 'shipping']);
|
|
2975
2948
|
|
|
2976
2949
|
T['io.flow.fraud.internal.v0.models.decision'] = PropTypes.exact({
|
|
@@ -5141,7 +5114,7 @@ T['io.flow.brickftp.v0.models.behavior'] = PropTypes.exact({
|
|
|
5141
5114
|
id: PropTypes.number.isRequired,
|
|
5142
5115
|
path: PropTypes.string.isRequired,
|
|
5143
5116
|
behavior: T['io.flow.brickftp.v0.enums.behavior_type'].isRequired,
|
|
5144
|
-
value: PropTypes.
|
|
5117
|
+
value: PropTypes.object.isRequired,
|
|
5145
5118
|
});
|
|
5146
5119
|
|
|
5147
5120
|
T['io.flow.bitpay.v0.enums.webhook_event_name'] = PropTypes.oneOf([
|
|
@@ -10746,6 +10719,34 @@ T['io.flow.internal.v0.models.platform_fee_percentage_tier'] = PropTypes.exact({
|
|
|
10746
10719
|
rate: PropTypes.number.isRequired,
|
|
10747
10720
|
});
|
|
10748
10721
|
|
|
10722
|
+
T['io.flow.billing.v0.enums.subscription_frequency'] = PropTypes.oneOf(['yearly', 'monthly']);
|
|
10723
|
+
|
|
10724
|
+
T['io.flow.billing.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
|
|
10725
|
+
discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
|
|
10726
|
+
amount: PropTypes.number.isRequired,
|
|
10727
|
+
currency: PropTypes.string.isRequired,
|
|
10728
|
+
frequency: T['io.flow.billing.v0.enums.subscription_frequency'].isRequired,
|
|
10729
|
+
});
|
|
10730
|
+
|
|
10731
|
+
T['io.flow.billing.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
|
|
10732
|
+
T['io.flow.billing.internal.v0.models.platform_fee_pause'],
|
|
10733
|
+
T['io.flow.billing.internal.v0.models.platform_fee_flat'],
|
|
10734
|
+
T['io.flow.billing.internal.v0.models.platform_fee_percentage'],
|
|
10735
|
+
T['io.flow.billing.internal.v0.models.platform_fee_disabled'],
|
|
10736
|
+
]);
|
|
10737
|
+
|
|
10738
|
+
T['io.flow.billing.internal.v0.models.platform_fee_change_form'] = PropTypes.exact({
|
|
10739
|
+
platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
|
|
10740
|
+
starts_at: PropTypes.string.isRequired,
|
|
10741
|
+
});
|
|
10742
|
+
|
|
10743
|
+
T['io.flow.billing.internal.v0.models.platform_fee_change'] = PropTypes.exact({
|
|
10744
|
+
organization_id: PropTypes.string.isRequired,
|
|
10745
|
+
key: PropTypes.string.isRequired,
|
|
10746
|
+
platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
|
|
10747
|
+
starts_at: PropTypes.string.isRequired,
|
|
10748
|
+
});
|
|
10749
|
+
|
|
10749
10750
|
T['io.flow.internal.v0.models.platform_fee_disabled'] = PropTypes.exact({
|
|
10750
10751
|
discriminator: PropTypes.oneOf(['platform_fee_disabled']).isRequired,
|
|
10751
10752
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
@@ -10760,7 +10761,7 @@ T['io.flow.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
|
|
|
10760
10761
|
discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
|
|
10761
10762
|
amount: PropTypes.number.isRequired,
|
|
10762
10763
|
currency: PropTypes.string.isRequired,
|
|
10763
|
-
frequency:
|
|
10764
|
+
frequency: T['io.flow.billing.v0.enums.subscription_frequency'].isRequired,
|
|
10764
10765
|
});
|
|
10765
10766
|
|
|
10766
10767
|
T['io.flow.internal.v0.models.platform_fee_pause'] = PropTypes.exact({
|
|
@@ -11536,6 +11537,11 @@ T['io.flow.internal.v0.enums.no_liability_reason_code'] = PropTypes.oneOf([
|
|
|
11536
11537
|
'delivered_unpaid',
|
|
11537
11538
|
]);
|
|
11538
11539
|
|
|
11540
|
+
T['io.flow.common.v0.models.entity_identifier'] = PropTypes.exact({
|
|
11541
|
+
name: T['io.flow.common.v0.enums.entity_identifier_type'].isRequired,
|
|
11542
|
+
number: PropTypes.string.isRequired,
|
|
11543
|
+
});
|
|
11544
|
+
|
|
11539
11545
|
T['io.flow.common.v0.models.merchant_of_record_entity_registration'] = PropTypes.exact({
|
|
11540
11546
|
number: PropTypes.string.isRequired,
|
|
11541
11547
|
country: PropTypes.string.isRequired,
|
|
@@ -14352,6 +14358,7 @@ T['io.flow.checkout.backend.v0.unions.checkout_payment_action_requirement'] = Pr
|
|
|
14352
14358
|
|
|
14353
14359
|
T['io.flow.internal.v0.models.checkout_sequenced_initiate_payment_response_success'] = PropTypes.exact({
|
|
14354
14360
|
discriminator: PropTypes.oneOf(['checkout_sequenced_initiate_payment_response_success']).isRequired,
|
|
14361
|
+
authorization_key: PropTypes.string,
|
|
14355
14362
|
action_requirement: T['io.flow.checkout.backend.v0.unions.checkout_payment_action_requirement'].isRequired,
|
|
14356
14363
|
});
|
|
14357
14364
|
|
|
@@ -15788,6 +15795,7 @@ T['io.flow.checkout.protocol.v0.unions.checkout_sequenced_set_address_city_respo
|
|
|
15788
15795
|
|
|
15789
15796
|
T['io.flow.checkout.protocol.v0.models.checkout_sequenced_initiate_payment_response_success'] = PropTypes.exact({
|
|
15790
15797
|
discriminator: PropTypes.oneOf(['checkout_sequenced_initiate_payment_response_success']).isRequired,
|
|
15798
|
+
authorization_key: PropTypes.string,
|
|
15791
15799
|
action_requirement: T['io.flow.checkout.backend.v0.unions.checkout_payment_action_requirement'].isRequired,
|
|
15792
15800
|
});
|
|
15793
15801
|
|
|
@@ -16462,7 +16470,8 @@ T['io.flow.internal.v0.models.organization_boolean_value_deleted'] = PropTypes.e
|
|
|
16462
16470
|
T['io.flow.common.v0.models.merchant_of_record_entity'] = PropTypes.exact({
|
|
16463
16471
|
organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
|
|
16464
16472
|
name: PropTypes.string.isRequired,
|
|
16465
|
-
vat: T['io.flow.common.v0.models.merchant_of_record_entity_registration']
|
|
16473
|
+
vat: T['io.flow.common.v0.models.merchant_of_record_entity_registration'],
|
|
16474
|
+
identifiers: PropTypes.arrayOf(T['io.flow.common.v0.models.entity_identifier']),
|
|
16466
16475
|
streets: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
16467
16476
|
city: PropTypes.string.isRequired,
|
|
16468
16477
|
province: PropTypes.string,
|
|
@@ -20787,6 +20796,7 @@ T['io.flow.payment.internal.v0.models.authorization_parameters_form'] = PropType
|
|
|
20787
20796
|
currency: PropTypes.string.isRequired,
|
|
20788
20797
|
billing_address: T['io.flow.common.v0.models.billing_address'],
|
|
20789
20798
|
ip: PropTypes.string,
|
|
20799
|
+
origin_url: PropTypes.string,
|
|
20790
20800
|
});
|
|
20791
20801
|
|
|
20792
20802
|
T['io.flow.common.v0.models.order_customer_form'] = PropTypes.exact({
|
|
@@ -21151,6 +21161,7 @@ T['io.flow.internal.v0.models.authorization_parameters_form'] = PropTypes.exact(
|
|
|
21151
21161
|
currency: PropTypes.string.isRequired,
|
|
21152
21162
|
billing_address: T['io.flow.common.v0.models.billing_address'],
|
|
21153
21163
|
ip: PropTypes.string,
|
|
21164
|
+
origin_url: PropTypes.string,
|
|
21154
21165
|
});
|
|
21155
21166
|
|
|
21156
21167
|
T['io.flow.internal.v0.models.content_label'] = PropTypes.exact({
|