@flowio/api-internal-prop-types 9.15.2 → 9.16.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 +26 -0
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +26 -0
- package/src/api-internal.js +32 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.16.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": "4f33dd3511d45000dd2c832ede028d2388f13ff4"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -1458,6 +1458,32 @@ declare namespace io.flow.shopify.xborder.v0.models {
|
|
|
1458
1458
|
readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
|
+
interface ShopifyOrderEdit {
|
|
1462
|
+
readonly 'id': number;
|
|
1463
|
+
readonly 'created_at': string;
|
|
1464
|
+
readonly 'notify_customer': boolean;
|
|
1465
|
+
readonly 'order_id': number;
|
|
1466
|
+
readonly 'staff_note': string;
|
|
1467
|
+
readonly 'user_id'?: number;
|
|
1468
|
+
readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
|
|
1469
|
+
readonly 'discounts': any/*object*/;
|
|
1470
|
+
readonly 'shipping_lines': any/*object*/;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
interface ShopifyOrderEditLineItems {
|
|
1474
|
+
readonly 'additions': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1475
|
+
readonly 'removals': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
interface ShopifyOrderEditLineItemsChange {
|
|
1479
|
+
readonly 'id': number;
|
|
1480
|
+
readonly 'delta': number;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
interface ShopifyOrderEditWrapper {
|
|
1484
|
+
readonly 'order_edit': io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1461
1487
|
interface ShopifyOrderFulfillment {
|
|
1462
1488
|
readonly 'created_at'?: string;
|
|
1463
1489
|
readonly 'id'?: number;
|
package/src/api-internal.js
CHANGED
|
@@ -7974,6 +7974,38 @@ T['io.flow.shopify.xborder.v0.models.shopify_webhook_request_wrapper'] = PropTyp
|
|
|
7974
7974
|
});
|
|
7975
7975
|
|
|
7976
7976
|
T['io.flow.shopify.xborder.v0.enums.shopify_order_restock_type'] = PropTypes.oneOf(['no_restock', 'cancel', 'return']);
|
|
7977
|
+
|
|
7978
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'] = PropTypes.exact({
|
|
7979
|
+
id: PropTypes.number.isRequired,
|
|
7980
|
+
delta: PropTypes.number.isRequired,
|
|
7981
|
+
});
|
|
7982
|
+
|
|
7983
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items'] = PropTypes.exact({
|
|
7984
|
+
additions: PropTypes.arrayOf(
|
|
7985
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'],
|
|
7986
|
+
).isRequired,
|
|
7987
|
+
|
|
7988
|
+
removals: PropTypes.arrayOf(
|
|
7989
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'],
|
|
7990
|
+
).isRequired,
|
|
7991
|
+
});
|
|
7992
|
+
|
|
7993
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit'] = PropTypes.exact({
|
|
7994
|
+
id: PropTypes.number.isRequired,
|
|
7995
|
+
created_at: PropTypes.string.isRequired,
|
|
7996
|
+
notify_customer: PropTypes.bool.isRequired,
|
|
7997
|
+
order_id: PropTypes.number.isRequired,
|
|
7998
|
+
staff_note: PropTypes.string.isRequired,
|
|
7999
|
+
user_id: PropTypes.number,
|
|
8000
|
+
line_items: T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items'].isRequired,
|
|
8001
|
+
discounts: PropTypes.object.isRequired,
|
|
8002
|
+
shipping_lines: PropTypes.object.isRequired,
|
|
8003
|
+
});
|
|
8004
|
+
|
|
8005
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_wrapper'] = PropTypes.exact({
|
|
8006
|
+
order_edit: T['io.flow.shopify.xborder.v0.models.shopify_order_edit'].isRequired,
|
|
8007
|
+
});
|
|
8008
|
+
|
|
7977
8009
|
T['io.flow.shopify.xborder.v0.enums.shopify_order_value_type'] = PropTypes.oneOf(['string', 'integer']);
|
|
7978
8010
|
|
|
7979
8011
|
T['io.flow.shopify.xborder.v0.models.shopify_order_metafield_form'] = PropTypes.exact({
|