@flowio/types 9.1.5 → 9.1.6
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-internal.d.ts +336 -489
- package/dist/api.d.ts +67 -51
- package/package.json +3 -3
- package/src/api-internal.ts +402 -565
- package/src/api.ts +76 -53
package/dist/api.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
317
317
|
readonly requires_shipping: boolean;
|
|
318
318
|
readonly currency?: string;
|
|
319
319
|
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
320
|
-
readonly cart_level_discount_applications
|
|
320
|
+
readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
321
321
|
}
|
|
322
322
|
interface ShopifyCartItem {
|
|
323
323
|
readonly id: number;
|
|
@@ -331,7 +331,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
331
331
|
readonly original_line_price: number;
|
|
332
332
|
readonly total_discount: number;
|
|
333
333
|
readonly discounted_price: number;
|
|
334
|
-
readonly discounts
|
|
334
|
+
readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
335
335
|
readonly taxable: boolean;
|
|
336
336
|
readonly quantity: number;
|
|
337
337
|
readonly sku?: string;
|
|
@@ -349,8 +349,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
349
349
|
readonly product_description?: string;
|
|
350
350
|
readonly product_type: string;
|
|
351
351
|
readonly variant_title?: string;
|
|
352
|
-
readonly variant_options
|
|
353
|
-
readonly line_level_discount_allocations
|
|
352
|
+
readonly variant_options: string[];
|
|
353
|
+
readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
354
354
|
}
|
|
355
355
|
interface ShopifyCartItemDiscount {
|
|
356
356
|
readonly amount: number;
|
|
@@ -372,7 +372,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
372
372
|
readonly tax_exempt: boolean;
|
|
373
373
|
readonly verified_email: boolean;
|
|
374
374
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
375
|
-
readonly accepts_marketing
|
|
375
|
+
readonly accepts_marketing: boolean;
|
|
376
376
|
readonly default_address?: any;
|
|
377
377
|
readonly email?: string;
|
|
378
378
|
readonly first_name?: string;
|
|
@@ -644,11 +644,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
644
644
|
readonly updated_at?: string;
|
|
645
645
|
readonly user_id?: number;
|
|
646
646
|
readonly order_status_url?: string;
|
|
647
|
-
readonly inventory_behaviour
|
|
647
|
+
readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
648
648
|
readonly gateway?: string;
|
|
649
649
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
650
650
|
readonly send_receipt?: boolean;
|
|
651
|
-
readonly metafields
|
|
651
|
+
readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
652
652
|
}
|
|
653
653
|
interface ShopifyOrderCount {
|
|
654
654
|
readonly count: number;
|
|
@@ -765,7 +765,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
765
765
|
}
|
|
766
766
|
interface ShopifyWebhookOrder {
|
|
767
767
|
readonly id?: number;
|
|
768
|
-
readonly line_items
|
|
768
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
769
769
|
}
|
|
770
770
|
interface ShopifyWebhookOrderCancelled {
|
|
771
771
|
readonly id: number;
|
|
@@ -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' | '
|
|
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';
|
|
@@ -1100,7 +1099,7 @@ declare namespace io.flow.v0.models {
|
|
|
1100
1099
|
readonly rate: number;
|
|
1101
1100
|
readonly name: string;
|
|
1102
1101
|
readonly price?: io.flow.v0.models.PriceWithBase;
|
|
1103
|
-
readonly accuracy
|
|
1102
|
+
readonly accuracy: io.flow.v0.enums.PriceAccuracy;
|
|
1104
1103
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
1105
1104
|
}
|
|
1106
1105
|
interface AllocationLineDetail {
|
|
@@ -1487,7 +1486,7 @@ declare namespace io.flow.v0.models {
|
|
|
1487
1486
|
readonly requested?: io.flow.v0.models.Money;
|
|
1488
1487
|
readonly created_at: string;
|
|
1489
1488
|
readonly attributes?: Record<string, string>;
|
|
1490
|
-
readonly status
|
|
1489
|
+
readonly status: io.flow.v0.enums.CaptureStatus;
|
|
1491
1490
|
readonly base?: io.flow.v0.models.Money;
|
|
1492
1491
|
}
|
|
1493
1492
|
interface CaptureDeleted {
|
|
@@ -1564,7 +1563,7 @@ declare namespace io.flow.v0.models {
|
|
|
1564
1563
|
readonly discriminator: 'card_authorization';
|
|
1565
1564
|
readonly id: string;
|
|
1566
1565
|
readonly key: string;
|
|
1567
|
-
readonly merchant_of_record
|
|
1566
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
1568
1567
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
1569
1568
|
readonly card: io.flow.v0.unions.ExpandableCard;
|
|
1570
1569
|
readonly amount: number;
|
|
@@ -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;
|
|
@@ -2560,7 +2568,7 @@ declare namespace io.flow.v0.models {
|
|
|
2560
2568
|
}
|
|
2561
2569
|
interface DiscountForm {
|
|
2562
2570
|
readonly offer: io.flow.v0.unions.DiscountOffer;
|
|
2563
|
-
readonly target
|
|
2571
|
+
readonly target: io.flow.v0.enums.DiscountTarget;
|
|
2564
2572
|
readonly label?: string;
|
|
2565
2573
|
}
|
|
2566
2574
|
interface DiscountOfferFixed {
|
|
@@ -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;
|
|
@@ -3551,7 +3570,7 @@ declare namespace io.flow.v0.models {
|
|
|
3551
3570
|
readonly organization: string;
|
|
3552
3571
|
readonly email: string;
|
|
3553
3572
|
readonly name?: io.flow.v0.models.Name;
|
|
3554
|
-
readonly role
|
|
3573
|
+
readonly role: io.flow.v0.enums.Role;
|
|
3555
3574
|
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
3556
3575
|
}
|
|
3557
3576
|
interface InvitationVersion {
|
|
@@ -3979,7 +3998,7 @@ declare namespace io.flow.v0.models {
|
|
|
3979
3998
|
readonly base: io.flow.v0.models.Price;
|
|
3980
3999
|
readonly name: string;
|
|
3981
4000
|
readonly adjustment?: io.flow.v0.models.LocalizedAdjustment;
|
|
3982
|
-
readonly accuracy
|
|
4001
|
+
readonly accuracy: io.flow.v0.enums.PriceAccuracy;
|
|
3983
4002
|
readonly basis?: io.flow.v0.models.MoneyWithBase;
|
|
3984
4003
|
}
|
|
3985
4004
|
interface LocalizedLineItem {
|
|
@@ -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;
|
|
@@ -4075,12 +4099,12 @@ declare namespace io.flow.v0.models {
|
|
|
4075
4099
|
interface MembershipForm {
|
|
4076
4100
|
readonly organization: string;
|
|
4077
4101
|
readonly user: string;
|
|
4078
|
-
readonly role
|
|
4079
|
-
readonly roles
|
|
4102
|
+
readonly role: io.flow.v0.enums.Role;
|
|
4103
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
4080
4104
|
}
|
|
4081
4105
|
interface MembershipPutForm {
|
|
4082
|
-
readonly role
|
|
4083
|
-
readonly roles
|
|
4106
|
+
readonly role: io.flow.v0.enums.Role;
|
|
4107
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
4084
4108
|
}
|
|
4085
4109
|
interface MembershipUpsertedV2 {
|
|
4086
4110
|
readonly discriminator: 'membership_upserted_v2';
|
|
@@ -4231,7 +4255,7 @@ declare namespace io.flow.v0.models {
|
|
|
4231
4255
|
readonly id: string;
|
|
4232
4256
|
readonly key: string;
|
|
4233
4257
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
4234
|
-
readonly merchant_of_record
|
|
4258
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
4235
4259
|
readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
4236
4260
|
readonly payment?: any;
|
|
4237
4261
|
readonly amount: number;
|
|
@@ -4512,7 +4536,7 @@ declare namespace io.flow.v0.models {
|
|
|
4512
4536
|
}
|
|
4513
4537
|
interface OrderNumberGeneratorUuid {
|
|
4514
4538
|
readonly discriminator: 'uuid';
|
|
4515
|
-
readonly prefix
|
|
4539
|
+
readonly prefix: string;
|
|
4516
4540
|
}
|
|
4517
4541
|
interface OrderNumberReference {
|
|
4518
4542
|
readonly number: string;
|
|
@@ -4523,13 +4547,13 @@ declare namespace io.flow.v0.models {
|
|
|
4523
4547
|
interface OrderPayment {
|
|
4524
4548
|
readonly id: string;
|
|
4525
4549
|
readonly type: io.flow.v0.enums.OrderPaymentType;
|
|
4526
|
-
readonly merchant_of_record
|
|
4550
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
4527
4551
|
readonly reference: string;
|
|
4528
4552
|
readonly description: string;
|
|
4529
4553
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
4530
4554
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
4531
4555
|
readonly date?: string;
|
|
4532
|
-
readonly attributes
|
|
4556
|
+
readonly attributes: Record<string, string>;
|
|
4533
4557
|
}
|
|
4534
4558
|
interface OrderPlaced {
|
|
4535
4559
|
readonly discriminator: 'order_placed';
|
|
@@ -4622,7 +4646,7 @@ declare namespace io.flow.v0.models {
|
|
|
4622
4646
|
readonly filename?: string;
|
|
4623
4647
|
}
|
|
4624
4648
|
interface OrderSubmissionForm {
|
|
4625
|
-
readonly identifiers
|
|
4649
|
+
readonly identifiers: io.flow.v0.models.OrderSubmissionIdentifierForm[];
|
|
4626
4650
|
}
|
|
4627
4651
|
interface OrderSubmissionIdentifierForm {
|
|
4628
4652
|
readonly identifier: string;
|
|
@@ -5153,7 +5177,7 @@ declare namespace io.flow.v0.models {
|
|
|
5153
5177
|
readonly currency: string;
|
|
5154
5178
|
readonly name: string;
|
|
5155
5179
|
readonly includes: io.flow.v0.enums.IncludedLevyKey;
|
|
5156
|
-
readonly status
|
|
5180
|
+
readonly status: io.flow.v0.enums.PriceBookStatus;
|
|
5157
5181
|
}
|
|
5158
5182
|
interface PriceBookItem {
|
|
5159
5183
|
readonly id: string;
|
|
@@ -5561,7 +5585,7 @@ declare namespace io.flow.v0.models {
|
|
|
5561
5585
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
5562
5586
|
readonly service: string;
|
|
5563
5587
|
readonly number?: string;
|
|
5564
|
-
readonly ratecard_owner
|
|
5588
|
+
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
5565
5589
|
}
|
|
5566
5590
|
interface RatecardLane {
|
|
5567
5591
|
readonly id: string;
|
|
@@ -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;
|
|
@@ -5705,7 +5732,7 @@ declare namespace io.flow.v0.models {
|
|
|
5705
5732
|
readonly captures: io.flow.v0.models.RefundCaptureSummary[];
|
|
5706
5733
|
readonly created_at: string;
|
|
5707
5734
|
readonly attributes?: Record<string, string>;
|
|
5708
|
-
readonly status
|
|
5735
|
+
readonly status: io.flow.v0.enums.RefundStatus;
|
|
5709
5736
|
readonly base?: io.flow.v0.models.Money;
|
|
5710
5737
|
}
|
|
5711
5738
|
interface RefundCapture {
|
|
@@ -5715,7 +5742,7 @@ declare namespace io.flow.v0.models {
|
|
|
5715
5742
|
readonly amount: number;
|
|
5716
5743
|
readonly currency: string;
|
|
5717
5744
|
readonly base: io.flow.v0.models.Money;
|
|
5718
|
-
readonly status
|
|
5745
|
+
readonly status: io.flow.v0.enums.RefundStatus;
|
|
5719
5746
|
}
|
|
5720
5747
|
interface RefundCaptureSummary {
|
|
5721
5748
|
readonly capture: io.flow.v0.models.Capture;
|
|
@@ -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.
|
|
3
|
+
"version": "9.1.6",
|
|
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": "
|
|
28
|
+
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "63b63a04841f781c70cd9f9d76146eb64d442e2f"
|
|
31
31
|
}
|