@flowio/api-internal-prop-types 9.24.22 → 9.24.24

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-internal-prop-types",
3
- "version": "9.24.22",
3
+ "version": "9.24.24",
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": "f35925cb8986e0716d9dcdec6be43879dd1d3c0d"
33
+ "gitHead": "6cea0aac70d665ea427fec4b66f2c2788f8d3482"
34
34
  }
@@ -3432,7 +3432,7 @@ declare namespace io.flow.label.v0.models {
3432
3432
  }
3433
3433
 
3434
3434
  interface ShippingLabelLaneSummary {
3435
- readonly 'id': string;
3435
+ readonly 'id'?: string;
3436
3436
  readonly 'ratecard': io.flow.label.v0.models.ShippingLabelRatecardSummary;
3437
3437
  }
3438
3438
 
@@ -3443,7 +3443,7 @@ declare namespace io.flow.label.v0.models {
3443
3443
  }
3444
3444
 
3445
3445
  interface ShippingLabelRatecardSummary {
3446
- readonly 'id': string;
3446
+ readonly 'id'?: string;
3447
3447
  readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
3448
3448
  }
3449
3449
 
@@ -5681,7 +5681,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
5681
5681
  type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
5682
5682
  type ShopifyOrderValueType = 'string' | 'integer';
5683
5683
  type ShopifyWebhookFormat = 'json' | 'xml';
5684
- type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
5684
+ type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
5685
5685
  }
5686
5686
 
5687
5687
  declare namespace io.flow.shopify.markets.v0.models {
@@ -9036,6 +9036,11 @@ declare namespace io.flow.merchant.onboarding.v0.enums {
9036
9036
  }
9037
9037
 
9038
9038
  declare namespace io.flow.merchant.onboarding.v0.models {
9039
+ interface IndirectTax {
9040
+ readonly 'number'?: string;
9041
+ readonly 'id'?: string;
9042
+ }
9043
+
9039
9044
  interface MerchantInfo {
9040
9045
  readonly 'legal_name'?: string;
9041
9046
  readonly 'country': string;
@@ -9099,6 +9104,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
9099
9104
  readonly 'status': io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
9100
9105
  readonly 'company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
9101
9106
  readonly 'indirect_tax_number'?: string;
9107
+ readonly 'indirect_tax'?: io.flow.merchant.onboarding.v0.models.IndirectTax;
9102
9108
  readonly 'parent_company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
9103
9109
  readonly 'beneficiary'?: string;
9104
9110
  readonly 'ultimate_beneficiary_owner'?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
@@ -9121,12 +9127,14 @@ declare namespace io.flow.merchant.onboarding.v0.models {
9121
9127
  readonly 'rate_card': string;
9122
9128
  readonly 'created_at': string;
9123
9129
  readonly 'activated_at'?: string;
9130
+ readonly 'status_updated_at'?: string;
9124
9131
  }
9125
9132
 
9126
9133
  interface ShopifyMerchantApplicationForm {
9127
9134
  readonly 'discriminator': 'shopify_merchant_application_form';
9128
9135
  readonly 'company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
9129
9136
  readonly 'indirect_tax_number'?: string;
9137
+ readonly 'indirect_tax'?: io.flow.merchant.onboarding.v0.models.IndirectTax;
9130
9138
  readonly 'parent_company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
9131
9139
  readonly 'beneficiary'?: string;
9132
9140
  readonly 'ultimate_beneficiary_owner'?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
@@ -11496,7 +11504,7 @@ declare namespace io.flow.internal.v0.enums {
11496
11504
  type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
11497
11505
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
11498
11506
  type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
11499
- type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner';
11507
+ type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
11500
11508
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
11501
11509
  type OrderAttributeIntent = 'discount_code';
11502
11510
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
@@ -20598,6 +20606,10 @@ declare namespace io.flow.internal.v0.models {
20598
20606
  readonly 'select_mismatching_item_types': boolean;
20599
20607
  }
20600
20608
 
20609
+ interface RestrictionCategory {
20610
+ readonly 'category': string;
20611
+ }
20612
+
20601
20613
  interface RestrictionItem {
20602
20614
  readonly 'id': string;
20603
20615
  readonly 'organization_id': string;
@@ -23933,6 +23945,7 @@ export const redirectActionCompleted: PropTypes.Requireable<io.flow.internal.v0.
23933
23945
  export const registeredExporterTariffEligibilityData: PropTypes.Requireable<io.flow.internal.v0.models.RegisteredExporterTariffEligibilityData>;
23934
23946
  export const registeredExporterTariffEligibilityForm: PropTypes.Requireable<io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm>;
23935
23947
  export const requeueRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.RequeueRequestForm>;
23948
+ export const restrictionCategory: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionCategory>;
23936
23949
  export const restrictionItem: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItem>;
23937
23950
  export const restrictionItemReview: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReview>;
23938
23951
  export const restrictionItemReviewDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReviewDecisionForm>;
@@ -706,6 +706,11 @@ T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'] = PropType
706
706
  dob: PropTypes.string.isRequired,
707
707
  });
708
708
 
709
+ T['io.flow.merchant.onboarding.v0.models.indirect_tax'] = PropTypes.exact({
710
+ number: PropTypes.string,
711
+ id: PropTypes.string,
712
+ });
713
+
709
714
  T['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'] = PropTypes.oneOf(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']);
710
715
 
711
716
  T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_put_form'] = PropTypes.exact({
@@ -8431,6 +8436,9 @@ T['io.flow.shopify.markets.v0.enums.shopify_webhook_topic'] = PropTypes.oneOf([
8431
8436
  'products/create',
8432
8437
  'products/delete',
8433
8438
  'products/update',
8439
+ 'inventory_items/create',
8440
+ 'inventory_items/update',
8441
+ 'inventory_items/delete',
8434
8442
  'refunds/create',
8435
8443
  'fulfillment_events/create',
8436
8444
  'fulfillment_events/delete',
@@ -9298,6 +9306,8 @@ T['io.flow.internal.v0.enums.onboarding_audit_theme_key'] = PropTypes.oneOf([
9298
9306
  'payments',
9299
9307
  'shopify_markets',
9300
9308
  'integration_partner',
9309
+ 'dtce',
9310
+ 'miscellaneous',
9301
9311
  ]);
9302
9312
 
9303
9313
  T['io.flow.internal.v0.enums.onboarding_audit_result'] = PropTypes.oneOf(['pass', 'warning', 'fail']);
@@ -11978,6 +11988,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'] = P
11978
11988
  discriminator: PropTypes.oneOf(['shopify_merchant_application_form']).isRequired,
11979
11989
  company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
11980
11990
  indirect_tax_number: PropTypes.string,
11991
+ indirect_tax: T['io.flow.merchant.onboarding.v0.models.indirect_tax'],
11981
11992
  parent_company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
11982
11993
  beneficiary: PropTypes.string,
11983
11994
  ultimate_beneficiary_owner: T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'],
@@ -12014,6 +12025,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'] = PropTy
12014
12025
  status: T['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'].isRequired,
12015
12026
  company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
12016
12027
  indirect_tax_number: PropTypes.string,
12028
+ indirect_tax: T['io.flow.merchant.onboarding.v0.models.indirect_tax'],
12017
12029
  parent_company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
12018
12030
  beneficiary: PropTypes.string,
12019
12031
  ultimate_beneficiary_owner: T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'],
@@ -12036,6 +12048,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'] = PropTy
12036
12048
  rate_card: PropTypes.string.isRequired,
12037
12049
  created_at: PropTypes.string.isRequired,
12038
12050
  activated_at: PropTypes.string,
12051
+ status_updated_at: PropTypes.string,
12039
12052
  });
12040
12053
 
12041
12054
  T['io.flow.merchant.onboarding.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application']]);
@@ -18609,12 +18622,12 @@ T['io.flow.ratecard.v0.models.lane_summary'] = PropTypes.exact({
18609
18622
  });
18610
18623
 
18611
18624
  T['io.flow.label.v0.models.shipping_label_ratecard_summary'] = PropTypes.exact({
18612
- id: PropTypes.string.isRequired,
18625
+ id: PropTypes.string,
18613
18626
  ratecard_owner: T['io.flow.fulfillment.v0.enums.ratecard_owner'].isRequired,
18614
18627
  });
18615
18628
 
18616
18629
  T['io.flow.label.v0.models.shipping_label_lane_summary'] = PropTypes.exact({
18617
- id: PropTypes.string.isRequired,
18630
+ id: PropTypes.string,
18618
18631
  ratecard: T['io.flow.label.v0.models.shipping_label_ratecard_summary'].isRequired,
18619
18632
  });
18620
18633
 
@@ -24754,6 +24767,10 @@ T['io.flow.internal.v0.models.requeue_request_form'] = PropTypes.exact({
24754
24767
  select_mismatching_item_types: PropTypes.bool.isRequired,
24755
24768
  });
24756
24769
 
24770
+ T['io.flow.internal.v0.models.restriction_category'] = PropTypes.exact({
24771
+ category: PropTypes.string.isRequired,
24772
+ });
24773
+
24757
24774
  T['io.flow.internal.v0.models.screen'] = PropTypes.exact({
24758
24775
  id: PropTypes.string.isRequired,
24759
24776
  q: PropTypes.string.isRequired,
@@ -27461,6 +27478,7 @@ export const reportingScheme = T['io.flow.internal.v0.enums.reporting_scheme'];
27461
27478
  export const requeueRequestForm = T['io.flow.internal.v0.models.requeue_request_form'];
27462
27479
  export const responsibleParty = T['io.flow.internal.v0.enums.responsible_party'];
27463
27480
  export const restrictionAction = T['io.flow.internal.v0.enums.restriction_action'];
27481
+ export const restrictionCategory = T['io.flow.internal.v0.models.restriction_category'];
27464
27482
  export const restrictionDecision = T['io.flow.internal.v0.enums.restriction_decision'];
27465
27483
  export const restrictionItem = T['io.flow.internal.v0.models.restriction_item'];
27466
27484
  export const restrictionItemReview = T['io.flow.internal.v0.models.restriction_item_review'];