@flowio/api-prop-types 10.16.103 → 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 +16 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +16 -2
- package/src/api.js +16 -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;
|
|
@@ -13648,8 +13660,8 @@ declare namespace io.flow.v0.unions {
|
|
|
13648
13660
|
type CardNumber = (io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher);
|
|
13649
13661
|
type CheckoutTokenForm = (io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm);
|
|
13650
13662
|
type ConfirmationDetails = (io.flow.v0.models.DirectDebit | io.flow.v0.models.CardConfirmationSummary);
|
|
13651
|
-
type ConsumerInvoiceLine = (io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping);
|
|
13652
|
-
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);
|
|
13653
13665
|
type Delivery = (io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery);
|
|
13654
13666
|
type Deminimis = (io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem);
|
|
13655
13667
|
type DeviceDetails = (io.flow.v0.models.DeviceDetailsBrowser);
|
|
@@ -14244,6 +14256,8 @@ export const consumerInvoiceLineItem: PropTypes.Requireable<io.flow.v0.models.Co
|
|
|
14244
14256
|
export const consumerInvoiceLineItemForm: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineItemForm>;
|
|
14245
14257
|
export const consumerInvoiceLineShipping: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceLineShipping>;
|
|
14246
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>;
|
|
14247
14261
|
export const consumerInvoiceOrderSummary: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceOrderSummary>;
|
|
14248
14262
|
export const consumerInvoicePayment: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoicePayment>;
|
|
14249
14263
|
export const consumerInvoiceReference: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceReference>;
|
package/src/api.js
CHANGED
|
@@ -7572,6 +7572,12 @@ T['io.flow.v0.models.consumer_invoice_levy_form'] = PropTypes.exact({
|
|
|
7572
7572
|
amount: PropTypes.number.isRequired,
|
|
7573
7573
|
});
|
|
7574
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
|
+
|
|
7575
7581
|
T['io.flow.v0.models.consumer_invoice_line_shipping_form'] = PropTypes.exact({
|
|
7576
7582
|
discriminator: PropTypes.oneOf(['shipping']).isRequired,
|
|
7577
7583
|
price: PropTypes.number.isRequired,
|
|
@@ -7594,6 +7600,7 @@ T['io.flow.v0.unions.consumer_invoice_line_form'] = PropTypes.oneOfType([
|
|
|
7594
7600
|
T['io.flow.v0.models.consumer_invoice_line_item_form'],
|
|
7595
7601
|
T['io.flow.v0.models.consumer_invoice_line_discount_form'],
|
|
7596
7602
|
T['io.flow.v0.models.consumer_invoice_line_shipping_form'],
|
|
7603
|
+
T['io.flow.v0.models.consumer_invoice_line_tip_form'],
|
|
7597
7604
|
]);
|
|
7598
7605
|
|
|
7599
7606
|
T['io.flow.v0.models.credit_memo_form'] = PropTypes.exact({
|
|
@@ -10607,6 +10614,12 @@ T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
|
|
|
10607
10614
|
value: T['io.flow.v0.models.price'].isRequired,
|
|
10608
10615
|
});
|
|
10609
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
|
+
|
|
10610
10623
|
T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
|
|
10611
10624
|
discriminator: PropTypes.oneOf(['shipping']).isRequired,
|
|
10612
10625
|
price: T['io.flow.v0.models.price'].isRequired,
|
|
@@ -10630,6 +10643,7 @@ T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
|
|
|
10630
10643
|
T['io.flow.v0.models.consumer_invoice_line_item'],
|
|
10631
10644
|
T['io.flow.v0.models.consumer_invoice_line_discount'],
|
|
10632
10645
|
T['io.flow.v0.models.consumer_invoice_line_shipping'],
|
|
10646
|
+
T['io.flow.v0.models.consumer_invoice_line_tip'],
|
|
10633
10647
|
]);
|
|
10634
10648
|
|
|
10635
10649
|
T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
|
|
@@ -16547,6 +16561,8 @@ export const consumerInvoiceLineItem = T['io.flow.v0.models.consumer_invoice_lin
|
|
|
16547
16561
|
export const consumerInvoiceLineItemForm = T['io.flow.v0.models.consumer_invoice_line_item_form'];
|
|
16548
16562
|
export const consumerInvoiceLineShipping = T['io.flow.v0.models.consumer_invoice_line_shipping'];
|
|
16549
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'];
|
|
16550
16566
|
export const consumerInvoiceOrderSummary = T['io.flow.v0.models.consumer_invoice_order_summary'];
|
|
16551
16567
|
export const consumerInvoicePayment = T['io.flow.v0.models.consumer_invoice_payment'];
|
|
16552
16568
|
export const consumerInvoiceReference = T['io.flow.v0.models.consumer_invoice_reference'];
|