@flowio/api-prop-types 10.16.83 → 10.16.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-prop-types",
3
- "version": "10.16.83",
3
+ "version": "10.16.84",
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": "186c2bb75e0d707e7d5df6a6b87e63a9be573e4d"
32
+ "gitHead": "f75564e8d259c34e55cd55031e0f18ad6abc6a96"
33
33
  }
package/src/api.d.ts CHANGED
@@ -2575,7 +2575,7 @@ declare namespace io.flow.v0.enums {
2575
2575
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay' | 'grabpay' | 'vipps' | 'kcp_creditcard';
2576
2576
  type PayoutAttachmentType = 'transactions';
2577
2577
  type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
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';
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' | 'unfulfilled_amount_greater_than_negative_balance' | 'account_payment_hold';
2579
2579
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2580
2580
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
2581
2581
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -5172,6 +5172,12 @@ declare namespace io.flow.v0.models {
5172
5172
  readonly 'minimum'?: number;
5173
5173
  }
5174
5174
 
5175
+ interface DestinationContactDetail {
5176
+ readonly 'title': string;
5177
+ readonly 'country': string;
5178
+ readonly 'import_identifier': string;
5179
+ }
5180
+
5175
5181
  interface DetailedShippingLabelForm {
5176
5182
  readonly 'discriminator': 'detailed_shipping_label_form';
5177
5183
  readonly 'destination': io.flow.v0.models.ShippingAddress;
@@ -6859,6 +6865,7 @@ declare namespace io.flow.v0.models {
6859
6865
  readonly 'local'?: io.flow.v0.models.Local;
6860
6866
  readonly 'created_at'?: string;
6861
6867
  readonly 'updated_at'?: string;
6868
+ readonly 'deleted_at'?: string;
6862
6869
  }
6863
6870
 
6864
6871
  interface ItemAttributesPatchForm {
@@ -6884,6 +6891,7 @@ declare namespace io.flow.v0.models {
6884
6891
  readonly 'attributes'?: Record<string, string>;
6885
6892
  readonly 'dimensions'?: io.flow.v0.models.Dimensions;
6886
6893
  readonly 'images'?: io.flow.v0.models.ImageForm[];
6894
+ readonly 'deleted_at'?: string;
6887
6895
  }
6888
6896
 
6889
6897
  interface ItemFormOverlay {
@@ -6897,6 +6905,7 @@ declare namespace io.flow.v0.models {
6897
6905
  readonly 'attributes'?: Record<string, string>;
6898
6906
  readonly 'dimensions'?: io.flow.v0.models.Dimensions;
6899
6907
  readonly 'images'?: io.flow.v0.models.ImageForm[];
6908
+ readonly 'deleted_at'?: string;
6900
6909
  }
6901
6910
 
6902
6911
  interface ItemFormOverlayForm {
@@ -6909,6 +6918,7 @@ declare namespace io.flow.v0.models {
6909
6918
  readonly 'attributes'?: Record<string, string>;
6910
6919
  readonly 'dimensions'?: io.flow.v0.models.Dimensions;
6911
6920
  readonly 'images'?: io.flow.v0.models.ImageForm[];
6921
+ readonly 'deleted_at'?: string;
6912
6922
  }
6913
6923
 
6914
6924
  interface ItemInserted {
@@ -7231,6 +7241,7 @@ declare namespace io.flow.v0.models {
7231
7241
  readonly 'in_transit': io.flow.v0.models.LabelTrackingSummaryUpdate;
7232
7242
  readonly 'delivered'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7233
7243
  readonly 'rejected'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7244
+ readonly 'returned'?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7234
7245
  }
7235
7246
 
7236
7247
  interface LabelTrackingSummaryUpdate {
@@ -7966,6 +7977,7 @@ declare namespace io.flow.v0.models {
7966
7977
  readonly 'tax_registration'?: io.flow.v0.models.TaxRegistration;
7967
7978
  readonly 'geo'?: io.flow.v0.models.OrderGeo;
7968
7979
  readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
7980
+ readonly 'destination_contact_details'?: io.flow.v0.models.DestinationContactDetail[];
7969
7981
  }
7970
7982
 
7971
7983
  interface OrderAddress {
@@ -13744,6 +13756,7 @@ export const deliveryWindowComponentsV2: PropTypes.Requireable<io.flow.v0.models
13744
13756
  export const deliveryWindowSummary: PropTypes.Requireable<io.flow.v0.models.DeliveryWindowSummary>;
13745
13757
  export const deminimisPerItem: PropTypes.Requireable<io.flow.v0.models.DeminimisPerItem>;
13746
13758
  export const deminimisSimple: PropTypes.Requireable<io.flow.v0.models.DeminimisSimple>;
13759
+ export const destinationContactDetail: PropTypes.Requireable<io.flow.v0.models.DestinationContactDetail>;
13747
13760
  export const detailedShippingLabelForm: PropTypes.Requireable<io.flow.v0.models.DetailedShippingLabelForm>;
13748
13761
  export const detailedShippingNotificationForm: PropTypes.Requireable<io.flow.v0.models.DetailedShippingNotificationForm>;
13749
13762
  export const detailedTaxRegistration: PropTypes.Requireable<io.flow.v0.models.DetailedTaxRegistration>;
package/src/api.js CHANGED
@@ -5164,6 +5164,12 @@ T['io.flow.v0.models.order_rule_reference'] = PropTypes.exact({
5164
5164
  key: PropTypes.string.isRequired,
5165
5165
  });
5166
5166
 
5167
+ T['io.flow.v0.models.destination_contact_detail'] = PropTypes.exact({
5168
+ title: PropTypes.string.isRequired,
5169
+ country: PropTypes.string.isRequired,
5170
+ import_identifier: PropTypes.string.isRequired,
5171
+ });
5172
+
5167
5173
  T['io.flow.v0.models.order_geo'] = PropTypes.exact({
5168
5174
  ip: PropTypes.string,
5169
5175
  country: PropTypes.string.isRequired,
@@ -5512,6 +5518,7 @@ T['io.flow.v0.models.label_tracking_summary'] = PropTypes.exact({
5512
5518
  in_transit: T['io.flow.v0.models.label_tracking_summary_update'].isRequired,
5513
5519
  delivered: T['io.flow.v0.models.label_tracking_summary_update'],
5514
5520
  rejected: T['io.flow.v0.models.label_tracking_summary_update'],
5521
+ returned: T['io.flow.v0.models.label_tracking_summary_update'],
5515
5522
  });
5516
5523
 
5517
5524
  T['io.flow.v0.models.label_surcharge_detail_per_weight_unit'] = PropTypes.exact({
@@ -7525,6 +7532,8 @@ T['io.flow.v0.enums.pending_payout_transaction_reason_code'] = PropTypes.oneOf([
7525
7532
  'waiting_for_next_payout_date',
7526
7533
  'waiting_for_tracking_info',
7527
7534
  'waiting_for_positive_account_balance',
7535
+ 'unfulfilled_amount_greater_than_negative_balance',
7536
+ 'account_payment_hold',
7528
7537
  ]);
7529
7538
 
7530
7539
  T['io.flow.v0.models.pending_payout_transaction_timeout'] = PropTypes.exact({
@@ -11838,6 +11847,7 @@ T['io.flow.v0.models.item_form_overlay_form'] = PropTypes.exact({
11838
11847
  attributes: PropTypes.objectOf(PropTypes.string),
11839
11848
  dimensions: T['io.flow.v0.models.dimensions'],
11840
11849
  images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11850
+ deleted_at: PropTypes.string,
11841
11851
  });
11842
11852
 
11843
11853
  T['io.flow.v0.models.item_form_overlay'] = PropTypes.exact({
@@ -11851,6 +11861,7 @@ T['io.flow.v0.models.item_form_overlay'] = PropTypes.exact({
11851
11861
  attributes: PropTypes.objectOf(PropTypes.string),
11852
11862
  dimensions: T['io.flow.v0.models.dimensions'],
11853
11863
  images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11864
+ deleted_at: PropTypes.string,
11854
11865
  });
11855
11866
 
11856
11867
  T['io.flow.v0.models.item_form'] = PropTypes.exact({
@@ -11864,6 +11875,7 @@ T['io.flow.v0.models.item_form'] = PropTypes.exact({
11864
11875
  attributes: PropTypes.objectOf(PropTypes.string),
11865
11876
  dimensions: T['io.flow.v0.models.dimensions'],
11866
11877
  images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11878
+ deleted_at: PropTypes.string,
11867
11879
  });
11868
11880
 
11869
11881
  T['io.flow.v0.models.packaging'] = PropTypes.exact({
@@ -11886,6 +11898,7 @@ T['io.flow.v0.models.item'] = PropTypes.exact({
11886
11898
  local: T['io.flow.v0.models.local'],
11887
11899
  created_at: PropTypes.string,
11888
11900
  updated_at: PropTypes.string,
11901
+ deleted_at: PropTypes.string,
11889
11902
  });
11890
11903
 
11891
11904
  T['io.flow.v0.models.subcatalog_item'] = PropTypes.exact({
@@ -13123,6 +13136,7 @@ T['io.flow.v0.models.order'] = PropTypes.exact({
13123
13136
  tax_registration: T['io.flow.v0.models.tax_registration'],
13124
13137
  geo: T['io.flow.v0.models.order_geo'],
13125
13138
  device_details: T['io.flow.v0.unions.device_details'],
13139
+ destination_contact_details: PropTypes.arrayOf(T['io.flow.v0.models.destination_contact_detail']),
13126
13140
  });
13127
13141
 
13128
13142
  T['io.flow.v0.models.shopify_cart_conversion_flow_order'] = PropTypes.exact({
@@ -15852,6 +15866,7 @@ export const deliveryWindowSummary = T['io.flow.v0.models.delivery_window_summar
15852
15866
  export const deminimis = T['io.flow.v0.unions.deminimis'];
15853
15867
  export const deminimisPerItem = T['io.flow.v0.models.deminimis_per_item'];
15854
15868
  export const deminimisSimple = T['io.flow.v0.models.deminimis_simple'];
15869
+ export const destinationContactDetail = T['io.flow.v0.models.destination_contact_detail'];
15855
15870
  export const detailedShippingLabelForm = T['io.flow.v0.models.detailed_shipping_label_form'];
15856
15871
  export const detailedShippingNotificationForm = T['io.flow.v0.models.detailed_shipping_notification_form'];
15857
15872
  export const detailedTaxRegistration = T['io.flow.v0.models.detailed_tax_registration'];