@flowio/api-internal-prop-types 9.5.0 → 9.5.1

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.5.0",
3
+ "version": "9.5.1",
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": "b074b7431789c52c4c75cd7719de08bb338ee973"
33
+ "gitHead": "6c1f76731fb3dd083295b51064520bc7142cdace"
34
34
  }
@@ -14611,12 +14611,18 @@ declare namespace io.flow.checkout.configuration.v0.models {
14611
14611
  readonly 'name'?: string;
14612
14612
  readonly 'tracker_id': string;
14613
14613
  readonly 'plugins': io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
14614
+ readonly 'linker'?: io.flow.checkout.configuration.v0.models.GoogleLinker;
14614
14615
  }
14615
14616
 
14616
14617
  interface GoogleGlobalSiteTag {
14617
14618
  readonly 'discriminator': 'google_global_site_tag';
14618
14619
  readonly 'name'?: string;
14619
14620
  readonly 'tracker_id': string;
14621
+ readonly 'linker'?: io.flow.checkout.configuration.v0.models.GoogleLinker;
14622
+ }
14623
+
14624
+ interface GoogleLinker {
14625
+ readonly 'domains': string[];
14620
14626
  }
14621
14627
 
14622
14628
  interface GoogleTagManager {
@@ -18973,12 +18979,18 @@ declare namespace io.flow.internal.v0.models {
18973
18979
  readonly 'name'?: string;
18974
18980
  readonly 'tracker_id': string;
18975
18981
  readonly 'plugins': io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
18982
+ readonly 'linker'?: io.flow.internal.v0.models.GoogleLinker;
18976
18983
  }
18977
18984
 
18978
18985
  interface GoogleGlobalSiteTag {
18979
18986
  readonly 'discriminator': 'google_global_site_tag';
18980
18987
  readonly 'name'?: string;
18981
18988
  readonly 'tracker_id': string;
18989
+ readonly 'linker'?: io.flow.internal.v0.models.GoogleLinker;
18990
+ }
18991
+
18992
+ interface GoogleLinker {
18993
+ readonly 'domains': string[];
18982
18994
  }
18983
18995
 
18984
18996
  interface GoogleShoppingAccountParameters {
@@ -20665,6 +20677,31 @@ declare namespace io.flow.internal.v0.models {
20665
20677
  readonly 'master_transaction': io.flow.billing.internal.v0.models.MasterTransaction;
20666
20678
  }
20667
20679
 
20680
+ interface MerchantOfRecordEntitySettings {
20681
+ readonly 'id': string;
20682
+ readonly 'merchant_of_record_entity': io.flow.common.v0.models.MerchantOfRecordEntity;
20683
+ readonly 'starts_at': string;
20684
+ readonly 'ends_at'?: string;
20685
+ readonly 'center'?: string;
20686
+ readonly 'currency'?: string;
20687
+ }
20688
+
20689
+ interface MerchantOfRecordEntitySettingsForm {
20690
+ readonly 'name': string;
20691
+ readonly 'vat': io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
20692
+ readonly 'streets': string[];
20693
+ readonly 'city': string;
20694
+ readonly 'province'?: string;
20695
+ readonly 'postal'?: string;
20696
+ readonly 'country': string;
20697
+ readonly 'phone'?: string;
20698
+ readonly 'email'?: string;
20699
+ readonly 'starts_at': string;
20700
+ readonly 'ends_at'?: string;
20701
+ readonly 'center'?: string;
20702
+ readonly 'currency'?: string;
20703
+ }
20704
+
20668
20705
  interface NextBillingStatement {
20669
20706
  readonly 'date': string;
20670
20707
  readonly 'amount': io.flow.common.v0.models.Price;
@@ -21312,6 +21349,36 @@ declare namespace io.flow.internal.v0.models {
21312
21349
  readonly 'placeholder'?: string;
21313
21350
  }
21314
21351
 
21352
+ interface PlatformFeeChange {
21353
+ readonly 'organization_id': string;
21354
+ readonly 'key': string;
21355
+ readonly 'platform_fee': io.flow.internal.v0.unions.PlatformFee;
21356
+ readonly 'starts_at': string;
21357
+ readonly 'ends_at'?: string;
21358
+ }
21359
+
21360
+ interface PlatformFeeFlat {
21361
+ readonly 'discriminator': 'platform_fee_flat';
21362
+ readonly 'amount': number;
21363
+ readonly 'currency': string;
21364
+ readonly 'frequency': string;
21365
+ }
21366
+
21367
+ interface PlatformFeeNoFee {
21368
+ readonly 'discriminator': 'platform_fee_no_fee';
21369
+ readonly 'attributes'?: Record<string, string>;
21370
+ }
21371
+
21372
+ interface PlatformFeePercentage {
21373
+ readonly 'discriminator': 'platform_fee_percentage';
21374
+ readonly 'tiers': io.flow.internal.v0.models.PlatformFeePercentageTier[];
21375
+ }
21376
+
21377
+ interface PlatformFeePercentageTier {
21378
+ readonly 'minimum_amount_base': number;
21379
+ readonly 'rate': number;
21380
+ }
21381
+
21315
21382
  interface Prediction {
21316
21383
  readonly 'main_material': string;
21317
21384
  readonly 'gender': string;
@@ -23121,6 +23188,7 @@ declare namespace io.flow.internal.v0.unions {
23121
23188
  type OrderActionForm = (io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm);
23122
23189
  type PaymentRedirect = (io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted);
23123
23190
  type PaymentSummaryDetails = (io.flow.internal.v0.models.SearchAuthorization);
23191
+ type PlatformFee = (io.flow.internal.v0.models.PlatformFeeNoFee | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage);
23124
23192
  type ProcessorAccount = (io.flow.internal.v0.models.StripeAccount | io.flow.internal.v0.models.AdyenAccount | io.flow.internal.v0.models.PaypalAccount | io.flow.internal.v0.models.AfterpayAccount | io.flow.internal.v0.models.BitpayAccount | io.flow.internal.v0.models.FiservAccount | io.flow.internal.v0.models.CryptoAccount);
23125
23193
  type ProcessorAccountModificationForm = (io.flow.internal.v0.models.StripeAccountModificationForm | io.flow.internal.v0.models.AdyenAccountModificationForm | io.flow.internal.v0.models.PaypalAccountModificationForm | io.flow.internal.v0.models.AfterpayAccountModificationForm | io.flow.internal.v0.models.BitpayAccountModificationForm | io.flow.internal.v0.models.FiservAccountModificationForm | io.flow.internal.v0.models.CryptoAccountModificationForm);
23126
23194
  type ProcessorAccountPutForm = (io.flow.internal.v0.models.StripeAccountPutForm | io.flow.internal.v0.models.AdyenAccountPutForm | io.flow.internal.v0.models.PaypalAccountPutForm | io.flow.internal.v0.models.AfterpayAccountPutForm | io.flow.internal.v0.models.BitpayAccountPutForm | io.flow.internal.v0.models.FiservAccountPutForm | io.flow.internal.v0.models.CryptoAccountPutForm);
@@ -23907,6 +23975,7 @@ export const giftCardForm: PropTypes.Requireable<io.flow.internal.v0.models.Gift
23907
23975
  export const giftCardProgram: PropTypes.Requireable<io.flow.internal.v0.models.GiftCardProgram>;
23908
23976
  export const googleAnalytics: PropTypes.Requireable<io.flow.internal.v0.models.GoogleAnalytics>;
23909
23977
  export const googleGlobalSiteTag: PropTypes.Requireable<io.flow.internal.v0.models.GoogleGlobalSiteTag>;
23978
+ export const googleLinker: PropTypes.Requireable<io.flow.internal.v0.models.GoogleLinker>;
23910
23979
  export const googleShoppingAccountParameters: PropTypes.Requireable<io.flow.internal.v0.models.GoogleShoppingAccountParameters>;
23911
23980
  export const googleShoppingSetting: PropTypes.Requireable<io.flow.internal.v0.models.GoogleShoppingSetting>;
23912
23981
  export const googleTagManager: PropTypes.Requireable<io.flow.internal.v0.models.GoogleTagManager>;
@@ -24105,6 +24174,8 @@ export const marketingGatewaySupportedChannelDetails: PropTypes.Requireable<io.f
24105
24174
  export const masterTransaction: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransaction>;
24106
24175
  export const masterTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransactionDeleted>;
24107
24176
  export const masterTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransactionUpserted>;
24177
+ export const merchantOfRecordEntitySettings: PropTypes.Requireable<io.flow.internal.v0.models.MerchantOfRecordEntitySettings>;
24178
+ export const merchantOfRecordEntitySettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm>;
24108
24179
  export const nextBillingStatement: PropTypes.Requireable<io.flow.internal.v0.models.NextBillingStatement>;
24109
24180
  export const noCalculatedTaxAmount: PropTypes.Requireable<io.flow.internal.v0.models.NoCalculatedTaxAmount>;
24110
24181
  export const noClassificationForm: PropTypes.Requireable<io.flow.internal.v0.models.NoClassificationForm>;
@@ -24192,6 +24263,11 @@ export const pendingBankPaymentDetail: PropTypes.Requireable<io.flow.internal.v0
24192
24263
  export const phraseClassified: PropTypes.Requireable<io.flow.internal.v0.models.PhraseClassified>;
24193
24264
  export const phrasePropagated: PropTypes.Requireable<io.flow.internal.v0.models.PhrasePropagated>;
24194
24265
  export const pingRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.PingRequestForm>;
24266
+ export const platformFeeChange: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeChange>;
24267
+ export const platformFeeFlat: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeFlat>;
24268
+ export const platformFeeNoFee: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeNoFee>;
24269
+ export const platformFeePercentage: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeePercentage>;
24270
+ export const platformFeePercentageTier: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeePercentageTier>;
24195
24271
  export const prediction: PropTypes.Requireable<io.flow.internal.v0.models.Prediction>;
24196
24272
  export const pregeneratedQuote: PropTypes.Requireable<io.flow.internal.v0.models.PregeneratedQuote>;
24197
24273
  export const pregeneratedRequestEvent: PropTypes.Requireable<io.flow.internal.v0.models.PregeneratedRequestEvent>;
@@ -24514,6 +24590,7 @@ export const optinPromptDisplay: PropTypes.Requireable<io.flow.internal.v0.union
24514
24590
  export const orderActionForm: PropTypes.Requireable<io.flow.internal.v0.unions.OrderActionForm>;
24515
24591
  export const paymentRedirect: PropTypes.Requireable<io.flow.internal.v0.unions.PaymentRedirect>;
24516
24592
  export const paymentSummaryDetails: PropTypes.Requireable<io.flow.internal.v0.unions.PaymentSummaryDetails>;
24593
+ export const platformFee: PropTypes.Requireable<io.flow.internal.v0.unions.PlatformFee>;
24517
24594
  export const processorAccount: PropTypes.Requireable<io.flow.internal.v0.unions.ProcessorAccount>;
24518
24595
  export const processorAccountModificationForm: PropTypes.Requireable<io.flow.internal.v0.unions.ProcessorAccountModificationForm>;
24519
24596
  export const processorAccountPutForm: PropTypes.Requireable<io.flow.internal.v0.unions.ProcessorAccountPutForm>;
@@ -69,6 +69,11 @@ T['io.flow.optin.internal.v0.models.optin_prompt_checkout_display'] = PropTypes.
69
69
  });
70
70
 
71
71
  T['io.flow.optin.internal.v0.enums.prompt_target'] = PropTypes.oneOf(['browse', 'checkout']);
72
+
73
+ T['io.flow.checkout.configuration.v0.models.google_linker'] = PropTypes.exact({
74
+ domains: PropTypes.arrayOf(PropTypes.string).isRequired,
75
+ });
76
+
72
77
  T['io.flow.checkout.configuration.v0.enums.google_analytics_plugin'] = PropTypes.oneOf(['ec']);
73
78
  T['io.flow.checkout.configuration.v0.enums.checkout_url_type'] = PropTypes.oneOf(['continue_shopping', 'confirmation', 'invalid_checkout']);
74
79
 
@@ -124,6 +129,7 @@ T['io.flow.checkout.configuration.v0.models.google_global_site_tag'] = PropTypes
124
129
  discriminator: PropTypes.oneOf(['google_global_site_tag']).isRequired,
125
130
  name: PropTypes.string,
126
131
  tracker_id: PropTypes.string.isRequired,
132
+ linker: T['io.flow.checkout.configuration.v0.models.google_linker'],
127
133
  });
128
134
 
129
135
  T['io.flow.checkout.configuration.v0.models.google_analytics'] = PropTypes.exact({
@@ -131,6 +137,7 @@ T['io.flow.checkout.configuration.v0.models.google_analytics'] = PropTypes.exact
131
137
  name: PropTypes.string,
132
138
  tracker_id: PropTypes.string.isRequired,
133
139
  plugins: PropTypes.arrayOf(T['io.flow.checkout.configuration.v0.enums.google_analytics_plugin']).isRequired,
140
+ linker: T['io.flow.checkout.configuration.v0.models.google_linker'],
134
141
  });
135
142
 
136
143
  T['io.flow.checkout.configuration.v0.unions.tracker'] = PropTypes.oneOfType([
@@ -10579,6 +10586,42 @@ T['io.flow.internal.v0.models.fulfillment_internal_experience_reference'] = Prop
10579
10586
  key: PropTypes.string.isRequired,
10580
10587
  });
10581
10588
 
10589
+ T['io.flow.internal.v0.models.platform_fee_percentage_tier'] = PropTypes.exact({
10590
+ minimum_amount_base: PropTypes.number.isRequired,
10591
+ rate: PropTypes.number.isRequired,
10592
+ });
10593
+
10594
+ T['io.flow.internal.v0.models.platform_fee_percentage'] = PropTypes.exact({
10595
+ discriminator: PropTypes.oneOf(['platform_fee_percentage']).isRequired,
10596
+ tiers: PropTypes.arrayOf(T['io.flow.internal.v0.models.platform_fee_percentage_tier']).isRequired,
10597
+ });
10598
+
10599
+ T['io.flow.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
10600
+ discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
10601
+ amount: PropTypes.number.isRequired,
10602
+ currency: PropTypes.string.isRequired,
10603
+ frequency: PropTypes.string.isRequired,
10604
+ });
10605
+
10606
+ T['io.flow.internal.v0.models.platform_fee_no_fee'] = PropTypes.exact({
10607
+ discriminator: PropTypes.oneOf(['platform_fee_no_fee']).isRequired,
10608
+ attributes: PropTypes.objectOf(PropTypes.string),
10609
+ });
10610
+
10611
+ T['io.flow.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
10612
+ T['io.flow.internal.v0.models.platform_fee_no_fee'],
10613
+ T['io.flow.internal.v0.models.platform_fee_flat'],
10614
+ T['io.flow.internal.v0.models.platform_fee_percentage'],
10615
+ ]);
10616
+
10617
+ T['io.flow.internal.v0.models.platform_fee_change'] = PropTypes.exact({
10618
+ organization_id: PropTypes.string.isRequired,
10619
+ key: PropTypes.string.isRequired,
10620
+ platform_fee: T['io.flow.internal.v0.unions.platform_fee'].isRequired,
10621
+ starts_at: PropTypes.string.isRequired,
10622
+ ends_at: PropTypes.string,
10623
+ });
10624
+
10582
10625
  T['io.flow.internal.v0.models.transaction_reference'] = PropTypes.exact({
10583
10626
  id: PropTypes.string.isRequired,
10584
10627
  });
@@ -11355,6 +11398,22 @@ T['io.flow.common.v0.models.merchant_of_record_entity_registration'] = PropTypes
11355
11398
  country: PropTypes.string.isRequired,
11356
11399
  });
11357
11400
 
11401
+ T['io.flow.internal.v0.models.merchant_of_record_entity_settings_form'] = PropTypes.exact({
11402
+ name: PropTypes.string.isRequired,
11403
+ vat: T['io.flow.common.v0.models.merchant_of_record_entity_registration'].isRequired,
11404
+ streets: PropTypes.arrayOf(PropTypes.string).isRequired,
11405
+ city: PropTypes.string.isRequired,
11406
+ province: PropTypes.string,
11407
+ postal: PropTypes.string,
11408
+ country: PropTypes.string.isRequired,
11409
+ phone: PropTypes.string,
11410
+ email: PropTypes.string,
11411
+ starts_at: PropTypes.string.isRequired,
11412
+ ends_at: PropTypes.string,
11413
+ center: PropTypes.string,
11414
+ currency: PropTypes.string,
11415
+ });
11416
+
11358
11417
  T['io.flow.internal.v0.models.liability_party_details'] = PropTypes.exact({
11359
11418
  eori_number: PropTypes.string,
11360
11419
  });
@@ -11876,6 +11935,10 @@ T['io.flow.internal.v0.models.heap_authorization_error'] = PropTypes.exact({
11876
11935
  visitor_id: PropTypes.string,
11877
11936
  });
11878
11937
 
11938
+ T['io.flow.internal.v0.models.google_linker'] = PropTypes.exact({
11939
+ domains: PropTypes.arrayOf(PropTypes.string).isRequired,
11940
+ });
11941
+
11879
11942
  T['io.flow.internal.v0.enums.google_analytics_plugin'] = PropTypes.oneOf(['ec']);
11880
11943
 
11881
11944
  T['io.flow.common.v0.models.input_specification_limitations'] = PropTypes.exact({
@@ -15848,6 +15911,15 @@ T['io.flow.common.v0.models.merchant_of_record_entity'] = PropTypes.exact({
15848
15911
  email: PropTypes.string,
15849
15912
  });
15850
15913
 
15914
+ T['io.flow.internal.v0.models.merchant_of_record_entity_settings'] = PropTypes.exact({
15915
+ id: PropTypes.string.isRequired,
15916
+ merchant_of_record_entity: T['io.flow.common.v0.models.merchant_of_record_entity'].isRequired,
15917
+ starts_at: PropTypes.string.isRequired,
15918
+ ends_at: PropTypes.string,
15919
+ center: PropTypes.string,
15920
+ currency: PropTypes.string,
15921
+ });
15922
+
15851
15923
  T['io.flow.internal.v0.enums.checkout_error_code'] = PropTypes.oneOf([
15852
15924
  'generic_error',
15853
15925
  'order_identifier_invalid',
@@ -17165,6 +17237,7 @@ T['io.flow.internal.v0.models.google_global_site_tag'] = PropTypes.exact({
17165
17237
  discriminator: PropTypes.oneOf(['google_global_site_tag']).isRequired,
17166
17238
  name: PropTypes.string,
17167
17239
  tracker_id: PropTypes.string.isRequired,
17240
+ linker: T['io.flow.internal.v0.models.google_linker'],
17168
17241
  });
17169
17242
 
17170
17243
  T['io.flow.internal.v0.models.google_analytics'] = PropTypes.exact({
@@ -17172,6 +17245,7 @@ T['io.flow.internal.v0.models.google_analytics'] = PropTypes.exact({
17172
17245
  name: PropTypes.string,
17173
17246
  tracker_id: PropTypes.string.isRequired,
17174
17247
  plugins: PropTypes.arrayOf(T['io.flow.internal.v0.enums.google_analytics_plugin']).isRequired,
17248
+ linker: T['io.flow.internal.v0.models.google_linker'],
17175
17249
  });
17176
17250
 
17177
17251
  T['io.flow.internal.v0.unions.tracker'] = PropTypes.oneOfType([
@@ -27237,6 +27311,7 @@ export const globalSearchResult = T['io.flow.internal.v0.unions.global_search_re
27237
27311
  export const googleAnalytics = T['io.flow.internal.v0.models.google_analytics'];
27238
27312
  export const googleAnalyticsPlugin = T['io.flow.internal.v0.enums.google_analytics_plugin'];
27239
27313
  export const googleGlobalSiteTag = T['io.flow.internal.v0.models.google_global_site_tag'];
27314
+ export const googleLinker = T['io.flow.internal.v0.models.google_linker'];
27240
27315
  export const googleShoppingAccountParameters = T['io.flow.internal.v0.models.google_shopping_account_parameters'];
27241
27316
  export const googleShoppingSetting = T['io.flow.internal.v0.models.google_shopping_setting'];
27242
27317
  export const googleTagManager = T['io.flow.internal.v0.models.google_tag_manager'];
@@ -27468,6 +27543,8 @@ export const marketingGatewaySupportedChannelDetails = T['io.flow.internal.v0.mo
27468
27543
  export const masterTransaction = T['io.flow.internal.v0.models.master_transaction'];
27469
27544
  export const masterTransactionDeleted = T['io.flow.internal.v0.models.master_transaction_deleted'];
27470
27545
  export const masterTransactionUpserted = T['io.flow.internal.v0.models.master_transaction_upserted'];
27546
+ export const merchantOfRecordEntitySettings = T['io.flow.internal.v0.models.merchant_of_record_entity_settings'];
27547
+ export const merchantOfRecordEntitySettingsForm = T['io.flow.internal.v0.models.merchant_of_record_entity_settings_form'];
27471
27548
  export const natureOfSale = T['io.flow.internal.v0.enums.nature_of_sale'];
27472
27549
  export const nextBillingStatement = T['io.flow.internal.v0.models.next_billing_statement'];
27473
27550
  export const noCalculatedTaxAmount = T['io.flow.internal.v0.models.no_calculated_tax_amount'];
@@ -27569,6 +27646,12 @@ export const pendingBankPaymentDetail = T['io.flow.internal.v0.models.pending_ba
27569
27646
  export const phraseClassified = T['io.flow.internal.v0.models.phrase_classified'];
27570
27647
  export const phrasePropagated = T['io.flow.internal.v0.models.phrase_propagated'];
27571
27648
  export const pingRequestForm = T['io.flow.internal.v0.models.ping_request_form'];
27649
+ export const platformFee = T['io.flow.internal.v0.unions.platform_fee'];
27650
+ export const platformFeeChange = T['io.flow.internal.v0.models.platform_fee_change'];
27651
+ export const platformFeeFlat = T['io.flow.internal.v0.models.platform_fee_flat'];
27652
+ export const platformFeeNoFee = T['io.flow.internal.v0.models.platform_fee_no_fee'];
27653
+ export const platformFeePercentage = T['io.flow.internal.v0.models.platform_fee_percentage'];
27654
+ export const platformFeePercentageTier = T['io.flow.internal.v0.models.platform_fee_percentage_tier'];
27572
27655
  export const prediction = T['io.flow.internal.v0.models.prediction'];
27573
27656
  export const pregenDataKeyField = T['io.flow.internal.v0.enums.pregen_data_key_field'];
27574
27657
  export const pregeneratedQuote = T['io.flow.internal.v0.models.pregenerated_quote'];