@flowio/api-internal-prop-types 9.24.6 → 9.24.7

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.6",
3
+ "version": "9.24.7",
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": "4f156ee5817d5a2daa24e4d367948361b66d2ac8"
33
+ "gitHead": "08dbb863b30de4a9e729a484030de6d634c196cf"
34
34
  }
@@ -11312,6 +11312,7 @@ declare namespace io.flow.internal.v0.enums {
11312
11312
  type FeatureScope = 'global' | 'organization';
11313
11313
  type FeatureStatus = 'draft' | 'active' | 'archived';
11314
11314
  type FeatureType = 'boolean' | 'decimal' | 'string';
11315
+ type FeesSource = 'settings' | 'authorization_bundle';
11315
11316
  type FinancialReportingResponsibleParty = 'flow' | 'organization';
11316
11317
  type FlowApp = 'console';
11317
11318
  type Format = 'text' | 'phone' | 'email';
@@ -11575,6 +11576,7 @@ declare namespace io.flow.internal.v0.models {
11575
11576
  readonly 'charge_label_cost_directly': boolean;
11576
11577
  readonly 'transaction_posting_method'?: io.flow.internal.v0.enums.TransactionPostingMethod;
11577
11578
  readonly 'statement_transfer_transaction_location'?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
11579
+ readonly 'fees_source'?: io.flow.internal.v0.enums.FeesSource;
11578
11580
  }
11579
11581
 
11580
11582
  interface AccountSettingsDeleted {
@@ -19344,7 +19346,7 @@ declare namespace io.flow.internal.v0.models {
19344
19346
 
19345
19347
  interface OrganizationRestrictionSummary {
19346
19348
  readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
19347
- readonly 'date': string;
19349
+ readonly 'earliest_date': string;
19348
19350
  readonly 'pending': io.flow.internal.v0.models.RestrictionPending[];
19349
19351
  readonly 'total': number;
19350
19352
  }
@@ -20338,17 +20340,6 @@ declare namespace io.flow.internal.v0.models {
20338
20340
  readonly 'orders_since_submitted_at'?: string;
20339
20341
  }
20340
20342
 
20341
- interface RedactedSecret {
20342
- readonly 'id': string;
20343
- readonly 'key': string;
20344
- readonly 'created_at': string;
20345
- }
20346
-
20347
- interface RedactedSecretConfig {
20348
- readonly 'secrets': io.flow.internal.v0.models.RedactedSecret[];
20349
- readonly 'preferred_secret_id': string;
20350
- }
20351
-
20352
20343
  interface Redirect {
20353
20344
  readonly 'id': string;
20354
20345
  readonly 'post_payment_redirect_urls': io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -20384,8 +20375,14 @@ declare namespace io.flow.internal.v0.models {
20384
20375
  }
20385
20376
 
20386
20377
  interface RestrictionItem {
20378
+ readonly 'id': string;
20387
20379
  readonly 'organization_id': string;
20388
- readonly 'product': io.flow.internal.v0.models.RestrictionProduct;
20380
+ readonly 'name': string;
20381
+ readonly 'thumbnail': io.flow.catalog.v0.models.Image;
20382
+ readonly 'keywords': io.flow.internal.v0.models.RestrictionKeywords;
20383
+ readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
20384
+ readonly 'status': io.flow.internal.v0.enums.ProductRestrictionStatus;
20385
+ readonly 'updated_at': string;
20389
20386
  }
20390
20387
 
20391
20388
  interface RestrictionKeywords {
@@ -20400,9 +20397,11 @@ declare namespace io.flow.internal.v0.models {
20400
20397
 
20401
20398
  interface RestrictionProduct {
20402
20399
  readonly 'id': string;
20400
+ readonly 'organization_id': string;
20403
20401
  readonly 'name': string;
20404
20402
  readonly 'description': string;
20405
- readonly 'images': string[];
20403
+ readonly 'images': io.flow.catalog.v0.models.Image[];
20404
+ readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
20406
20405
  readonly 'categories': string[];
20407
20406
  readonly 'updated_at': string;
20408
20407
  readonly 'restrictions': io.flow.internal.v0.models.RestrictionReview[];
@@ -20410,6 +20409,7 @@ declare namespace io.flow.internal.v0.models {
20410
20409
 
20411
20410
  interface RestrictionReview {
20412
20411
  readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
20412
+ readonly 'status': io.flow.internal.v0.enums.ProductRestrictionStatus;
20413
20413
  readonly 'keywords': io.flow.internal.v0.models.RestrictionKeywords;
20414
20414
  readonly 'date'?: string;
20415
20415
  }
@@ -20583,17 +20583,6 @@ declare namespace io.flow.internal.v0.models {
20583
20583
  readonly 'label': io.flow.internal.v0.models.LabelSummary;
20584
20584
  }
20585
20585
 
20586
- interface Secret {
20587
- readonly 'id': string;
20588
- readonly 'key': string;
20589
- readonly 'created_at': string;
20590
- }
20591
-
20592
- interface SecretConfig {
20593
- readonly 'secrets': io.flow.internal.v0.models.Secret[];
20594
- readonly 'preferred_secret_id': string;
20595
- }
20596
-
20597
20586
  interface SessionCountries {
20598
20587
  readonly 'countries': io.flow.internal.v0.models.SessionCountry[];
20599
20588
  }
@@ -22266,6 +22255,7 @@ export const exportContentType: PropTypes.Requireable<io.flow.internal.v0.enums.
22266
22255
  export const featureScope: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureScope>;
22267
22256
  export const featureStatus: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureStatus>;
22268
22257
  export const featureType: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureType>;
22258
+ export const feesSource: PropTypes.Requireable<io.flow.internal.v0.enums.FeesSource>;
22269
22259
  export const financialReportingResponsibleParty: PropTypes.Requireable<io.flow.internal.v0.enums.FinancialReportingResponsibleParty>;
22270
22260
  export const flowApp: PropTypes.Requireable<io.flow.internal.v0.enums.FlowApp>;
22271
22261
  export const format: PropTypes.Requireable<io.flow.internal.v0.enums.Format>;
@@ -23630,8 +23620,6 @@ export const ratesNamesSummary: PropTypes.Requireable<io.flow.internal.v0.models
23630
23620
  export const readyToFulfill: PropTypes.Requireable<io.flow.internal.v0.models.ReadyToFulfill>;
23631
23621
  export const reboundConfiguration: PropTypes.Requireable<io.flow.internal.v0.models.ReboundConfiguration>;
23632
23622
  export const reboundConfigurationForm: PropTypes.Requireable<io.flow.internal.v0.models.ReboundConfigurationForm>;
23633
- export const redactedSecret: PropTypes.Requireable<io.flow.internal.v0.models.RedactedSecret>;
23634
- export const redactedSecretConfig: PropTypes.Requireable<io.flow.internal.v0.models.RedactedSecretConfig>;
23635
23623
  export const redirect: PropTypes.Requireable<io.flow.internal.v0.models.Redirect>;
23636
23624
  export const redirectActionCompleted: PropTypes.Requireable<io.flow.internal.v0.models.RedirectActionCompleted>;
23637
23625
  export const registeredExporterTariffEligibilityData: PropTypes.Requireable<io.flow.internal.v0.models.RegisteredExporterTariffEligibilityData>;
@@ -23667,8 +23655,6 @@ export const searchItemSummary: PropTypes.Requireable<io.flow.internal.v0.models
23667
23655
  export const searchOrderSummary: PropTypes.Requireable<io.flow.internal.v0.models.SearchOrderSummary>;
23668
23656
  export const searchProviderExport: PropTypes.Requireable<io.flow.internal.v0.models.SearchProviderExport>;
23669
23657
  export const searchTrackingSummary: PropTypes.Requireable<io.flow.internal.v0.models.SearchTrackingSummary>;
23670
- export const secret: PropTypes.Requireable<io.flow.internal.v0.models.Secret>;
23671
- export const secretConfig: PropTypes.Requireable<io.flow.internal.v0.models.SecretConfig>;
23672
23658
  export const sessionCountries: PropTypes.Requireable<io.flow.internal.v0.models.SessionCountries>;
23673
23659
  export const sessionCountry: PropTypes.Requireable<io.flow.internal.v0.models.SessionCountry>;
23674
23660
  export const sessionCountryForm: PropTypes.Requireable<io.flow.internal.v0.models.SessionCountryForm>;
@@ -8479,17 +8479,6 @@ T['io.flow.internal.v0.models.session_countries'] = PropTypes.exact({
8479
8479
  countries: PropTypes.arrayOf(T['io.flow.internal.v0.models.session_country']).isRequired,
8480
8480
  });
8481
8481
 
8482
- T['io.flow.internal.v0.models.secret'] = PropTypes.exact({
8483
- id: PropTypes.string.isRequired,
8484
- key: PropTypes.string.isRequired,
8485
- created_at: PropTypes.string.isRequired,
8486
- });
8487
-
8488
- T['io.flow.internal.v0.models.secret_config'] = PropTypes.exact({
8489
- secrets: PropTypes.arrayOf(T['io.flow.internal.v0.models.secret']).isRequired,
8490
- preferred_secret_id: PropTypes.string.isRequired,
8491
- });
8492
-
8493
8482
  T['io.flow.experience.v0.enums.experience_status'] = PropTypes.oneOf(['draft', 'active', 'archiving', 'archived']);
8494
8483
 
8495
8484
  T['io.flow.experience.v0.models.experience_status_form'] = PropTypes.exact({
@@ -8589,18 +8578,6 @@ T['io.flow.internal.v0.models.restriction_keywords'] = PropTypes.exact({
8589
8578
  });
8590
8579
 
8591
8580
  T['io.flow.internal.v0.enums.redirect_reason'] = PropTypes.oneOf(['three_d_secure']);
8592
-
8593
- T['io.flow.internal.v0.models.redacted_secret'] = PropTypes.exact({
8594
- id: PropTypes.string.isRequired,
8595
- key: PropTypes.string.isRequired,
8596
- created_at: PropTypes.string.isRequired,
8597
- });
8598
-
8599
- T['io.flow.internal.v0.models.redacted_secret_config'] = PropTypes.exact({
8600
- secrets: PropTypes.arrayOf(T['io.flow.internal.v0.models.redacted_secret']).isRequired,
8601
- preferred_secret_id: PropTypes.string.isRequired,
8602
- });
8603
-
8604
8581
  T['io.flow.internal.v0.enums.rebound_configuration_status'] = PropTypes.oneOf(['active', 'inactive']);
8605
8582
 
8606
8583
  T['io.flow.internal.v0.models.rebound_configuration_form'] = PropTypes.exact({
@@ -9061,25 +9038,11 @@ T['io.flow.internal.v0.models.restriction_rule_summary'] = PropTypes.exact({
9061
9038
 
9062
9039
  T['io.flow.internal.v0.models.restriction_review'] = PropTypes.exact({
9063
9040
  rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
9041
+ status: T['io.flow.internal.v0.enums.product_restriction_status'].isRequired,
9064
9042
  keywords: T['io.flow.internal.v0.models.restriction_keywords'].isRequired,
9065
9043
  date: PropTypes.string,
9066
9044
  });
9067
9045
 
9068
- T['io.flow.internal.v0.models.restriction_product'] = PropTypes.exact({
9069
- id: PropTypes.string.isRequired,
9070
- name: PropTypes.string.isRequired,
9071
- description: PropTypes.string.isRequired,
9072
- images: PropTypes.arrayOf(PropTypes.string).isRequired,
9073
- categories: PropTypes.arrayOf(PropTypes.string).isRequired,
9074
- updated_at: PropTypes.string.isRequired,
9075
- restrictions: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_review']).isRequired,
9076
- });
9077
-
9078
- T['io.flow.internal.v0.models.restriction_item'] = PropTypes.exact({
9079
- organization_id: PropTypes.string.isRequired,
9080
- product: T['io.flow.internal.v0.models.restriction_product'].isRequired,
9081
- });
9082
-
9083
9046
  T['io.flow.internal.v0.models.restriction_pending'] = PropTypes.exact({
9084
9047
  rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
9085
9048
  count: PropTypes.number.isRequired,
@@ -14693,6 +14656,29 @@ T['io.flow.catalog.v0.models.image'] = PropTypes.exact({
14693
14656
  attributes: PropTypes.objectOf(PropTypes.string),
14694
14657
  });
14695
14658
 
14659
+ T['io.flow.internal.v0.models.restriction_product'] = PropTypes.exact({
14660
+ id: PropTypes.string.isRequired,
14661
+ organization_id: PropTypes.string.isRequired,
14662
+ name: PropTypes.string.isRequired,
14663
+ description: PropTypes.string.isRequired,
14664
+ images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
14665
+ thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
14666
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
14667
+ updated_at: PropTypes.string.isRequired,
14668
+ restrictions: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_review']).isRequired,
14669
+ });
14670
+
14671
+ T['io.flow.internal.v0.models.restriction_item'] = PropTypes.exact({
14672
+ id: PropTypes.string.isRequired,
14673
+ organization_id: PropTypes.string.isRequired,
14674
+ name: PropTypes.string.isRequired,
14675
+ thumbnail: T['io.flow.catalog.v0.models.image'].isRequired,
14676
+ keywords: T['io.flow.internal.v0.models.restriction_keywords'].isRequired,
14677
+ rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
14678
+ status: T['io.flow.internal.v0.enums.product_restriction_status'].isRequired,
14679
+ updated_at: PropTypes.string.isRequired,
14680
+ });
14681
+
14696
14682
  T['io.flow.internal.v0.models.classified_product_detail'] = PropTypes.exact({
14697
14683
  product_id: PropTypes.string.isRequired,
14698
14684
  description: PropTypes.string,
@@ -16434,7 +16420,7 @@ T['io.flow.internal.v0.models.shopify_markets_shop_summary'] = PropTypes.exact({
16434
16420
 
16435
16421
  T['io.flow.internal.v0.models.organization_restriction_summary'] = PropTypes.exact({
16436
16422
  organization: T['io.flow.common.v0.models.organization_summary'].isRequired,
16437
- date: PropTypes.string.isRequired,
16423
+ earliest_date: PropTypes.string.isRequired,
16438
16424
  pending: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_pending']).isRequired,
16439
16425
  total: PropTypes.number.isRequired,
16440
16426
  });
@@ -20742,6 +20728,7 @@ T['io.flow.internal.v0.models.tiered_fee_tier'] = PropTypes.exact({
20742
20728
  amount: PropTypes.number.isRequired,
20743
20729
  });
20744
20730
 
20731
+ T['io.flow.internal.v0.enums.fees_source'] = PropTypes.oneOf(['settings', 'authorization_bundle']);
20745
20732
  T['io.flow.internal.v0.enums.statement_transfer_transaction_location'] = PropTypes.oneOf(['transactions_file', 'summary']);
20746
20733
  T['io.flow.internal.v0.enums.transaction_posting_method'] = PropTypes.oneOf(['time', 'fulfillment_proof']);
20747
20734
 
@@ -20796,6 +20783,7 @@ T['io.flow.internal.v0.models.account_settings'] = PropTypes.exact({
20796
20783
  charge_label_cost_directly: PropTypes.bool.isRequired,
20797
20784
  transaction_posting_method: T['io.flow.internal.v0.enums.transaction_posting_method'],
20798
20785
  statement_transfer_transaction_location: T['io.flow.internal.v0.enums.statement_transfer_transaction_location'],
20786
+ fees_source: T['io.flow.internal.v0.enums.fees_source'],
20799
20787
  });
20800
20788
 
20801
20789
  T['io.flow.internal.v0.models.account_settings_upserted'] = PropTypes.exact({
@@ -26519,6 +26507,7 @@ export const feedDeleted = T['io.flow.internal.v0.models.feed_deleted'];
26519
26507
  export const feedUpserted = T['io.flow.internal.v0.models.feed_upserted'];
26520
26508
  export const feedsExport = T['io.flow.internal.v0.models.feeds_export'];
26521
26509
  export const fees = T['io.flow.internal.v0.models.fees'];
26510
+ export const feesSource = T['io.flow.internal.v0.enums.fees_source'];
26522
26511
  export const financialMerchantCategory = T['io.flow.internal.v0.models.financial_merchant_category'];
26523
26512
  export const financialReportingResponsibleParty = T['io.flow.internal.v0.enums.financial_reporting_responsible_party'];
26524
26513
  export const financialReportingStatement = T['io.flow.internal.v0.models.financial_reporting_statement'];
@@ -27095,8 +27084,6 @@ export const readyToFulfill = T['io.flow.internal.v0.models.ready_to_fulfill'];
27095
27084
  export const reboundConfiguration = T['io.flow.internal.v0.models.rebound_configuration'];
27096
27085
  export const reboundConfigurationForm = T['io.flow.internal.v0.models.rebound_configuration_form'];
27097
27086
  export const reboundConfigurationStatus = T['io.flow.internal.v0.enums.rebound_configuration_status'];
27098
- export const redactedSecret = T['io.flow.internal.v0.models.redacted_secret'];
27099
- export const redactedSecretConfig = T['io.flow.internal.v0.models.redacted_secret_config'];
27100
27087
  export const redirect = T['io.flow.internal.v0.models.redirect'];
27101
27088
  export const redirectActionCompleted = T['io.flow.internal.v0.models.redirect_action_completed'];
27102
27089
  export const redirectReason = T['io.flow.internal.v0.enums.redirect_reason'];
@@ -27142,8 +27129,6 @@ export const searchItemSummary = T['io.flow.internal.v0.models.search_item_summa
27142
27129
  export const searchOrderSummary = T['io.flow.internal.v0.models.search_order_summary'];
27143
27130
  export const searchProviderExport = T['io.flow.internal.v0.models.search_provider_export'];
27144
27131
  export const searchTrackingSummary = T['io.flow.internal.v0.models.search_tracking_summary'];
27145
- export const secret = T['io.flow.internal.v0.models.secret'];
27146
- export const secretConfig = T['io.flow.internal.v0.models.secret_config'];
27147
27132
  export const serialReservationError = T['io.flow.internal.v0.enums.serial_reservation_error'];
27148
27133
  export const serviceName = T['io.flow.internal.v0.enums.service_name'];
27149
27134
  export const sessionCountries = T['io.flow.internal.v0.models.session_countries'];