@flowio/types 11.19.10 → 11.19.12
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 +1053 -884
- package/dist/api.d.ts +42 -5
- package/package.json +2 -2
- package/src/api-internal.ts +4869 -4653
- package/src/api.ts +57 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -292,6 +292,9 @@ declare namespace io.flow.common.v0.models {
|
|
|
292
292
|
readonly name: string;
|
|
293
293
|
readonly attributes: Record<string, string>;
|
|
294
294
|
}
|
|
295
|
+
interface ChannelReference {
|
|
296
|
+
readonly id: string;
|
|
297
|
+
}
|
|
295
298
|
interface CheckoutReference {
|
|
296
299
|
readonly id: string;
|
|
297
300
|
}
|
|
@@ -600,7 +603,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
600
603
|
type ExperiencePaymentMethodTag = 'display';
|
|
601
604
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
602
605
|
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';
|
|
603
|
-
type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
|
|
606
|
+
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
604
607
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
605
608
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
606
609
|
type OrderStatus = 'open' | 'submitted';
|
|
@@ -1537,6 +1540,10 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1537
1540
|
readonly weight: io.flow.common.v0.models.Measurement;
|
|
1538
1541
|
readonly width: io.flow.common.v0.models.Measurement;
|
|
1539
1542
|
}
|
|
1543
|
+
interface FeeWeight {
|
|
1544
|
+
readonly weight: number;
|
|
1545
|
+
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
1546
|
+
}
|
|
1540
1547
|
interface FuelSurchargeRatecardFee {
|
|
1541
1548
|
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
1542
1549
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1566,6 +1573,14 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1566
1573
|
readonly margin?: number;
|
|
1567
1574
|
readonly amount?: number;
|
|
1568
1575
|
}
|
|
1576
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
1577
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
1578
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1579
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
1580
|
+
readonly regions?: string[];
|
|
1581
|
+
readonly starts_at?: string;
|
|
1582
|
+
readonly ends_at?: string;
|
|
1583
|
+
}
|
|
1569
1584
|
interface PeakSurchargeRatecardFee {
|
|
1570
1585
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
1571
1586
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1769,7 +1784,7 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
1769
1784
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
1770
1785
|
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
1771
1786
|
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
|
|
1772
|
-
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
|
|
1787
|
+
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
|
|
1773
1788
|
}
|
|
1774
1789
|
declare namespace io.flow.error.v0.enums {
|
|
1775
1790
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
@@ -1921,615 +1936,136 @@ declare namespace io.flow.price.v0.models {
|
|
|
1921
1936
|
declare namespace io.flow.price.v0.unions {
|
|
1922
1937
|
type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
|
|
1923
1938
|
}
|
|
1924
|
-
declare namespace io.flow.
|
|
1925
|
-
type
|
|
1926
|
-
type
|
|
1927
|
-
type
|
|
1928
|
-
type
|
|
1929
|
-
type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
|
|
1930
|
-
type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
|
|
1931
|
-
type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
|
|
1932
|
-
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
1933
|
-
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
1934
|
-
type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
1935
|
-
type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
|
|
1936
|
-
type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
1937
|
-
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1938
|
-
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1939
|
-
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
1940
|
-
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1941
|
-
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
1942
|
-
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
1943
|
-
type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
1944
|
-
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1945
|
-
type ShopifyOrderValueType = 'string' | 'integer';
|
|
1946
|
-
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
1947
|
-
type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
1939
|
+
declare namespace io.flow.reference.v0.enums {
|
|
1940
|
+
type PaymentMethodCapability = 'credit' | 'debit';
|
|
1941
|
+
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
1942
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
1943
|
+
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
1948
1944
|
}
|
|
1949
|
-
declare namespace io.flow.
|
|
1950
|
-
interface
|
|
1951
|
-
readonly
|
|
1945
|
+
declare namespace io.flow.reference.v0.models {
|
|
1946
|
+
interface Carrier {
|
|
1947
|
+
readonly id: string;
|
|
1948
|
+
readonly name: string;
|
|
1949
|
+
readonly tracking_url: string;
|
|
1952
1950
|
}
|
|
1953
|
-
interface
|
|
1954
|
-
readonly
|
|
1955
|
-
readonly
|
|
1951
|
+
interface CarrierService {
|
|
1952
|
+
readonly id: string;
|
|
1953
|
+
readonly carrier: io.flow.reference.v0.models.Carrier;
|
|
1954
|
+
readonly name: string;
|
|
1956
1955
|
}
|
|
1957
|
-
interface
|
|
1958
|
-
readonly
|
|
1956
|
+
interface Country {
|
|
1957
|
+
readonly name: string;
|
|
1958
|
+
readonly iso_3166_2: string;
|
|
1959
|
+
readonly iso_3166_3: string;
|
|
1960
|
+
readonly languages: string[];
|
|
1961
|
+
readonly measurement_system: string;
|
|
1962
|
+
readonly default_currency?: string;
|
|
1963
|
+
readonly default_language?: string;
|
|
1964
|
+
readonly timezones: string[];
|
|
1965
|
+
readonly default_delivered_duty?: string;
|
|
1959
1966
|
}
|
|
1960
|
-
interface
|
|
1961
|
-
readonly
|
|
1962
|
-
readonly
|
|
1967
|
+
interface Currency {
|
|
1968
|
+
readonly name: string;
|
|
1969
|
+
readonly iso_4217_3: string;
|
|
1970
|
+
readonly number_decimals: number;
|
|
1971
|
+
readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
|
|
1972
|
+
readonly default_locale?: string;
|
|
1963
1973
|
}
|
|
1964
|
-
interface
|
|
1965
|
-
readonly
|
|
1974
|
+
interface CurrencySymbols {
|
|
1975
|
+
readonly primary: string;
|
|
1976
|
+
readonly narrow?: string;
|
|
1966
1977
|
}
|
|
1967
|
-
interface
|
|
1968
|
-
readonly
|
|
1978
|
+
interface Language {
|
|
1979
|
+
readonly name: string;
|
|
1980
|
+
readonly iso_639_2: string;
|
|
1969
1981
|
}
|
|
1970
|
-
interface
|
|
1971
|
-
readonly id:
|
|
1972
|
-
readonly
|
|
1973
|
-
readonly
|
|
1974
|
-
readonly
|
|
1975
|
-
readonly
|
|
1976
|
-
readonly province_code_of_origin?: string;
|
|
1977
|
-
readonly sku: string;
|
|
1978
|
-
readonly tracked?: boolean;
|
|
1979
|
-
readonly requires_shipping: boolean;
|
|
1980
|
-
readonly created_at: string;
|
|
1981
|
-
readonly updated_at: string;
|
|
1982
|
+
interface Locale {
|
|
1983
|
+
readonly id: string;
|
|
1984
|
+
readonly name: string;
|
|
1985
|
+
readonly country: string;
|
|
1986
|
+
readonly language: string;
|
|
1987
|
+
readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
|
|
1982
1988
|
}
|
|
1983
|
-
interface
|
|
1984
|
-
readonly
|
|
1985
|
-
readonly
|
|
1989
|
+
interface LocaleNumbers {
|
|
1990
|
+
readonly decimal: string;
|
|
1991
|
+
readonly group: string;
|
|
1986
1992
|
}
|
|
1987
|
-
interface
|
|
1988
|
-
readonly
|
|
1993
|
+
interface LocalizedTranslation {
|
|
1994
|
+
readonly locale: io.flow.reference.v0.models.Locale;
|
|
1995
|
+
readonly name: string;
|
|
1989
1996
|
}
|
|
1990
|
-
interface
|
|
1991
|
-
readonly
|
|
1997
|
+
interface PaymentMethod {
|
|
1998
|
+
readonly id: string;
|
|
1999
|
+
readonly type: io.flow.reference.v0.enums.PaymentMethodType;
|
|
2000
|
+
readonly name: string;
|
|
2001
|
+
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
2002
|
+
readonly regions: string[];
|
|
2003
|
+
readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
|
|
1992
2004
|
}
|
|
1993
|
-
interface
|
|
1994
|
-
readonly
|
|
2005
|
+
interface PaymentMethodImage {
|
|
2006
|
+
readonly url: string;
|
|
2007
|
+
readonly width: number;
|
|
2008
|
+
readonly height: number;
|
|
1995
2009
|
}
|
|
1996
|
-
interface
|
|
1997
|
-
readonly
|
|
1998
|
-
readonly
|
|
1999
|
-
readonly
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
readonly
|
|
2003
|
-
readonly
|
|
2004
|
-
readonly id: number;
|
|
2005
|
-
readonly legacy: boolean;
|
|
2010
|
+
interface PaymentMethodImages {
|
|
2011
|
+
readonly small: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2012
|
+
readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2013
|
+
readonly large: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2014
|
+
}
|
|
2015
|
+
interface Province {
|
|
2016
|
+
readonly id: string;
|
|
2017
|
+
readonly iso_3166_2: string;
|
|
2006
2018
|
readonly name: string;
|
|
2007
|
-
readonly
|
|
2008
|
-
readonly
|
|
2009
|
-
readonly
|
|
2010
|
-
readonly updated_at?: string;
|
|
2011
|
-
readonly zip?: string;
|
|
2012
|
-
readonly localized_country_name?: string;
|
|
2013
|
-
readonly localized_province_name?: string;
|
|
2019
|
+
readonly country: string;
|
|
2020
|
+
readonly province_type: io.flow.reference.v0.enums.ProvinceType;
|
|
2021
|
+
readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
2014
2022
|
}
|
|
2015
|
-
interface
|
|
2016
|
-
readonly
|
|
2023
|
+
interface Region {
|
|
2024
|
+
readonly id: string;
|
|
2025
|
+
readonly name: string;
|
|
2026
|
+
readonly countries: string[];
|
|
2027
|
+
readonly currencies: string[];
|
|
2028
|
+
readonly languages: string[];
|
|
2029
|
+
readonly measurement_systems: string[];
|
|
2030
|
+
readonly timezones: string[];
|
|
2017
2031
|
}
|
|
2018
|
-
interface
|
|
2019
|
-
readonly id: number;
|
|
2020
|
-
readonly order_number: number;
|
|
2021
|
-
readonly checkout_id: number;
|
|
2022
|
-
readonly checkout_token: string;
|
|
2023
|
-
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
2024
|
-
readonly browser_ip?: string;
|
|
2025
|
-
readonly buyer_accepts_marketing: boolean;
|
|
2026
|
-
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
2027
|
-
readonly cancelled_at?: string;
|
|
2028
|
-
readonly cart_token?: string;
|
|
2029
|
-
readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
2030
|
-
readonly closed_at?: string;
|
|
2031
|
-
readonly created_at: string;
|
|
2032
|
-
readonly currency: string;
|
|
2033
|
-
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2034
|
-
readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2035
|
-
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2036
|
-
readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2037
|
-
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2038
|
-
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2039
|
-
readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2040
|
-
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2041
|
-
readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2042
|
-
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2043
|
-
readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2044
|
-
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2045
|
-
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
2046
|
-
readonly customer_locale?: string;
|
|
2047
|
-
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
2048
|
-
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
2049
|
-
readonly email?: string;
|
|
2050
|
-
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
2051
|
-
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
2052
|
-
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
2053
|
-
readonly landing_site?: string;
|
|
2054
|
-
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
2055
|
-
readonly location_id?: number;
|
|
2032
|
+
interface Timezone {
|
|
2056
2033
|
readonly name: string;
|
|
2057
|
-
readonly
|
|
2058
|
-
readonly
|
|
2059
|
-
readonly number?: number;
|
|
2060
|
-
readonly payment_gateway_names: string[];
|
|
2061
|
-
readonly processed_at?: string;
|
|
2062
|
-
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
2063
|
-
readonly referring_site?: string;
|
|
2064
|
-
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
2065
|
-
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
2066
|
-
readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
2067
|
-
readonly source_name?: string;
|
|
2068
|
-
readonly tags?: string;
|
|
2069
|
-
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
2070
|
-
readonly taxes_included: boolean;
|
|
2071
|
-
readonly token?: string;
|
|
2072
|
-
readonly total_weight?: number;
|
|
2073
|
-
readonly updated_at?: string;
|
|
2074
|
-
readonly user_id?: number;
|
|
2075
|
-
readonly order_status_url?: string;
|
|
2076
|
-
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
2077
|
-
readonly gateway?: string;
|
|
2078
|
-
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
2079
|
-
readonly send_receipt?: boolean;
|
|
2080
|
-
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
2034
|
+
readonly description: string;
|
|
2035
|
+
readonly offset: number;
|
|
2081
2036
|
}
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
readonly
|
|
2089
|
-
readonly
|
|
2090
|
-
readonly
|
|
2091
|
-
readonly
|
|
2092
|
-
readonly
|
|
2093
|
-
readonly
|
|
2094
|
-
readonly
|
|
2095
|
-
readonly name?: string;
|
|
2096
|
-
readonly phone?: string;
|
|
2097
|
-
readonly province?: string;
|
|
2098
|
-
readonly province_code?: string;
|
|
2099
|
-
readonly zip?: string;
|
|
2037
|
+
}
|
|
2038
|
+
declare namespace io.flow.tracking.v0.enums {
|
|
2039
|
+
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2040
|
+
}
|
|
2041
|
+
declare namespace io.flow.tracking.v0.models {
|
|
2042
|
+
interface Tracking {
|
|
2043
|
+
readonly id: string;
|
|
2044
|
+
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
2045
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2046
|
+
readonly attributes: Record<string, string>;
|
|
2047
|
+
readonly url: string;
|
|
2048
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
2049
|
+
readonly order_number?: string;
|
|
2100
2050
|
}
|
|
2101
|
-
interface
|
|
2102
|
-
readonly
|
|
2103
|
-
readonly
|
|
2051
|
+
interface TrackingEvent {
|
|
2052
|
+
readonly id: string;
|
|
2053
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
2054
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2055
|
+
readonly timestamp: string;
|
|
2056
|
+
readonly description?: string;
|
|
2104
2057
|
}
|
|
2105
|
-
interface
|
|
2106
|
-
readonly
|
|
2058
|
+
interface TrackingEventForm {
|
|
2059
|
+
readonly tracking_label_id: string;
|
|
2060
|
+
readonly timestamp: string;
|
|
2061
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2062
|
+
readonly description?: string;
|
|
2063
|
+
readonly address?: string;
|
|
2107
2064
|
}
|
|
2108
|
-
interface
|
|
2109
|
-
readonly
|
|
2110
|
-
readonly
|
|
2111
|
-
readonly
|
|
2112
|
-
readonly browser_width?: number;
|
|
2113
|
-
readonly session_hash?: string;
|
|
2114
|
-
readonly user_agent?: string;
|
|
2115
|
-
}
|
|
2116
|
-
interface ShopifyOrderCustomer {
|
|
2117
|
-
readonly id?: number;
|
|
2118
|
-
readonly email?: string;
|
|
2119
|
-
readonly accepts_marketing?: boolean;
|
|
2120
|
-
readonly created_at?: string;
|
|
2121
|
-
readonly updated_at?: string;
|
|
2122
|
-
readonly first_name?: string;
|
|
2123
|
-
readonly last_name?: string;
|
|
2124
|
-
readonly orders_count?: number;
|
|
2125
|
-
readonly state?: string;
|
|
2126
|
-
readonly total_spent?: string;
|
|
2127
|
-
readonly last_order_id?: number;
|
|
2128
|
-
readonly note?: string;
|
|
2129
|
-
readonly verified_email?: boolean;
|
|
2130
|
-
readonly multipass_identifier?: string;
|
|
2131
|
-
readonly tax_exempt?: boolean;
|
|
2132
|
-
readonly tax_exemptions?: any[];
|
|
2133
|
-
readonly phone?: string;
|
|
2134
|
-
readonly tags?: string;
|
|
2135
|
-
readonly last_order_name?: string;
|
|
2136
|
-
readonly currency?: string;
|
|
2137
|
-
readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
2138
|
-
readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
2139
|
-
}
|
|
2140
|
-
interface ShopifyOrderDiscountAllocation {
|
|
2141
|
-
readonly amount: string;
|
|
2142
|
-
readonly discount_application_index: number;
|
|
2143
|
-
readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2144
|
-
}
|
|
2145
|
-
interface ShopifyOrderDiscountApplication {
|
|
2146
|
-
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
2147
|
-
readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
2148
|
-
readonly code?: string;
|
|
2149
|
-
readonly description?: string;
|
|
2150
|
-
readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
2151
|
-
readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
2152
|
-
readonly title?: string;
|
|
2153
|
-
readonly value: string;
|
|
2154
|
-
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
2155
|
-
}
|
|
2156
|
-
interface ShopifyOrderDiscountCode {
|
|
2157
|
-
readonly amount: string;
|
|
2158
|
-
readonly code: string;
|
|
2159
|
-
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
|
|
2160
|
-
}
|
|
2161
|
-
interface ShopifyOrderDuty {
|
|
2162
|
-
readonly id: string;
|
|
2163
|
-
readonly harmonized_system_code: string;
|
|
2164
|
-
readonly country_code_of_origin: string;
|
|
2165
|
-
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
2166
|
-
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
2167
|
-
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
2168
|
-
}
|
|
2169
|
-
interface ShopifyOrderEdit {
|
|
2170
|
-
readonly id: number;
|
|
2171
|
-
readonly created_at: string;
|
|
2172
|
-
readonly notify_customer: boolean;
|
|
2173
|
-
readonly order_id: number;
|
|
2174
|
-
readonly staff_note: string;
|
|
2175
|
-
readonly user_id?: number;
|
|
2176
|
-
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
|
|
2177
|
-
readonly discounts: any;
|
|
2178
|
-
readonly shipping_lines: any;
|
|
2179
|
-
}
|
|
2180
|
-
interface ShopifyOrderEditLineItems {
|
|
2181
|
-
readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
2182
|
-
readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
2183
|
-
}
|
|
2184
|
-
interface ShopifyOrderEditLineItemsChange {
|
|
2185
|
-
readonly id: number;
|
|
2186
|
-
readonly delta: number;
|
|
2187
|
-
}
|
|
2188
|
-
interface ShopifyOrderEditWrapper {
|
|
2189
|
-
readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
|
|
2190
|
-
}
|
|
2191
|
-
interface ShopifyOrderFulfillment {
|
|
2192
|
-
readonly created_at?: string;
|
|
2193
|
-
readonly id?: number;
|
|
2194
|
-
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
2195
|
-
readonly location_id: number;
|
|
2196
|
-
readonly name: string;
|
|
2197
|
-
readonly notify_customer?: boolean;
|
|
2198
|
-
readonly order_id?: number;
|
|
2199
|
-
readonly receipt?: any;
|
|
2200
|
-
readonly service: string;
|
|
2201
|
-
readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
2202
|
-
readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
2203
|
-
readonly tracking_company?: string;
|
|
2204
|
-
readonly tracking_number?: string;
|
|
2205
|
-
readonly tracking_numbers?: string[];
|
|
2206
|
-
readonly tracking_urls?: string[];
|
|
2207
|
-
readonly updated_at?: string;
|
|
2208
|
-
readonly variant_inventory_management?: string;
|
|
2209
|
-
}
|
|
2210
|
-
interface ShopifyOrderLineItem {
|
|
2211
|
-
readonly fulfillable_quantity?: number;
|
|
2212
|
-
readonly fulfillment_service: string;
|
|
2213
|
-
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
2214
|
-
readonly grams?: number;
|
|
2215
|
-
readonly id: number;
|
|
2216
|
-
readonly price?: string;
|
|
2217
|
-
readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2218
|
-
readonly product_id?: number;
|
|
2219
|
-
readonly quantity: number;
|
|
2220
|
-
readonly requires_shipping: boolean;
|
|
2221
|
-
readonly sku?: string;
|
|
2222
|
-
readonly title?: string;
|
|
2223
|
-
readonly variant_id?: number;
|
|
2224
|
-
readonly variant_title?: string;
|
|
2225
|
-
readonly vendor?: string;
|
|
2226
|
-
readonly name?: string;
|
|
2227
|
-
readonly gift_card: boolean;
|
|
2228
|
-
readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
|
|
2229
|
-
readonly taxable: boolean;
|
|
2230
|
-
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
2231
|
-
readonly tip_payment_gateway?: string;
|
|
2232
|
-
readonly tip_payment_method?: string;
|
|
2233
|
-
readonly total_discount?: string;
|
|
2234
|
-
readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2235
|
-
readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
|
|
2236
|
-
readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
|
|
2237
|
-
readonly variant_inventory_management?: string;
|
|
2238
|
-
readonly product_exists?: boolean;
|
|
2239
|
-
readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
|
|
2240
|
-
}
|
|
2241
|
-
interface ShopifyOrderMetafield {
|
|
2242
|
-
readonly id: number;
|
|
2243
|
-
readonly key: string;
|
|
2244
|
-
readonly namespace: string;
|
|
2245
|
-
readonly value: string;
|
|
2246
|
-
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
2247
|
-
readonly description?: string;
|
|
2248
|
-
readonly owner_id: number;
|
|
2249
|
-
readonly owner_resource: string;
|
|
2250
|
-
}
|
|
2251
|
-
interface ShopifyOrderMetafieldForm {
|
|
2252
|
-
readonly key: string;
|
|
2253
|
-
readonly namespace: string;
|
|
2254
|
-
readonly value: string;
|
|
2255
|
-
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
2256
|
-
readonly description?: string;
|
|
2257
|
-
}
|
|
2258
|
-
interface ShopifyOrderMoney {
|
|
2259
|
-
readonly amount: number;
|
|
2260
|
-
readonly currency_code: string;
|
|
2261
|
-
}
|
|
2262
|
-
interface ShopifyOrderMoneySet {
|
|
2263
|
-
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
2264
|
-
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
2265
|
-
}
|
|
2266
|
-
interface ShopifyOrderOriginLocation {
|
|
2267
|
-
readonly id: number;
|
|
2268
|
-
readonly country_code: string;
|
|
2269
|
-
readonly province_code: string;
|
|
2270
|
-
readonly name: string;
|
|
2271
|
-
readonly address1: string;
|
|
2272
|
-
readonly address2: string;
|
|
2273
|
-
readonly city: string;
|
|
2274
|
-
readonly zip: string;
|
|
2275
|
-
}
|
|
2276
|
-
interface ShopifyOrderPaymentDetail {
|
|
2277
|
-
readonly avs_result_code?: string;
|
|
2278
|
-
readonly credit_card_bin?: string;
|
|
2279
|
-
readonly credit_card_company: string;
|
|
2280
|
-
readonly credit_card_number: string;
|
|
2281
|
-
readonly cvv_result_code?: string;
|
|
2282
|
-
}
|
|
2283
|
-
interface ShopifyOrderProperty {
|
|
2284
|
-
readonly name: string;
|
|
2285
|
-
readonly value: any;
|
|
2286
|
-
}
|
|
2287
|
-
interface ShopifyOrderRefund {
|
|
2288
|
-
readonly id: number;
|
|
2289
|
-
readonly order_id: number;
|
|
2290
|
-
readonly created_at: string;
|
|
2291
|
-
readonly processed_at: string;
|
|
2292
|
-
readonly note?: string;
|
|
2293
|
-
readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
|
|
2294
|
-
readonly restock?: boolean;
|
|
2295
|
-
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
2296
|
-
readonly user_id?: number;
|
|
2297
|
-
}
|
|
2298
|
-
interface ShopifyOrderRefundLineItem {
|
|
2299
|
-
readonly id: number;
|
|
2300
|
-
readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
|
|
2301
|
-
readonly line_item_id: number;
|
|
2302
|
-
readonly quantity: number;
|
|
2303
|
-
readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
|
|
2304
|
-
readonly location_id?: number;
|
|
2305
|
-
readonly subtotal?: number;
|
|
2306
|
-
readonly total_tax?: number;
|
|
2307
|
-
}
|
|
2308
|
-
interface ShopifyOrderShippingLine {
|
|
2309
|
-
readonly code?: string;
|
|
2310
|
-
readonly price: string;
|
|
2311
|
-
readonly source: string;
|
|
2312
|
-
readonly title: string;
|
|
2313
|
-
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
2314
|
-
readonly carrier_identifier?: string;
|
|
2315
|
-
readonly requested_fulfillment_service_id?: string;
|
|
2316
|
-
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2317
|
-
readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2318
|
-
}
|
|
2319
|
-
interface ShopifyOrderTaxLine {
|
|
2320
|
-
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
2321
|
-
readonly rate: number;
|
|
2322
|
-
readonly title: string;
|
|
2323
|
-
}
|
|
2324
|
-
interface ShopifyOrderTransaction {
|
|
2325
|
-
readonly id: number;
|
|
2326
|
-
readonly order_id: number;
|
|
2327
|
-
readonly amount: number;
|
|
2328
|
-
readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
|
|
2329
|
-
readonly gateway: string;
|
|
2330
|
-
readonly currency: string;
|
|
2331
|
-
readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
|
|
2332
|
-
readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
|
|
2333
|
-
readonly receipt: any;
|
|
2334
|
-
readonly authorization?: string;
|
|
2335
|
-
readonly created_at: string;
|
|
2336
|
-
readonly device_id?: number;
|
|
2337
|
-
readonly gift_card_id?: number;
|
|
2338
|
-
readonly source_name: string;
|
|
2339
|
-
readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
2340
|
-
readonly test: boolean;
|
|
2341
|
-
readonly parent_id?: number;
|
|
2342
|
-
readonly user_id?: number;
|
|
2343
|
-
}
|
|
2344
|
-
interface ShopifyOrderWrapper {
|
|
2345
|
-
readonly order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
|
|
2346
|
-
}
|
|
2347
|
-
interface ShopifyOrdersWrapper {
|
|
2348
|
-
readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
|
|
2349
|
-
}
|
|
2350
|
-
interface ShopifyRefund {
|
|
2351
|
-
readonly notify_x: boolean;
|
|
2352
|
-
readonly note?: string;
|
|
2353
|
-
readonly discrepancy_reason?: io.flow.shopify.xborder.v0.enums.ShopifyDiscrepancyReason;
|
|
2354
|
-
readonly shipping: io.flow.shopify.xborder.v0.models.ShopifyRefundShipping;
|
|
2355
|
-
readonly refund_line_items: io.flow.shopify.xborder.v0.models.ShopifyRefundLineItem[];
|
|
2356
|
-
readonly transactions: io.flow.shopify.xborder.v0.models.ShopifyRefundTransaction[];
|
|
2357
|
-
readonly currency: string;
|
|
2358
|
-
}
|
|
2359
|
-
interface ShopifyRefundLineItem {
|
|
2360
|
-
readonly line_item_id: number;
|
|
2361
|
-
readonly quantity: number;
|
|
2362
|
-
readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
|
|
2363
|
-
readonly location_id?: number;
|
|
2364
|
-
}
|
|
2365
|
-
interface ShopifyRefundShipping {
|
|
2366
|
-
readonly full_refund?: boolean;
|
|
2367
|
-
readonly amount?: number;
|
|
2368
|
-
}
|
|
2369
|
-
interface ShopifyRefundTransaction {
|
|
2370
|
-
readonly parent_id: number;
|
|
2371
|
-
readonly amount: string;
|
|
2372
|
-
readonly currency: string;
|
|
2373
|
-
readonly kind: string;
|
|
2374
|
-
readonly gateway: string;
|
|
2375
|
-
}
|
|
2376
|
-
interface ShopifyWebhookRequest {
|
|
2377
|
-
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
2378
|
-
readonly address: string;
|
|
2379
|
-
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
2380
|
-
}
|
|
2381
|
-
interface ShopifyWebhookRequestWrapper {
|
|
2382
|
-
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
|
|
2383
|
-
}
|
|
2384
|
-
interface ShopifyWebhookResponse {
|
|
2385
|
-
readonly id: number;
|
|
2386
|
-
readonly address: string;
|
|
2387
|
-
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
2388
|
-
readonly created_at: string;
|
|
2389
|
-
readonly updated_at: string;
|
|
2390
|
-
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
2391
|
-
readonly fields: any[];
|
|
2392
|
-
readonly metafield_namespaces: any[];
|
|
2393
|
-
readonly api_version: string;
|
|
2394
|
-
readonly private_metafield_namespaces: any[];
|
|
2395
|
-
}
|
|
2396
|
-
interface ShopifyWebhookResponseWrapper {
|
|
2397
|
-
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
|
|
2398
|
-
}
|
|
2399
|
-
interface ShopifyWebhooksResponseWrapper {
|
|
2400
|
-
readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
declare namespace io.flow.reference.v0.enums {
|
|
2404
|
-
type PaymentMethodCapability = 'credit' | 'debit';
|
|
2405
|
-
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2406
|
-
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
2407
|
-
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2408
|
-
}
|
|
2409
|
-
declare namespace io.flow.reference.v0.models {
|
|
2410
|
-
interface Carrier {
|
|
2411
|
-
readonly id: string;
|
|
2412
|
-
readonly name: string;
|
|
2413
|
-
readonly tracking_url: string;
|
|
2414
|
-
}
|
|
2415
|
-
interface CarrierService {
|
|
2416
|
-
readonly id: string;
|
|
2417
|
-
readonly carrier: io.flow.reference.v0.models.Carrier;
|
|
2418
|
-
readonly name: string;
|
|
2419
|
-
}
|
|
2420
|
-
interface Country {
|
|
2421
|
-
readonly name: string;
|
|
2422
|
-
readonly iso_3166_2: string;
|
|
2423
|
-
readonly iso_3166_3: string;
|
|
2424
|
-
readonly languages: string[];
|
|
2425
|
-
readonly measurement_system: string;
|
|
2426
|
-
readonly default_currency?: string;
|
|
2427
|
-
readonly default_language?: string;
|
|
2428
|
-
readonly timezones: string[];
|
|
2429
|
-
readonly default_delivered_duty?: string;
|
|
2430
|
-
}
|
|
2431
|
-
interface Currency {
|
|
2432
|
-
readonly name: string;
|
|
2433
|
-
readonly iso_4217_3: string;
|
|
2434
|
-
readonly number_decimals: number;
|
|
2435
|
-
readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
|
|
2436
|
-
readonly default_locale?: string;
|
|
2437
|
-
}
|
|
2438
|
-
interface CurrencySymbols {
|
|
2439
|
-
readonly primary: string;
|
|
2440
|
-
readonly narrow?: string;
|
|
2441
|
-
}
|
|
2442
|
-
interface Language {
|
|
2443
|
-
readonly name: string;
|
|
2444
|
-
readonly iso_639_2: string;
|
|
2445
|
-
}
|
|
2446
|
-
interface Locale {
|
|
2447
|
-
readonly id: string;
|
|
2448
|
-
readonly name: string;
|
|
2449
|
-
readonly country: string;
|
|
2450
|
-
readonly language: string;
|
|
2451
|
-
readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
|
|
2452
|
-
}
|
|
2453
|
-
interface LocaleNumbers {
|
|
2454
|
-
readonly decimal: string;
|
|
2455
|
-
readonly group: string;
|
|
2456
|
-
}
|
|
2457
|
-
interface LocalizedTranslation {
|
|
2458
|
-
readonly locale: io.flow.reference.v0.models.Locale;
|
|
2459
|
-
readonly name: string;
|
|
2460
|
-
}
|
|
2461
|
-
interface PaymentMethod {
|
|
2462
|
-
readonly id: string;
|
|
2463
|
-
readonly type: io.flow.reference.v0.enums.PaymentMethodType;
|
|
2464
|
-
readonly name: string;
|
|
2465
|
-
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
2466
|
-
readonly regions: string[];
|
|
2467
|
-
readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
|
|
2468
|
-
}
|
|
2469
|
-
interface PaymentMethodImage {
|
|
2470
|
-
readonly url: string;
|
|
2471
|
-
readonly width: number;
|
|
2472
|
-
readonly height: number;
|
|
2473
|
-
}
|
|
2474
|
-
interface PaymentMethodImages {
|
|
2475
|
-
readonly small: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2476
|
-
readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2477
|
-
readonly large: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2478
|
-
}
|
|
2479
|
-
interface Province {
|
|
2480
|
-
readonly id: string;
|
|
2481
|
-
readonly iso_3166_2: string;
|
|
2482
|
-
readonly name: string;
|
|
2483
|
-
readonly country: string;
|
|
2484
|
-
readonly province_type: io.flow.reference.v0.enums.ProvinceType;
|
|
2485
|
-
readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
2486
|
-
}
|
|
2487
|
-
interface Region {
|
|
2488
|
-
readonly id: string;
|
|
2489
|
-
readonly name: string;
|
|
2490
|
-
readonly countries: string[];
|
|
2491
|
-
readonly currencies: string[];
|
|
2492
|
-
readonly languages: string[];
|
|
2493
|
-
readonly measurement_systems: string[];
|
|
2494
|
-
readonly timezones: string[];
|
|
2495
|
-
}
|
|
2496
|
-
interface Timezone {
|
|
2497
|
-
readonly name: string;
|
|
2498
|
-
readonly description: string;
|
|
2499
|
-
readonly offset: number;
|
|
2500
|
-
}
|
|
2501
|
-
}
|
|
2502
|
-
declare namespace io.flow.tracking.v0.enums {
|
|
2503
|
-
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2504
|
-
}
|
|
2505
|
-
declare namespace io.flow.tracking.v0.models {
|
|
2506
|
-
interface Tracking {
|
|
2507
|
-
readonly id: string;
|
|
2508
|
-
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
2509
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2510
|
-
readonly attributes: Record<string, string>;
|
|
2511
|
-
readonly url: string;
|
|
2512
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
2513
|
-
readonly order_number?: string;
|
|
2514
|
-
}
|
|
2515
|
-
interface TrackingEvent {
|
|
2516
|
-
readonly id: string;
|
|
2517
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
2518
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2519
|
-
readonly timestamp: string;
|
|
2520
|
-
readonly description?: string;
|
|
2521
|
-
}
|
|
2522
|
-
interface TrackingEventForm {
|
|
2523
|
-
readonly tracking_label_id: string;
|
|
2524
|
-
readonly timestamp: string;
|
|
2525
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2526
|
-
readonly description?: string;
|
|
2527
|
-
readonly address?: string;
|
|
2528
|
-
}
|
|
2529
|
-
interface TrackingEventSummary {
|
|
2530
|
-
readonly id: string;
|
|
2531
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2532
|
-
readonly timestamp: string;
|
|
2065
|
+
interface TrackingEventSummary {
|
|
2066
|
+
readonly id: string;
|
|
2067
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2068
|
+
readonly timestamp: string;
|
|
2533
2069
|
}
|
|
2534
2070
|
interface TrackingEventVersion {
|
|
2535
2071
|
readonly id: string;
|
|
@@ -3126,6 +2662,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3126
2662
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
3127
2663
|
}
|
|
3128
2664
|
interface AuthorizationOrderReference {
|
|
2665
|
+
readonly discriminator: 'flow_order';
|
|
3129
2666
|
readonly number: string;
|
|
3130
2667
|
}
|
|
3131
2668
|
interface AuthorizationPayload {
|
|
@@ -3267,6 +2804,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3267
2804
|
readonly destination?: io.flow.common.v0.models.Address;
|
|
3268
2805
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
3269
2806
|
readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
2807
|
+
readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
|
|
3270
2808
|
readonly ip?: string;
|
|
3271
2809
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
3272
2810
|
readonly created_at: string;
|
|
@@ -3469,6 +3007,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3469
3007
|
readonly destination?: io.flow.common.v0.models.Address;
|
|
3470
3008
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
3471
3009
|
readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
3010
|
+
readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
|
|
3472
3011
|
readonly ip?: string;
|
|
3473
3012
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
3474
3013
|
readonly created_at: string;
|
|
@@ -3494,6 +3033,10 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3494
3033
|
readonly messages: string[];
|
|
3495
3034
|
readonly codes: io.flow.payment.v0.enums.PaymentErrorCode[];
|
|
3496
3035
|
}
|
|
3036
|
+
interface PaymentPaymentRequestReference {
|
|
3037
|
+
readonly discriminator: 'payment_request';
|
|
3038
|
+
readonly payment_request_id: string;
|
|
3039
|
+
}
|
|
3497
3040
|
interface PaymentPaypal {
|
|
3498
3041
|
readonly discriminator: 'payment_paypal';
|
|
3499
3042
|
readonly id: string;
|
|
@@ -3799,6 +3342,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
3799
3342
|
type OnlineAuthorizationDetails = io.flow.payment.v0.models.CryptopayAuthorizationDetails | io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails;
|
|
3800
3343
|
type Payment = io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay;
|
|
3801
3344
|
type PaymentForm = io.flow.payment.v0.models.MerchantOfRecordPaymentForm;
|
|
3345
|
+
type PaymentOrderReference = io.flow.payment.v0.models.AuthorizationOrderReference | io.flow.payment.v0.models.PaymentPaymentRequestReference;
|
|
3802
3346
|
type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
|
|
3803
3347
|
type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
|
|
3804
3348
|
type ThreedsChallengeAction = io.flow.payment.v0.models.ThreedsTwoChallengeRequest;
|
|
@@ -4172,7 +3716,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4172
3716
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
4173
3717
|
readonly payment_method_types?: string[];
|
|
4174
3718
|
readonly receipt_email?: string;
|
|
4175
|
-
readonly save_payment_method
|
|
3719
|
+
readonly save_payment_method?: boolean;
|
|
4176
3720
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
4177
3721
|
}
|
|
4178
3722
|
interface PaymentIntentForm {
|
|
@@ -4192,7 +3736,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4192
3736
|
readonly payment_method_types?: string[];
|
|
4193
3737
|
readonly receipt_email?: string;
|
|
4194
3738
|
readonly return_url?: string;
|
|
4195
|
-
readonly save_payment_method
|
|
3739
|
+
readonly save_payment_method?: boolean;
|
|
4196
3740
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
4197
3741
|
readonly statement_descriptor?: string;
|
|
4198
3742
|
readonly statement_descriptor_suffix?: string;
|
|
@@ -4208,7 +3752,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4208
3752
|
readonly payment_method?: string;
|
|
4209
3753
|
readonly payment_method_types?: string[];
|
|
4210
3754
|
readonly receipt_email?: string;
|
|
4211
|
-
readonly save_payment_method
|
|
3755
|
+
readonly save_payment_method?: boolean;
|
|
4212
3756
|
readonly statement_descriptor?: string;
|
|
4213
3757
|
readonly statement_descriptor_suffix?: string;
|
|
4214
3758
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -4683,10 +4227,19 @@ declare namespace io.flow.label.v0.models {
|
|
|
4683
4227
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
4684
4228
|
readonly center_key?: string;
|
|
4685
4229
|
}
|
|
4230
|
+
interface SummaryShippingNotificationForm {
|
|
4231
|
+
readonly discriminator: 'summary_shipping_notification_form';
|
|
4232
|
+
readonly order_number: string;
|
|
4233
|
+
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
4234
|
+
readonly service: string;
|
|
4235
|
+
readonly carrier_tracking_number: string;
|
|
4236
|
+
readonly key?: string;
|
|
4237
|
+
readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
|
|
4238
|
+
}
|
|
4686
4239
|
}
|
|
4687
4240
|
declare namespace io.flow.label.v0.unions {
|
|
4688
4241
|
type ShippingLabelForm = io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm;
|
|
4689
|
-
type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm;
|
|
4242
|
+
type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm;
|
|
4690
4243
|
}
|
|
4691
4244
|
declare namespace io.flow.external.paypal.v1.enums {
|
|
4692
4245
|
type AdjudicationType = 'DENY_BUYER' | 'PAYOUT_TO_BUYER' | 'PAYOUT_TO_SELLER' | 'RECOVER_FROM_SELLER';
|
|
@@ -6154,137 +5707,455 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6154
5707
|
readonly tracking_url?: string;
|
|
6155
5708
|
readonly tracking_urls?: string[];
|
|
6156
5709
|
readonly updated_at?: string;
|
|
6157
|
-
readonly notify_customer?: boolean;
|
|
5710
|
+
readonly notify_customer?: boolean;
|
|
5711
|
+
}
|
|
5712
|
+
interface ShopifyFulfillmentWrapper {
|
|
5713
|
+
readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
|
|
5714
|
+
}
|
|
5715
|
+
interface ShopifyGiftCard {
|
|
5716
|
+
readonly id: number;
|
|
5717
|
+
readonly balance: number;
|
|
5718
|
+
readonly currency: string;
|
|
5719
|
+
readonly initial_value: number;
|
|
5720
|
+
readonly last_characters: string;
|
|
5721
|
+
readonly created_at: string;
|
|
5722
|
+
readonly updated_at: string;
|
|
5723
|
+
readonly api_client_id?: number;
|
|
5724
|
+
readonly code?: string;
|
|
5725
|
+
readonly customer_id?: number;
|
|
5726
|
+
readonly disabled_at?: string;
|
|
5727
|
+
readonly expires_on?: string;
|
|
5728
|
+
readonly line_item_id?: number;
|
|
5729
|
+
readonly note?: string;
|
|
5730
|
+
readonly order_id?: number;
|
|
5731
|
+
readonly template_suffix?: string;
|
|
5732
|
+
readonly user_id?: number;
|
|
5733
|
+
}
|
|
5734
|
+
interface ShopifyGiftCardAdjustment {
|
|
5735
|
+
readonly id: number;
|
|
5736
|
+
readonly gift_card_id: number;
|
|
5737
|
+
readonly number: number;
|
|
5738
|
+
readonly amount: number;
|
|
5739
|
+
readonly created_at: string;
|
|
5740
|
+
readonly processed_at: string;
|
|
5741
|
+
readonly note?: string;
|
|
5742
|
+
readonly remote_transaction_ref?: string;
|
|
5743
|
+
readonly remote_transaction_url?: string;
|
|
5744
|
+
readonly api_client_id?: number;
|
|
5745
|
+
readonly user_id?: number;
|
|
5746
|
+
readonly order_transaction_id?: number;
|
|
5747
|
+
}
|
|
5748
|
+
interface ShopifyGiftCardAdjustmentForm {
|
|
5749
|
+
readonly amount: number;
|
|
5750
|
+
readonly note?: string;
|
|
5751
|
+
readonly order_transaction_id?: number;
|
|
5752
|
+
readonly processed_at?: string;
|
|
5753
|
+
}
|
|
5754
|
+
interface ShopifyGiftCardAdjustmentFormWrapper {
|
|
5755
|
+
readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
|
|
5756
|
+
}
|
|
5757
|
+
interface ShopifyGiftCardAdjustmentResponseWrapper {
|
|
5758
|
+
readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
|
|
5759
|
+
}
|
|
5760
|
+
interface ShopifyGiftCardAdjustmentsResponseWrapper {
|
|
5761
|
+
readonly adjustments: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment[];
|
|
5762
|
+
}
|
|
5763
|
+
interface ShopifyGiftCardForm {
|
|
5764
|
+
readonly initial_value: number;
|
|
5765
|
+
readonly code?: string;
|
|
5766
|
+
readonly note?: string;
|
|
5767
|
+
readonly template_suffix?: string;
|
|
5768
|
+
}
|
|
5769
|
+
interface ShopifyInventoryItem {
|
|
5770
|
+
readonly id: number;
|
|
5771
|
+
readonly tracked: boolean;
|
|
5772
|
+
readonly sku?: string;
|
|
5773
|
+
readonly cost?: string;
|
|
5774
|
+
readonly country_code_of_origin?: string;
|
|
5775
|
+
readonly created_at: string;
|
|
5776
|
+
readonly updated_at?: string;
|
|
5777
|
+
}
|
|
5778
|
+
interface ShopifyInventoryItemDelete {
|
|
5779
|
+
readonly id: number;
|
|
5780
|
+
}
|
|
5781
|
+
interface ShopifyInventoryLevel {
|
|
5782
|
+
readonly inventory_item_id: number;
|
|
5783
|
+
readonly location_id: number;
|
|
5784
|
+
readonly updated_at: string;
|
|
5785
|
+
readonly available?: number;
|
|
5786
|
+
}
|
|
5787
|
+
interface ShopifyInventoryLevelDisconnect {
|
|
5788
|
+
readonly inventory_item_id: number;
|
|
5789
|
+
readonly location_id: number;
|
|
5790
|
+
}
|
|
5791
|
+
interface ShopifyInventoryLevelResponseWrapper {
|
|
5792
|
+
readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
|
|
5793
|
+
}
|
|
5794
|
+
interface ShopifyLineItem {
|
|
5795
|
+
readonly id: number;
|
|
5796
|
+
readonly quantity: number;
|
|
5797
|
+
readonly fulfillable_quantity?: number;
|
|
5798
|
+
readonly fulfillment_service: string;
|
|
5799
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
5800
|
+
readonly grams?: number;
|
|
5801
|
+
readonly price?: string;
|
|
5802
|
+
readonly product_id?: number;
|
|
5803
|
+
readonly requires_shipping: boolean;
|
|
5804
|
+
readonly sku?: string;
|
|
5805
|
+
readonly title?: string;
|
|
5806
|
+
readonly variant_id?: number;
|
|
5807
|
+
readonly variant_title?: string;
|
|
5808
|
+
readonly vendor?: string;
|
|
5809
|
+
readonly name?: string;
|
|
5810
|
+
readonly gift_card: boolean;
|
|
5811
|
+
readonly properties: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
5812
|
+
readonly taxable: boolean;
|
|
5813
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
5814
|
+
readonly total_discount?: string;
|
|
5815
|
+
}
|
|
5816
|
+
interface ShopifyLineItemForm {
|
|
5817
|
+
readonly fulfillable_quantity?: number;
|
|
5818
|
+
readonly fulfillment_service: string;
|
|
5819
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
5820
|
+
readonly grams?: number;
|
|
5821
|
+
readonly price?: string;
|
|
5822
|
+
readonly product_id?: number;
|
|
5823
|
+
readonly quantity?: number;
|
|
5824
|
+
readonly requires_shipping: boolean;
|
|
5825
|
+
readonly sku?: string;
|
|
5826
|
+
readonly title?: string;
|
|
5827
|
+
readonly variant_id?: number;
|
|
5828
|
+
readonly variant_title?: string;
|
|
5829
|
+
readonly vendor?: string;
|
|
5830
|
+
readonly name?: string;
|
|
5831
|
+
readonly gift_card: boolean;
|
|
5832
|
+
readonly properties?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
5833
|
+
readonly taxable: boolean;
|
|
5834
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
5835
|
+
readonly total_discount?: string;
|
|
5836
|
+
readonly id?: number;
|
|
5837
|
+
}
|
|
5838
|
+
interface ShopifyLineLevelDiscountAllocation {
|
|
5839
|
+
readonly amount: number;
|
|
5840
|
+
readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
|
|
5841
|
+
}
|
|
5842
|
+
interface ShopifyLocation {
|
|
5843
|
+
readonly active: boolean;
|
|
5844
|
+
readonly address1?: string;
|
|
5845
|
+
readonly address2?: string;
|
|
5846
|
+
readonly city?: string;
|
|
5847
|
+
readonly country?: string;
|
|
5848
|
+
readonly country_code?: string;
|
|
5849
|
+
readonly created_at: string;
|
|
5850
|
+
readonly id: number;
|
|
5851
|
+
readonly legacy: boolean;
|
|
5852
|
+
readonly name: string;
|
|
5853
|
+
readonly phone?: string;
|
|
5854
|
+
readonly province?: string;
|
|
5855
|
+
readonly province_code?: string;
|
|
5856
|
+
readonly updated_at?: string;
|
|
5857
|
+
readonly zip?: string;
|
|
5858
|
+
readonly localized_country_name?: string;
|
|
5859
|
+
readonly localized_province_name?: string;
|
|
5860
|
+
}
|
|
5861
|
+
interface ShopifyLocationDelete {
|
|
5862
|
+
readonly id: number;
|
|
5863
|
+
}
|
|
5864
|
+
interface ShopifyLocationsResponseWrapper {
|
|
5865
|
+
readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
|
|
5866
|
+
}
|
|
5867
|
+
interface ShopifyOrder {
|
|
5868
|
+
readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
|
|
5869
|
+
readonly browser_ip?: string;
|
|
5870
|
+
readonly buyer_accepts_marketing: boolean;
|
|
5871
|
+
readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
|
|
5872
|
+
readonly cancelled_at?: string;
|
|
5873
|
+
readonly cart_token?: string;
|
|
5874
|
+
readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
|
|
5875
|
+
readonly closed_at?: string;
|
|
5876
|
+
readonly created_at?: string;
|
|
5877
|
+
readonly currency?: string;
|
|
5878
|
+
readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
|
|
5879
|
+
readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
|
|
5880
|
+
readonly email?: string;
|
|
5881
|
+
readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
|
|
5882
|
+
readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
|
|
5883
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
5884
|
+
readonly id?: number;
|
|
5885
|
+
readonly landing_site?: string;
|
|
5886
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
|
|
5887
|
+
readonly location_id?: number;
|
|
5888
|
+
readonly name?: string;
|
|
5889
|
+
readonly note?: string;
|
|
5890
|
+
readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
|
|
5891
|
+
readonly number?: number;
|
|
5892
|
+
readonly order_number?: number;
|
|
5893
|
+
readonly payment_gateway_names: string[];
|
|
5894
|
+
readonly processed_at?: string;
|
|
5895
|
+
readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
|
|
5896
|
+
readonly referring_site?: string;
|
|
5897
|
+
readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
|
|
5898
|
+
readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
|
|
5899
|
+
readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
|
|
5900
|
+
readonly source_name?: string;
|
|
5901
|
+
readonly subtotal_price?: string;
|
|
5902
|
+
readonly tags?: string;
|
|
5903
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
5904
|
+
readonly taxes_included: boolean;
|
|
5905
|
+
readonly token?: string;
|
|
5906
|
+
readonly total_discounts?: string;
|
|
5907
|
+
readonly total_line_items_price?: string;
|
|
5908
|
+
readonly total_price?: string;
|
|
5909
|
+
readonly total_tax?: string;
|
|
5910
|
+
readonly total_weight?: number;
|
|
5911
|
+
readonly updated_at?: string;
|
|
5912
|
+
readonly user_id?: number;
|
|
5913
|
+
readonly order_status_url?: string;
|
|
5914
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
5915
|
+
readonly gateway?: string;
|
|
5916
|
+
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
5917
|
+
readonly send_receipt?: boolean;
|
|
5918
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
6158
5919
|
}
|
|
6159
|
-
interface
|
|
6160
|
-
readonly
|
|
5920
|
+
interface ShopifyOrderCount {
|
|
5921
|
+
readonly count: number;
|
|
6161
5922
|
}
|
|
6162
|
-
interface
|
|
5923
|
+
interface ShopifyOrderCustomer {
|
|
5924
|
+
readonly email?: string;
|
|
5925
|
+
readonly first_name?: string;
|
|
5926
|
+
readonly last_name?: string;
|
|
5927
|
+
readonly phone?: string;
|
|
5928
|
+
}
|
|
5929
|
+
interface ShopifyOrderWrapper {
|
|
5930
|
+
readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
|
|
5931
|
+
}
|
|
5932
|
+
interface ShopifyPaymentDetail {
|
|
5933
|
+
readonly avs_result_code?: string;
|
|
5934
|
+
readonly credit_card_bin?: string;
|
|
5935
|
+
readonly credit_card_company: string;
|
|
5936
|
+
readonly credit_card_number: string;
|
|
5937
|
+
readonly cvv_result_code?: string;
|
|
5938
|
+
}
|
|
5939
|
+
interface ShopifyProperty {
|
|
5940
|
+
readonly name: string;
|
|
5941
|
+
readonly value: any;
|
|
5942
|
+
}
|
|
5943
|
+
interface ShopifyRefund {
|
|
6163
5944
|
readonly id: number;
|
|
6164
|
-
readonly
|
|
6165
|
-
readonly currency: string;
|
|
6166
|
-
readonly initial_value: number;
|
|
6167
|
-
readonly last_characters: string;
|
|
5945
|
+
readonly order_id: number;
|
|
6168
5946
|
readonly created_at: string;
|
|
6169
|
-
readonly
|
|
6170
|
-
readonly api_client_id?: number;
|
|
6171
|
-
readonly code?: string;
|
|
6172
|
-
readonly customer_id?: number;
|
|
6173
|
-
readonly disabled_at?: string;
|
|
6174
|
-
readonly expires_on?: string;
|
|
6175
|
-
readonly line_item_id?: number;
|
|
5947
|
+
readonly processed_at: string;
|
|
6176
5948
|
readonly note?: string;
|
|
6177
|
-
readonly
|
|
6178
|
-
readonly
|
|
5949
|
+
readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
|
|
5950
|
+
readonly restock?: boolean;
|
|
5951
|
+
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
|
|
6179
5952
|
readonly user_id?: number;
|
|
6180
5953
|
}
|
|
6181
|
-
interface
|
|
5954
|
+
interface ShopifyRefundForm {
|
|
5955
|
+
readonly note?: string;
|
|
5956
|
+
readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
|
|
5957
|
+
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
5958
|
+
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
5959
|
+
readonly currency: string;
|
|
5960
|
+
}
|
|
5961
|
+
interface ShopifyRefundLineItem {
|
|
6182
5962
|
readonly id: number;
|
|
6183
|
-
readonly
|
|
6184
|
-
readonly
|
|
5963
|
+
readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
|
|
5964
|
+
readonly line_item_id: number;
|
|
5965
|
+
readonly quantity: number;
|
|
5966
|
+
readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
|
|
5967
|
+
readonly location_id?: number;
|
|
5968
|
+
readonly subtotal?: number;
|
|
5969
|
+
readonly total_tax?: number;
|
|
5970
|
+
}
|
|
5971
|
+
interface ShopifyRefundLineItemForm {
|
|
5972
|
+
readonly line_item_id: number;
|
|
5973
|
+
readonly quantity: number;
|
|
5974
|
+
readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
|
|
5975
|
+
readonly location_id?: number;
|
|
5976
|
+
}
|
|
5977
|
+
interface ShopifyShippingLine {
|
|
5978
|
+
readonly code: string;
|
|
5979
|
+
readonly price: string;
|
|
5980
|
+
readonly source: string;
|
|
5981
|
+
readonly title: string;
|
|
5982
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
5983
|
+
readonly carrier_identifier?: string;
|
|
5984
|
+
readonly requested_fulfillment_service_id?: string;
|
|
5985
|
+
}
|
|
5986
|
+
interface ShopifyTaxLine {
|
|
5987
|
+
readonly price: string;
|
|
5988
|
+
readonly rate: number;
|
|
5989
|
+
readonly title: string;
|
|
5990
|
+
}
|
|
5991
|
+
interface ShopifyTransaction {
|
|
5992
|
+
readonly id: number;
|
|
5993
|
+
readonly order_id: number;
|
|
6185
5994
|
readonly amount: number;
|
|
5995
|
+
readonly kind: io.flow.shopify.external.v0.enums.KindType;
|
|
5996
|
+
readonly gateway: string;
|
|
5997
|
+
readonly currency: string;
|
|
5998
|
+
readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
|
|
5999
|
+
readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
|
|
6000
|
+
readonly receipt: any;
|
|
6001
|
+
readonly authorization?: string;
|
|
6186
6002
|
readonly created_at: string;
|
|
6187
|
-
readonly
|
|
6188
|
-
readonly
|
|
6189
|
-
readonly
|
|
6190
|
-
readonly
|
|
6191
|
-
readonly
|
|
6003
|
+
readonly device_id?: number;
|
|
6004
|
+
readonly gift_card_id?: number;
|
|
6005
|
+
readonly source_name: string;
|
|
6006
|
+
readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
|
|
6007
|
+
readonly test: boolean;
|
|
6008
|
+
readonly parent_id?: number;
|
|
6192
6009
|
readonly user_id?: number;
|
|
6193
|
-
readonly order_transaction_id?: number;
|
|
6194
6010
|
}
|
|
6195
|
-
interface
|
|
6011
|
+
interface ShopifyTransactionForm {
|
|
6196
6012
|
readonly amount: number;
|
|
6197
|
-
readonly
|
|
6198
|
-
readonly
|
|
6199
|
-
readonly
|
|
6013
|
+
readonly currency: string;
|
|
6014
|
+
readonly gateway: string;
|
|
6015
|
+
readonly kind: io.flow.shopify.external.v0.enums.KindType;
|
|
6016
|
+
readonly source: string;
|
|
6017
|
+
readonly authorization?: string;
|
|
6018
|
+
readonly gift_card_id?: number;
|
|
6019
|
+
readonly parent_id?: number;
|
|
6020
|
+
readonly receipt?: any;
|
|
6200
6021
|
}
|
|
6201
|
-
interface
|
|
6202
|
-
readonly
|
|
6022
|
+
interface ShopifyTransactionGiftCardReceipt {
|
|
6023
|
+
readonly gift_card_id: number;
|
|
6024
|
+
readonly gift_card_last_characters: string;
|
|
6203
6025
|
}
|
|
6204
|
-
interface
|
|
6205
|
-
readonly
|
|
6026
|
+
interface ShopifyWebhookCustomersRedact {
|
|
6027
|
+
readonly shop_id: number;
|
|
6028
|
+
readonly shop_domain: string;
|
|
6029
|
+
readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
6030
|
+
readonly orders_to_redact?: number[];
|
|
6206
6031
|
}
|
|
6207
|
-
interface
|
|
6208
|
-
readonly
|
|
6032
|
+
interface ShopifyWebhookCustomersRedactCustomer {
|
|
6033
|
+
readonly id: number;
|
|
6034
|
+
readonly email?: string;
|
|
6035
|
+
readonly phone?: string;
|
|
6209
6036
|
}
|
|
6210
|
-
interface
|
|
6211
|
-
readonly
|
|
6212
|
-
readonly
|
|
6213
|
-
readonly note?: string;
|
|
6214
|
-
readonly template_suffix?: string;
|
|
6037
|
+
interface ShopifyWebhookOrder {
|
|
6038
|
+
readonly id?: number;
|
|
6039
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
6215
6040
|
}
|
|
6216
|
-
interface
|
|
6041
|
+
interface ShopifyWebhookOrderCancelled {
|
|
6217
6042
|
readonly id: number;
|
|
6218
|
-
readonly tracked: boolean;
|
|
6219
|
-
readonly sku?: string;
|
|
6220
|
-
readonly cost?: string;
|
|
6221
|
-
readonly country_code_of_origin?: string;
|
|
6222
|
-
readonly created_at: string;
|
|
6223
|
-
readonly updated_at?: string;
|
|
6224
6043
|
}
|
|
6225
|
-
interface
|
|
6044
|
+
interface ShopifyWebhookOrderLineItem {
|
|
6045
|
+
readonly fulfillable_quantity?: number;
|
|
6046
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
6047
|
+
readonly product_id?: number;
|
|
6048
|
+
readonly quantity?: number;
|
|
6049
|
+
readonly requires_shipping: boolean;
|
|
6050
|
+
readonly variant_id?: number;
|
|
6051
|
+
}
|
|
6052
|
+
interface ShopifyWebhookShopRedact {
|
|
6053
|
+
readonly shop_id: number;
|
|
6054
|
+
readonly shop_domain: string;
|
|
6055
|
+
}
|
|
6056
|
+
interface SmartCollection {
|
|
6226
6057
|
readonly id: number;
|
|
6058
|
+
readonly handle: string;
|
|
6059
|
+
readonly title: string;
|
|
6060
|
+
readonly updated_at: string;
|
|
6227
6061
|
}
|
|
6228
|
-
interface
|
|
6229
|
-
readonly
|
|
6230
|
-
readonly
|
|
6062
|
+
interface Webhook {
|
|
6063
|
+
readonly address: string;
|
|
6064
|
+
readonly created_at: string;
|
|
6065
|
+
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
6066
|
+
readonly id: number;
|
|
6067
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
6231
6068
|
readonly updated_at: string;
|
|
6232
|
-
readonly
|
|
6069
|
+
readonly fields?: string[];
|
|
6070
|
+
readonly metafield_namespaces?: string[];
|
|
6233
6071
|
}
|
|
6234
|
-
interface
|
|
6235
|
-
readonly
|
|
6236
|
-
readonly
|
|
6072
|
+
interface WebhookForm {
|
|
6073
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
6074
|
+
readonly address: string;
|
|
6075
|
+
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
6076
|
+
readonly metafield_namespaces?: string[];
|
|
6077
|
+
}
|
|
6078
|
+
interface WebhookFormWrapper {
|
|
6079
|
+
readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
|
|
6080
|
+
}
|
|
6081
|
+
interface WebhookResponseList {
|
|
6082
|
+
readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
|
|
6083
|
+
}
|
|
6084
|
+
interface WebhookResponseSingle {
|
|
6085
|
+
readonly webhook: io.flow.shopify.external.v0.models.Webhook;
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
declare namespace io.flow.shopify.markets.v0.enums {
|
|
6089
|
+
type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
6090
|
+
type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
|
|
6091
|
+
type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
6092
|
+
type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
|
|
6093
|
+
type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
|
|
6094
|
+
type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
|
|
6095
|
+
type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
|
|
6096
|
+
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
6097
|
+
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
6098
|
+
type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
6099
|
+
type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
|
|
6100
|
+
type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
6101
|
+
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
6102
|
+
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
6103
|
+
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
6104
|
+
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
6105
|
+
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
6106
|
+
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
6107
|
+
type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
6108
|
+
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
6109
|
+
type ShopifyOrderValueType = 'string' | 'integer';
|
|
6110
|
+
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
6111
|
+
type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
6112
|
+
}
|
|
6113
|
+
declare namespace io.flow.shopify.markets.v0.models {
|
|
6114
|
+
interface ResponseShopifyTransactions {
|
|
6115
|
+
readonly transactions: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
6116
|
+
}
|
|
6117
|
+
interface ShopifyCountryHarmonizedSystemCode {
|
|
6118
|
+
readonly country_code: string;
|
|
6119
|
+
readonly harmonized_system_code: string;
|
|
6120
|
+
}
|
|
6121
|
+
interface ShopifyError {
|
|
6122
|
+
readonly errors: any;
|
|
6123
|
+
}
|
|
6124
|
+
interface ShopifyFulfillmentOrder {
|
|
6125
|
+
readonly assigned_location_id: number;
|
|
6126
|
+
readonly line_items: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[];
|
|
6127
|
+
}
|
|
6128
|
+
interface ShopifyFulfillmentOrderLineItem {
|
|
6129
|
+
readonly line_item_id: number;
|
|
6237
6130
|
}
|
|
6238
|
-
interface
|
|
6239
|
-
readonly
|
|
6131
|
+
interface ShopifyFulfillmentOrdersWrapper {
|
|
6132
|
+
readonly fulfillment_orders: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrder[];
|
|
6240
6133
|
}
|
|
6241
|
-
interface
|
|
6134
|
+
interface ShopifyInventoryItem {
|
|
6242
6135
|
readonly id: number;
|
|
6243
|
-
readonly
|
|
6244
|
-
readonly
|
|
6245
|
-
readonly
|
|
6246
|
-
readonly
|
|
6247
|
-
readonly
|
|
6248
|
-
readonly
|
|
6249
|
-
readonly
|
|
6136
|
+
readonly cost: number;
|
|
6137
|
+
readonly country_code_of_origin?: string;
|
|
6138
|
+
readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
6139
|
+
readonly harmonized_system_code?: string;
|
|
6140
|
+
readonly province_code_of_origin?: string;
|
|
6141
|
+
readonly sku: string;
|
|
6142
|
+
readonly tracked?: boolean;
|
|
6250
6143
|
readonly requires_shipping: boolean;
|
|
6251
|
-
readonly
|
|
6252
|
-
readonly
|
|
6253
|
-
readonly variant_id?: number;
|
|
6254
|
-
readonly variant_title?: string;
|
|
6255
|
-
readonly vendor?: string;
|
|
6256
|
-
readonly name?: string;
|
|
6257
|
-
readonly gift_card: boolean;
|
|
6258
|
-
readonly properties: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
6259
|
-
readonly taxable: boolean;
|
|
6260
|
-
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
6261
|
-
readonly total_discount?: string;
|
|
6144
|
+
readonly created_at: string;
|
|
6145
|
+
readonly updated_at: string;
|
|
6262
6146
|
}
|
|
6263
|
-
interface
|
|
6264
|
-
readonly
|
|
6265
|
-
readonly
|
|
6266
|
-
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
6267
|
-
readonly grams?: number;
|
|
6268
|
-
readonly price?: string;
|
|
6269
|
-
readonly product_id?: number;
|
|
6270
|
-
readonly quantity?: number;
|
|
6271
|
-
readonly requires_shipping: boolean;
|
|
6272
|
-
readonly sku?: string;
|
|
6273
|
-
readonly title?: string;
|
|
6274
|
-
readonly variant_id?: number;
|
|
6275
|
-
readonly variant_title?: string;
|
|
6276
|
-
readonly vendor?: string;
|
|
6277
|
-
readonly name?: string;
|
|
6278
|
-
readonly gift_card: boolean;
|
|
6279
|
-
readonly properties?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
6280
|
-
readonly taxable: boolean;
|
|
6281
|
-
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
6282
|
-
readonly total_discount?: string;
|
|
6283
|
-
readonly id?: number;
|
|
6147
|
+
interface ShopifyInventoryItemForm {
|
|
6148
|
+
readonly harmonized_system_code?: string;
|
|
6149
|
+
readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
6284
6150
|
}
|
|
6285
|
-
interface
|
|
6286
|
-
readonly
|
|
6287
|
-
|
|
6151
|
+
interface ShopifyInventoryItemFormWrapper {
|
|
6152
|
+
readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItemForm;
|
|
6153
|
+
}
|
|
6154
|
+
interface ShopifyInventoryItemWrapper {
|
|
6155
|
+
readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem;
|
|
6156
|
+
}
|
|
6157
|
+
interface ShopifyInventoryItemsWrapper {
|
|
6158
|
+
readonly inventory_items: io.flow.shopify.markets.v0.models.ShopifyInventoryItem[];
|
|
6288
6159
|
}
|
|
6289
6160
|
interface ShopifyLocation {
|
|
6290
6161
|
readonly active: boolean;
|
|
@@ -6305,231 +6176,392 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
6305
6176
|
readonly localized_country_name?: string;
|
|
6306
6177
|
readonly localized_province_name?: string;
|
|
6307
6178
|
}
|
|
6308
|
-
interface ShopifyLocationDelete {
|
|
6309
|
-
readonly id: number;
|
|
6310
|
-
}
|
|
6311
6179
|
interface ShopifyLocationsResponseWrapper {
|
|
6312
|
-
readonly locations: io.flow.shopify.
|
|
6180
|
+
readonly locations: io.flow.shopify.markets.v0.models.ShopifyLocation[];
|
|
6313
6181
|
}
|
|
6314
6182
|
interface ShopifyOrder {
|
|
6315
|
-
readonly
|
|
6183
|
+
readonly id: number;
|
|
6184
|
+
readonly order_number: number;
|
|
6185
|
+
readonly checkout_id: number;
|
|
6186
|
+
readonly checkout_token: string;
|
|
6187
|
+
readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
6316
6188
|
readonly browser_ip?: string;
|
|
6317
6189
|
readonly buyer_accepts_marketing: boolean;
|
|
6318
|
-
readonly cancel_reason?: io.flow.shopify.
|
|
6190
|
+
readonly cancel_reason?: io.flow.shopify.markets.v0.enums.ShopifyOrderCancelReason;
|
|
6319
6191
|
readonly cancelled_at?: string;
|
|
6320
6192
|
readonly cart_token?: string;
|
|
6321
|
-
readonly client_details?: io.flow.shopify.
|
|
6193
|
+
readonly client_details?: io.flow.shopify.markets.v0.models.ShopifyOrderClientDetail;
|
|
6322
6194
|
readonly closed_at?: string;
|
|
6323
|
-
readonly created_at
|
|
6324
|
-
readonly currency
|
|
6325
|
-
readonly
|
|
6326
|
-
readonly
|
|
6195
|
+
readonly created_at: string;
|
|
6196
|
+
readonly currency: string;
|
|
6197
|
+
readonly total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6198
|
+
readonly current_total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6199
|
+
readonly total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6200
|
+
readonly current_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6201
|
+
readonly original_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6202
|
+
readonly total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6203
|
+
readonly current_total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6204
|
+
readonly subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6205
|
+
readonly current_subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6206
|
+
readonly total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6207
|
+
readonly current_total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6208
|
+
readonly total_line_items_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6209
|
+
readonly customer: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
|
|
6210
|
+
readonly customer_locale?: string;
|
|
6211
|
+
readonly discount_applications: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[];
|
|
6212
|
+
readonly discount_codes: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[];
|
|
6327
6213
|
readonly email?: string;
|
|
6328
|
-
readonly financial_status: io.flow.shopify.
|
|
6329
|
-
readonly fulfillments: io.flow.shopify.
|
|
6330
|
-
readonly fulfillment_status?: io.flow.shopify.
|
|
6331
|
-
readonly id?: number;
|
|
6214
|
+
readonly financial_status: io.flow.shopify.markets.v0.enums.ShopifyOrderFinancialStatusType;
|
|
6215
|
+
readonly fulfillments: io.flow.shopify.markets.v0.models.ShopifyOrderFulfillment[];
|
|
6216
|
+
readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
6332
6217
|
readonly landing_site?: string;
|
|
6333
|
-
readonly line_items: io.flow.shopify.
|
|
6218
|
+
readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
|
|
6334
6219
|
readonly location_id?: number;
|
|
6335
|
-
readonly name
|
|
6220
|
+
readonly name: string;
|
|
6336
6221
|
readonly note?: string;
|
|
6337
|
-
readonly note_attributes: io.flow.shopify.
|
|
6222
|
+
readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
|
|
6338
6223
|
readonly number?: number;
|
|
6339
|
-
readonly order_number?: number;
|
|
6340
6224
|
readonly payment_gateway_names: string[];
|
|
6341
6225
|
readonly processed_at?: string;
|
|
6342
|
-
readonly processing_method?: io.flow.shopify.
|
|
6226
|
+
readonly processing_method?: io.flow.shopify.markets.v0.enums.ShopifyOrderProcessingMethodType;
|
|
6343
6227
|
readonly referring_site?: string;
|
|
6344
|
-
readonly refunds: io.flow.shopify.
|
|
6345
|
-
readonly shipping_address?: io.flow.shopify.
|
|
6346
|
-
readonly shipping_lines: io.flow.shopify.
|
|
6228
|
+
readonly refunds: io.flow.shopify.markets.v0.models.ShopifyOrderRefund[];
|
|
6229
|
+
readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
6230
|
+
readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
|
|
6347
6231
|
readonly source_name?: string;
|
|
6348
|
-
readonly subtotal_price?: string;
|
|
6349
6232
|
readonly tags?: string;
|
|
6350
|
-
readonly tax_lines: io.flow.shopify.
|
|
6233
|
+
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
6351
6234
|
readonly taxes_included: boolean;
|
|
6352
6235
|
readonly token?: string;
|
|
6353
|
-
readonly total_discounts?: string;
|
|
6354
|
-
readonly total_line_items_price?: string;
|
|
6355
|
-
readonly total_price?: string;
|
|
6356
|
-
readonly total_tax?: string;
|
|
6357
6236
|
readonly total_weight?: number;
|
|
6358
6237
|
readonly updated_at?: string;
|
|
6359
6238
|
readonly user_id?: number;
|
|
6360
6239
|
readonly order_status_url?: string;
|
|
6361
|
-
readonly inventory_behaviour?: io.flow.shopify.
|
|
6240
|
+
readonly inventory_behaviour?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
6362
6241
|
readonly gateway?: string;
|
|
6363
|
-
readonly transactions?: io.flow.shopify.
|
|
6242
|
+
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
6364
6243
|
readonly send_receipt?: boolean;
|
|
6365
|
-
readonly metafields?: io.flow.shopify.
|
|
6244
|
+
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
|
|
6366
6245
|
}
|
|
6367
|
-
interface
|
|
6368
|
-
readonly
|
|
6246
|
+
interface ShopifyOrderAddress {
|
|
6247
|
+
readonly id?: number;
|
|
6248
|
+
readonly address1?: string;
|
|
6249
|
+
readonly address2?: string;
|
|
6250
|
+
readonly city?: string;
|
|
6251
|
+
readonly company?: string;
|
|
6252
|
+
readonly country?: string;
|
|
6253
|
+
readonly country_code?: string;
|
|
6254
|
+
readonly default?: boolean;
|
|
6255
|
+
readonly first_name?: string;
|
|
6256
|
+
readonly last_name?: string;
|
|
6257
|
+
readonly latitude?: number;
|
|
6258
|
+
readonly longitude?: number;
|
|
6259
|
+
readonly name?: string;
|
|
6260
|
+
readonly phone?: string;
|
|
6261
|
+
readonly province?: string;
|
|
6262
|
+
readonly province_code?: string;
|
|
6263
|
+
readonly zip?: string;
|
|
6264
|
+
}
|
|
6265
|
+
interface ShopifyOrderAttribute {
|
|
6266
|
+
readonly name: string;
|
|
6267
|
+
readonly value: string;
|
|
6268
|
+
}
|
|
6269
|
+
interface ShopifyOrderCancellationForm {
|
|
6270
|
+
readonly refund: io.flow.shopify.markets.v0.models.ShopifyRefund;
|
|
6271
|
+
}
|
|
6272
|
+
interface ShopifyOrderClientDetail {
|
|
6273
|
+
readonly accept_language?: string;
|
|
6274
|
+
readonly browser_height?: number;
|
|
6275
|
+
readonly browser_ip?: string;
|
|
6276
|
+
readonly browser_width?: number;
|
|
6277
|
+
readonly session_hash?: string;
|
|
6278
|
+
readonly user_agent?: string;
|
|
6369
6279
|
}
|
|
6370
6280
|
interface ShopifyOrderCustomer {
|
|
6281
|
+
readonly id?: number;
|
|
6371
6282
|
readonly email?: string;
|
|
6283
|
+
readonly accepts_marketing?: boolean;
|
|
6284
|
+
readonly created_at?: string;
|
|
6285
|
+
readonly updated_at?: string;
|
|
6372
6286
|
readonly first_name?: string;
|
|
6373
6287
|
readonly last_name?: string;
|
|
6288
|
+
readonly orders_count?: number;
|
|
6289
|
+
readonly state?: string;
|
|
6290
|
+
readonly total_spent?: string;
|
|
6291
|
+
readonly last_order_id?: number;
|
|
6292
|
+
readonly note?: string;
|
|
6293
|
+
readonly verified_email?: boolean;
|
|
6294
|
+
readonly multipass_identifier?: string;
|
|
6295
|
+
readonly tax_exempt?: boolean;
|
|
6296
|
+
readonly tax_exemptions?: any[];
|
|
6374
6297
|
readonly phone?: string;
|
|
6298
|
+
readonly tags?: string;
|
|
6299
|
+
readonly last_order_name?: string;
|
|
6300
|
+
readonly currency?: string;
|
|
6301
|
+
readonly addresses?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
6302
|
+
readonly default_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
6375
6303
|
}
|
|
6376
|
-
interface
|
|
6377
|
-
readonly
|
|
6304
|
+
interface ShopifyOrderDiscountAllocation {
|
|
6305
|
+
readonly amount: string;
|
|
6306
|
+
readonly discount_application_index: number;
|
|
6307
|
+
readonly amount_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6308
|
+
}
|
|
6309
|
+
interface ShopifyOrderDiscountApplication {
|
|
6310
|
+
readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
6311
|
+
readonly allocation_method: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
6312
|
+
readonly code?: string;
|
|
6313
|
+
readonly description?: string;
|
|
6314
|
+
readonly target_selection: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
6315
|
+
readonly target_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
6316
|
+
readonly title?: string;
|
|
6317
|
+
readonly value: string;
|
|
6318
|
+
readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
6319
|
+
}
|
|
6320
|
+
interface ShopifyOrderDiscountCode {
|
|
6321
|
+
readonly amount: string;
|
|
6322
|
+
readonly code: string;
|
|
6323
|
+
readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountType;
|
|
6324
|
+
}
|
|
6325
|
+
interface ShopifyOrderDuty {
|
|
6326
|
+
readonly id: string;
|
|
6327
|
+
readonly harmonized_system_code: string;
|
|
6328
|
+
readonly country_code_of_origin: string;
|
|
6329
|
+
readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
|
|
6330
|
+
readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
|
|
6331
|
+
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
6332
|
+
}
|
|
6333
|
+
interface ShopifyOrderEdit {
|
|
6334
|
+
readonly id: number;
|
|
6335
|
+
readonly created_at: string;
|
|
6336
|
+
readonly notify_customer: boolean;
|
|
6337
|
+
readonly order_id: number;
|
|
6338
|
+
readonly staff_note: string;
|
|
6339
|
+
readonly user_id?: number;
|
|
6340
|
+
readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItems;
|
|
6341
|
+
readonly discounts: any;
|
|
6342
|
+
readonly shipping_lines: any;
|
|
6343
|
+
}
|
|
6344
|
+
interface ShopifyOrderEditLineItems {
|
|
6345
|
+
readonly additions: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
6346
|
+
readonly removals: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
6347
|
+
}
|
|
6348
|
+
interface ShopifyOrderEditLineItemsChange {
|
|
6349
|
+
readonly id: number;
|
|
6350
|
+
readonly delta: number;
|
|
6351
|
+
}
|
|
6352
|
+
interface ShopifyOrderEditWrapper {
|
|
6353
|
+
readonly order_edit: io.flow.shopify.markets.v0.models.ShopifyOrderEdit;
|
|
6354
|
+
}
|
|
6355
|
+
interface ShopifyOrderFulfillment {
|
|
6356
|
+
readonly created_at?: string;
|
|
6357
|
+
readonly id?: number;
|
|
6358
|
+
readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
|
|
6359
|
+
readonly location_id: number;
|
|
6360
|
+
readonly name: string;
|
|
6361
|
+
readonly notify_customer?: boolean;
|
|
6362
|
+
readonly order_id?: number;
|
|
6363
|
+
readonly receipt?: any;
|
|
6364
|
+
readonly service: string;
|
|
6365
|
+
readonly shipment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
6366
|
+
readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
6367
|
+
readonly tracking_company?: string;
|
|
6368
|
+
readonly tracking_number?: string;
|
|
6369
|
+
readonly tracking_numbers?: string[];
|
|
6370
|
+
readonly tracking_urls?: string[];
|
|
6371
|
+
readonly updated_at?: string;
|
|
6372
|
+
readonly variant_inventory_management?: string;
|
|
6373
|
+
}
|
|
6374
|
+
interface ShopifyOrderLineItem {
|
|
6375
|
+
readonly fulfillable_quantity?: number;
|
|
6376
|
+
readonly fulfillment_service: string;
|
|
6377
|
+
readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
6378
|
+
readonly grams?: number;
|
|
6379
|
+
readonly id: number;
|
|
6380
|
+
readonly price?: string;
|
|
6381
|
+
readonly price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6382
|
+
readonly product_id?: number;
|
|
6383
|
+
readonly quantity: number;
|
|
6384
|
+
readonly requires_shipping: boolean;
|
|
6385
|
+
readonly sku?: string;
|
|
6386
|
+
readonly title?: string;
|
|
6387
|
+
readonly variant_id?: number;
|
|
6388
|
+
readonly variant_title?: string;
|
|
6389
|
+
readonly vendor?: string;
|
|
6390
|
+
readonly name?: string;
|
|
6391
|
+
readonly gift_card: boolean;
|
|
6392
|
+
readonly properties: io.flow.shopify.markets.v0.models.ShopifyOrderProperty[];
|
|
6393
|
+
readonly taxable: boolean;
|
|
6394
|
+
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
6395
|
+
readonly tip_payment_gateway?: string;
|
|
6396
|
+
readonly tip_payment_method?: string;
|
|
6397
|
+
readonly total_discount?: string;
|
|
6398
|
+
readonly total_discount_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6399
|
+
readonly discount_allocations?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[];
|
|
6400
|
+
readonly origin_location?: io.flow.shopify.markets.v0.models.ShopifyOrderOriginLocation;
|
|
6401
|
+
readonly variant_inventory_management?: string;
|
|
6402
|
+
readonly product_exists?: boolean;
|
|
6403
|
+
readonly duties: io.flow.shopify.markets.v0.models.ShopifyOrderDuty[];
|
|
6404
|
+
}
|
|
6405
|
+
interface ShopifyOrderMetafield {
|
|
6406
|
+
readonly id: number;
|
|
6407
|
+
readonly key: string;
|
|
6408
|
+
readonly namespace: string;
|
|
6409
|
+
readonly value: string;
|
|
6410
|
+
readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
|
|
6411
|
+
readonly description?: string;
|
|
6412
|
+
readonly owner_id: number;
|
|
6413
|
+
readonly owner_resource: string;
|
|
6414
|
+
}
|
|
6415
|
+
interface ShopifyOrderMetafieldForm {
|
|
6416
|
+
readonly key: string;
|
|
6417
|
+
readonly namespace: string;
|
|
6418
|
+
readonly value: string;
|
|
6419
|
+
readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
|
|
6420
|
+
readonly description?: string;
|
|
6421
|
+
}
|
|
6422
|
+
interface ShopifyOrderMoney {
|
|
6423
|
+
readonly amount: number;
|
|
6424
|
+
readonly currency_code: string;
|
|
6425
|
+
}
|
|
6426
|
+
interface ShopifyOrderMoneySet {
|
|
6427
|
+
readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
|
|
6428
|
+
readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
|
|
6429
|
+
}
|
|
6430
|
+
interface ShopifyOrderOriginLocation {
|
|
6431
|
+
readonly id: number;
|
|
6432
|
+
readonly country_code: string;
|
|
6433
|
+
readonly province_code: string;
|
|
6434
|
+
readonly name: string;
|
|
6435
|
+
readonly address1: string;
|
|
6436
|
+
readonly address2: string;
|
|
6437
|
+
readonly city: string;
|
|
6438
|
+
readonly zip: string;
|
|
6378
6439
|
}
|
|
6379
|
-
interface
|
|
6440
|
+
interface ShopifyOrderPaymentDetail {
|
|
6380
6441
|
readonly avs_result_code?: string;
|
|
6381
6442
|
readonly credit_card_bin?: string;
|
|
6382
6443
|
readonly credit_card_company: string;
|
|
6383
6444
|
readonly credit_card_number: string;
|
|
6384
6445
|
readonly cvv_result_code?: string;
|
|
6385
6446
|
}
|
|
6386
|
-
interface
|
|
6447
|
+
interface ShopifyOrderProperty {
|
|
6387
6448
|
readonly name: string;
|
|
6388
6449
|
readonly value: any;
|
|
6389
6450
|
}
|
|
6390
|
-
interface
|
|
6451
|
+
interface ShopifyOrderRefund {
|
|
6391
6452
|
readonly id: number;
|
|
6392
6453
|
readonly order_id: number;
|
|
6393
6454
|
readonly created_at: string;
|
|
6394
6455
|
readonly processed_at: string;
|
|
6395
6456
|
readonly note?: string;
|
|
6396
|
-
readonly refund_line_items?: io.flow.shopify.
|
|
6457
|
+
readonly refund_line_items?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[];
|
|
6397
6458
|
readonly restock?: boolean;
|
|
6398
|
-
readonly transactions?: io.flow.shopify.
|
|
6459
|
+
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
6399
6460
|
readonly user_id?: number;
|
|
6400
6461
|
}
|
|
6401
|
-
interface
|
|
6402
|
-
readonly note?: string;
|
|
6403
|
-
readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
|
|
6404
|
-
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
6405
|
-
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
6406
|
-
readonly currency: string;
|
|
6407
|
-
}
|
|
6408
|
-
interface ShopifyRefundLineItem {
|
|
6462
|
+
interface ShopifyOrderRefundLineItem {
|
|
6409
6463
|
readonly id: number;
|
|
6410
|
-
readonly line_item: io.flow.shopify.
|
|
6464
|
+
readonly line_item: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem;
|
|
6411
6465
|
readonly line_item_id: number;
|
|
6412
6466
|
readonly quantity: number;
|
|
6413
|
-
readonly restock_type: io.flow.shopify.
|
|
6467
|
+
readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
|
|
6414
6468
|
readonly location_id?: number;
|
|
6415
6469
|
readonly subtotal?: number;
|
|
6416
6470
|
readonly total_tax?: number;
|
|
6417
6471
|
}
|
|
6418
|
-
interface
|
|
6419
|
-
readonly
|
|
6420
|
-
readonly quantity: number;
|
|
6421
|
-
readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
|
|
6422
|
-
readonly location_id?: number;
|
|
6423
|
-
}
|
|
6424
|
-
interface ShopifyShippingLine {
|
|
6425
|
-
readonly code: string;
|
|
6472
|
+
interface ShopifyOrderShippingLine {
|
|
6473
|
+
readonly code?: string;
|
|
6426
6474
|
readonly price: string;
|
|
6427
6475
|
readonly source: string;
|
|
6428
6476
|
readonly title: string;
|
|
6429
|
-
readonly tax_lines: io.flow.shopify.
|
|
6477
|
+
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
6430
6478
|
readonly carrier_identifier?: string;
|
|
6431
6479
|
readonly requested_fulfillment_service_id?: string;
|
|
6480
|
+
readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6481
|
+
readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6432
6482
|
}
|
|
6433
|
-
interface
|
|
6434
|
-
readonly
|
|
6483
|
+
interface ShopifyOrderTaxLine {
|
|
6484
|
+
readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
|
|
6435
6485
|
readonly rate: number;
|
|
6436
6486
|
readonly title: string;
|
|
6437
6487
|
}
|
|
6438
|
-
interface
|
|
6488
|
+
interface ShopifyOrderTransaction {
|
|
6439
6489
|
readonly id: number;
|
|
6440
6490
|
readonly order_id: number;
|
|
6441
6491
|
readonly amount: number;
|
|
6442
|
-
readonly kind: io.flow.shopify.
|
|
6492
|
+
readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
|
|
6443
6493
|
readonly gateway: string;
|
|
6444
6494
|
readonly currency: string;
|
|
6445
|
-
readonly status: io.flow.shopify.
|
|
6446
|
-
readonly payment_details?: io.flow.shopify.
|
|
6495
|
+
readonly status: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
|
|
6496
|
+
readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
|
|
6447
6497
|
readonly receipt: any;
|
|
6448
6498
|
readonly authorization?: string;
|
|
6449
6499
|
readonly created_at: string;
|
|
6450
6500
|
readonly device_id?: number;
|
|
6451
6501
|
readonly gift_card_id?: number;
|
|
6452
6502
|
readonly source_name: string;
|
|
6453
|
-
readonly error_code?: io.flow.shopify.
|
|
6503
|
+
readonly error_code?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
6454
6504
|
readonly test: boolean;
|
|
6455
6505
|
readonly parent_id?: number;
|
|
6456
6506
|
readonly user_id?: number;
|
|
6457
6507
|
}
|
|
6458
|
-
interface
|
|
6459
|
-
readonly
|
|
6460
|
-
readonly currency: string;
|
|
6461
|
-
readonly gateway: string;
|
|
6462
|
-
readonly kind: io.flow.shopify.external.v0.enums.KindType;
|
|
6463
|
-
readonly source: string;
|
|
6464
|
-
readonly authorization?: string;
|
|
6465
|
-
readonly gift_card_id?: number;
|
|
6466
|
-
readonly parent_id?: number;
|
|
6467
|
-
readonly receipt?: any;
|
|
6508
|
+
interface ShopifyOrderWrapper {
|
|
6509
|
+
readonly order: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
6468
6510
|
}
|
|
6469
|
-
interface
|
|
6470
|
-
readonly
|
|
6471
|
-
readonly gift_card_last_characters: string;
|
|
6511
|
+
interface ShopifyOrdersWrapper {
|
|
6512
|
+
readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
|
|
6472
6513
|
}
|
|
6473
|
-
interface
|
|
6474
|
-
readonly
|
|
6475
|
-
readonly
|
|
6476
|
-
readonly
|
|
6477
|
-
readonly
|
|
6514
|
+
interface ShopifyRefund {
|
|
6515
|
+
readonly notify_x: boolean;
|
|
6516
|
+
readonly note?: string;
|
|
6517
|
+
readonly discrepancy_reason?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason;
|
|
6518
|
+
readonly shipping: io.flow.shopify.markets.v0.models.ShopifyRefundShipping;
|
|
6519
|
+
readonly refund_line_items: io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[];
|
|
6520
|
+
readonly transactions: io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[];
|
|
6521
|
+
readonly currency: string;
|
|
6478
6522
|
}
|
|
6479
|
-
interface
|
|
6480
|
-
readonly
|
|
6481
|
-
readonly
|
|
6482
|
-
readonly
|
|
6523
|
+
interface ShopifyRefundLineItem {
|
|
6524
|
+
readonly line_item_id: number;
|
|
6525
|
+
readonly quantity: number;
|
|
6526
|
+
readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
|
|
6527
|
+
readonly location_id?: number;
|
|
6483
6528
|
}
|
|
6484
|
-
interface
|
|
6485
|
-
readonly
|
|
6486
|
-
readonly
|
|
6529
|
+
interface ShopifyRefundShipping {
|
|
6530
|
+
readonly full_refund?: boolean;
|
|
6531
|
+
readonly amount?: number;
|
|
6487
6532
|
}
|
|
6488
|
-
interface
|
|
6489
|
-
readonly
|
|
6533
|
+
interface ShopifyRefundTransaction {
|
|
6534
|
+
readonly parent_id: number;
|
|
6535
|
+
readonly amount: string;
|
|
6536
|
+
readonly currency: string;
|
|
6537
|
+
readonly kind: string;
|
|
6538
|
+
readonly gateway: string;
|
|
6490
6539
|
}
|
|
6491
|
-
interface
|
|
6492
|
-
readonly
|
|
6493
|
-
readonly
|
|
6494
|
-
readonly
|
|
6495
|
-
readonly quantity?: number;
|
|
6496
|
-
readonly requires_shipping: boolean;
|
|
6497
|
-
readonly variant_id?: number;
|
|
6540
|
+
interface ShopifyWebhookRequest {
|
|
6541
|
+
readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
|
|
6542
|
+
readonly address: string;
|
|
6543
|
+
readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
|
|
6498
6544
|
}
|
|
6499
|
-
interface
|
|
6500
|
-
readonly
|
|
6501
|
-
readonly shop_domain: string;
|
|
6545
|
+
interface ShopifyWebhookRequestWrapper {
|
|
6546
|
+
readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookRequest;
|
|
6502
6547
|
}
|
|
6503
|
-
interface
|
|
6548
|
+
interface ShopifyWebhookResponse {
|
|
6504
6549
|
readonly id: number;
|
|
6505
|
-
readonly handle: string;
|
|
6506
|
-
readonly title: string;
|
|
6507
|
-
readonly updated_at: string;
|
|
6508
|
-
}
|
|
6509
|
-
interface Webhook {
|
|
6510
6550
|
readonly address: string;
|
|
6551
|
+
readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
|
|
6511
6552
|
readonly created_at: string;
|
|
6512
|
-
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
6513
|
-
readonly id: number;
|
|
6514
|
-
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
6515
6553
|
readonly updated_at: string;
|
|
6516
|
-
readonly
|
|
6517
|
-
readonly
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
readonly
|
|
6521
|
-
readonly address: string;
|
|
6522
|
-
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
6523
|
-
readonly metafield_namespaces?: string[];
|
|
6524
|
-
}
|
|
6525
|
-
interface WebhookFormWrapper {
|
|
6526
|
-
readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
|
|
6554
|
+
readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
|
|
6555
|
+
readonly fields: any[];
|
|
6556
|
+
readonly metafield_namespaces: any[];
|
|
6557
|
+
readonly api_version: string;
|
|
6558
|
+
readonly private_metafield_namespaces: any[];
|
|
6527
6559
|
}
|
|
6528
|
-
interface
|
|
6529
|
-
readonly
|
|
6560
|
+
interface ShopifyWebhookResponseWrapper {
|
|
6561
|
+
readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
6530
6562
|
}
|
|
6531
|
-
interface
|
|
6532
|
-
readonly
|
|
6563
|
+
interface ShopifyWebhooksResponseWrapper {
|
|
6564
|
+
readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
|
|
6533
6565
|
}
|
|
6534
6566
|
}
|
|
6535
6567
|
declare namespace io.flow.pricing.indicator.internal.event.v0.enums {
|
|
@@ -6706,29 +6738,20 @@ declare namespace io.flow.svb.v0.models {
|
|
|
6706
6738
|
}
|
|
6707
6739
|
}
|
|
6708
6740
|
declare namespace io.flow.payment.gateway.v0.enums {
|
|
6741
|
+
type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
|
|
6742
|
+
type PaymentActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6709
6743
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error';
|
|
6710
6744
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
6711
6745
|
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'afterpay';
|
|
6712
|
-
type SupportedActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6713
6746
|
}
|
|
6714
6747
|
declare namespace io.flow.payment.gateway.v0.models {
|
|
6715
|
-
interface ActionAddPaymentMethod {
|
|
6716
|
-
readonly type: 'add_payment_method';
|
|
6717
|
-
readonly expires_at?: string;
|
|
6718
|
-
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
6719
|
-
}
|
|
6720
|
-
interface ActionCapture {
|
|
6721
|
-
readonly type: 'capture';
|
|
6722
|
-
readonly expires_at?: string;
|
|
6723
|
-
readonly amount_awaiting_capture: number;
|
|
6724
|
-
readonly currency: string;
|
|
6725
|
-
}
|
|
6726
6748
|
interface ActionDisplayInlineWindow {
|
|
6727
6749
|
readonly type: 'display_inline_window';
|
|
6728
6750
|
readonly expires_at?: string;
|
|
6729
6751
|
readonly method: string;
|
|
6730
6752
|
readonly url: string;
|
|
6731
6753
|
readonly data?: any;
|
|
6754
|
+
readonly window_size?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize;
|
|
6732
6755
|
}
|
|
6733
6756
|
interface ActionExecuteScript {
|
|
6734
6757
|
readonly type: 'execute_script';
|
|
@@ -6763,12 +6786,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6763
6786
|
readonly type: 'use_sdk_applepay_js_create_session';
|
|
6764
6787
|
readonly expires_at?: string;
|
|
6765
6788
|
readonly merchant_identifier: string;
|
|
6766
|
-
readonly payment_data_request:
|
|
6789
|
+
readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
|
|
6767
6790
|
}
|
|
6768
6791
|
interface ActionUseSdkGooglepay {
|
|
6769
6792
|
readonly type: 'use_sdk_googlepay';
|
|
6770
6793
|
readonly expires_at?: string;
|
|
6771
|
-
readonly payment_data_request:
|
|
6794
|
+
readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest;
|
|
6772
6795
|
}
|
|
6773
6796
|
interface ActionUseSdkKlarnaV1 {
|
|
6774
6797
|
readonly type: 'use_sdk_klarna_v1';
|
|
@@ -6809,18 +6832,22 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6809
6832
|
}
|
|
6810
6833
|
interface BrowserDetails {
|
|
6811
6834
|
readonly type: 'browser';
|
|
6812
|
-
readonly origin
|
|
6813
|
-
readonly language
|
|
6814
|
-
readonly java_enabled
|
|
6815
|
-
readonly color_depth
|
|
6816
|
-
readonly screen_height
|
|
6817
|
-
readonly screen_width
|
|
6818
|
-
readonly time_zone_offset
|
|
6835
|
+
readonly origin: string;
|
|
6836
|
+
readonly language: string;
|
|
6837
|
+
readonly java_enabled: boolean;
|
|
6838
|
+
readonly color_depth: number;
|
|
6839
|
+
readonly screen_height: number;
|
|
6840
|
+
readonly screen_width: number;
|
|
6841
|
+
readonly time_zone_offset: number;
|
|
6819
6842
|
readonly user_agent?: string;
|
|
6820
6843
|
readonly accept?: string;
|
|
6821
6844
|
}
|
|
6822
6845
|
interface OrderDetails {
|
|
6823
6846
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
6847
|
+
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
6848
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
6849
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
6850
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
6824
6851
|
}
|
|
6825
6852
|
interface OrderInformationDetails {
|
|
6826
6853
|
readonly type: 'details';
|
|
@@ -6869,16 +6896,49 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6869
6896
|
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
6870
6897
|
readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
6871
6898
|
}
|
|
6899
|
+
interface PaymentDiscount {
|
|
6900
|
+
readonly amount: number;
|
|
6901
|
+
readonly name?: string;
|
|
6902
|
+
readonly code?: string;
|
|
6903
|
+
}
|
|
6904
|
+
interface PaymentDuty {
|
|
6905
|
+
readonly amount: number;
|
|
6906
|
+
readonly name?: string;
|
|
6907
|
+
}
|
|
6872
6908
|
interface PaymentFailure {
|
|
6873
6909
|
readonly authorization_id?: string;
|
|
6874
6910
|
readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
|
|
6875
6911
|
readonly failure_message: string;
|
|
6876
6912
|
}
|
|
6913
|
+
interface PaymentInformation {
|
|
6914
|
+
readonly amount_refundable?: number;
|
|
6915
|
+
readonly amount_refunded?: number;
|
|
6916
|
+
readonly refundable_before?: string;
|
|
6917
|
+
readonly amount_capturable?: number;
|
|
6918
|
+
readonly amount_captured?: number;
|
|
6919
|
+
readonly capturable_before?: string;
|
|
6920
|
+
readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
|
|
6921
|
+
}
|
|
6877
6922
|
interface PaymentMethodBrand {
|
|
6878
6923
|
readonly id: string;
|
|
6879
6924
|
readonly name: string;
|
|
6880
6925
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6881
6926
|
}
|
|
6927
|
+
interface PaymentMethodCardNumberCipher {
|
|
6928
|
+
readonly type: 'cipher';
|
|
6929
|
+
readonly cipher: string;
|
|
6930
|
+
}
|
|
6931
|
+
interface PaymentMethodCardNumberCleartext {
|
|
6932
|
+
readonly type: 'cleartext';
|
|
6933
|
+
readonly number: string;
|
|
6934
|
+
}
|
|
6935
|
+
interface PaymentMethodCardPciDetails {
|
|
6936
|
+
readonly type: 'card_pci_details';
|
|
6937
|
+
readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
|
|
6938
|
+
readonly expiration_month: number;
|
|
6939
|
+
readonly expiration_year: number;
|
|
6940
|
+
readonly name: string;
|
|
6941
|
+
}
|
|
6882
6942
|
interface PaymentMethodCardToken {
|
|
6883
6943
|
readonly type: 'token';
|
|
6884
6944
|
readonly token: string;
|
|
@@ -6947,6 +7007,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6947
7007
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6948
7008
|
readonly last_four: string;
|
|
6949
7009
|
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
7010
|
+
readonly id: string;
|
|
6950
7011
|
}
|
|
6951
7012
|
interface PaymentMethodSummaryGooglepay {
|
|
6952
7013
|
readonly type: 'googlepay';
|
|
@@ -6966,13 +7027,16 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6966
7027
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6967
7028
|
}
|
|
6968
7029
|
interface PaymentOrderDetailsLineItem {
|
|
7030
|
+
readonly id: string;
|
|
6969
7031
|
readonly description: string;
|
|
6970
7032
|
readonly quantity: number;
|
|
6971
|
-
readonly
|
|
6972
|
-
readonly
|
|
6973
|
-
readonly
|
|
7033
|
+
readonly amount: number;
|
|
7034
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
7035
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
6974
7036
|
readonly product_url?: string;
|
|
6975
7037
|
readonly image_url?: string;
|
|
7038
|
+
readonly category?: string;
|
|
7039
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
6976
7040
|
}
|
|
6977
7041
|
interface PaymentPaymentMethod {
|
|
6978
7042
|
readonly id: string;
|
|
@@ -6981,7 +7045,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6981
7045
|
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
6982
7046
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6983
7047
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6984
|
-
readonly possible_actions: io.flow.payment.gateway.v0.enums.
|
|
7048
|
+
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
6985
7049
|
}
|
|
6986
7050
|
interface PaymentRefund {
|
|
6987
7051
|
readonly id: string;
|
|
@@ -7002,29 +7066,35 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7002
7066
|
interface PaymentRequest {
|
|
7003
7067
|
readonly id: string;
|
|
7004
7068
|
readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
|
|
7069
|
+
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
7005
7070
|
readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
|
|
7006
7071
|
readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
|
|
7007
7072
|
readonly amount: number;
|
|
7008
|
-
readonly amount_refundable?: number;
|
|
7009
7073
|
readonly currency: string;
|
|
7010
7074
|
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
7011
7075
|
readonly ip?: string;
|
|
7076
|
+
readonly locale?: string;
|
|
7012
7077
|
readonly return_url: string;
|
|
7013
7078
|
readonly attributes?: Record<string, string>;
|
|
7014
7079
|
readonly reference?: string;
|
|
7015
|
-
readonly
|
|
7016
|
-
readonly supported_actions: io.flow.payment.gateway.v0.enums.
|
|
7080
|
+
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
7081
|
+
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7017
7082
|
}
|
|
7018
7083
|
interface PaymentRequestForm {
|
|
7019
7084
|
readonly amount: number;
|
|
7020
7085
|
readonly currency: string;
|
|
7021
7086
|
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
7022
7087
|
readonly ip?: string;
|
|
7088
|
+
readonly locale?: string;
|
|
7023
7089
|
readonly return_url: string;
|
|
7024
7090
|
readonly attributes?: Record<string, string>;
|
|
7025
7091
|
readonly reference?: string;
|
|
7026
7092
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
7027
|
-
readonly supported_actions?: io.flow.payment.gateway.v0.enums.
|
|
7093
|
+
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7094
|
+
}
|
|
7095
|
+
interface PaymentRequestReference {
|
|
7096
|
+
readonly id: string;
|
|
7097
|
+
readonly reference?: string;
|
|
7028
7098
|
}
|
|
7029
7099
|
interface PaymentReversal {
|
|
7030
7100
|
readonly id: string;
|
|
@@ -7042,13 +7112,25 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7042
7112
|
readonly status: io.flow.payment.v0.enums.ReversalStatus;
|
|
7043
7113
|
readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
|
|
7044
7114
|
}
|
|
7115
|
+
interface PaymentTax {
|
|
7116
|
+
readonly amount: number;
|
|
7117
|
+
readonly name?: string;
|
|
7118
|
+
}
|
|
7119
|
+
interface Shipping {
|
|
7120
|
+
readonly description: string;
|
|
7121
|
+
readonly amount: number;
|
|
7122
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
7123
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
7124
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
7125
|
+
}
|
|
7045
7126
|
}
|
|
7046
7127
|
declare namespace io.flow.payment.gateway.v0.unions {
|
|
7047
|
-
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.
|
|
7128
|
+
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
|
|
7048
7129
|
type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
|
|
7130
|
+
type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
|
|
7049
7131
|
type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
|
|
7050
7132
|
type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
|
|
7051
|
-
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
7133
|
+
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
7052
7134
|
type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
7053
7135
|
type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
|
|
7054
7136
|
type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
@@ -7684,7 +7766,7 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
7684
7766
|
declare namespace io.flow.permission.v0.enums {
|
|
7685
7767
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
7686
7768
|
type FlowBehavior = 'view_consumer_data';
|
|
7687
|
-
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
7769
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
|
|
7688
7770
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
7689
7771
|
}
|
|
7690
7772
|
declare namespace io.flow.permission.v0.models {
|
|
@@ -8332,6 +8414,8 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
8332
8414
|
readonly to: string;
|
|
8333
8415
|
readonly timezone?: string;
|
|
8334
8416
|
readonly label?: string;
|
|
8417
|
+
readonly min_days?: number;
|
|
8418
|
+
readonly max_days?: number;
|
|
8335
8419
|
}
|
|
8336
8420
|
interface DeliveryWindowComponent {
|
|
8337
8421
|
readonly from: string;
|
|
@@ -8852,11 +8936,22 @@ declare namespace io.flow.fraud.v0.models {
|
|
|
8852
8936
|
interface FraudEmailRuleForm {
|
|
8853
8937
|
readonly rule: io.flow.fraud.v0.models.FraudEmailRule;
|
|
8854
8938
|
}
|
|
8939
|
+
interface FraudFlowOrderReference {
|
|
8940
|
+
readonly discriminator: 'flow_order';
|
|
8941
|
+
readonly reference: io.flow.experience.v0.models.OrderReference;
|
|
8942
|
+
}
|
|
8943
|
+
interface FraudPaymentRequestReference {
|
|
8944
|
+
readonly discriminator: 'payment_request';
|
|
8945
|
+
readonly reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
|
|
8946
|
+
}
|
|
8855
8947
|
interface OrderFraudStatus {
|
|
8856
8948
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
8857
8949
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
8858
8950
|
}
|
|
8859
8951
|
}
|
|
8952
|
+
declare namespace io.flow.fraud.v0.unions {
|
|
8953
|
+
type FraudOrderReference = io.flow.fraud.v0.models.FraudFlowOrderReference | io.flow.fraud.v0.models.FraudPaymentRequestReference;
|
|
8954
|
+
}
|
|
8860
8955
|
declare namespace io.flow.currency.v0.models {
|
|
8861
8956
|
interface Rate {
|
|
8862
8957
|
readonly id: string;
|
|
@@ -8879,7 +8974,7 @@ declare namespace io.flow.currency.v0.models {
|
|
|
8879
8974
|
}
|
|
8880
8975
|
declare namespace io.flow.organization.v0.enums {
|
|
8881
8976
|
type CountryPickerSource = 'experience' | 'destination';
|
|
8882
|
-
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
8977
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
|
|
8883
8978
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
8884
8979
|
}
|
|
8885
8980
|
declare namespace io.flow.organization.v0.models {
|
|
@@ -9182,6 +9277,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9182
9277
|
type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
|
|
9183
9278
|
type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_book_contact_invalid' | 'address_book_contact_not_found' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_not_found' | 'checkout_not_found' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'first_name_invalid' | 'first_name_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'national_id_number_invalid' | 'no_customer' | 'no_valid_address_book_contacts' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_balance_not_available' | 'order_identifier_invalid' | 'payment_failed' | 'payment_not_found' | 'payment_source_confirmation_required' | 'payment_source_failed' | 'payment_source_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
|
|
9184
9279
|
type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
|
|
9280
|
+
type ClassificationErrorCode = 'generic_error';
|
|
9185
9281
|
type ComplianceType = 'weee';
|
|
9186
9282
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
9187
9283
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
@@ -11061,6 +11157,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11061
11157
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11062
11158
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11063
11159
|
}
|
|
11160
|
+
interface CheckoutOrderAddressSourceInputs {
|
|
11161
|
+
readonly shipping?: io.flow.internal.v0.enums.CheckoutAddressSource;
|
|
11162
|
+
readonly invoicing?: io.flow.internal.v0.enums.CheckoutAddressSource;
|
|
11163
|
+
}
|
|
11064
11164
|
interface CheckoutOrderAddresses {
|
|
11065
11165
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11066
11166
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
@@ -11136,6 +11236,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11136
11236
|
readonly contact?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
11137
11237
|
readonly addresses?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
11138
11238
|
readonly address_book?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
11239
|
+
readonly address_sources?: io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
|
|
11139
11240
|
readonly attributes?: Record<string, string>;
|
|
11140
11241
|
readonly delivery_options?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
|
|
11141
11242
|
readonly gift_cards?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
|
|
@@ -11906,6 +12007,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11906
12007
|
readonly MD: string;
|
|
11907
12008
|
readonly PaRes: string;
|
|
11908
12009
|
}
|
|
12010
|
+
interface Classification {
|
|
12011
|
+
readonly discriminator: 'classification';
|
|
12012
|
+
readonly product_id: string;
|
|
12013
|
+
readonly description: string;
|
|
12014
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
12015
|
+
readonly images: string[];
|
|
12016
|
+
readonly categories: string[];
|
|
12017
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12018
|
+
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
12019
|
+
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
12020
|
+
readonly score?: number;
|
|
12021
|
+
}
|
|
11909
12022
|
interface ClassificationDetails {
|
|
11910
12023
|
readonly updated_by_user_id: string;
|
|
11911
12024
|
readonly organization_id: string;
|
|
@@ -11922,6 +12035,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11922
12035
|
readonly gender: string;
|
|
11923
12036
|
readonly construction: string;
|
|
11924
12037
|
}
|
|
12038
|
+
interface ClassificationError {
|
|
12039
|
+
readonly discriminator: 'classification_error';
|
|
12040
|
+
readonly code: io.flow.internal.v0.enums.ClassificationErrorCode;
|
|
12041
|
+
readonly messages: string[];
|
|
12042
|
+
readonly form: io.flow.internal.v0.unions.ClassificationForm;
|
|
12043
|
+
}
|
|
12044
|
+
interface ClassificationFormWrapper {
|
|
12045
|
+
readonly classifications: io.flow.internal.v0.unions.ClassificationForm[];
|
|
12046
|
+
}
|
|
11925
12047
|
interface ClassificationItem {
|
|
11926
12048
|
readonly id: string;
|
|
11927
12049
|
readonly organization_id: string;
|
|
@@ -11941,6 +12063,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11941
12063
|
readonly attributes: Record<string, string>;
|
|
11942
12064
|
readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
|
|
11943
12065
|
}
|
|
12066
|
+
interface ClassificationProductHarmonization {
|
|
12067
|
+
readonly product_labels?: io.flow.internal.v0.models.ProductLabels;
|
|
12068
|
+
readonly customs_description?: string;
|
|
12069
|
+
readonly hs6_code?: string;
|
|
12070
|
+
readonly hs6_description?: string;
|
|
12071
|
+
}
|
|
11944
12072
|
interface ClassificationProductId {
|
|
11945
12073
|
readonly organization_id: string;
|
|
11946
12074
|
readonly product_id: string;
|
|
@@ -11963,6 +12091,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11963
12091
|
readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
11964
12092
|
readonly number_of_items: number;
|
|
11965
12093
|
}
|
|
12094
|
+
interface ClassificationWrapper {
|
|
12095
|
+
readonly classifications: io.flow.internal.v0.unions.ClassificationResponse[];
|
|
12096
|
+
}
|
|
11966
12097
|
interface ClassifiedProduct {
|
|
11967
12098
|
readonly product_id: string;
|
|
11968
12099
|
readonly organization_id: string;
|
|
@@ -12448,6 +12579,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12448
12579
|
interface EmailModificationForm {
|
|
12449
12580
|
readonly email?: string;
|
|
12450
12581
|
}
|
|
12582
|
+
interface EmptyClassificationForm {
|
|
12583
|
+
readonly discriminator: 'empty_classification_form';
|
|
12584
|
+
readonly product_id: string;
|
|
12585
|
+
readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
12586
|
+
}
|
|
12451
12587
|
interface Encryption {
|
|
12452
12588
|
readonly id: string;
|
|
12453
12589
|
readonly key: io.flow.internal.v0.models.KeyReference;
|
|
@@ -12979,6 +13115,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12979
13115
|
readonly id: string;
|
|
12980
13116
|
readonly fraud_review_id: string;
|
|
12981
13117
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13118
|
+
readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
12982
13119
|
readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
|
|
12983
13120
|
readonly apply_at?: string;
|
|
12984
13121
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
@@ -13013,6 +13150,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13013
13150
|
readonly id: string;
|
|
13014
13151
|
readonly organization_id: string;
|
|
13015
13152
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13153
|
+
readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
13016
13154
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
13017
13155
|
readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
13018
13156
|
readonly description?: string;
|
|
@@ -13026,6 +13164,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13026
13164
|
readonly id: string;
|
|
13027
13165
|
readonly fraud_review_id: string;
|
|
13028
13166
|
readonly order: io.flow.experience.v0.models.OrderReference;
|
|
13167
|
+
readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
|
|
13029
13168
|
readonly status: io.flow.fraud.v0.enums.FraudStatus;
|
|
13030
13169
|
readonly created_at: string;
|
|
13031
13170
|
readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
|
|
@@ -14858,6 +14997,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14858
14997
|
readonly localized_feed_count?: number;
|
|
14859
14998
|
readonly connected_at?: string;
|
|
14860
14999
|
}
|
|
15000
|
+
interface MarketsOrder {
|
|
15001
|
+
readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
15002
|
+
readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
|
|
15003
|
+
}
|
|
14861
15004
|
interface MerchantOfRecordEntitySettings {
|
|
14862
15005
|
readonly id: string;
|
|
14863
15006
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -16164,6 +16307,25 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16164
16307
|
interface ShopifyGrantsCheck {
|
|
16165
16308
|
readonly placeholder: string;
|
|
16166
16309
|
}
|
|
16310
|
+
interface ShopifyMarketsShop {
|
|
16311
|
+
readonly id: string;
|
|
16312
|
+
readonly domain: string;
|
|
16313
|
+
readonly myshopify_domain: string;
|
|
16314
|
+
readonly organization_id: string;
|
|
16315
|
+
readonly shop: string;
|
|
16316
|
+
readonly created_at: string;
|
|
16317
|
+
readonly api_key_masked: string;
|
|
16318
|
+
readonly api_password_masked: string;
|
|
16319
|
+
readonly shared_secret_masked: string;
|
|
16320
|
+
}
|
|
16321
|
+
interface ShopifyMarketsShopForm {
|
|
16322
|
+
readonly shop: string;
|
|
16323
|
+
readonly domain: string;
|
|
16324
|
+
readonly myshopify_domain: string;
|
|
16325
|
+
readonly api_key: string;
|
|
16326
|
+
readonly api_password: string;
|
|
16327
|
+
readonly shared_secret: string;
|
|
16328
|
+
}
|
|
16167
16329
|
interface ShopifyOrderAuthorization {
|
|
16168
16330
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
16169
16331
|
readonly detail?: io.flow.internal.v0.models.ShopifyOrderDetail;
|
|
@@ -16328,25 +16490,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16328
16490
|
readonly address: string;
|
|
16329
16491
|
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
16330
16492
|
}
|
|
16331
|
-
interface ShopifyXborderShop {
|
|
16332
|
-
readonly id: string;
|
|
16333
|
-
readonly domain: string;
|
|
16334
|
-
readonly myshopify_domain: string;
|
|
16335
|
-
readonly organization_id: string;
|
|
16336
|
-
readonly shop: string;
|
|
16337
|
-
readonly created_at: string;
|
|
16338
|
-
readonly api_key_masked: string;
|
|
16339
|
-
readonly api_password_masked: string;
|
|
16340
|
-
readonly shared_secret_masked: string;
|
|
16341
|
-
}
|
|
16342
|
-
interface ShopifyXborderShopForm {
|
|
16343
|
-
readonly shop: string;
|
|
16344
|
-
readonly domain: string;
|
|
16345
|
-
readonly myshopify_domain: string;
|
|
16346
|
-
readonly api_key: string;
|
|
16347
|
-
readonly api_password: string;
|
|
16348
|
-
readonly shared_secret: string;
|
|
16349
|
-
}
|
|
16350
16493
|
interface SimplifiedItemLabel {
|
|
16351
16494
|
readonly discriminator: 'item';
|
|
16352
16495
|
readonly item_type: string;
|
|
@@ -16356,6 +16499,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16356
16499
|
readonly category: string;
|
|
16357
16500
|
readonly children: io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[];
|
|
16358
16501
|
}
|
|
16502
|
+
interface SingleClassificationForm {
|
|
16503
|
+
readonly discriminator: 'single_classification_form';
|
|
16504
|
+
readonly product_id: string;
|
|
16505
|
+
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonizationForm;
|
|
16506
|
+
readonly initial_customs_description?: string;
|
|
16507
|
+
}
|
|
16359
16508
|
interface SnapchatPixel {
|
|
16360
16509
|
readonly discriminator: 'snapchat_pixel';
|
|
16361
16510
|
readonly name?: string;
|
|
@@ -16990,6 +17139,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16990
17139
|
interface UserStatusForm {
|
|
16991
17140
|
readonly status: io.flow.common.v0.enums.UserStatus;
|
|
16992
17141
|
}
|
|
17142
|
+
interface UserStatusRule {
|
|
17143
|
+
readonly id: string;
|
|
17144
|
+
readonly domain: string;
|
|
17145
|
+
readonly status: io.flow.common.v0.enums.UserStatus;
|
|
17146
|
+
}
|
|
17147
|
+
interface UserStatusRuleForm {
|
|
17148
|
+
readonly domain: string;
|
|
17149
|
+
readonly status: io.flow.common.v0.enums.UserStatus;
|
|
17150
|
+
}
|
|
16993
17151
|
interface UserUpsertedV2 {
|
|
16994
17152
|
readonly discriminator: 'user_upserted_v2';
|
|
16995
17153
|
readonly event_id: string;
|
|
@@ -17070,16 +17228,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17070
17228
|
readonly discriminator: 'whole_order_action_form';
|
|
17071
17229
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
17072
17230
|
}
|
|
17073
|
-
interface XborderOrder {
|
|
17074
|
-
readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
|
|
17075
|
-
readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
|
|
17076
|
-
}
|
|
17077
17231
|
}
|
|
17078
17232
|
declare namespace io.flow.internal.v0.unions {
|
|
17079
17233
|
type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
17080
17234
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
17081
17235
|
type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
|
|
17082
|
-
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
17236
|
+
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
17083
17237
|
type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
|
|
17084
17238
|
type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
|
|
17085
17239
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
@@ -17152,11 +17306,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17152
17306
|
type CheckoutSequencedSubmitResponse = io.flow.internal.v0.models.CheckoutSequencedSubmitResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
17153
17307
|
type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
|
|
17154
17308
|
type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
|
|
17309
|
+
type ClassificationForm = io.flow.internal.v0.models.SingleClassificationForm | io.flow.internal.v0.models.EmptyClassificationForm;
|
|
17155
17310
|
type ClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationForm | io.flow.internal.v0.models.NoClassificationForm;
|
|
17156
17311
|
type ClassificationLabelAttribute = {
|
|
17157
17312
|
discriminator: 'empty_attribute';
|
|
17158
17313
|
value: io.flow.internal.v0.enums.EmptyAttribute;
|
|
17159
17314
|
} | io.flow.internal.v0.models.SupportedLabels;
|
|
17315
|
+
type ClassificationResponse = io.flow.internal.v0.models.Classification | io.flow.internal.v0.models.ClassificationError;
|
|
17160
17316
|
type ClassificationTaxonomy = io.flow.internal.v0.models.TaxonomyCategory | io.flow.internal.v0.models.LabelTaxonomy;
|
|
17161
17317
|
type ComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
17162
17318
|
type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
@@ -17620,6 +17776,7 @@ export declare type CheckoutOpenOrder = io.flow.internal.v0.models.CheckoutOpenO
|
|
|
17620
17776
|
export declare type CheckoutOrder = io.flow.internal.v0.unions.CheckoutOrder;
|
|
17621
17777
|
export declare type CheckoutOrderAddressBookInputs = io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
17622
17778
|
export declare type CheckoutOrderAddressInputs = io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
17779
|
+
export declare type CheckoutOrderAddressSourceInputs = io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
|
|
17623
17780
|
export declare type CheckoutOrderAddresses = io.flow.internal.v0.models.CheckoutOrderAddresses;
|
|
17624
17781
|
export declare type CheckoutOrderContactInputs = io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
17625
17782
|
export declare type CheckoutOrderDeliveries = io.flow.internal.v0.models.CheckoutOrderDeliveries;
|
|
@@ -17892,17 +18049,25 @@ export declare type Cipher = io.flow.internal.v0.models.Cipher;
|
|
|
17892
18049
|
export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
|
|
17893
18050
|
export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
|
|
17894
18051
|
export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
|
|
18052
|
+
export declare type Classification = io.flow.internal.v0.models.Classification;
|
|
17895
18053
|
export declare type ClassificationDetails = io.flow.internal.v0.models.ClassificationDetails;
|
|
18054
|
+
export declare type ClassificationError = io.flow.internal.v0.models.ClassificationError;
|
|
18055
|
+
export declare type ClassificationErrorCode = io.flow.internal.v0.enums.ClassificationErrorCode;
|
|
18056
|
+
export declare type ClassificationForm = io.flow.internal.v0.unions.ClassificationForm;
|
|
18057
|
+
export declare type ClassificationFormWrapper = io.flow.internal.v0.models.ClassificationFormWrapper;
|
|
17896
18058
|
export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
|
|
17897
18059
|
export declare type ClassificationJudgementForm = io.flow.internal.v0.unions.ClassificationJudgementForm;
|
|
17898
18060
|
export declare type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
|
|
17899
18061
|
export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
|
|
18062
|
+
export declare type ClassificationProductHarmonization = io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
17900
18063
|
export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
|
|
17901
18064
|
export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
|
|
17902
18065
|
export declare type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
17903
18066
|
export declare type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
18067
|
+
export declare type ClassificationResponse = io.flow.internal.v0.unions.ClassificationResponse;
|
|
17904
18068
|
export declare type ClassificationStatistics = io.flow.internal.v0.models.ClassificationStatistics;
|
|
17905
18069
|
export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
18070
|
+
export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
17906
18071
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
17907
18072
|
export declare type Compliance = io.flow.internal.v0.models.Compliance;
|
|
17908
18073
|
export declare type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
@@ -18001,6 +18166,7 @@ export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySim
|
|
|
18001
18166
|
export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
|
|
18002
18167
|
export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
|
|
18003
18168
|
export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
|
|
18169
|
+
export declare type EmptyClassificationForm = io.flow.internal.v0.models.EmptyClassificationForm;
|
|
18004
18170
|
export declare type Encryption = io.flow.internal.v0.models.Encryption;
|
|
18005
18171
|
export declare type Event = io.flow.internal.v0.unions.Event;
|
|
18006
18172
|
export declare type EventType = io.flow.internal.v0.enums.EventType;
|
|
@@ -18399,6 +18565,7 @@ export declare type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.en
|
|
|
18399
18565
|
export declare type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
18400
18566
|
export declare type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
18401
18567
|
export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
18568
|
+
export declare type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
18402
18569
|
export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
18403
18570
|
export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
18404
18571
|
export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
|
|
@@ -18653,6 +18820,8 @@ export declare type ShopifyGiftCardReversal = io.flow.internal.v0.models.Shopify
|
|
|
18653
18820
|
export declare type ShopifyGiftCardReversalForm = io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
|
|
18654
18821
|
export declare type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
|
|
18655
18822
|
export declare type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
|
|
18823
|
+
export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
|
|
18824
|
+
export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
|
|
18656
18825
|
export declare type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;
|
|
18657
18826
|
export declare type ShopifyOrderCancelForm = io.flow.internal.v0.models.ShopifyOrderCancelForm;
|
|
18658
18827
|
export declare type ShopifyOrderCancelResponse = io.flow.internal.v0.models.ShopifyOrderCancelResponse;
|
|
@@ -18692,13 +18861,12 @@ export declare type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShop
|
|
|
18692
18861
|
export declare type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
|
|
18693
18862
|
export declare type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
|
|
18694
18863
|
export declare type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
|
|
18695
|
-
export declare type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
|
|
18696
|
-
export declare type ShopifyXborderShopForm = io.flow.internal.v0.models.ShopifyXborderShopForm;
|
|
18697
18864
|
export declare type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
|
|
18698
18865
|
export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
|
|
18699
18866
|
export declare type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
|
|
18700
18867
|
export declare type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
|
|
18701
18868
|
export declare type SimplifiedTaxonomyCategory = io.flow.internal.v0.models.SimplifiedTaxonomyCategory;
|
|
18869
|
+
export declare type SingleClassificationForm = io.flow.internal.v0.models.SingleClassificationForm;
|
|
18702
18870
|
export declare type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
|
|
18703
18871
|
export declare type SpotRate = io.flow.internal.v0.models.SpotRate;
|
|
18704
18872
|
export declare type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
|
|
@@ -18811,6 +18979,8 @@ export declare type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistra
|
|
|
18811
18979
|
export declare type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
|
|
18812
18980
|
export declare type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
|
|
18813
18981
|
export declare type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
|
|
18982
|
+
export declare type UserStatusRule = io.flow.internal.v0.models.UserStatusRule;
|
|
18983
|
+
export declare type UserStatusRuleForm = io.flow.internal.v0.models.UserStatusRuleForm;
|
|
18814
18984
|
export declare type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2;
|
|
18815
18985
|
export declare type V1Checkout = io.flow.internal.v0.models.V1Checkout;
|
|
18816
18986
|
export declare type V2Checkout = io.flow.internal.v0.models.V2Checkout;
|
|
@@ -18825,5 +18995,4 @@ export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flo
|
|
|
18825
18995
|
export declare type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
18826
18996
|
export declare type Webhook = io.flow.internal.v0.models.Webhook;
|
|
18827
18997
|
export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|
|
18828
|
-
export declare type XborderOrder = io.flow.internal.v0.models.XborderOrder;
|
|
18829
18998
|
export {};
|