@flowio/types 9.1.5 → 9.1.7

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/src/api.ts CHANGED
@@ -1019,7 +1019,6 @@ declare namespace io.flow.v0.enums {
1019
1019
  | 'consumer_url'
1020
1020
  | 'gtin'
1021
1021
  | 'mpn'
1022
- | 'excluded_regions'
1023
1022
  | 'facet';
1024
1023
  type AuthenticationTechnique =
1025
1024
  | 'anonymous'
@@ -1129,6 +1128,7 @@ declare namespace io.flow.v0.enums {
1129
1128
  | 'ratecard_fuel_surcharge'
1130
1129
  | 'ratecard_oversized_shipment_fee'
1131
1130
  | 'ratecard_rural_shipment_fee'
1131
+ | 'ratecard_emergency_situation_surcharge_fee'
1132
1132
  | 'center_commercial_invoice_fee'
1133
1133
  | 'center_inbound_carton_fee'
1134
1134
  | 'center_outbound_carton_fee';
@@ -1446,7 +1446,8 @@ declare namespace io.flow.v0.enums {
1446
1446
  | 'vat_subsidy'
1447
1447
  | 'duty_subsidy'
1448
1448
  | 'remote_area_surcharge'
1449
- | 'fuel_surcharge';
1449
+ | 'fuel_surcharge'
1450
+ | 'emergency_situation_surcharge';
1450
1451
  type OrderPriceDetailKey =
1451
1452
  | 'adjustment'
1452
1453
  | 'subtotal'
@@ -1527,7 +1528,6 @@ declare namespace io.flow.v0.enums {
1527
1528
  | 'state'
1528
1529
  | 'territory'
1529
1530
  | 'other';
1530
- type QueryType = 'exclusion' | 'inclusion';
1531
1531
  type QuoteErrorCode =
1532
1532
  | 'generic_error'
1533
1533
  | 'items_not_available'
@@ -3192,6 +3192,17 @@ declare namespace io.flow.v0.models {
3192
3192
  readonly payment_methods: io.flow.v0.models.PaymentMethod[];
3193
3193
  }
3194
3194
 
3195
+ interface CustomerPurgeSettings {
3196
+ readonly id: string;
3197
+ readonly days_until_purge_unused: number;
3198
+ readonly days_until_purge_used: number;
3199
+ }
3200
+
3201
+ interface CustomerPurgeSettingsForm {
3202
+ readonly days_until_purge_unused: number;
3203
+ readonly days_until_purge_used: number;
3204
+ }
3205
+
3195
3206
  interface CustomerPutForm {
3196
3207
  readonly email?: string;
3197
3208
  readonly name?: io.flow.v0.models.Name;
@@ -3574,6 +3585,19 @@ declare namespace io.flow.v0.models {
3574
3585
  readonly email: string;
3575
3586
  }
3576
3587
 
3588
+ interface EmergencySituationSurchargeRatecardFee {
3589
+ readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
3590
+ readonly amount: io.flow.v0.models.Money;
3591
+ }
3592
+
3593
+ interface EmergencySituationSurchargeServiceFee {
3594
+ readonly discriminator: 'emergency_situation_surcharge_service_fee';
3595
+ readonly amount: io.flow.v0.models.Money;
3596
+ readonly origin_region?: io.flow.v0.models.RatecardRegionReference;
3597
+ readonly destination_region?: io.flow.v0.models.RatecardRegionReference;
3598
+ readonly interval_unit?: io.flow.v0.enums.UnitOfMeasurement;
3599
+ }
3600
+
3577
3601
  interface EstimatedDimensions {
3578
3602
  readonly depth: io.flow.v0.models.Measurement;
3579
3603
  readonly length: io.flow.v0.models.Measurement;
@@ -5205,6 +5229,12 @@ declare namespace io.flow.v0.models {
5205
5229
  readonly value: number;
5206
5230
  }
5207
5231
 
5232
+ interface MarketingFeedsExportType {
5233
+ readonly discriminator: 'marketing_feeds_export_type';
5234
+ readonly organization: io.flow.v0.models.OrganizationReference;
5235
+ readonly feed_ids: string[];
5236
+ }
5237
+
5208
5238
  interface Measurement {
5209
5239
  readonly value: string;
5210
5240
  readonly units: io.flow.v0.enums.UnitOfMeasurement;
@@ -7046,6 +7076,10 @@ declare namespace io.flow.v0.models {
7046
7076
  readonly id: string;
7047
7077
  }
7048
7078
 
7079
+ interface RatecardRegionReference {
7080
+ readonly id: string;
7081
+ }
7082
+
7049
7083
  interface RatecardServiceSummary {
7050
7084
  readonly id: string;
7051
7085
  readonly name: string;
@@ -8220,22 +8254,6 @@ declare namespace io.flow.v0.models {
8220
8254
  readonly subcatalog_item: io.flow.v0.models.SubcatalogItem;
8221
8255
  }
8222
8256
 
8223
- interface SubcatalogQuery {
8224
- readonly id: string;
8225
- readonly q: string;
8226
- readonly type: io.flow.v0.enums.QueryType;
8227
- }
8228
-
8229
- interface SubcatalogQueryForm {
8230
- readonly q: string;
8231
- readonly type: io.flow.v0.enums.QueryType;
8232
- }
8233
-
8234
- interface SubcatalogQueryValidation {
8235
- readonly valid: string[];
8236
- readonly invalid: string[];
8237
- }
8238
-
8239
8257
  interface SubcatalogReference {
8240
8258
  readonly discriminator: 'subcatalog_reference';
8241
8259
  readonly id: string;
@@ -9065,7 +9083,8 @@ declare namespace io.flow.v0.unions {
9065
9083
  | io.flow.v0.models.PriceBookItemExportType
9066
9084
  | io.flow.v0.models.SolidusProductExportType
9067
9085
  | io.flow.v0.models.SolidusVariantExportType
9068
- | io.flow.v0.models.LocalizedItemPricesExportType;
9086
+ | io.flow.v0.models.LocalizedItemPricesExportType
9087
+ | io.flow.v0.models.MarketingFeedsExportType;
9069
9088
  type FieldValidationRule =
9070
9089
  | io.flow.v0.models.FieldValidationRequired
9071
9090
  | io.flow.v0.models.FieldValidationMin
@@ -9152,7 +9171,8 @@ declare namespace io.flow.v0.unions {
9152
9171
  | io.flow.v0.models.OversizedShipmentRatecardFee
9153
9172
  | io.flow.v0.models.ReturnPackageRatecardFee
9154
9173
  | io.flow.v0.models.CrossdockRatecardFee
9155
- | io.flow.v0.models.RemoteAreaRatecardFee;
9174
+ | io.flow.v0.models.RemoteAreaRatecardFee
9175
+ | io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
9156
9176
  type RepeatSchedule =
9157
9177
  | io.flow.v0.models.RepeatHourly
9158
9178
  | io.flow.v0.models.RepeatDaily
@@ -9164,7 +9184,8 @@ declare namespace io.flow.v0.unions {
9164
9184
  | io.flow.v0.models.GenericReservationError;
9165
9185
  type ServiceFee =
9166
9186
  | io.flow.v0.models.FuelSurchargeServiceFee
9167
- | io.flow.v0.models.RemoteAreaServiceFee;
9187
+ | io.flow.v0.models.RemoteAreaServiceFee
9188
+ | io.flow.v0.models.EmergencySituationSurchargeServiceFee;
9168
9189
  type Session = io.flow.v0.models.OrganizationSession;
9169
9190
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
9170
9191
  type ShippingLabelForm =
@@ -9449,6 +9470,8 @@ export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
9449
9470
  export type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed;
9450
9471
  export type CustomerOrder = io.flow.v0.models.CustomerOrder;
9451
9472
  export type CustomerPayment = io.flow.v0.models.CustomerPayment;
9473
+ export type CustomerPurgeSettings = io.flow.v0.models.CustomerPurgeSettings;
9474
+ export type CustomerPurgeSettingsForm = io.flow.v0.models.CustomerPurgeSettingsForm;
9452
9475
  export type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
9453
9476
  export type CustomerReference = io.flow.v0.models.CustomerReference;
9454
9477
  export type CustomerToken = io.flow.v0.models.CustomerToken;
@@ -9521,6 +9544,8 @@ export type EmailNotificationUpserted = io.flow.v0.models.EmailNotificationUpser
9521
9544
  export type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
9522
9545
  export type EmailRecipient = io.flow.v0.models.EmailRecipient;
9523
9546
  export type EmailVerification = io.flow.v0.models.EmailVerification;
9547
+ export type EmergencySituationSurchargeRatecardFee = io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
9548
+ export type EmergencySituationSurchargeServiceFee = io.flow.v0.models.EmergencySituationSurchargeServiceFee;
9524
9549
  export type Environment = io.flow.v0.enums.Environment;
9525
9550
  export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
9526
9551
  export type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
@@ -9806,6 +9831,7 @@ export type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted;
9806
9831
  export type ManifestedLabelUpserted = io.flow.v0.models.ManifestedLabelUpserted;
9807
9832
  export type Margin = io.flow.v0.models.Margin;
9808
9833
  export type MarginType = io.flow.v0.enums.MarginType;
9834
+ export type MarketingFeedsExportType = io.flow.v0.models.MarketingFeedsExportType;
9809
9835
  export type Measurement = io.flow.v0.models.Measurement;
9810
9836
  export type MeasurementSystem = io.flow.v0.enums.MeasurementSystem;
9811
9837
  export type Membership = io.flow.v0.models.Membership;
@@ -10060,7 +10086,6 @@ export type QueryFilterStructured = io.flow.v0.models.QueryFilterStructured;
10060
10086
  export type QueryFilterStructuredForm = io.flow.v0.models.QueryFilterStructuredForm;
10061
10087
  export type QueryFilterUnstructured = io.flow.v0.models.QueryFilterUnstructured;
10062
10088
  export type QueryFilterUnstructuredForm = io.flow.v0.models.QueryFilterUnstructuredForm;
10063
- export type QueryType = io.flow.v0.enums.QueryType;
10064
10089
  export type Quote = io.flow.v0.models.Quote;
10065
10090
  export type QuoteError = io.flow.v0.models.QuoteError;
10066
10091
  export type QuoteErrorCode = io.flow.v0.enums.QuoteErrorCode;
@@ -10100,6 +10125,7 @@ export type RatecardRate = io.flow.v0.models.RatecardRate;
10100
10125
  export type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
10101
10126
  export type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
10102
10127
  export type RatecardReference = io.flow.v0.models.RatecardReference;
10128
+ export type RatecardRegionReference = io.flow.v0.models.RatecardRegionReference;
10103
10129
  export type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
10104
10130
  export type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
10105
10131
  export type RatecardVersion = io.flow.v0.models.RatecardVersion;
@@ -10291,9 +10317,6 @@ export type SubcatalogItemDeleted = io.flow.v0.models.SubcatalogItemDeleted;
10291
10317
  export type SubcatalogItemStatus = io.flow.v0.enums.SubcatalogItemStatus;
10292
10318
  export type SubcatalogItemUpserted = io.flow.v0.models.SubcatalogItemUpserted;
10293
10319
  export type SubcatalogItemVersion = io.flow.v0.models.SubcatalogItemVersion;
10294
- export type SubcatalogQuery = io.flow.v0.models.SubcatalogQuery;
10295
- export type SubcatalogQueryForm = io.flow.v0.models.SubcatalogQueryForm;
10296
- export type SubcatalogQueryValidation = io.flow.v0.models.SubcatalogQueryValidation;
10297
10320
  export type SubcatalogReference = io.flow.v0.models.SubcatalogReference;
10298
10321
  export type SubcatalogSettings = io.flow.v0.models.SubcatalogSettings;
10299
10322
  export type SubcatalogSettingsForm = io.flow.v0.models.SubcatalogSettingsForm;