@flowio/api-internal-prop-types 9.5.2 → 9.6.0

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.2",
3
+ "version": "9.6.0",
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": "7e5b1e1b8caff00345f1076d02e54890b2653ccd"
33
+ "gitHead": "1ffd33fee424109b19014867c7287063237bac51"
34
34
  }
@@ -1438,7 +1438,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1438
1438
  type CheckoutInfoContentKeyField = 'locale';
1439
1439
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
1440
1440
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
1441
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
1441
+ type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
1442
1442
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
1443
1443
  type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
1444
1444
  type CheckoutSetAddressCountryErrorCode = 'address_country_invalid' | 'address_country_required' | 'country_not_supported';
@@ -8742,6 +8742,7 @@ declare namespace io.flow.shopify.internal.v0.models {
8742
8742
 
8743
8743
  interface ShopForm {
8744
8744
  readonly 'organization_id': string;
8745
+ readonly 'token'?: string;
8745
8746
  }
8746
8747
 
8747
8748
  interface ShopVersion {
@@ -10503,18 +10504,6 @@ declare namespace io.flow.billing.internal.v0.models {
10503
10504
  readonly 'posted_at'?: string;
10504
10505
  }
10505
10506
 
10506
- interface MasterTransaction {
10507
- readonly 'id': string;
10508
- readonly 'account': io.flow.billing.v0.models.AccountReference;
10509
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
10510
- readonly 'value': io.flow.common.v0.models.Price;
10511
- readonly 'posted_at': string;
10512
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
10513
- readonly 'created_at': string;
10514
- readonly 'original_at'?: string;
10515
- readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
10516
- }
10517
-
10518
10507
  interface PendingBankPayment {
10519
10508
  readonly 'organization': string;
10520
10509
  readonly 'account': io.flow.billing.v0.models.AccountReference;
@@ -14959,7 +14948,7 @@ declare namespace io.flow.internal.v0.enums {
14959
14948
  type CheckoutInfoContentKeyField = 'locale';
14960
14949
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
14961
14950
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
14962
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
14951
+ type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
14963
14952
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
14964
14953
  type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
14965
14954
  type CheckoutPromptBehavior = 'always' | 'incomplete';
@@ -20710,24 +20699,12 @@ declare namespace io.flow.internal.v0.models {
20710
20699
  readonly 'connected_at'?: string;
20711
20700
  }
20712
20701
 
20713
- interface MasterTransaction {
20714
- readonly 'id': string;
20715
- readonly 'account': io.flow.billing.v0.models.AccountReference;
20716
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
20717
- readonly 'value': io.flow.common.v0.models.Price;
20718
- readonly 'posted_at': string;
20719
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
20720
- readonly 'created_at': string;
20721
- readonly 'original_at'?: string;
20722
- readonly 'disposition'?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
20723
- }
20724
-
20725
20702
  interface MasterTransactionDeleted {
20726
20703
  readonly 'discriminator': 'master_transaction_deleted';
20727
20704
  readonly 'event_id': string;
20728
20705
  readonly 'timestamp': string;
20729
20706
  readonly 'organization': string;
20730
- readonly 'master_transaction': io.flow.billing.internal.v0.models.MasterTransaction;
20707
+ readonly 'master_transaction': unknown/*io.flow.billing.internal.v0.models.master_transaction*/;
20731
20708
  }
20732
20709
 
20733
20710
  interface MasterTransactionUpserted {
@@ -20735,7 +20712,7 @@ declare namespace io.flow.internal.v0.models {
20735
20712
  readonly 'event_id': string;
20736
20713
  readonly 'timestamp': string;
20737
20714
  readonly 'organization': string;
20738
- readonly 'master_transaction': io.flow.billing.internal.v0.models.MasterTransaction;
20715
+ readonly 'master_transaction': unknown/*io.flow.billing.internal.v0.models.master_transaction*/;
20739
20716
  }
20740
20717
 
20741
20718
  interface MerchantOfRecordEntitySettings {
@@ -24240,7 +24217,6 @@ export const marketingGatewayNewChannelRequestForm: PropTypes.Requireable<io.flo
24240
24217
  export const marketingGatewayProductDatasourceSummary: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary>;
24241
24218
  export const marketingGatewaySchemaSummary: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewaySchemaSummary>;
24242
24219
  export const marketingGatewaySupportedChannelDetails: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails>;
24243
- export const masterTransaction: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransaction>;
24244
24220
  export const masterTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransactionDeleted>;
24245
24221
  export const masterTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.MasterTransactionUpserted>;
24246
24222
  export const merchantOfRecordEntitySettings: PropTypes.Requireable<io.flow.internal.v0.models.MerchantOfRecordEntitySettings>;
@@ -7337,7 +7337,7 @@ T['io.flow.checkout.protocol.v0.models.checkout_info_payment_details_key'] = Pro
7337
7337
  value: PropTypes.string.isRequired,
7338
7338
  });
7339
7339
 
7340
- T['io.flow.checkout.protocol.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency']);
7340
+ T['io.flow.checkout.protocol.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency', 'shipping_country']);
7341
7341
 
7342
7342
  T['io.flow.checkout.protocol.v0.models.checkout_info_payment_authorization_parameters_key'] = PropTypes.exact({
7343
7343
  field: T['io.flow.checkout.protocol.v0.enums.checkout_info_payment_authorization_parameters_key_field'].isRequired,
@@ -11042,6 +11042,22 @@ T['io.flow.internal.v0.models.notification'] = PropTypes.exact({
11042
11042
  order: T['io.flow.internal.v0.models.decision'].isRequired,
11043
11043
  });
11044
11044
 
11045
+ T['io.flow.internal.v0.models.master_transaction_upserted'] = PropTypes.exact({
11046
+ discriminator: PropTypes.oneOf(['master_transaction_upserted']).isRequired,
11047
+ event_id: PropTypes.string.isRequired,
11048
+ timestamp: PropTypes.string.isRequired,
11049
+ organization: PropTypes.string.isRequired,
11050
+ master_transaction: PropTypes.any.isRequired,
11051
+ });
11052
+
11053
+ T['io.flow.internal.v0.models.master_transaction_deleted'] = PropTypes.exact({
11054
+ discriminator: PropTypes.oneOf(['master_transaction_deleted']).isRequired,
11055
+ event_id: PropTypes.string.isRequired,
11056
+ timestamp: PropTypes.string.isRequired,
11057
+ organization: PropTypes.string.isRequired,
11058
+ master_transaction: PropTypes.any.isRequired,
11059
+ });
11060
+
11045
11061
  T['io.flow.internal.v0.models.marketing_gateway_google_item'] = PropTypes.exact({
11046
11062
  discriminator: PropTypes.oneOf(['marketing_gateway_google_item']).isRequired,
11047
11063
  id: PropTypes.string.isRequired,
@@ -14993,7 +15009,7 @@ T['io.flow.internal.v0.models.checkout_info_payment_details'] = PropTypes.exact(
14993
15009
  data: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
14994
15010
  });
14995
15011
 
14996
- T['io.flow.internal.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency']);
15012
+ T['io.flow.internal.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency', 'shipping_country']);
14997
15013
 
14998
15014
  T['io.flow.payment.internal.v0.models.authorization_parameters'] = PropTypes.exact({
14999
15015
  method: PropTypes.string.isRequired,
@@ -22287,46 +22303,6 @@ T['io.flow.internal.v0.models.order_rates_published_v3'] = PropTypes.exact({
22287
22303
  data: T['io.flow.internal.v0.models.order_rates_data_v3'].isRequired,
22288
22304
  });
22289
22305
 
22290
- T['io.flow.billing.internal.v0.models.master_transaction'] = PropTypes.exact({
22291
- id: PropTypes.string.isRequired,
22292
- account: T['io.flow.billing.v0.models.account_reference'].isRequired,
22293
- type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
22294
- value: T['io.flow.common.v0.models.price'].isRequired,
22295
- posted_at: PropTypes.string.isRequired,
22296
- statement: T['io.flow.billing.v0.models.billing_statement_reference'],
22297
- created_at: PropTypes.string.isRequired,
22298
- original_at: PropTypes.string,
22299
- disposition: T['io.flow.billing.internal.v0.enums.billing_statement_review_status'],
22300
- });
22301
-
22302
- T['io.flow.internal.v0.models.master_transaction_upserted'] = PropTypes.exact({
22303
- discriminator: PropTypes.oneOf(['master_transaction_upserted']).isRequired,
22304
- event_id: PropTypes.string.isRequired,
22305
- timestamp: PropTypes.string.isRequired,
22306
- organization: PropTypes.string.isRequired,
22307
- master_transaction: T['io.flow.billing.internal.v0.models.master_transaction'].isRequired,
22308
- });
22309
-
22310
- T['io.flow.internal.v0.models.master_transaction_deleted'] = PropTypes.exact({
22311
- discriminator: PropTypes.oneOf(['master_transaction_deleted']).isRequired,
22312
- event_id: PropTypes.string.isRequired,
22313
- timestamp: PropTypes.string.isRequired,
22314
- organization: PropTypes.string.isRequired,
22315
- master_transaction: T['io.flow.billing.internal.v0.models.master_transaction'].isRequired,
22316
- });
22317
-
22318
- T['io.flow.internal.v0.models.master_transaction'] = PropTypes.exact({
22319
- id: PropTypes.string.isRequired,
22320
- account: T['io.flow.billing.v0.models.account_reference'].isRequired,
22321
- type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
22322
- value: T['io.flow.common.v0.models.price'].isRequired,
22323
- posted_at: PropTypes.string.isRequired,
22324
- statement: T['io.flow.billing.v0.models.billing_statement_reference'],
22325
- created_at: PropTypes.string.isRequired,
22326
- original_at: PropTypes.string,
22327
- disposition: T['io.flow.internal.v0.enums.billing_statement_review_status'],
22328
- });
22329
-
22330
22306
  T['io.flow.internal.v0.models.manual_transaction'] = PropTypes.exact({
22331
22307
  discriminator: PropTypes.oneOf(['manual_transaction']).isRequired,
22332
22308
  id: PropTypes.string.isRequired,
@@ -25972,6 +25948,7 @@ T['io.flow.shopify.internal.v0.models.install_form'] = PropTypes.exact({
25972
25948
 
25973
25949
  T['io.flow.shopify.internal.v0.models.shop_form'] = PropTypes.exact({
25974
25950
  organization_id: PropTypes.string.isRequired,
25951
+ token: PropTypes.string,
25975
25952
  });
25976
25953
 
25977
25954
  T['io.flow.shopify.internal.v0.models.shopify_code_form'] = PropTypes.exact({
@@ -27628,7 +27605,6 @@ export const marketingGatewaySchemaCompatibility = T['io.flow.internal.v0.enums.
27628
27605
  export const marketingGatewaySchemaSummary = T['io.flow.internal.v0.models.marketing_gateway_schema_summary'];
27629
27606
  export const marketingGatewaySourceSummary = T['io.flow.internal.v0.unions.marketing_gateway_source_summary'];
27630
27607
  export const marketingGatewaySupportedChannelDetails = T['io.flow.internal.v0.models.marketing_gateway_supported_channel_details'];
27631
- export const masterTransaction = T['io.flow.internal.v0.models.master_transaction'];
27632
27608
  export const masterTransactionDeleted = T['io.flow.internal.v0.models.master_transaction_deleted'];
27633
27609
  export const masterTransactionUpserted = T['io.flow.internal.v0.models.master_transaction_upserted'];
27634
27610
  export const merchantOfRecordEntitySettings = T['io.flow.internal.v0.models.merchant_of_record_entity_settings'];