@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.
@@ -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 {