@flowio/types 11.17.0 → 11.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.
@@ -208,7 +208,7 @@ declare namespace io.flow.order.price.v0.models {
208
208
  readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
209
209
  readonly name?: string;
210
210
  readonly rate?: number;
211
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
211
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
212
212
  readonly rate_label?: string;
213
213
  }
214
214
  interface OrderPriceDetailComponent {
@@ -247,7 +247,7 @@ declare namespace io.flow.experience.v0.models {
247
247
  readonly country: string;
248
248
  readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
249
249
  readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
250
- readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
250
+ readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
251
251
  readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
252
252
  readonly postal_type?: io.flow.reference.v0.enums.PostalType;
253
253
  }
@@ -299,7 +299,7 @@ declare namespace io.flow.experience.v0.models {
299
299
  readonly rate: number;
300
300
  readonly name: string;
301
301
  readonly price?: io.flow.common.v0.models.PriceWithBase;
302
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
302
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
303
303
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
304
304
  }
305
305
  interface AllocationLineDetail {
@@ -728,7 +728,7 @@ declare namespace io.flow.experience.v0.models {
728
728
  readonly discriminator: 'order';
729
729
  readonly id: string;
730
730
  readonly number: string;
731
- readonly order_type: io.flow.experience.v0.enums.OrderType;
731
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
732
732
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
733
733
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
734
734
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -882,7 +882,7 @@ declare namespace io.flow.experience.v0.models {
882
882
  }
883
883
  interface OrderNumberGeneratorUuid {
884
884
  readonly discriminator: 'uuid';
885
- readonly prefix: string;
885
+ readonly prefix?: string;
886
886
  }
887
887
  interface OrderNumberReference {
888
888
  readonly number: string;
@@ -893,13 +893,13 @@ declare namespace io.flow.experience.v0.models {
893
893
  interface OrderPayment {
894
894
  readonly id: string;
895
895
  readonly type: io.flow.experience.v0.enums.OrderPaymentType;
896
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
896
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
897
897
  readonly reference: string;
898
898
  readonly description: string;
899
899
  readonly total: io.flow.common.v0.models.PriceWithBase;
900
900
  readonly address?: io.flow.common.v0.models.BillingAddress;
901
901
  readonly date?: string;
902
- readonly attributes: Record<string, string>;
902
+ readonly attributes?: Record<string, string>;
903
903
  readonly method?: string;
904
904
  }
905
905
  interface OrderPromotionTrigger {
@@ -907,7 +907,7 @@ declare namespace io.flow.experience.v0.models {
907
907
  readonly min?: io.flow.common.v0.models.Price;
908
908
  }
909
909
  interface OrderPutForm {
910
- readonly order_type: io.flow.experience.v0.enums.OrderType;
910
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
911
911
  readonly items: io.flow.common.v0.models.LineItemForm[];
912
912
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
913
913
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -984,7 +984,7 @@ declare namespace io.flow.experience.v0.models {
984
984
  readonly filename?: string;
985
985
  }
986
986
  interface OrderSubmissionForm {
987
- readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
987
+ readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
988
988
  }
989
989
  interface OrderSubmissionIdentifierForm {
990
990
  readonly identifier: string;
@@ -6217,7 +6217,7 @@ declare namespace io.flow.common.v0.enums {
6217
6217
  type Calendar = 'weekdays' | 'everyday';
6218
6218
  type Capability = 'crossdock';
6219
6219
  type ChangeType = 'insert' | 'update' | 'delete';
6220
- type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'before_amount' | 'after_amount';
6220
+ type CurrencyLabelFormatter = 'strip_trailing_zeros';
6221
6221
  type CurrencySymbolFormat = 'narrow' | 'primary';
6222
6222
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
6223
6223
  type DeliveredDuty = 'paid' | 'unpaid';
@@ -6849,18 +6849,6 @@ declare namespace io.flow.ratecard.v0.models {
6849
6849
  readonly margin?: number;
6850
6850
  readonly amount?: number;
6851
6851
  }
6852
- interface PeakSurchargeRatecardFee {
6853
- readonly discriminator: 'peak_surcharge_ratecard_fee';
6854
- readonly amount: io.flow.common.v0.models.Money;
6855
- readonly starts_at?: string;
6856
- readonly ends_at?: string;
6857
- }
6858
- interface PeakSurchargeServiceFee {
6859
- readonly discriminator: 'peak_surcharge_service_fee';
6860
- readonly amount: io.flow.common.v0.models.Money;
6861
- readonly starts_at?: string;
6862
- readonly ends_at?: string;
6863
- }
6864
6852
  interface Ratecard {
6865
6853
  readonly id: string;
6866
6854
  readonly number: string;
@@ -7051,8 +7039,8 @@ declare namespace io.flow.ratecard.v0.models {
7051
7039
  declare namespace io.flow.ratecard.v0.unions {
7052
7040
  type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
7053
7041
  type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
7054
- 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;
7055
- 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;
7042
+ 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;
7043
+ type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee;
7056
7044
  }
7057
7045
  declare namespace io.flow.magento.v0.models {
7058
7046
  interface BundleProductOption {
@@ -7878,7 +7866,7 @@ declare namespace io.flow.price.v0.models {
7878
7866
  readonly currency: string;
7879
7867
  readonly name: string;
7880
7868
  readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
7881
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
7869
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
7882
7870
  }
7883
7871
  interface PriceBookItem {
7884
7872
  readonly id: string;
@@ -8675,7 +8663,7 @@ declare namespace io.flow.catalog.v0.models {
8675
8663
  readonly base: io.flow.common.v0.models.Price;
8676
8664
  readonly name: string;
8677
8665
  readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
8678
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
8666
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
8679
8667
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
8680
8668
  }
8681
8669
  interface LocalizedTotal {
@@ -8820,7 +8808,7 @@ declare namespace io.flow.inventory.v0.models {
8820
8808
  }
8821
8809
  interface InventoryUnlimited {
8822
8810
  readonly discriminator: 'inventory_unlimited';
8823
- readonly placeholder: string;
8811
+ readonly placeholder?: string;
8824
8812
  }
8825
8813
  interface InventoryUpdate {
8826
8814
  readonly id: string;
@@ -10185,7 +10173,7 @@ declare namespace io.flow.shopify.v0.unions {
10185
10173
  }
10186
10174
  declare namespace io.flow.fulfillment.v0.enums {
10187
10175
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
10188
- 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';
10176
+ 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';
10189
10177
  type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
10190
10178
  type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
10191
10179
  type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
@@ -12532,7 +12520,7 @@ declare namespace io.flow.payment.v0.models {
12532
12520
  readonly requested?: io.flow.common.v0.models.Money;
12533
12521
  readonly created_at: string;
12534
12522
  readonly attributes?: Record<string, string>;
12535
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
12523
+ readonly status?: io.flow.payment.v0.enums.CaptureStatus;
12536
12524
  readonly base?: io.flow.common.v0.models.Money;
12537
12525
  }
12538
12526
  interface CaptureError {
@@ -12580,7 +12568,7 @@ declare namespace io.flow.payment.v0.models {
12580
12568
  readonly discriminator: 'card_authorization';
12581
12569
  readonly id: string;
12582
12570
  readonly key: string;
12583
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
12571
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
12584
12572
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
12585
12573
  readonly card: io.flow.payment.v0.unions.ExpandableCard;
12586
12574
  readonly amount: number;
@@ -12782,7 +12770,7 @@ declare namespace io.flow.payment.v0.models {
12782
12770
  readonly id: string;
12783
12771
  readonly key: string;
12784
12772
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
12785
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
12773
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
12786
12774
  readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
12787
12775
  readonly payment?: any;
12788
12776
  readonly amount: number;
@@ -12913,7 +12901,7 @@ declare namespace io.flow.payment.v0.models {
12913
12901
  readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
12914
12902
  readonly created_at: string;
12915
12903
  readonly attributes?: Record<string, string>;
12916
- readonly status: io.flow.payment.v0.enums.RefundStatus;
12904
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
12917
12905
  readonly base?: io.flow.common.v0.models.Money;
12918
12906
  }
12919
12907
  interface RefundCapture {
@@ -12923,7 +12911,7 @@ declare namespace io.flow.payment.v0.models {
12923
12911
  readonly amount: number;
12924
12912
  readonly currency: string;
12925
12913
  readonly base: io.flow.common.v0.models.Money;
12926
- readonly status: io.flow.payment.v0.enums.RefundStatus;
12914
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
12927
12915
  }
12928
12916
  interface RefundCaptureSummary {
12929
12917
  readonly capture: io.flow.payment.v0.models.Capture;
@@ -13576,7 +13564,7 @@ declare namespace io.flow.organization.v0.models {
13576
13564
  readonly organization: string;
13577
13565
  readonly email: string;
13578
13566
  readonly name?: io.flow.common.v0.models.Name;
13579
- readonly role: io.flow.common.v0.enums.Role;
13567
+ readonly role?: io.flow.common.v0.enums.Role;
13580
13568
  readonly roles?: io.flow.permission.v0.enums.FlowRole[];
13581
13569
  }
13582
13570
  interface InvitationVersion {
@@ -13595,12 +13583,12 @@ declare namespace io.flow.organization.v0.models {
13595
13583
  interface MembershipForm {
13596
13584
  readonly organization: string;
13597
13585
  readonly user: string;
13598
- readonly role: io.flow.common.v0.enums.Role;
13599
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
13586
+ readonly role?: io.flow.common.v0.enums.Role;
13587
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
13600
13588
  }
13601
13589
  interface MembershipPutForm {
13602
- readonly role: io.flow.common.v0.enums.Role;
13603
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
13590
+ readonly role?: io.flow.common.v0.enums.Role;
13591
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
13604
13592
  }
13605
13593
  interface MembershipVersion {
13606
13594
  readonly id: string;
@@ -13632,14 +13620,14 @@ declare namespace io.flow.organization.v0.models {
13632
13620
  readonly environment: io.flow.common.v0.enums.Environment;
13633
13621
  readonly parent_id?: string;
13634
13622
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
13635
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
13623
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
13636
13624
  }
13637
13625
  interface OrganizationPutForm {
13638
13626
  readonly name?: string;
13639
13627
  readonly environment?: io.flow.common.v0.enums.Environment;
13640
13628
  readonly parent_id?: string;
13641
13629
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
13642
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
13630
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
13643
13631
  }
13644
13632
  interface OrganizationShortId {
13645
13633
  readonly id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.17.0",
3
+ "version": "11.18.0",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "ffc51f038177ced4e8328e7d99c0365df96ead7d"
28
+ "gitHead": "60d8b898775802186c6f0e88f5a326cab2451d83"
29
29
  }
@@ -287,7 +287,7 @@ declare namespace io.flow.order.price.v0.models {
287
287
  readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
288
288
  readonly name?: string;
289
289
  readonly rate?: number;
290
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
290
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
291
291
  readonly rate_label?: string;
292
292
  }
293
293
 
@@ -371,7 +371,7 @@ declare namespace io.flow.experience.v0.models {
371
371
  readonly country: string;
372
372
  readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
373
373
  readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
374
- readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
374
+ readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
375
375
  readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
376
376
  readonly postal_type?: io.flow.reference.v0.enums.PostalType;
377
377
  }
@@ -432,7 +432,7 @@ declare namespace io.flow.experience.v0.models {
432
432
  readonly rate: number;
433
433
  readonly name: string;
434
434
  readonly price?: io.flow.common.v0.models.PriceWithBase;
435
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
435
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
436
436
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
437
437
  }
438
438
 
@@ -932,7 +932,7 @@ declare namespace io.flow.experience.v0.models {
932
932
  readonly discriminator: 'order';
933
933
  readonly id: string;
934
934
  readonly number: string;
935
- readonly order_type: io.flow.experience.v0.enums.OrderType;
935
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
936
936
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
937
937
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
938
938
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -1111,7 +1111,7 @@ declare namespace io.flow.experience.v0.models {
1111
1111
 
1112
1112
  interface OrderNumberGeneratorUuid {
1113
1113
  readonly discriminator: 'uuid';
1114
- readonly prefix: string;
1114
+ readonly prefix?: string;
1115
1115
  }
1116
1116
 
1117
1117
  interface OrderNumberReference {
@@ -1125,13 +1125,13 @@ declare namespace io.flow.experience.v0.models {
1125
1125
  interface OrderPayment {
1126
1126
  readonly id: string;
1127
1127
  readonly type: io.flow.experience.v0.enums.OrderPaymentType;
1128
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
1128
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
1129
1129
  readonly reference: string;
1130
1130
  readonly description: string;
1131
1131
  readonly total: io.flow.common.v0.models.PriceWithBase;
1132
1132
  readonly address?: io.flow.common.v0.models.BillingAddress;
1133
1133
  readonly date?: string;
1134
- readonly attributes: Record<string, string>;
1134
+ readonly attributes?: Record<string, string>;
1135
1135
  readonly method?: string;
1136
1136
  }
1137
1137
 
@@ -1141,7 +1141,7 @@ declare namespace io.flow.experience.v0.models {
1141
1141
  }
1142
1142
 
1143
1143
  interface OrderPutForm {
1144
- readonly order_type: io.flow.experience.v0.enums.OrderType;
1144
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
1145
1145
  readonly items: io.flow.common.v0.models.LineItemForm[];
1146
1146
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1147
1147
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -1233,7 +1233,7 @@ declare namespace io.flow.experience.v0.models {
1233
1233
  }
1234
1234
 
1235
1235
  interface OrderSubmissionForm {
1236
- readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1236
+ readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1237
1237
  }
1238
1238
 
1239
1239
  interface OrderSubmissionIdentifierForm {
@@ -8149,10 +8149,7 @@ declare namespace io.flow.common.v0.enums {
8149
8149
  type Calendar = 'weekdays' | 'everyday';
8150
8150
  type Capability = 'crossdock';
8151
8151
  type ChangeType = 'insert' | 'update' | 'delete';
8152
- type CurrencyLabelFormatter =
8153
- | 'strip_trailing_zeros'
8154
- | 'before_amount'
8155
- | 'after_amount';
8152
+ type CurrencyLabelFormatter = 'strip_trailing_zeros';
8156
8153
  type CurrencySymbolFormat = 'narrow' | 'primary';
8157
8154
  type DayOfWeek =
8158
8155
  | 'sunday'
@@ -8955,20 +8952,6 @@ declare namespace io.flow.ratecard.v0.models {
8955
8952
  readonly amount?: number;
8956
8953
  }
8957
8954
 
8958
- interface PeakSurchargeRatecardFee {
8959
- readonly discriminator: 'peak_surcharge_ratecard_fee';
8960
- readonly amount: io.flow.common.v0.models.Money;
8961
- readonly starts_at?: string;
8962
- readonly ends_at?: string;
8963
- }
8964
-
8965
- interface PeakSurchargeServiceFee {
8966
- readonly discriminator: 'peak_surcharge_service_fee';
8967
- readonly amount: io.flow.common.v0.models.Money;
8968
- readonly starts_at?: string;
8969
- readonly ends_at?: string;
8970
- }
8971
-
8972
8955
  interface Ratecard {
8973
8956
  readonly id: string;
8974
8957
  readonly number: string;
@@ -9195,13 +9178,11 @@ declare namespace io.flow.ratecard.v0.unions {
9195
9178
  | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
9196
9179
  | io.flow.ratecard.v0.models.CrossdockRatecardFee
9197
9180
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
9198
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
9199
- | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
9181
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee;
9200
9182
  type ServiceFee =
9201
9183
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
9202
9184
  | io.flow.ratecard.v0.models.RemoteAreaServiceFee
9203
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
9204
- | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
9185
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee;
9205
9186
  }
9206
9187
 
9207
9188
  declare namespace io.flow.magento.v0.models {
@@ -10208,7 +10189,7 @@ declare namespace io.flow.price.v0.models {
10208
10189
  readonly currency: string;
10209
10190
  readonly name: string;
10210
10191
  readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
10211
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
10192
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
10212
10193
  }
10213
10194
 
10214
10195
  interface PriceBookItem {
@@ -11229,7 +11210,7 @@ declare namespace io.flow.catalog.v0.models {
11229
11210
  readonly base: io.flow.common.v0.models.Price;
11230
11211
  readonly name: string;
11231
11212
  readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
11232
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
11213
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
11233
11214
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
11234
11215
  }
11235
11216
 
@@ -11411,7 +11392,7 @@ declare namespace io.flow.inventory.v0.models {
11411
11392
 
11412
11393
  interface InventoryUnlimited {
11413
11394
  readonly discriminator: 'inventory_unlimited';
11414
- readonly placeholder: string;
11395
+ readonly placeholder?: string;
11415
11396
  }
11416
11397
 
11417
11398
  interface InventoryUpdate {
@@ -13157,7 +13138,6 @@ declare namespace io.flow.fulfillment.v0.enums {
13157
13138
  | 'ratecard_oversized_shipment_fee'
13158
13139
  | 'ratecard_rural_shipment_fee'
13159
13140
  | 'ratecard_emergency_situation_surcharge_fee'
13160
- | 'ratecard_peak_surcharge_fee'
13161
13141
  | 'center_commercial_invoice_fee'
13162
13142
  | 'center_inbound_carton_fee'
13163
13143
  | 'center_outbound_carton_fee';
@@ -16423,7 +16403,7 @@ declare namespace io.flow.payment.v0.models {
16423
16403
  readonly requested?: io.flow.common.v0.models.Money;
16424
16404
  readonly created_at: string;
16425
16405
  readonly attributes?: Record<string, string>;
16426
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
16406
+ readonly status?: io.flow.payment.v0.enums.CaptureStatus;
16427
16407
  readonly base?: io.flow.common.v0.models.Money;
16428
16408
  }
16429
16409
 
@@ -16478,7 +16458,7 @@ declare namespace io.flow.payment.v0.models {
16478
16458
  readonly discriminator: 'card_authorization';
16479
16459
  readonly id: string;
16480
16460
  readonly key: string;
16481
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
16461
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
16482
16462
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
16483
16463
  readonly card: io.flow.payment.v0.unions.ExpandableCard;
16484
16464
  readonly amount: number;
@@ -16708,7 +16688,7 @@ declare namespace io.flow.payment.v0.models {
16708
16688
  readonly id: string;
16709
16689
  readonly key: string;
16710
16690
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
16711
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
16691
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
16712
16692
  readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
16713
16693
  readonly payment?: any /*object*/;
16714
16694
  readonly amount: number;
@@ -16858,7 +16838,7 @@ declare namespace io.flow.payment.v0.models {
16858
16838
  readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
16859
16839
  readonly created_at: string;
16860
16840
  readonly attributes?: Record<string, string>;
16861
- readonly status: io.flow.payment.v0.enums.RefundStatus;
16841
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
16862
16842
  readonly base?: io.flow.common.v0.models.Money;
16863
16843
  }
16864
16844
 
@@ -16869,7 +16849,7 @@ declare namespace io.flow.payment.v0.models {
16869
16849
  readonly amount: number;
16870
16850
  readonly currency: string;
16871
16851
  readonly base: io.flow.common.v0.models.Money;
16872
- readonly status: io.flow.payment.v0.enums.RefundStatus;
16852
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
16873
16853
  }
16874
16854
 
16875
16855
  interface RefundCaptureSummary {
@@ -17718,7 +17698,7 @@ declare namespace io.flow.organization.v0.models {
17718
17698
  readonly organization: string;
17719
17699
  readonly email: string;
17720
17700
  readonly name?: io.flow.common.v0.models.Name;
17721
- readonly role: io.flow.common.v0.enums.Role;
17701
+ readonly role?: io.flow.common.v0.enums.Role;
17722
17702
  readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17723
17703
  }
17724
17704
 
@@ -17740,13 +17720,13 @@ declare namespace io.flow.organization.v0.models {
17740
17720
  interface MembershipForm {
17741
17721
  readonly organization: string;
17742
17722
  readonly user: string;
17743
- readonly role: io.flow.common.v0.enums.Role;
17744
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
17723
+ readonly role?: io.flow.common.v0.enums.Role;
17724
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17745
17725
  }
17746
17726
 
17747
17727
  interface MembershipPutForm {
17748
- readonly role: io.flow.common.v0.enums.Role;
17749
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
17728
+ readonly role?: io.flow.common.v0.enums.Role;
17729
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17750
17730
  }
17751
17731
 
17752
17732
  interface MembershipVersion {
@@ -17785,7 +17765,7 @@ declare namespace io.flow.organization.v0.models {
17785
17765
  readonly environment: io.flow.common.v0.enums.Environment;
17786
17766
  readonly parent_id?: string;
17787
17767
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
17788
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
17768
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
17789
17769
  }
17790
17770
 
17791
17771
  interface OrganizationPutForm {
@@ -17793,7 +17773,7 @@ declare namespace io.flow.organization.v0.models {
17793
17773
  readonly environment?: io.flow.common.v0.enums.Environment;
17794
17774
  readonly parent_id?: string;
17795
17775
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
17796
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
17776
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
17797
17777
  }
17798
17778
 
17799
17779
  interface OrganizationShortId {