@flowio/api-internal-prop-types 9.24.20 → 9.24.21

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.20",
3
+ "version": "9.24.21",
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": "5e6ef8a81693add34f418c62ddd07ac7bfc2b360"
33
+ "gitHead": "864d87fe3c12ee52be8ba5f1e8867318d1bec420"
34
34
  }
@@ -1754,6 +1754,11 @@ declare namespace io.flow.payment.v0.models {
1754
1754
  readonly 'display_name'?: string;
1755
1755
  }
1756
1756
 
1757
+ interface AuthorizationCode {
1758
+ readonly 'result_code': string;
1759
+ readonly 'code': string;
1760
+ }
1761
+
1757
1762
  interface AuthorizationCopyForm {
1758
1763
  readonly 'discriminator': 'authorization_copy_form';
1759
1764
  readonly 'source_authorization_key': string;
@@ -1792,6 +1797,7 @@ declare namespace io.flow.payment.v0.models {
1792
1797
  readonly 'cvv'?: io.flow.payment.v0.models.Cvv;
1793
1798
  readonly 'three_d_secure'?: io.flow.payment.v0.models.ThreeDSecure;
1794
1799
  readonly 'description'?: io.flow.payment.v0.models.AuthorizationResultDescription;
1800
+ readonly 'authorization_code'?: io.flow.payment.v0.models.AuthorizationCode;
1795
1801
  }
1796
1802
 
1797
1803
  interface AuthorizationResultActionGet {
@@ -2271,6 +2277,7 @@ declare namespace io.flow.payment.v0.models {
2271
2277
  readonly 'payment_id': string;
2272
2278
  readonly 'payment_method'?: string;
2273
2279
  readonly 'payment_state'?: string;
2280
+ readonly 'payer_id'?: string;
2274
2281
  readonly 'payer_email'?: string;
2275
2282
  readonly 'payer_status'?: string;
2276
2283
  readonly 'approval_url'?: string;
@@ -4674,7 +4681,9 @@ declare namespace io.flow.adyen.v0.models {
4674
4681
  interface PaymentResponseAdditionalData {
4675
4682
  readonly 'authCode'?: string;
4676
4683
  readonly 'avsResultRaw'?: string;
4684
+ readonly 'avsResult'?: string;
4677
4685
  readonly 'cvcResultRaw'?: string;
4686
+ readonly 'cvcResult'?: string;
4678
4687
  readonly 'liabilityShift'?: string;
4679
4688
  readonly 'threeDAuthenticated'?: string;
4680
4689
  readonly 'threeDAuthenticatedResponse'?: string;
@@ -11295,7 +11304,7 @@ declare namespace io.flow.internal.v0.enums {
11295
11304
  type LabelBillingStrategy = 'quote' | 'carrier';
11296
11305
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
11297
11306
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
11298
- type LabelTransactionType = 'billable_label' | 'fee';
11307
+ type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
11299
11308
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
11300
11309
  type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
11301
11310
  type ManualReviewRuleStatus = 'active' | 'archived';
@@ -11525,6 +11534,7 @@ declare namespace io.flow.internal.v0.models {
11525
11534
  interface AccountSettingLabelFees {
11526
11535
  readonly 'flow'?: io.flow.internal.v0.models.TieredFee;
11527
11536
  readonly 'organization'?: io.flow.internal.v0.models.TieredFee;
11537
+ readonly 'revenue_share'?: number;
11528
11538
  }
11529
11539
 
11530
11540
  interface AccountSettings {
@@ -12774,10 +12784,12 @@ declare namespace io.flow.internal.v0.models {
12774
12784
 
12775
12785
  interface CenterDefaults {
12776
12786
  readonly 'packaging': io.flow.fulfillment.v0.models.Packaging[];
12787
+ readonly 'shipping_address_contact': io.flow.common.v0.models.Contact;
12777
12788
  }
12778
12789
 
12779
12790
  interface CenterDefaultsForm {
12780
12791
  readonly 'packaging': io.flow.fulfillment.v0.models.Packaging[];
12792
+ readonly 'shipping_address_contact': io.flow.common.v0.models.Contact;
12781
12793
  }
12782
12794
 
12783
12795
  interface CenterQueryBuilder {
@@ -2800,7 +2800,9 @@ T['io.flow.adyen.v0.models.authentication'] = PropTypes.exact({
2800
2800
  T['io.flow.adyen.v0.models.payment_response_additional_data'] = PropTypes.exact({
2801
2801
  authCode: PropTypes.string,
2802
2802
  avsResultRaw: PropTypes.string,
2803
+ avsResult: PropTypes.string,
2803
2804
  cvcResultRaw: PropTypes.string,
2805
+ cvcResult: PropTypes.string,
2804
2806
  liabilityShift: PropTypes.string,
2805
2807
  threeDAuthenticated: PropTypes.string,
2806
2808
  threeDAuthenticatedResponse: PropTypes.string,
@@ -12892,6 +12894,11 @@ T['io.flow.reference.v0.models.payment_method_image'] = PropTypes.exact({
12892
12894
  height: PropTypes.number.isRequired,
12893
12895
  });
12894
12896
 
12897
+ T['io.flow.payment.v0.models.authorization_code'] = PropTypes.exact({
12898
+ result_code: PropTypes.string.isRequired,
12899
+ code: PropTypes.string.isRequired,
12900
+ });
12901
+
12895
12902
  T['io.flow.payment.v0.models.authorization_result_description'] = PropTypes.exact({
12896
12903
  display: PropTypes.string.isRequired,
12897
12904
  });
@@ -13569,6 +13576,7 @@ T['io.flow.payment.v0.models.paypal_authorization_details'] = PropTypes.exact({
13569
13576
  payment_id: PropTypes.string.isRequired,
13570
13577
  payment_method: PropTypes.string,
13571
13578
  payment_state: PropTypes.string,
13579
+ payer_id: PropTypes.string,
13572
13580
  payer_email: PropTypes.string,
13573
13581
  payer_status: PropTypes.string,
13574
13582
  approval_url: PropTypes.string,
@@ -16515,14 +16523,6 @@ T['io.flow.fulfillment.v0.models.packaging'] = PropTypes.exact({
16515
16523
  number: PropTypes.string,
16516
16524
  });
16517
16525
 
16518
- T['io.flow.internal.v0.models.center_defaults_form'] = PropTypes.exact({
16519
- packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
16520
- });
16521
-
16522
- T['io.flow.internal.v0.models.center_defaults'] = PropTypes.exact({
16523
- packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
16524
- });
16525
-
16526
16526
  T['io.flow.catalog.v0.enums.subcatalog_item_status'] = PropTypes.oneOf(['excluded', 'included', 'restricted']);
16527
16527
 
16528
16528
  T['io.flow.shopify.v0.models.shopify_variant_flow_metafield'] = PropTypes.exact({
@@ -18494,6 +18494,90 @@ T['io.flow.customer.v0.models.customer_put_form'] = PropTypes.exact({
18494
18494
  phone: PropTypes.string,
18495
18495
  });
18496
18496
 
18497
+ T['io.flow.internal.v0.models.search_customer_summary'] = PropTypes.exact({
18498
+ name: T['io.flow.common.v0.models.name'].isRequired,
18499
+ email: PropTypes.string,
18500
+ });
18501
+
18502
+ T['io.flow.internal.v0.models.search_order_summary'] = PropTypes.exact({
18503
+ discriminator: PropTypes.oneOf(['search_order_summary']).isRequired,
18504
+ number: PropTypes.string.isRequired,
18505
+ customer: T['io.flow.internal.v0.models.search_customer_summary'].isRequired,
18506
+ destination_country: PropTypes.string,
18507
+ submitted_at: PropTypes.string,
18508
+ });
18509
+
18510
+ T['io.flow.internal.v0.unions.global_search_result'] = PropTypes.oneOfType([
18511
+ T['io.flow.internal.v0.models.search_experience_summary'],
18512
+ T['io.flow.internal.v0.models.search_experiment_summary'],
18513
+ T['io.flow.internal.v0.models.search_order_summary'],
18514
+ T['io.flow.internal.v0.models.search_item_summary'],
18515
+ ]);
18516
+
18517
+ T['io.flow.common.v0.models.user'] = PropTypes.exact({
18518
+ discriminator: PropTypes.oneOf(['user']).isRequired,
18519
+ id: PropTypes.string.isRequired,
18520
+ email: PropTypes.string,
18521
+ name: T['io.flow.common.v0.models.name'].isRequired,
18522
+ status: T['io.flow.common.v0.enums.user_status'].isRequired,
18523
+ });
18524
+
18525
+ T['io.flow.internal.v0.models.user_upserted_v2'] = PropTypes.exact({
18526
+ discriminator: PropTypes.oneOf(['user_upserted_v2']).isRequired,
18527
+ event_id: PropTypes.string.isRequired,
18528
+ timestamp: PropTypes.string.isRequired,
18529
+ user: T['io.flow.common.v0.models.user'].isRequired,
18530
+ });
18531
+
18532
+ T['io.flow.internal.v0.models.user_deleted_v2'] = PropTypes.exact({
18533
+ discriminator: PropTypes.oneOf(['user_deleted_v2']).isRequired,
18534
+ event_id: PropTypes.string.isRequired,
18535
+ timestamp: PropTypes.string.isRequired,
18536
+ user: T['io.flow.common.v0.models.user'].isRequired,
18537
+ });
18538
+
18539
+ T['io.flow.internal.v0.models.restriction_item_review'] = PropTypes.exact({
18540
+ id: PropTypes.string.isRequired,
18541
+ rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
18542
+ status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
18543
+ keywords: T['io.flow.internal.v0.models.restriction_keywords'].isRequired,
18544
+ date: PropTypes.string,
18545
+ updated_by: T['io.flow.common.v0.models.user'],
18546
+ created_at: PropTypes.string.isRequired,
18547
+ updated_at: PropTypes.string.isRequired,
18548
+ });
18549
+
18550
+ T['io.flow.internal.v0.models.order_note'] = PropTypes.exact({
18551
+ id: PropTypes.string.isRequired,
18552
+ note: PropTypes.string.isRequired,
18553
+ user: T['io.flow.common.v0.models.user'].isRequired,
18554
+ created_at: PropTypes.string.isRequired,
18555
+ updated_at: PropTypes.string.isRequired,
18556
+ });
18557
+
18558
+ T['io.flow.customer.v0.models.customer_form'] = PropTypes.exact({
18559
+ number: PropTypes.string.isRequired,
18560
+ email: PropTypes.string,
18561
+ name: T['io.flow.common.v0.models.name'],
18562
+ phone: PropTypes.string,
18563
+ });
18564
+
18565
+ T['io.flow.customer.v0.models.customer'] = PropTypes.exact({
18566
+ id: PropTypes.string.isRequired,
18567
+ number: PropTypes.string.isRequired,
18568
+ email: PropTypes.string,
18569
+ name: T['io.flow.common.v0.models.name'],
18570
+ phone: PropTypes.string,
18571
+ });
18572
+
18573
+ T['io.flow.internal.v0.models.customer_purge_upserted'] = PropTypes.exact({
18574
+ discriminator: PropTypes.oneOf(['customer_purge_upserted']).isRequired,
18575
+ event_id: PropTypes.string.isRequired,
18576
+ timestamp: PropTypes.string.isRequired,
18577
+ organization: PropTypes.string.isRequired,
18578
+ customer: T['io.flow.customer.v0.models.customer'].isRequired,
18579
+ });
18580
+
18497
18581
  T['io.flow.common.v0.models.contact'] = PropTypes.exact({
18498
18582
  name: T['io.flow.common.v0.models.name'].isRequired,
18499
18583
  company: PropTypes.string,
@@ -18511,6 +18595,19 @@ T['io.flow.customer.v0.models.customer_address_book_form'] = PropTypes.exact({
18511
18595
  contacts: PropTypes.arrayOf(T['io.flow.customer.v0.models.customer_address_book_contact_form']).isRequired,
18512
18596
  });
18513
18597
 
18598
+ T['io.flow.internal.v0.models.checkout_order_number_form'] = PropTypes.exact({
18599
+ discriminator: PropTypes.oneOf(['order_number']).isRequired,
18600
+ organization: PropTypes.string.isRequired,
18601
+ order_number: PropTypes.string.isRequired,
18602
+ customer: T['io.flow.customer.v0.models.customer_form'],
18603
+ address_book: T['io.flow.customer.v0.models.customer_address_book_form'],
18604
+ payment_sources: PropTypes.arrayOf(T['io.flow.payment.v0.unions.payment_source_form']),
18605
+ urls: T['io.flow.checkout.v0.models.checkout_urls_form'],
18606
+ identifiers: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_submission_identifier_form']),
18607
+ feature_keys: PropTypes.arrayOf(PropTypes.string),
18608
+ order_parameters: T['io.flow.internal.v0.models.order_parameters'],
18609
+ });
18610
+
18514
18611
  T['io.flow.customer.v0.models.customer_address_book_contact'] = PropTypes.exact({
18515
18612
  id: PropTypes.string.isRequired,
18516
18613
  address: T['io.flow.common.v0.models.address'].isRequired,
@@ -18810,101 +18907,14 @@ T['io.flow.experience.v0.models.order_builder_destination_form'] = PropTypes.exa
18810
18907
  destination: T['io.flow.experience.v0.models.order_address'].isRequired,
18811
18908
  });
18812
18909
 
18813
- T['io.flow.internal.v0.models.search_customer_summary'] = PropTypes.exact({
18814
- name: T['io.flow.common.v0.models.name'].isRequired,
18815
- email: PropTypes.string,
18816
- });
18817
-
18818
- T['io.flow.internal.v0.models.search_order_summary'] = PropTypes.exact({
18819
- discriminator: PropTypes.oneOf(['search_order_summary']).isRequired,
18820
- number: PropTypes.string.isRequired,
18821
- customer: T['io.flow.internal.v0.models.search_customer_summary'].isRequired,
18822
- destination_country: PropTypes.string,
18823
- submitted_at: PropTypes.string,
18824
- });
18825
-
18826
- T['io.flow.internal.v0.unions.global_search_result'] = PropTypes.oneOfType([
18827
- T['io.flow.internal.v0.models.search_experience_summary'],
18828
- T['io.flow.internal.v0.models.search_experiment_summary'],
18829
- T['io.flow.internal.v0.models.search_order_summary'],
18830
- T['io.flow.internal.v0.models.search_item_summary'],
18831
- ]);
18832
-
18833
- T['io.flow.common.v0.models.user'] = PropTypes.exact({
18834
- discriminator: PropTypes.oneOf(['user']).isRequired,
18835
- id: PropTypes.string.isRequired,
18836
- email: PropTypes.string,
18837
- name: T['io.flow.common.v0.models.name'].isRequired,
18838
- status: T['io.flow.common.v0.enums.user_status'].isRequired,
18839
- });
18840
-
18841
- T['io.flow.internal.v0.models.user_upserted_v2'] = PropTypes.exact({
18842
- discriminator: PropTypes.oneOf(['user_upserted_v2']).isRequired,
18843
- event_id: PropTypes.string.isRequired,
18844
- timestamp: PropTypes.string.isRequired,
18845
- user: T['io.flow.common.v0.models.user'].isRequired,
18846
- });
18847
-
18848
- T['io.flow.internal.v0.models.user_deleted_v2'] = PropTypes.exact({
18849
- discriminator: PropTypes.oneOf(['user_deleted_v2']).isRequired,
18850
- event_id: PropTypes.string.isRequired,
18851
- timestamp: PropTypes.string.isRequired,
18852
- user: T['io.flow.common.v0.models.user'].isRequired,
18853
- });
18854
-
18855
- T['io.flow.internal.v0.models.restriction_item_review'] = PropTypes.exact({
18856
- id: PropTypes.string.isRequired,
18857
- rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
18858
- status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
18859
- keywords: T['io.flow.internal.v0.models.restriction_keywords'].isRequired,
18860
- date: PropTypes.string,
18861
- updated_by: T['io.flow.common.v0.models.user'],
18862
- created_at: PropTypes.string.isRequired,
18863
- updated_at: PropTypes.string.isRequired,
18864
- });
18865
-
18866
- T['io.flow.internal.v0.models.order_note'] = PropTypes.exact({
18867
- id: PropTypes.string.isRequired,
18868
- note: PropTypes.string.isRequired,
18869
- user: T['io.flow.common.v0.models.user'].isRequired,
18870
- created_at: PropTypes.string.isRequired,
18871
- updated_at: PropTypes.string.isRequired,
18872
- });
18873
-
18874
- T['io.flow.customer.v0.models.customer_form'] = PropTypes.exact({
18875
- number: PropTypes.string.isRequired,
18876
- email: PropTypes.string,
18877
- name: T['io.flow.common.v0.models.name'],
18878
- phone: PropTypes.string,
18879
- });
18880
-
18881
- T['io.flow.internal.v0.models.checkout_order_number_form'] = PropTypes.exact({
18882
- discriminator: PropTypes.oneOf(['order_number']).isRequired,
18883
- organization: PropTypes.string.isRequired,
18884
- order_number: PropTypes.string.isRequired,
18885
- customer: T['io.flow.customer.v0.models.customer_form'],
18886
- address_book: T['io.flow.customer.v0.models.customer_address_book_form'],
18887
- payment_sources: PropTypes.arrayOf(T['io.flow.payment.v0.unions.payment_source_form']),
18888
- urls: T['io.flow.checkout.v0.models.checkout_urls_form'],
18889
- identifiers: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_submission_identifier_form']),
18890
- feature_keys: PropTypes.arrayOf(PropTypes.string),
18891
- order_parameters: T['io.flow.internal.v0.models.order_parameters'],
18892
- });
18893
-
18894
- T['io.flow.customer.v0.models.customer'] = PropTypes.exact({
18895
- id: PropTypes.string.isRequired,
18896
- number: PropTypes.string.isRequired,
18897
- email: PropTypes.string,
18898
- name: T['io.flow.common.v0.models.name'],
18899
- phone: PropTypes.string,
18910
+ T['io.flow.internal.v0.models.center_defaults_form'] = PropTypes.exact({
18911
+ packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
18912
+ shipping_address_contact: T['io.flow.common.v0.models.contact'].isRequired,
18900
18913
  });
18901
18914
 
18902
- T['io.flow.internal.v0.models.customer_purge_upserted'] = PropTypes.exact({
18903
- discriminator: PropTypes.oneOf(['customer_purge_upserted']).isRequired,
18904
- event_id: PropTypes.string.isRequired,
18905
- timestamp: PropTypes.string.isRequired,
18906
- organization: PropTypes.string.isRequired,
18907
- customer: T['io.flow.customer.v0.models.customer'].isRequired,
18915
+ T['io.flow.internal.v0.models.center_defaults'] = PropTypes.exact({
18916
+ packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
18917
+ shipping_address_contact: T['io.flow.common.v0.models.contact'].isRequired,
18908
18918
  });
18909
18919
 
18910
18920
  T['io.flow.common.v0.models.billing_address'] = PropTypes.exact({
@@ -19626,6 +19636,7 @@ T['io.flow.payment.v0.models.authorization_result'] = PropTypes.exact({
19626
19636
  cvv: T['io.flow.payment.v0.models.cvv'],
19627
19637
  three_d_secure: T['io.flow.payment.v0.models.three_d_secure'],
19628
19638
  description: T['io.flow.payment.v0.models.authorization_result_description'],
19639
+ authorization_code: T['io.flow.payment.v0.models.authorization_code'],
19629
19640
  });
19630
19641
 
19631
19642
  T['io.flow.payment.v0.models.online_authorization'] = PropTypes.exact({
@@ -20855,6 +20866,7 @@ T['io.flow.internal.v0.models.billing_organization_settings_upserted'] = PropTyp
20855
20866
  T['io.flow.internal.v0.models.account_setting_label_fees'] = PropTypes.exact({
20856
20867
  flow: T['io.flow.internal.v0.models.tiered_fee'],
20857
20868
  organization: T['io.flow.internal.v0.models.tiered_fee'],
20869
+ revenue_share: PropTypes.number,
20858
20870
  });
20859
20871
 
20860
20872
  T['io.flow.internal.v0.models.account_settings'] = PropTypes.exact({
@@ -23864,7 +23876,7 @@ T['io.flow.internal.v0.enums.flow_app'] = PropTypes.oneOf(['console']);
23864
23876
  T['io.flow.internal.v0.enums.http_method'] = PropTypes.oneOf(['get', 'post']);
23865
23877
  T['io.flow.internal.v0.enums.initial_input_data_source'] = PropTypes.oneOf(['session_persistence']);
23866
23878
  T['io.flow.internal.v0.enums.label_billing_strategy'] = PropTypes.oneOf(['quote', 'carrier']);
23867
- T['io.flow.internal.v0.enums.label_transaction_type'] = PropTypes.oneOf(['billable_label', 'fee']);
23879
+ T['io.flow.internal.v0.enums.label_transaction_type'] = PropTypes.oneOf(['billable_label', 'fee', 'revenue_share']);
23868
23880
  T['io.flow.internal.v0.enums.main_transaction_status'] = PropTypes.oneOf(['scheduled', 'pending_fulfillment_proof']);
23869
23881
  T['io.flow.internal.v0.enums.marketing_gateway_feed_download_format'] = PropTypes.oneOf(['tsv', 'csv', 'txt']);
23870
23882
  T['io.flow.internal.v0.enums.marketing_gateway_product_status'] = PropTypes.oneOf(['approved', 'not_approved', 'pending', 'not_found', 'excluded']);