@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/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';
|
|
@@ -11813,6 +11823,12 @@ declare namespace io.flow.v0.models {
|
|
|
11813
11823
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
11814
11824
|
}
|
|
11815
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
|
+
|
|
11816
11832
|
interface ConsumerInvoiceLineTip {
|
|
11817
11833
|
readonly discriminator: 'tip';
|
|
11818
11834
|
readonly line_id?: string;
|
|
@@ -15449,6 +15465,11 @@ declare namespace io.flow.v0.models {
|
|
|
15449
15465
|
readonly line_items: string[];
|
|
15450
15466
|
}
|
|
15451
15467
|
|
|
15468
|
+
interface OrderStateRejectionReasonOrderCancelled {
|
|
15469
|
+
readonly discriminator: 'order_state_rejection_reason_order_cancelled';
|
|
15470
|
+
readonly channel_event_code: string;
|
|
15471
|
+
}
|
|
15472
|
+
|
|
15452
15473
|
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
15453
15474
|
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
15454
15475
|
readonly deactivation_requested_at: string;
|
|
@@ -18192,6 +18213,7 @@ declare namespace io.flow.v0.models {
|
|
|
18192
18213
|
readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
|
|
18193
18214
|
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
18194
18215
|
readonly mode: io.flow.v0.enums.SellabilityScreeningMode;
|
|
18216
|
+
readonly reprocess_policy?: io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
18195
18217
|
readonly catalog_size?: number;
|
|
18196
18218
|
readonly relative_ranking?: number;
|
|
18197
18219
|
readonly dry_run?: boolean;
|
|
@@ -20332,6 +20354,7 @@ declare namespace io.flow.v0.unions {
|
|
|
20332
20354
|
| io.flow.v0.models.ConsumerInvoiceLineItem
|
|
20333
20355
|
| io.flow.v0.models.ConsumerInvoiceLineDiscount
|
|
20334
20356
|
| io.flow.v0.models.ConsumerInvoiceLineShipping
|
|
20357
|
+
| io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough
|
|
20335
20358
|
| io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
20336
20359
|
type ConsumerInvoiceLineForm =
|
|
20337
20360
|
| io.flow.v0.models.ConsumerInvoiceLineItemForm
|
|
@@ -20656,7 +20679,8 @@ declare namespace io.flow.v0.unions {
|
|
|
20656
20679
|
| io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
|
|
20657
20680
|
| io.flow.v0.models.OrderStateRejectionReasonItemsEmpty
|
|
20658
20681
|
| io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated
|
|
20659
|
-
| io.flow.v0.models.OrderStateRejectionReasonPaymentFraud
|
|
20682
|
+
| io.flow.v0.models.OrderStateRejectionReasonPaymentFraud
|
|
20683
|
+
| io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
20660
20684
|
type PartnerCenterFee =
|
|
20661
20685
|
| io.flow.v0.models.CommercialInvoiceFee
|
|
20662
20686
|
| io.flow.v0.models.InboundCartonFee
|
|
@@ -21302,6 +21326,8 @@ export type ConsumerInvoiceLineShipping =
|
|
|
21302
21326
|
io.flow.v0.models.ConsumerInvoiceLineShipping;
|
|
21303
21327
|
export type ConsumerInvoiceLineShippingForm =
|
|
21304
21328
|
io.flow.v0.models.ConsumerInvoiceLineShippingForm;
|
|
21329
|
+
export type ConsumerInvoiceLineShippingPassThrough =
|
|
21330
|
+
io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough;
|
|
21305
21331
|
export type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip;
|
|
21306
21332
|
export type ConsumerInvoiceLineTipForm =
|
|
21307
21333
|
io.flow.v0.models.ConsumerInvoiceLineTipForm;
|
|
@@ -22129,6 +22155,8 @@ export type OrderStateRejectionReasonDomesticOrder =
|
|
|
22129
22155
|
io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
22130
22156
|
export type OrderStateRejectionReasonItemsEmpty =
|
|
22131
22157
|
io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
22158
|
+
export type OrderStateRejectionReasonOrderCancelled =
|
|
22159
|
+
io.flow.v0.models.OrderStateRejectionReasonOrderCancelled;
|
|
22132
22160
|
export type OrderStateRejectionReasonOrganizationDeactivated =
|
|
22133
22161
|
io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
22134
22162
|
export type OrderStateRejectionReasonPaymentFraud =
|
|
@@ -22738,6 +22766,8 @@ export type SellabilityReasonWithRegions =
|
|
|
22738
22766
|
export type SellabilityRegionResult = io.flow.v0.models.SellabilityRegionResult;
|
|
22739
22767
|
export type SellabilityRegionWithReasons =
|
|
22740
22768
|
io.flow.v0.models.SellabilityRegionWithReasons;
|
|
22769
|
+
export type SellabilityReprocessPolicy =
|
|
22770
|
+
io.flow.v0.enums.SellabilityReprocessPolicy;
|
|
22741
22771
|
export type SellabilityRequest = io.flow.v0.unions.SellabilityRequest;
|
|
22742
22772
|
export type SellabilityRequestStatus =
|
|
22743
22773
|
io.flow.v0.enums.SellabilityRequestStatus;
|