@flowio/types 11.24.144 → 11.24.145
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 +393 -43
- package/dist/api.d.ts +22 -3
- package/package.json +1 -1
- package/src/api-internal.ts +523 -52
- package/src/api.ts +32 -2
package/dist/api.d.ts
CHANGED
|
@@ -368,6 +368,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
368
368
|
readonly has_variants_that_requires_components?: boolean;
|
|
369
369
|
readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory;
|
|
370
370
|
readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
|
|
371
|
+
readonly variant_gids?: io.flow.shopify.external.v0.models.ProductVariantGid[];
|
|
371
372
|
}
|
|
372
373
|
interface ProductDelete {
|
|
373
374
|
readonly id: number;
|
|
@@ -417,6 +418,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
417
418
|
readonly requires_shipping?: boolean;
|
|
418
419
|
readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
|
|
419
420
|
}
|
|
421
|
+
interface ProductVariantGid {
|
|
422
|
+
readonly admin_graphql_api_id: string;
|
|
423
|
+
readonly updated_at: string;
|
|
424
|
+
}
|
|
420
425
|
interface RequestMetafieldForm {
|
|
421
426
|
readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
|
|
422
427
|
}
|
|
@@ -6605,6 +6610,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6605
6610
|
type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
|
|
6606
6611
|
type ScheduleExceptionStatus = 'Open' | 'Closed';
|
|
6607
6612
|
type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable';
|
|
6613
|
+
type SellabilityReprocessPolicy = 'default' | 'force';
|
|
6608
6614
|
type SellabilityRequestStatus = 'commit';
|
|
6609
6615
|
type SellabilityResultErrorCode = 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable' | 'generic_error' | 'catalog_processing_threshold';
|
|
6610
6616
|
type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
|
|
@@ -6628,7 +6634,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6628
6634
|
type TaxAndDutyInclusivitySetting = 'duty_exclusive_tax_exclusive' | 'duty_inclusive_tax_exclusive' | 'duty_exclusive_tax_inclusive' | 'duty_inclusive_tax_inclusive';
|
|
6629
6635
|
type TaxApplicability = 'none' | 'all';
|
|
6630
6636
|
type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified';
|
|
6631
|
-
type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'wyol_shipment_lvg' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture';
|
|
6637
|
+
type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'wyol_shipment_lvg' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture' | 'order_cancellation_marked_as_paid' | 'order_cancellation_after_capture' | 'order_rejection';
|
|
6632
6638
|
type TaxJurisdictionType = 'country' | 'province';
|
|
6633
6639
|
type TaxReportType = 'consumer' | 'b2b';
|
|
6634
6640
|
type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
|
|
@@ -8438,6 +8444,11 @@ declare namespace io.flow.v0.models {
|
|
|
8438
8444
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
8439
8445
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
8440
8446
|
}
|
|
8447
|
+
interface ConsumerInvoiceLineShippingPassThrough {
|
|
8448
|
+
readonly discriminator: 'shipping_pass_through';
|
|
8449
|
+
readonly line_id?: string;
|
|
8450
|
+
readonly price: io.flow.v0.models.Price;
|
|
8451
|
+
}
|
|
8441
8452
|
interface ConsumerInvoiceLineTip {
|
|
8442
8453
|
readonly discriminator: 'tip';
|
|
8443
8454
|
readonly line_id?: string;
|
|
@@ -11553,6 +11564,10 @@ declare namespace io.flow.v0.models {
|
|
|
11553
11564
|
readonly discriminator: 'order_state_rejection_reason_items_empty';
|
|
11554
11565
|
readonly line_items: string[];
|
|
11555
11566
|
}
|
|
11567
|
+
interface OrderStateRejectionReasonOrderCancelled {
|
|
11568
|
+
readonly discriminator: 'order_state_rejection_reason_order_cancelled';
|
|
11569
|
+
readonly channel_event_code: string;
|
|
11570
|
+
}
|
|
11556
11571
|
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
11557
11572
|
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
11558
11573
|
readonly deactivation_requested_at: string;
|
|
@@ -13917,6 +13932,7 @@ declare namespace io.flow.v0.models {
|
|
|
13917
13932
|
readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
|
|
13918
13933
|
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
13919
13934
|
readonly mode: io.flow.v0.enums.SellabilityScreeningMode;
|
|
13935
|
+
readonly reprocess_policy?: io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
13920
13936
|
readonly catalog_size?: number;
|
|
13921
13937
|
readonly relative_ranking?: number;
|
|
13922
13938
|
readonly dry_run?: boolean;
|
|
@@ -15715,7 +15731,7 @@ declare namespace io.flow.v0.unions {
|
|
|
15715
15731
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
15716
15732
|
type CheckoutTokenForm = io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
15717
15733
|
type ConfirmationDetails = io.flow.v0.models.DirectDebit | io.flow.v0.models.CardConfirmationSummary;
|
|
15718
|
-
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping | io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
15734
|
+
type ConsumerInvoiceLine = io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping | io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough | io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
15719
15735
|
type ConsumerInvoiceLineForm = io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm | io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
15720
15736
|
type Delivery = io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery;
|
|
15721
15737
|
type Deminimis = io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem;
|
|
@@ -15761,7 +15777,7 @@ declare namespace io.flow.v0.unions {
|
|
|
15761
15777
|
type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
|
|
15762
15778
|
type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
|
|
15763
15779
|
type OrderRefundSummaryForm = io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm;
|
|
15764
|
-
type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated | io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
|
|
15780
|
+
type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated | io.flow.v0.models.OrderStateRejectionReasonPaymentFraud | io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
15765
15781
|
type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
|
|
15766
15782
|
type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
|
|
15767
15783
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
@@ -16137,6 +16153,7 @@ export declare type ConsumerInvoiceLineItem = io.flow.v0.models.ConsumerInvoiceL
|
|
|
16137
16153
|
export declare type ConsumerInvoiceLineItemForm = io.flow.v0.models.ConsumerInvoiceLineItemForm;
|
|
16138
16154
|
export declare type ConsumerInvoiceLineShipping = io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
16139
16155
|
export declare type ConsumerInvoiceLineShippingForm = io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
16156
|
+
export declare type ConsumerInvoiceLineShippingPassThrough = io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough;
|
|
16140
16157
|
export declare type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
16141
16158
|
export declare type ConsumerInvoiceLineTipForm = io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
16142
16159
|
export declare type ConsumerInvoiceOrderSummary = io.flow.v0.models.ConsumerInvoiceOrderSummary;
|
|
@@ -16795,6 +16812,7 @@ export declare type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted;
|
|
|
16795
16812
|
export declare type OrderStateRejectionReason = io.flow.v0.unions.OrderStateRejectionReason;
|
|
16796
16813
|
export declare type OrderStateRejectionReasonDomesticOrder = io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
16797
16814
|
export declare type OrderStateRejectionReasonItemsEmpty = io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
16815
|
+
export declare type OrderStateRejectionReasonOrderCancelled = io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
16798
16816
|
export declare type OrderStateRejectionReasonOrganizationDeactivated = io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
16799
16817
|
export declare type OrderStateRejectionReasonPaymentFraud = io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
|
|
16800
16818
|
export declare type OrderStateRejectionReasonRestrictedItem = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
@@ -17262,6 +17280,7 @@ export declare type SellabilityNeedsActionAttributes = io.flow.v0.models.Sellabi
|
|
|
17262
17280
|
export declare type SellabilityReasonWithRegions = io.flow.v0.models.SellabilityReasonWithRegions;
|
|
17263
17281
|
export declare type SellabilityRegionResult = io.flow.v0.models.SellabilityRegionResult;
|
|
17264
17282
|
export declare type SellabilityRegionWithReasons = io.flow.v0.models.SellabilityRegionWithReasons;
|
|
17283
|
+
export declare type SellabilityReprocessPolicy = io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
17265
17284
|
export declare type SellabilityRequest = io.flow.v0.unions.SellabilityRequest;
|
|
17266
17285
|
export declare type SellabilityRequestStatus = io.flow.v0.enums.SellabilityRequestStatus;
|
|
17267
17286
|
export declare type SellabilityResponse = io.flow.v0.unions.SellabilityResponse;
|