@flowio/api-prop-types 10.16.102 → 10.16.104
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 +17 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +17 -2
- package/src/api.js +17 -0
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.104",
|
|
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": "5c6b5f5cb926cc945c9f4291efe22dedfde83355"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -5547,6 +5547,18 @@ declare namespace io.flow.v0.models {
|
|
|
5547
5547
|
readonly 'duty'?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
5548
5548
|
}
|
|
5549
5549
|
|
|
5550
|
+
interface ConsumerInvoiceLineTip {
|
|
5551
|
+
readonly 'discriminator': 'tip';
|
|
5552
|
+
readonly 'price': io.flow.v0.models.Price;
|
|
5553
|
+
readonly 'tax'?: io.flow.v0.models.ConsumerInvoiceLevy;
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
interface ConsumerInvoiceLineTipForm {
|
|
5557
|
+
readonly 'discriminator': 'tip';
|
|
5558
|
+
readonly 'price': number;
|
|
5559
|
+
readonly 'tax'?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
5560
|
+
}
|
|
5561
|
+
|
|
5550
5562
|
interface ConsumerInvoiceOrderSummary {
|
|
5551
5563
|
readonly 'id': string;
|
|
5552
5564
|
readonly 'number': string;
|
|
@@ -7103,6 +7115,7 @@ declare namespace io.flow.v0.models {
|
|
|
7103
7115
|
readonly 'product_id': string;
|
|
7104
7116
|
readonly 'ge_organization_name': string;
|
|
7105
7117
|
readonly 'ge_shipping_origin_country'?: string;
|
|
7118
|
+
readonly 'product_url'?: string;
|
|
7106
7119
|
}
|
|
7107
7120
|
|
|
7108
7121
|
interface GeInputPrice {
|
|
@@ -13647,8 +13660,8 @@ declare namespace io.flow.v0.unions {
|
|
|
13647
13660
|
type CardNumber = (io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher);
|
|
13648
13661
|
type CheckoutTokenForm = (io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm);
|
|
13649
13662
|
type ConfirmationDetails = (io.flow.v0.models.DirectDebit | io.flow.v0.models.CardConfirmationSummary);
|
|
13650
|
-
type ConsumerInvoiceLine = (io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping);
|
|
13651
|
-
type ConsumerInvoiceLineForm = (io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm);
|
|
13663
|
+
type ConsumerInvoiceLine = (io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping | io.flow.v0.models.ConsumerInvoiceLineTip);
|
|
13664
|
+
type ConsumerInvoiceLineForm = (io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm | io.flow.v0.models.ConsumerInvoiceLineTipForm);
|
|
13652
13665
|
type Delivery = (io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery);
|
|
13653
13666
|
type Deminimis = (io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem);
|
|
13654
13667
|
type DeviceDetails = (io.flow.v0.models.DeviceDetailsBrowser);
|
|
@@ -14243,6 +14256,8 @@ export const consumerInvoiceLineItem: PropTypes.Requireable<io.flow.v0.models.Co
|
|
|
14243
14256
|
export const consumerInvoiceLineItemForm: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineItemForm>;
|
|
14244
14257
|
export const consumerInvoiceLineShipping: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineShipping>;
|
|
14245
14258
|
export const consumerInvoiceLineShippingForm: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineShippingForm>;
|
|
14259
|
+
export const consumerInvoiceLineTip: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineTip>;
|
|
14260
|
+
export const consumerInvoiceLineTipForm: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineTipForm>;
|
|
14246
14261
|
export const consumerInvoiceOrderSummary: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceOrderSummary>;
|
|
14247
14262
|
export const consumerInvoicePayment: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoicePayment>;
|
|
14248
14263
|
export const consumerInvoiceReference: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceReference>;
|
package/src/api.js
CHANGED
|
@@ -6415,6 +6415,7 @@ T['io.flow.v0.models.ge_input_attributes'] = PropTypes.exact({
|
|
|
6415
6415
|
product_id: PropTypes.string.isRequired,
|
|
6416
6416
|
ge_organization_name: PropTypes.string.isRequired,
|
|
6417
6417
|
ge_shipping_origin_country: PropTypes.string,
|
|
6418
|
+
product_url: PropTypes.string,
|
|
6418
6419
|
});
|
|
6419
6420
|
|
|
6420
6421
|
T['io.flow.v0.models.ge_input_price'] = PropTypes.exact({
|
|
@@ -7571,6 +7572,12 @@ T['io.flow.v0.models.consumer_invoice_levy_form'] = PropTypes.exact({
|
|
|
7571
7572
|
amount: PropTypes.number.isRequired,
|
|
7572
7573
|
});
|
|
7573
7574
|
|
|
7575
|
+
T['io.flow.v0.models.consumer_invoice_line_tip_form'] = PropTypes.exact({
|
|
7576
|
+
discriminator: PropTypes.oneOf(['tip']).isRequired,
|
|
7577
|
+
price: PropTypes.number.isRequired,
|
|
7578
|
+
tax: T['io.flow.v0.models.consumer_invoice_levy_form'],
|
|
7579
|
+
});
|
|
7580
|
+
|
|
7574
7581
|
T['io.flow.v0.models.consumer_invoice_line_shipping_form'] = PropTypes.exact({
|
|
7575
7582
|
discriminator: PropTypes.oneOf(['shipping']).isRequired,
|
|
7576
7583
|
price: PropTypes.number.isRequired,
|
|
@@ -7593,6 +7600,7 @@ T['io.flow.v0.unions.consumer_invoice_line_form'] = PropTypes.oneOfType([
|
|
|
7593
7600
|
T['io.flow.v0.models.consumer_invoice_line_item_form'],
|
|
7594
7601
|
T['io.flow.v0.models.consumer_invoice_line_discount_form'],
|
|
7595
7602
|
T['io.flow.v0.models.consumer_invoice_line_shipping_form'],
|
|
7603
|
+
T['io.flow.v0.models.consumer_invoice_line_tip_form'],
|
|
7596
7604
|
]);
|
|
7597
7605
|
|
|
7598
7606
|
T['io.flow.v0.models.credit_memo_form'] = PropTypes.exact({
|
|
@@ -10606,6 +10614,12 @@ T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
|
|
|
10606
10614
|
value: T['io.flow.v0.models.price'].isRequired,
|
|
10607
10615
|
});
|
|
10608
10616
|
|
|
10617
|
+
T['io.flow.v0.models.consumer_invoice_line_tip'] = PropTypes.exact({
|
|
10618
|
+
discriminator: PropTypes.oneOf(['tip']).isRequired,
|
|
10619
|
+
price: T['io.flow.v0.models.price'].isRequired,
|
|
10620
|
+
tax: T['io.flow.v0.models.consumer_invoice_levy'],
|
|
10621
|
+
});
|
|
10622
|
+
|
|
10609
10623
|
T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
|
|
10610
10624
|
discriminator: PropTypes.oneOf(['shipping']).isRequired,
|
|
10611
10625
|
price: T['io.flow.v0.models.price'].isRequired,
|
|
@@ -10629,6 +10643,7 @@ T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
|
|
|
10629
10643
|
T['io.flow.v0.models.consumer_invoice_line_item'],
|
|
10630
10644
|
T['io.flow.v0.models.consumer_invoice_line_discount'],
|
|
10631
10645
|
T['io.flow.v0.models.consumer_invoice_line_shipping'],
|
|
10646
|
+
T['io.flow.v0.models.consumer_invoice_line_tip'],
|
|
10632
10647
|
]);
|
|
10633
10648
|
|
|
10634
10649
|
T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
|
|
@@ -16546,6 +16561,8 @@ export const consumerInvoiceLineItem = T['io.flow.v0.models.consumer_invoice_lin
|
|
|
16546
16561
|
export const consumerInvoiceLineItemForm = T['io.flow.v0.models.consumer_invoice_line_item_form'];
|
|
16547
16562
|
export const consumerInvoiceLineShipping = T['io.flow.v0.models.consumer_invoice_line_shipping'];
|
|
16548
16563
|
export const consumerInvoiceLineShippingForm = T['io.flow.v0.models.consumer_invoice_line_shipping_form'];
|
|
16564
|
+
export const consumerInvoiceLineTip = T['io.flow.v0.models.consumer_invoice_line_tip'];
|
|
16565
|
+
export const consumerInvoiceLineTipForm = T['io.flow.v0.models.consumer_invoice_line_tip_form'];
|
|
16549
16566
|
export const consumerInvoiceOrderSummary = T['io.flow.v0.models.consumer_invoice_order_summary'];
|
|
16550
16567
|
export const consumerInvoicePayment = T['io.flow.v0.models.consumer_invoice_payment'];
|
|
16551
16568
|
export const consumerInvoiceReference = T['io.flow.v0.models.consumer_invoice_reference'];
|