@flowio/types 11.24.143 → 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 +429 -46
- package/dist/api.d.ts +23 -4
- package/package.json +1 -1
- package/src/api-internal.ts +571 -55
- package/src/api.ts +34 -3
package/src/api.ts
CHANGED
|
@@ -533,6 +533,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
533
533
|
readonly has_variants_that_requires_components?: boolean;
|
|
534
534
|
readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory;
|
|
535
535
|
readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
|
|
536
|
+
readonly variant_gids?: io.flow.shopify.external.v0.models.ProductVariantGid[];
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
interface ProductDelete {
|
|
@@ -587,6 +588,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
587
588
|
readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
|
|
588
589
|
}
|
|
589
590
|
|
|
591
|
+
interface ProductVariantGid {
|
|
592
|
+
readonly admin_graphql_api_id: string;
|
|
593
|
+
readonly updated_at: string;
|
|
594
|
+
}
|
|
595
|
+
|
|
590
596
|
interface RequestMetafieldForm {
|
|
591
597
|
readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
|
|
592
598
|
}
|
|
@@ -9493,6 +9499,7 @@ declare namespace io.flow.v0.enums {
|
|
|
9493
9499
|
| 'ineligible_category'
|
|
9494
9500
|
| 'wait_for_high_fidelity'
|
|
9495
9501
|
| 'external_service_unavailable';
|
|
9502
|
+
type SellabilityReprocessPolicy = 'default' | 'force';
|
|
9496
9503
|
type SellabilityRequestStatus = 'commit';
|
|
9497
9504
|
type SellabilityResultErrorCode =
|
|
9498
9505
|
| 'insufficient_details'
|
|
@@ -9618,7 +9625,10 @@ declare namespace io.flow.v0.enums {
|
|
|
9618
9625
|
| 'wyol_shipment_lvg'
|
|
9619
9626
|
| 'full_refund_without_shipment'
|
|
9620
9627
|
| 'unfulfilled_order_above_de_min'
|
|
9621
|
-
| 'order_cancellation_without_capture'
|
|
9628
|
+
| 'order_cancellation_without_capture'
|
|
9629
|
+
| 'order_cancellation_marked_as_paid'
|
|
9630
|
+
| 'order_cancellation_after_capture'
|
|
9631
|
+
| 'order_rejection';
|
|
9622
9632
|
type TaxJurisdictionType = 'country' | 'province';
|
|
9623
9633
|
type TaxReportType = 'consumer' | 'b2b';
|
|
9624
9634
|
type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
|
|
@@ -9691,7 +9701,8 @@ declare namespace io.flow.v0.enums {
|
|
|
9691
9701
|
| 'b2b_fee_mor_tax'
|
|
9692
9702
|
| 'b2b_fee_shipping_tax'
|
|
9693
9703
|
| 'flat_rate_label'
|
|
9694
|
-
| 'flat_rate_label_subsidy'
|
|
9704
|
+
| 'flat_rate_label_subsidy'
|
|
9705
|
+
| 'credit_refund';
|
|
9695
9706
|
type TransferStatus = 'succeeded' | 'canceled';
|
|
9696
9707
|
type TransferType =
|
|
9697
9708
|
| 'payout_to_merchant'
|
|
@@ -11812,6 +11823,12 @@ declare namespace io.flow.v0.models {
|
|
|
11812
11823
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
11813
11824
|
}
|
|
11814
11825
|
|
|
11826
|
+
interface ConsumerInvoiceLineShippingPassThrough {
|
|
11827
|
+
readonly discriminator: 'shipping_pass_through';
|
|
11828
|
+
readonly line_id?: string;
|
|
11829
|
+
readonly price: io.flow.v0.models.Price;
|
|
11830
|
+
}
|
|
11831
|
+
|
|
11815
11832
|
interface ConsumerInvoiceLineTip {
|
|
11816
11833
|
readonly discriminator: 'tip';
|
|
11817
11834
|
readonly line_id?: string;
|
|
@@ -15448,6 +15465,11 @@ declare namespace io.flow.v0.models {
|
|
|
15448
15465
|
readonly line_items: string[];
|
|
15449
15466
|
}
|
|
15450
15467
|
|
|
15468
|
+
interface OrderStateRejectionReasonOrderCancelled {
|
|
15469
|
+
readonly discriminator: 'order_state_rejection_reason_order_cancelled';
|
|
15470
|
+
readonly channel_event_code: string;
|
|
15471
|
+
}
|
|
15472
|
+
|
|
15451
15473
|
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
15452
15474
|
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
15453
15475
|
readonly deactivation_requested_at: string;
|
|
@@ -18191,6 +18213,7 @@ declare namespace io.flow.v0.models {
|
|
|
18191
18213
|
readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
|
|
18192
18214
|
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
18193
18215
|
readonly mode: io.flow.v0.enums.SellabilityScreeningMode;
|
|
18216
|
+
readonly reprocess_policy?: io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
18194
18217
|
readonly catalog_size?: number;
|
|
18195
18218
|
readonly relative_ranking?: number;
|
|
18196
18219
|
readonly dry_run?: boolean;
|
|
@@ -20331,6 +20354,7 @@ declare namespace io.flow.v0.unions {
|
|
|
20331
20354
|
| io.flow.v0.models.ConsumerInvoiceLineItem
|
|
20332
20355
|
| io.flow.v0.models.ConsumerInvoiceLineDiscount
|
|
20333
20356
|
| io.flow.v0.models.ConsumerInvoiceLineShipping
|
|
20357
|
+
| io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough
|
|
20334
20358
|
| io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
20335
20359
|
type ConsumerInvoiceLineForm =
|
|
20336
20360
|
| io.flow.v0.models.ConsumerInvoiceLineItemForm
|
|
@@ -20655,7 +20679,8 @@ declare namespace io.flow.v0.unions {
|
|
|
20655
20679
|
| io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
|
|
20656
20680
|
| io.flow.v0.models.OrderStateRejectionReasonItemsEmpty
|
|
20657
20681
|
| io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated
|
|
20658
|
-
| io.flow.v0.models.OrderStateRejectionReasonPaymentFraud
|
|
20682
|
+
| io.flow.v0.models.OrderStateRejectionReasonPaymentFraud
|
|
20683
|
+
| io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
20659
20684
|
type PartnerCenterFee =
|
|
20660
20685
|
| io.flow.v0.models.CommercialInvoiceFee
|
|
20661
20686
|
| io.flow.v0.models.InboundCartonFee
|
|
@@ -21301,6 +21326,8 @@ export type ConsumerInvoiceLineShipping =
|
|
|
21301
21326
|
io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
21302
21327
|
export type ConsumerInvoiceLineShippingForm =
|
|
21303
21328
|
io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
21329
|
+
export type ConsumerInvoiceLineShippingPassThrough =
|
|
21330
|
+
io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough;
|
|
21304
21331
|
export type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
21305
21332
|
export type ConsumerInvoiceLineTipForm =
|
|
21306
21333
|
io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
@@ -22128,6 +22155,8 @@ export type OrderStateRejectionReasonDomesticOrder =
|
|
|
22128
22155
|
io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
22129
22156
|
export type OrderStateRejectionReasonItemsEmpty =
|
|
22130
22157
|
io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
22158
|
+
export type OrderStateRejectionReasonOrderCancelled =
|
|
22159
|
+
io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
22131
22160
|
export type OrderStateRejectionReasonOrganizationDeactivated =
|
|
22132
22161
|
io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
22133
22162
|
export type OrderStateRejectionReasonPaymentFraud =
|
|
@@ -22737,6 +22766,8 @@ export type SellabilityReasonWithRegions =
|
|
|
22737
22766
|
export type SellabilityRegionResult = io.flow.v0.models.SellabilityRegionResult;
|
|
22738
22767
|
export type SellabilityRegionWithReasons =
|
|
22739
22768
|
io.flow.v0.models.SellabilityRegionWithReasons;
|
|
22769
|
+
export type SellabilityReprocessPolicy =
|
|
22770
|
+
io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
22740
22771
|
export type SellabilityRequest = io.flow.v0.unions.SellabilityRequest;
|
|
22741
22772
|
export type SellabilityRequestStatus =
|
|
22742
22773
|
io.flow.v0.enums.SellabilityRequestStatus;
|