@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/dist/api.d.ts CHANGED
@@ -812,7 +812,7 @@ declare namespace io.flow.v0.enums {
812
812
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
813
813
  type Aggregate = 'maximum' | 'minimum';
814
814
  type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
815
- type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'excluded_regions' | 'facet';
815
+ type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet';
816
816
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
817
817
  type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown';
818
818
  type AuthorizationOption = 'store_card';
@@ -842,7 +842,7 @@ declare namespace io.flow.v0.enums {
842
842
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
843
843
  type DeliveredDuty = 'paid' | 'unpaid';
844
844
  type DeliveredDutyDisplayType = 'all' | 'single';
845
- type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
845
+ 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';
846
846
  type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
847
847
  type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
848
848
  type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
@@ -895,7 +895,7 @@ declare namespace io.flow.v0.enums {
895
895
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
896
896
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
897
897
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
898
- type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
898
+ type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge';
899
899
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
900
900
  type OrderStatus = 'open' | 'submitted';
901
901
  type OrderStorage = 'do_not_persist' | 'persist';
@@ -914,7 +914,6 @@ declare namespace io.flow.v0.enums {
914
914
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
915
915
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
916
916
  type ProvinceType = 'city' | 'dependency' | 'district' | 'emirate' | 'entity' | 'municipality' | 'outlying_area' | 'parish' | 'province' | 'state' | 'territory' | 'other';
917
- type QueryType = 'exclusion' | 'inclusion';
918
917
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
919
918
  type RateType = 'flow' | 'organization';
920
919
  type RatecardOwner = 'flow' | 'organization';
@@ -2329,6 +2328,15 @@ declare namespace io.flow.v0.models {
2329
2328
  interface CustomerPayment {
2330
2329
  readonly payment_methods: io.flow.v0.models.PaymentMethod[];
2331
2330
  }
2331
+ interface CustomerPurgeSettings {
2332
+ readonly id: string;
2333
+ readonly days_until_purge_unused: number;
2334
+ readonly days_until_purge_used: number;
2335
+ }
2336
+ interface CustomerPurgeSettingsForm {
2337
+ readonly days_until_purge_unused: number;
2338
+ readonly days_until_purge_used: number;
2339
+ }
2332
2340
  interface CustomerPutForm {
2333
2341
  readonly email?: string;
2334
2342
  readonly name?: io.flow.v0.models.Name;
@@ -2656,6 +2664,17 @@ declare namespace io.flow.v0.models {
2656
2664
  interface EmailVerification {
2657
2665
  readonly email: string;
2658
2666
  }
2667
+ interface EmergencySituationSurchargeRatecardFee {
2668
+ readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
2669
+ readonly amount: io.flow.v0.models.Money;
2670
+ }
2671
+ interface EmergencySituationSurchargeServiceFee {
2672
+ readonly discriminator: 'emergency_situation_surcharge_service_fee';
2673
+ readonly amount: io.flow.v0.models.Money;
2674
+ readonly origin_region?: io.flow.v0.models.RatecardRegionReference;
2675
+ readonly destination_region?: io.flow.v0.models.RatecardRegionReference;
2676
+ readonly interval_unit?: io.flow.v0.enums.UnitOfMeasurement;
2677
+ }
2659
2678
  interface EstimatedDimensions {
2660
2679
  readonly depth: io.flow.v0.models.Measurement;
2661
2680
  readonly length: io.flow.v0.models.Measurement;
@@ -4055,6 +4074,11 @@ declare namespace io.flow.v0.models {
4055
4074
  readonly type: io.flow.v0.enums.MarginType;
4056
4075
  readonly value: number;
4057
4076
  }
4077
+ interface MarketingFeedsExportType {
4078
+ readonly discriminator: 'marketing_feeds_export_type';
4079
+ readonly organization: io.flow.v0.models.OrganizationReference;
4080
+ readonly feed_ids: string[];
4081
+ }
4058
4082
  interface Measurement {
4059
4083
  readonly value: string;
4060
4084
  readonly units: io.flow.v0.enums.UnitOfMeasurement;
@@ -5649,6 +5673,9 @@ declare namespace io.flow.v0.models {
5649
5673
  interface RatecardReference {
5650
5674
  readonly id: string;
5651
5675
  }
5676
+ interface RatecardRegionReference {
5677
+ readonly id: string;
5678
+ }
5652
5679
  interface RatecardServiceSummary {
5653
5680
  readonly id: string;
5654
5681
  readonly name: string;
@@ -6659,19 +6686,6 @@ declare namespace io.flow.v0.models {
6659
6686
  readonly type: io.flow.v0.enums.ChangeType;
6660
6687
  readonly subcatalog_item: io.flow.v0.models.SubcatalogItem;
6661
6688
  }
6662
- interface SubcatalogQuery {
6663
- readonly id: string;
6664
- readonly q: string;
6665
- readonly type: io.flow.v0.enums.QueryType;
6666
- }
6667
- interface SubcatalogQueryForm {
6668
- readonly q: string;
6669
- readonly type: io.flow.v0.enums.QueryType;
6670
- }
6671
- interface SubcatalogQueryValidation {
6672
- readonly valid: string[];
6673
- readonly invalid: string[];
6674
- }
6675
6689
  interface SubcatalogReference {
6676
6690
  readonly discriminator: 'subcatalog_reference';
6677
6691
  readonly id: string;
@@ -7189,7 +7203,7 @@ declare namespace io.flow.v0.unions {
7189
7203
  type ExpandableSubcatalog = io.flow.v0.models.Subcatalog | io.flow.v0.models.SubcatalogReference;
7190
7204
  type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
7191
7205
  type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
7192
- type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.HarmonizationLandedCostExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType;
7206
+ type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.HarmonizationLandedCostExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType;
7193
7207
  type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
7194
7208
  type FlowRole = {
7195
7209
  discriminator: 'flow_user_role';
@@ -7226,10 +7240,10 @@ declare namespace io.flow.v0.unions {
7226
7240
  type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
7227
7241
  type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2;
7228
7242
  type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
7229
- type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee;
7243
+ type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
7230
7244
  type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
7231
7245
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
7232
- type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee;
7246
+ type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee;
7233
7247
  type Session = io.flow.v0.models.OrganizationSession;
7234
7248
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
7235
7249
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
@@ -7493,6 +7507,8 @@ export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
7493
7507
  export declare type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed;
7494
7508
  export declare type CustomerOrder = io.flow.v0.models.CustomerOrder;
7495
7509
  export declare type CustomerPayment = io.flow.v0.models.CustomerPayment;
7510
+ export declare type CustomerPurgeSettings = io.flow.v0.models.CustomerPurgeSettings;
7511
+ export declare type CustomerPurgeSettingsForm = io.flow.v0.models.CustomerPurgeSettingsForm;
7496
7512
  export declare type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
7497
7513
  export declare type CustomerReference = io.flow.v0.models.CustomerReference;
7498
7514
  export declare type CustomerToken = io.flow.v0.models.CustomerToken;
@@ -7565,6 +7581,8 @@ export declare type EmailNotificationUpserted = io.flow.v0.models.EmailNotificat
7565
7581
  export declare type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
7566
7582
  export declare type EmailRecipient = io.flow.v0.models.EmailRecipient;
7567
7583
  export declare type EmailVerification = io.flow.v0.models.EmailVerification;
7584
+ export declare type EmergencySituationSurchargeRatecardFee = io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
7585
+ export declare type EmergencySituationSurchargeServiceFee = io.flow.v0.models.EmergencySituationSurchargeServiceFee;
7568
7586
  export declare type Environment = io.flow.v0.enums.Environment;
7569
7587
  export declare type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
7570
7588
  export declare type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
@@ -7850,6 +7868,7 @@ export declare type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDe
7850
7868
  export declare type ManifestedLabelUpserted = io.flow.v0.models.ManifestedLabelUpserted;
7851
7869
  export declare type Margin = io.flow.v0.models.Margin;
7852
7870
  export declare type MarginType = io.flow.v0.enums.MarginType;
7871
+ export declare type MarketingFeedsExportType = io.flow.v0.models.MarketingFeedsExportType;
7853
7872
  export declare type Measurement = io.flow.v0.models.Measurement;
7854
7873
  export declare type MeasurementSystem = io.flow.v0.enums.MeasurementSystem;
7855
7874
  export declare type Membership = io.flow.v0.models.Membership;
@@ -8104,7 +8123,6 @@ export declare type QueryFilterStructured = io.flow.v0.models.QueryFilterStructu
8104
8123
  export declare type QueryFilterStructuredForm = io.flow.v0.models.QueryFilterStructuredForm;
8105
8124
  export declare type QueryFilterUnstructured = io.flow.v0.models.QueryFilterUnstructured;
8106
8125
  export declare type QueryFilterUnstructuredForm = io.flow.v0.models.QueryFilterUnstructuredForm;
8107
- export declare type QueryType = io.flow.v0.enums.QueryType;
8108
8126
  export declare type Quote = io.flow.v0.models.Quote;
8109
8127
  export declare type QuoteError = io.flow.v0.models.QuoteError;
8110
8128
  export declare type QuoteErrorCode = io.flow.v0.enums.QuoteErrorCode;
@@ -8144,6 +8162,7 @@ export declare type RatecardRate = io.flow.v0.models.RatecardRate;
8144
8162
  export declare type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
8145
8163
  export declare type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
8146
8164
  export declare type RatecardReference = io.flow.v0.models.RatecardReference;
8165
+ export declare type RatecardRegionReference = io.flow.v0.models.RatecardRegionReference;
8147
8166
  export declare type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
8148
8167
  export declare type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
8149
8168
  export declare type RatecardVersion = io.flow.v0.models.RatecardVersion;
@@ -8335,9 +8354,6 @@ export declare type SubcatalogItemDeleted = io.flow.v0.models.SubcatalogItemDele
8335
8354
  export declare type SubcatalogItemStatus = io.flow.v0.enums.SubcatalogItemStatus;
8336
8355
  export declare type SubcatalogItemUpserted = io.flow.v0.models.SubcatalogItemUpserted;
8337
8356
  export declare type SubcatalogItemVersion = io.flow.v0.models.SubcatalogItemVersion;
8338
- export declare type SubcatalogQuery = io.flow.v0.models.SubcatalogQuery;
8339
- export declare type SubcatalogQueryForm = io.flow.v0.models.SubcatalogQueryForm;
8340
- export declare type SubcatalogQueryValidation = io.flow.v0.models.SubcatalogQueryValidation;
8341
8357
  export declare type SubcatalogReference = io.flow.v0.models.SubcatalogReference;
8342
8358
  export declare type SubcatalogSettings = io.flow.v0.models.SubcatalogSettings;
8343
8359
  export declare type SubcatalogSettingsForm = io.flow.v0.models.SubcatalogSettingsForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "9.1.5",
3
+ "version": "9.1.7",
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,7 +25,7 @@
25
25
  ],
26
26
  "devDependencies": {
27
27
  "prettier": "^1.18.2",
28
- "typescript": "^3.6.3"
28
+ "typescript": "3.8.3"
29
29
  },
30
- "gitHead": "4e9e0f325445e4bd770b3cd56dd63a6b372ae7bc"
30
+ "gitHead": "d73f6007bb63eb587eb82a5a8220bea21888bf03"
31
31
  }