@flowio/api-internal-prop-types 9.17.0 → 9.18.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.17.0",
3
+ "version": "9.18.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": "ffc51f038177ced4e8328e7d99c0365df96ead7d"
33
+ "gitHead": "60d8b898775802186c6f0e88f5a326cab2451d83"
34
34
  }
@@ -247,7 +247,7 @@ declare namespace io.flow.order.price.v0.models {
247
247
  readonly 'components': io.flow.order.price.v0.models.OrderPriceDetailComponent[];
248
248
  readonly 'name'?: string;
249
249
  readonly 'rate'?: number;
250
- readonly 'accuracy': io.flow.price.v0.enums.PriceAccuracy;
250
+ readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
251
251
  readonly 'rate_label'?: string;
252
252
  }
253
253
 
@@ -289,7 +289,7 @@ declare namespace io.flow.experience.v0.models {
289
289
  readonly 'country': string;
290
290
  readonly 'field_validation': io.flow.experience.v0.models.AddressFieldValidation;
291
291
  readonly 'provinces': io.flow.experience.v0.models.AddressConfigurationProvince[];
292
- readonly 'formats': io.flow.experience.v0.models.AddressConfigurationFormat[];
292
+ readonly 'formats'?: io.flow.experience.v0.models.AddressConfigurationFormat[];
293
293
  readonly 'province_type'?: io.flow.reference.v0.enums.ProvinceType;
294
294
  readonly 'postal_type'?: io.flow.reference.v0.enums.PostalType;
295
295
  }
@@ -350,7 +350,7 @@ declare namespace io.flow.experience.v0.models {
350
350
  readonly 'rate': number;
351
351
  readonly 'name': string;
352
352
  readonly 'price'?: io.flow.common.v0.models.PriceWithBase;
353
- readonly 'accuracy': io.flow.price.v0.enums.PriceAccuracy;
353
+ readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
354
354
  readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
355
355
  }
356
356
 
@@ -850,7 +850,7 @@ declare namespace io.flow.experience.v0.models {
850
850
  readonly 'discriminator': 'order';
851
851
  readonly 'id': string;
852
852
  readonly 'number': string;
853
- readonly 'order_type': io.flow.experience.v0.enums.OrderType;
853
+ readonly 'order_type'?: io.flow.experience.v0.enums.OrderType;
854
854
  readonly 'merchant_of_record'?: io.flow.common.v0.enums.OrderMerchantOfRecord;
855
855
  readonly 'experience'?: io.flow.experience.v0.unions.ExpandableExperience;
856
856
  readonly 'customer': io.flow.common.v0.models.OrderCustomer;
@@ -1029,7 +1029,7 @@ declare namespace io.flow.experience.v0.models {
1029
1029
 
1030
1030
  interface OrderNumberGeneratorUuid {
1031
1031
  readonly 'discriminator': 'uuid';
1032
- readonly 'prefix': string;
1032
+ readonly 'prefix'?: string;
1033
1033
  }
1034
1034
 
1035
1035
  interface OrderNumberReference {
@@ -1043,13 +1043,13 @@ declare namespace io.flow.experience.v0.models {
1043
1043
  interface OrderPayment {
1044
1044
  readonly 'id': string;
1045
1045
  readonly 'type': io.flow.experience.v0.enums.OrderPaymentType;
1046
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
1046
+ readonly 'merchant_of_record'?: io.flow.common.v0.enums.MerchantOfRecord;
1047
1047
  readonly 'reference': string;
1048
1048
  readonly 'description': string;
1049
1049
  readonly 'total': io.flow.common.v0.models.PriceWithBase;
1050
1050
  readonly 'address'?: io.flow.common.v0.models.BillingAddress;
1051
1051
  readonly 'date'?: string;
1052
- readonly 'attributes': Record<string, string>;
1052
+ readonly 'attributes'?: Record<string, string>;
1053
1053
  readonly 'method'?: string;
1054
1054
  }
1055
1055
 
@@ -1059,7 +1059,7 @@ declare namespace io.flow.experience.v0.models {
1059
1059
  }
1060
1060
 
1061
1061
  interface OrderPutForm {
1062
- readonly 'order_type': io.flow.experience.v0.enums.OrderType;
1062
+ readonly 'order_type'?: io.flow.experience.v0.enums.OrderType;
1063
1063
  readonly 'items': io.flow.common.v0.models.LineItemForm[];
1064
1064
  readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
1065
1065
  readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
@@ -1151,7 +1151,7 @@ declare namespace io.flow.experience.v0.models {
1151
1151
  }
1152
1152
 
1153
1153
  interface OrderSubmissionForm {
1154
- readonly 'identifiers': io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1154
+ readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1155
1155
  }
1156
1156
 
1157
1157
  interface OrderSubmissionIdentifierForm {
@@ -7100,7 +7100,7 @@ declare namespace io.flow.common.v0.enums {
7100
7100
  type Calendar = 'weekdays' | 'everyday';
7101
7101
  type Capability = 'crossdock';
7102
7102
  type ChangeType = 'insert' | 'update' | 'delete';
7103
- type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'before_amount' | 'after_amount';
7103
+ type CurrencyLabelFormatter = 'strip_trailing_zeros';
7104
7104
  type CurrencySymbolFormat = 'narrow' | 'primary';
7105
7105
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
7106
7106
  type DeliveredDuty = 'paid' | 'unpaid';
@@ -7845,20 +7845,6 @@ declare namespace io.flow.ratecard.v0.models {
7845
7845
  readonly 'amount'?: number;
7846
7846
  }
7847
7847
 
7848
- interface PeakSurchargeRatecardFee {
7849
- readonly 'discriminator': 'peak_surcharge_ratecard_fee';
7850
- readonly 'amount': io.flow.common.v0.models.Money;
7851
- readonly 'starts_at'?: string;
7852
- readonly 'ends_at'?: string;
7853
- }
7854
-
7855
- interface PeakSurchargeServiceFee {
7856
- readonly 'discriminator': 'peak_surcharge_service_fee';
7857
- readonly 'amount': io.flow.common.v0.models.Money;
7858
- readonly 'starts_at'?: string;
7859
- readonly 'ends_at'?: string;
7860
- }
7861
-
7862
7848
  interface Ratecard {
7863
7849
  readonly 'id': string;
7864
7850
  readonly 'number': string;
@@ -8074,8 +8060,8 @@ declare namespace io.flow.ratecard.v0.models {
8074
8060
  declare namespace io.flow.ratecard.v0.unions {
8075
8061
  type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2);
8076
8062
  type RatecardEstimateForm = (io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2);
8077
- type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee);
8078
- type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee);
8063
+ type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee);
8064
+ type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee);
8079
8065
  }
8080
8066
 
8081
8067
  declare namespace io.flow.magento.v0.models {
@@ -9024,7 +9010,7 @@ declare namespace io.flow.price.v0.models {
9024
9010
  readonly 'currency': string;
9025
9011
  readonly 'name': string;
9026
9012
  readonly 'includes': io.flow.common.v0.enums.IncludedLevyKey;
9027
- readonly 'status': io.flow.common.v0.enums.PriceBookStatus;
9013
+ readonly 'status'?: io.flow.common.v0.enums.PriceBookStatus;
9028
9014
  }
9029
9015
 
9030
9016
  interface PriceBookItem {
@@ -9950,7 +9936,7 @@ declare namespace io.flow.catalog.v0.models {
9950
9936
  readonly 'base': io.flow.common.v0.models.Price;
9951
9937
  readonly 'name': string;
9952
9938
  readonly 'adjustment'?: io.flow.catalog.v0.models.LocalizedAdjustment;
9953
- readonly 'accuracy': io.flow.price.v0.enums.PriceAccuracy;
9939
+ readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
9954
9940
  readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
9955
9941
  }
9956
9942
 
@@ -10126,7 +10112,7 @@ declare namespace io.flow.inventory.v0.models {
10126
10112
 
10127
10113
  interface InventoryUnlimited {
10128
10114
  readonly 'discriminator': 'inventory_unlimited';
10129
- readonly 'placeholder': string;
10115
+ readonly 'placeholder'?: string;
10130
10116
  }
10131
10117
 
10132
10118
  interface InventoryUpdate {
@@ -11707,7 +11693,7 @@ declare namespace io.flow.shopify.v0.unions {
11707
11693
 
11708
11694
  declare namespace io.flow.fulfillment.v0.enums {
11709
11695
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
11710
- type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
11696
+ type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
11711
11697
  type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
11712
11698
  type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
11713
11699
  type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
@@ -14499,7 +14485,7 @@ declare namespace io.flow.payment.v0.models {
14499
14485
  readonly 'requested'?: io.flow.common.v0.models.Money;
14500
14486
  readonly 'created_at': string;
14501
14487
  readonly 'attributes'?: Record<string, string>;
14502
- readonly 'status': io.flow.payment.v0.enums.CaptureStatus;
14488
+ readonly 'status'?: io.flow.payment.v0.enums.CaptureStatus;
14503
14489
  readonly 'base'?: io.flow.common.v0.models.Money;
14504
14490
  }
14505
14491
 
@@ -14554,7 +14540,7 @@ declare namespace io.flow.payment.v0.models {
14554
14540
  readonly 'discriminator': 'card_authorization';
14555
14541
  readonly 'id': string;
14556
14542
  readonly 'key': string;
14557
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
14543
+ readonly 'merchant_of_record'?: io.flow.common.v0.enums.MerchantOfRecord;
14558
14544
  readonly 'method'?: io.flow.reference.v0.models.PaymentMethod;
14559
14545
  readonly 'card': io.flow.payment.v0.unions.ExpandableCard;
14560
14546
  readonly 'amount': number;
@@ -14784,7 +14770,7 @@ declare namespace io.flow.payment.v0.models {
14784
14770
  readonly 'id': string;
14785
14771
  readonly 'key': string;
14786
14772
  readonly 'method'?: io.flow.reference.v0.models.PaymentMethod;
14787
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
14773
+ readonly 'merchant_of_record'?: io.flow.common.v0.enums.MerchantOfRecord;
14788
14774
  readonly 'details'?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
14789
14775
  readonly 'payment'?: any/*object*/;
14790
14776
  readonly 'amount': number;
@@ -14934,7 +14920,7 @@ declare namespace io.flow.payment.v0.models {
14934
14920
  readonly 'captures': io.flow.payment.v0.models.RefundCaptureSummary[];
14935
14921
  readonly 'created_at': string;
14936
14922
  readonly 'attributes'?: Record<string, string>;
14937
- readonly 'status': io.flow.payment.v0.enums.RefundStatus;
14923
+ readonly 'status'?: io.flow.payment.v0.enums.RefundStatus;
14938
14924
  readonly 'base'?: io.flow.common.v0.models.Money;
14939
14925
  }
14940
14926
 
@@ -14945,7 +14931,7 @@ declare namespace io.flow.payment.v0.models {
14945
14931
  readonly 'amount': number;
14946
14932
  readonly 'currency': string;
14947
14933
  readonly 'base': io.flow.common.v0.models.Money;
14948
- readonly 'status': io.flow.payment.v0.enums.RefundStatus;
14934
+ readonly 'status'?: io.flow.payment.v0.enums.RefundStatus;
14949
14935
  }
14950
14936
 
14951
14937
  interface RefundCaptureSummary {
@@ -15714,7 +15700,7 @@ declare namespace io.flow.organization.v0.models {
15714
15700
  readonly 'organization': string;
15715
15701
  readonly 'email': string;
15716
15702
  readonly 'name'?: io.flow.common.v0.models.Name;
15717
- readonly 'role': io.flow.common.v0.enums.Role;
15703
+ readonly 'role'?: io.flow.common.v0.enums.Role;
15718
15704
  readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
15719
15705
  }
15720
15706
 
@@ -15736,13 +15722,13 @@ declare namespace io.flow.organization.v0.models {
15736
15722
  interface MembershipForm {
15737
15723
  readonly 'organization': string;
15738
15724
  readonly 'user': string;
15739
- readonly 'role': io.flow.common.v0.enums.Role;
15740
- readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
15725
+ readonly 'role'?: io.flow.common.v0.enums.Role;
15726
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
15741
15727
  }
15742
15728
 
15743
15729
  interface MembershipPutForm {
15744
- readonly 'role': io.flow.common.v0.enums.Role;
15745
- readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
15730
+ readonly 'role'?: io.flow.common.v0.enums.Role;
15731
+ readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
15746
15732
  }
15747
15733
 
15748
15734
  interface MembershipVersion {
@@ -15781,7 +15767,7 @@ declare namespace io.flow.organization.v0.models {
15781
15767
  readonly 'environment': io.flow.common.v0.enums.Environment;
15782
15768
  readonly 'parent_id'?: string;
15783
15769
  readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
15784
- readonly 'status': io.flow.common.v0.enums.OrganizationStatus;
15770
+ readonly 'status'?: io.flow.common.v0.enums.OrganizationStatus;
15785
15771
  }
15786
15772
 
15787
15773
  interface OrganizationPutForm {
@@ -15789,7 +15775,7 @@ declare namespace io.flow.organization.v0.models {
15789
15775
  readonly 'environment'?: io.flow.common.v0.enums.Environment;
15790
15776
  readonly 'parent_id'?: string;
15791
15777
  readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
15792
- readonly 'status': io.flow.common.v0.enums.OrganizationStatus;
15778
+ readonly 'status'?: io.flow.common.v0.enums.OrganizationStatus;
15793
15779
  }
15794
15780
 
15795
15781
  interface OrganizationShortId {
@@ -1915,7 +1915,6 @@ T['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'] = Pr
1915
1915
  'ratecard_oversized_shipment_fee',
1916
1916
  'ratecard_rural_shipment_fee',
1917
1917
  'ratecard_emergency_situation_surcharge_fee',
1918
- 'ratecard_peak_surcharge_fee',
1919
1918
  'center_commercial_invoice_fee',
1920
1919
  'center_inbound_carton_fee',
1921
1920
  'center_outbound_carton_fee',
@@ -2597,7 +2596,7 @@ T['io.flow.inventory.v0.models.inventory_follow_ecommerce_platform'] = PropTypes
2597
2596
 
2598
2597
  T['io.flow.inventory.v0.models.inventory_unlimited'] = PropTypes.exact({
2599
2598
  discriminator: PropTypes.oneOf(['inventory_unlimited']).isRequired,
2600
- placeholder: PropTypes.string.isRequired,
2599
+ placeholder: PropTypes.string,
2601
2600
  });
2602
2601
 
2603
2602
  T['io.flow.inventory.v0.models.inventory_stock'] = PropTypes.exact({
@@ -3752,7 +3751,7 @@ T['io.flow.price.v0.models.price_book_form'] = PropTypes.exact({
3752
3751
  currency: PropTypes.string.isRequired,
3753
3752
  name: PropTypes.string.isRequired,
3754
3753
  includes: T['io.flow.common.v0.enums.included_levy_key'].isRequired,
3755
- status: T['io.flow.common.v0.enums.price_book_status'].isRequired,
3754
+ status: T['io.flow.common.v0.enums.price_book_status'],
3756
3755
  });
3757
3756
 
3758
3757
  T['io.flow.common.v0.enums.exception_type'] = PropTypes.oneOf(['open', 'closed']);
@@ -8210,7 +8209,7 @@ T['io.flow.experience.v0.models.order_number_generator_hexadecimal'] = PropTypes
8210
8209
 
8211
8210
  T['io.flow.experience.v0.models.order_number_generator_uuid'] = PropTypes.exact({
8212
8211
  discriminator: PropTypes.oneOf(['uuid']).isRequired,
8213
- prefix: PropTypes.string.isRequired,
8212
+ prefix: PropTypes.string,
8214
8213
  });
8215
8214
 
8216
8215
  T['io.flow.experience.v0.enums.payment_method_rule_content_key'] = PropTypes.oneOf(['description']);
@@ -12090,15 +12089,15 @@ T['io.flow.internal.v0.models.passphrase'] = PropTypes.exact({
12090
12089
  T['io.flow.common.v0.enums.role'] = PropTypes.oneOf(['admin', 'member']);
12091
12090
 
12092
12091
  T['io.flow.organization.v0.models.membership_put_form'] = PropTypes.exact({
12093
- role: T['io.flow.common.v0.enums.role'].isRequired,
12094
- roles: PropTypes.arrayOf(T['io.flow.permission.v0.enums.flow_role']).isRequired,
12092
+ role: T['io.flow.common.v0.enums.role'],
12093
+ roles: PropTypes.arrayOf(T['io.flow.permission.v0.enums.flow_role']),
12095
12094
  });
12096
12095
 
12097
12096
  T['io.flow.organization.v0.models.membership_form'] = PropTypes.exact({
12098
12097
  organization: PropTypes.string.isRequired,
12099
12098
  user: PropTypes.string.isRequired,
12100
- role: T['io.flow.common.v0.enums.role'].isRequired,
12101
- roles: PropTypes.arrayOf(T['io.flow.permission.v0.enums.flow_role']).isRequired,
12099
+ role: T['io.flow.common.v0.enums.role'],
12100
+ roles: PropTypes.arrayOf(T['io.flow.permission.v0.enums.flow_role']),
12102
12101
  });
12103
12102
 
12104
12103
  T['io.flow.internal.v0.models.partner_membership_put_form'] = PropTypes.exact({
@@ -12110,7 +12109,7 @@ T['io.flow.internal.v0.models.partner_membership_form'] = PropTypes.exact({
12110
12109
  role: T['io.flow.common.v0.enums.role'].isRequired,
12111
12110
  });
12112
12111
 
12113
- T['io.flow.common.v0.enums.currency_label_formatter'] = PropTypes.oneOf(['strip_trailing_zeros', 'before_amount', 'after_amount']);
12112
+ T['io.flow.common.v0.enums.currency_label_formatter'] = PropTypes.oneOf(['strip_trailing_zeros']);
12114
12113
  T['io.flow.common.v0.enums.currency_symbol_format'] = PropTypes.oneOf(['narrow', 'primary']);
12115
12114
 
12116
12115
  T['io.flow.session.v0.models.session_currency_format'] = PropTypes.exact({
@@ -16245,7 +16244,7 @@ T['io.flow.experience.v0.models.order_submission_identifier_form'] = PropTypes.e
16245
16244
  });
16246
16245
 
16247
16246
  T['io.flow.experience.v0.models.order_submission_form'] = PropTypes.exact({
16248
- identifiers: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_submission_identifier_form']).isRequired,
16247
+ identifiers: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_submission_identifier_form']),
16249
16248
  });
16250
16249
 
16251
16250
  T['io.flow.checkout.v0.models.checkout_urls_form'] = PropTypes.exact({
@@ -18553,7 +18552,7 @@ T['io.flow.organization.v0.models.organization_put_form'] = PropTypes.exact({
18553
18552
  environment: T['io.flow.common.v0.enums.environment'],
18554
18553
  parent_id: PropTypes.string,
18555
18554
  defaults: T['io.flow.common.v0.models.organization_defaults'],
18556
- status: T['io.flow.common.v0.enums.organization_status'].isRequired,
18555
+ status: T['io.flow.common.v0.enums.organization_status'],
18557
18556
  });
18558
18557
 
18559
18558
  T['io.flow.organization.v0.models.organization_form'] = PropTypes.exact({
@@ -18562,7 +18561,7 @@ T['io.flow.organization.v0.models.organization_form'] = PropTypes.exact({
18562
18561
  environment: T['io.flow.common.v0.enums.environment'].isRequired,
18563
18562
  parent_id: PropTypes.string,
18564
18563
  defaults: T['io.flow.common.v0.models.organization_defaults'],
18565
- status: T['io.flow.common.v0.enums.organization_status'].isRequired,
18564
+ status: T['io.flow.common.v0.enums.organization_status'],
18566
18565
  });
18567
18566
 
18568
18567
  T['io.flow.organization.v0.models.organization_authorization_form'] = PropTypes.exact({
@@ -18918,7 +18917,7 @@ T['io.flow.experience.v0.models.address_configuration'] = PropTypes.exact({
18918
18917
  country: PropTypes.string.isRequired,
18919
18918
  field_validation: T['io.flow.experience.v0.models.address_field_validation'].isRequired,
18920
18919
  provinces: PropTypes.arrayOf(T['io.flow.experience.v0.models.address_configuration_province']).isRequired,
18921
- formats: PropTypes.arrayOf(T['io.flow.experience.v0.models.address_configuration_format']).isRequired,
18920
+ formats: PropTypes.arrayOf(T['io.flow.experience.v0.models.address_configuration_format']),
18922
18921
  province_type: T['io.flow.reference.v0.enums.province_type'],
18923
18922
  postal_type: T['io.flow.reference.v0.enums.postal_type'],
18924
18923
  });
@@ -20426,20 +20425,6 @@ T['io.flow.ratecard.v0.models.remote_area_ratecard_fee'] = PropTypes.exact({
20426
20425
  amount: T['io.flow.common.v0.models.money'].isRequired,
20427
20426
  });
20428
20427
 
20429
- T['io.flow.ratecard.v0.models.peak_surcharge_service_fee'] = PropTypes.exact({
20430
- discriminator: PropTypes.oneOf(['peak_surcharge_service_fee']).isRequired,
20431
- amount: T['io.flow.common.v0.models.money'].isRequired,
20432
- starts_at: PropTypes.string,
20433
- ends_at: PropTypes.string,
20434
- });
20435
-
20436
- T['io.flow.ratecard.v0.models.peak_surcharge_ratecard_fee'] = PropTypes.exact({
20437
- discriminator: PropTypes.oneOf(['peak_surcharge_ratecard_fee']).isRequired,
20438
- amount: T['io.flow.common.v0.models.money'].isRequired,
20439
- starts_at: PropTypes.string,
20440
- ends_at: PropTypes.string,
20441
- });
20442
-
20443
20428
  T['io.flow.ratecard.v0.models.fuel_surcharge_ratecard_fee'] = PropTypes.exact({
20444
20429
  discriminator: PropTypes.oneOf(['fuel_surcharge_ratecard_fee']).isRequired,
20445
20430
  amount: T['io.flow.common.v0.models.money'].isRequired,
@@ -20457,7 +20442,6 @@ T['io.flow.ratecard.v0.unions.service_fee'] = PropTypes.oneOfType([
20457
20442
  T['io.flow.ratecard.v0.models.fuel_surcharge_service_fee'],
20458
20443
  T['io.flow.ratecard.v0.models.remote_area_service_fee'],
20459
20444
  T['io.flow.ratecard.v0.models.emergency_situation_surcharge_service_fee'],
20460
- T['io.flow.ratecard.v0.models.peak_surcharge_service_fee'],
20461
20445
  ]);
20462
20446
 
20463
20447
  T['io.flow.ratecard.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
@@ -20478,7 +20462,6 @@ T['io.flow.ratecard.v0.unions.ratecard_fee'] = PropTypes.oneOfType([
20478
20462
  T['io.flow.ratecard.v0.models.crossdock_ratecard_fee'],
20479
20463
  T['io.flow.ratecard.v0.models.remote_area_ratecard_fee'],
20480
20464
  T['io.flow.ratecard.v0.models.emergency_situation_surcharge_ratecard_fee'],
20481
- T['io.flow.ratecard.v0.models.peak_surcharge_ratecard_fee'],
20482
20465
  ]);
20483
20466
 
20484
20467
  T['io.flow.ratecard.internal.v0.models.rate_with_fees'] = PropTypes.exact({
@@ -20964,7 +20947,7 @@ T['io.flow.payment.v0.models.capture'] = PropTypes.exact({
20964
20947
  requested: T['io.flow.common.v0.models.money'],
20965
20948
  created_at: PropTypes.string.isRequired,
20966
20949
  attributes: PropTypes.objectOf(PropTypes.string),
20967
- status: T['io.flow.payment.v0.enums.capture_status'].isRequired,
20950
+ status: T['io.flow.payment.v0.enums.capture_status'],
20968
20951
  base: T['io.flow.common.v0.models.money'],
20969
20952
  });
20970
20953
 
@@ -20983,7 +20966,7 @@ T['io.flow.payment.v0.models.refund'] = PropTypes.exact({
20983
20966
  captures: PropTypes.arrayOf(T['io.flow.payment.v0.models.refund_capture_summary']).isRequired,
20984
20967
  created_at: PropTypes.string.isRequired,
20985
20968
  attributes: PropTypes.objectOf(PropTypes.string),
20986
- status: T['io.flow.payment.v0.enums.refund_status'].isRequired,
20969
+ status: T['io.flow.payment.v0.enums.refund_status'],
20987
20970
  base: T['io.flow.common.v0.models.money'],
20988
20971
  });
20989
20972
 
@@ -21001,7 +20984,7 @@ T['io.flow.payment.v0.models.refund_capture'] = PropTypes.exact({
21001
20984
  amount: PropTypes.number.isRequired,
21002
20985
  currency: PropTypes.string.isRequired,
21003
20986
  base: T['io.flow.common.v0.models.money'].isRequired,
21004
- status: T['io.flow.payment.v0.enums.refund_status'].isRequired,
20987
+ status: T['io.flow.payment.v0.enums.refund_status'],
21005
20988
  });
21006
20989
 
21007
20990
  T['io.flow.payment.v0.models.capture_version'] = PropTypes.exact({
@@ -22249,7 +22232,7 @@ T['io.flow.organization.v0.models.invitation_form'] = PropTypes.exact({
22249
22232
  organization: PropTypes.string.isRequired,
22250
22233
  email: PropTypes.string.isRequired,
22251
22234
  name: T['io.flow.common.v0.models.name'],
22252
- role: T['io.flow.common.v0.enums.role'].isRequired,
22235
+ role: T['io.flow.common.v0.enums.role'],
22253
22236
  roles: PropTypes.arrayOf(T['io.flow.permission.v0.enums.flow_role']),
22254
22237
  });
22255
22238
 
@@ -22905,7 +22888,7 @@ T['io.flow.internal.v0.unions.checkout_form'] = PropTypes.oneOfType([
22905
22888
  ]);
22906
22889
 
22907
22890
  T['io.flow.experience.v0.models.order_put_form'] = PropTypes.exact({
22908
- order_type: T['io.flow.experience.v0.enums.order_type'].isRequired,
22891
+ order_type: T['io.flow.experience.v0.enums.order_type'],
22909
22892
  items: PropTypes.arrayOf(T['io.flow.common.v0.models.line_item_form']).isRequired,
22910
22893
  customer: T['io.flow.common.v0.models.order_customer_form'],
22911
22894
  delivered_duty: T['io.flow.common.v0.enums.delivered_duty'],
@@ -22984,7 +22967,7 @@ T['io.flow.payment.v0.models.online_authorization'] = PropTypes.exact({
22984
22967
  id: PropTypes.string.isRequired,
22985
22968
  key: PropTypes.string.isRequired,
22986
22969
  method: T['io.flow.reference.v0.models.payment_method'],
22987
- merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
22970
+ merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'],
22988
22971
  details: T['io.flow.payment.v0.unions.online_authorization_details'],
22989
22972
  payment: PropTypes.object,
22990
22973
  amount: PropTypes.number.isRequired,
@@ -23174,7 +23157,7 @@ T['io.flow.payment.v0.models.card_authorization'] = PropTypes.exact({
23174
23157
  discriminator: PropTypes.oneOf(['card_authorization']).isRequired,
23175
23158
  id: PropTypes.string.isRequired,
23176
23159
  key: PropTypes.string.isRequired,
23177
- merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
23160
+ merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'],
23178
23161
  method: T['io.flow.reference.v0.models.payment_method'],
23179
23162
  card: T['io.flow.payment.v0.unions.expandable_card'].isRequired,
23180
23163
  amount: PropTypes.number.isRequired,
@@ -24637,7 +24620,7 @@ T['io.flow.catalog.v0.models.localized_item_vat'] = PropTypes.exact({
24637
24620
  base: T['io.flow.common.v0.models.price'].isRequired,
24638
24621
  name: PropTypes.string.isRequired,
24639
24622
  adjustment: T['io.flow.catalog.v0.models.localized_adjustment'],
24640
- accuracy: T['io.flow.price.v0.enums.price_accuracy'].isRequired,
24623
+ accuracy: T['io.flow.price.v0.enums.price_accuracy'],
24641
24624
  basis: T['io.flow.common.v0.models.money_with_base'],
24642
24625
  });
24643
24626
 
@@ -24738,7 +24721,7 @@ T['io.flow.order.price.v0.models.order_price_detail'] = PropTypes.exact({
24738
24721
  components: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail_component']).isRequired,
24739
24722
  name: PropTypes.string,
24740
24723
  rate: PropTypes.number,
24741
- accuracy: T['io.flow.price.v0.enums.price_accuracy'].isRequired,
24724
+ accuracy: T['io.flow.price.v0.enums.price_accuracy'],
24742
24725
  rate_label: PropTypes.string,
24743
24726
  });
24744
24727
 
@@ -25735,13 +25718,13 @@ T['io.flow.shopify.internal.v0.models.shopify_order_content'] = PropTypes.exact(
25735
25718
  T['io.flow.experience.v0.models.order_payment'] = PropTypes.exact({
25736
25719
  id: PropTypes.string.isRequired,
25737
25720
  type: T['io.flow.experience.v0.enums.order_payment_type'].isRequired,
25738
- merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
25721
+ merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'],
25739
25722
  reference: PropTypes.string.isRequired,
25740
25723
  description: PropTypes.string.isRequired,
25741
25724
  total: T['io.flow.common.v0.models.price_with_base'].isRequired,
25742
25725
  address: T['io.flow.common.v0.models.billing_address'],
25743
25726
  date: PropTypes.string,
25744
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
25727
+ attributes: PropTypes.objectOf(PropTypes.string),
25745
25728
  method: PropTypes.string,
25746
25729
  });
25747
25730
 
@@ -25844,7 +25827,7 @@ T['io.flow.experience.v0.models.allocation_levy_component'] = PropTypes.exact({
25844
25827
  rate: PropTypes.number.isRequired,
25845
25828
  name: PropTypes.string.isRequired,
25846
25829
  price: T['io.flow.common.v0.models.price_with_base'],
25847
- accuracy: T['io.flow.price.v0.enums.price_accuracy'].isRequired,
25830
+ accuracy: T['io.flow.price.v0.enums.price_accuracy'],
25848
25831
  basis: T['io.flow.common.v0.models.money_with_base'],
25849
25832
  });
25850
25833
 
@@ -26112,7 +26095,7 @@ T['io.flow.experience.v0.models.order'] = PropTypes.exact({
26112
26095
  discriminator: PropTypes.oneOf(['order']).isRequired,
26113
26096
  id: PropTypes.string.isRequired,
26114
26097
  number: PropTypes.string.isRequired,
26115
- order_type: T['io.flow.experience.v0.enums.order_type'].isRequired,
26098
+ order_type: T['io.flow.experience.v0.enums.order_type'],
26116
26099
  merchant_of_record: T['io.flow.common.v0.enums.order_merchant_of_record'],
26117
26100
  experience: T['io.flow.experience.v0.unions.expandable_experience'],
26118
26101
  customer: T['io.flow.common.v0.models.order_customer'].isRequired,