@flowio/types 11.19.23 → 11.19.25
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 +779 -604
- package/dist/api.d.ts +3 -83
- package/package.json +2 -2
- package/src/api-internal.ts +1731 -1520
- package/src/api.ts +3 -101
package/src/api-internal.ts
CHANGED
|
@@ -1923,1374 +1923,998 @@ declare namespace io.flow.experience.v0.unions {
|
|
|
1923
1923
|
| io.flow.experience.v0.models.Discount;
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
|
-
declare namespace io.flow.
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
readonly amount: io.flow.common.v0.models.Money;
|
|
1930
|
-
}
|
|
1926
|
+
declare namespace io.flow.error.v0.enums {
|
|
1927
|
+
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
1928
|
+
}
|
|
1931
1929
|
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
readonly
|
|
1930
|
+
declare namespace io.flow.error.v0.models {
|
|
1931
|
+
interface GenericError {
|
|
1932
|
+
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
1933
|
+
readonly messages: string[];
|
|
1935
1934
|
}
|
|
1935
|
+
}
|
|
1936
1936
|
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1937
|
+
declare namespace io.flow.price.v0.enums {
|
|
1938
|
+
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
1939
|
+
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
1940
|
+
type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
|
|
1941
|
+
type PriceDetailComponentKey =
|
|
1942
|
+
| 'base_price'
|
|
1943
|
+
| 'discount'
|
|
1944
|
+
| 'currency_margin'
|
|
1945
|
+
| 'percent_item_margin'
|
|
1946
|
+
| 'fixed_item_margin'
|
|
1947
|
+
| 'duties_item_price'
|
|
1948
|
+
| 'duties_added_margin'
|
|
1949
|
+
| 'duties_rounding'
|
|
1950
|
+
| 'duties_deminimis'
|
|
1951
|
+
| 'vat_item_price'
|
|
1952
|
+
| 'vat_added_margin'
|
|
1953
|
+
| 'vat_rounding'
|
|
1954
|
+
| 'vat_duties_item_price'
|
|
1955
|
+
| 'vat_duties_added_margin'
|
|
1956
|
+
| 'vat_duties_rounding'
|
|
1957
|
+
| 'vat_deminimis'
|
|
1958
|
+
| 'item_price_percent_sales_margin'
|
|
1959
|
+
| 'margins_percent_sales_margin'
|
|
1960
|
+
| 'rounding_percent_sales_margin'
|
|
1961
|
+
| 'vat_percent_sales_margin'
|
|
1962
|
+
| 'vat_duty_percent_sales_margin'
|
|
1963
|
+
| 'duty_percent_sales_margin';
|
|
1964
|
+
type PriceDetailKey =
|
|
1965
|
+
| 'item_price'
|
|
1966
|
+
| 'margins'
|
|
1967
|
+
| 'vat'
|
|
1968
|
+
| 'duty'
|
|
1969
|
+
| 'rounding'
|
|
1970
|
+
| 'adjustment';
|
|
1971
|
+
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
declare namespace io.flow.price.v0.models {
|
|
1975
|
+
interface CurrencyFormat {
|
|
1976
|
+
readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
1977
|
+
readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
1942
1978
|
}
|
|
1943
1979
|
|
|
1944
|
-
interface
|
|
1945
|
-
readonly
|
|
1946
|
-
readonly
|
|
1947
|
-
readonly
|
|
1980
|
+
interface DeminimisPerItem {
|
|
1981
|
+
readonly discriminator: 'deminimis_per_item';
|
|
1982
|
+
readonly currency: string;
|
|
1983
|
+
readonly minimum?: number;
|
|
1984
|
+
readonly maximum?: number;
|
|
1948
1985
|
}
|
|
1949
1986
|
|
|
1950
|
-
interface
|
|
1951
|
-
readonly
|
|
1952
|
-
readonly
|
|
1953
|
-
readonly
|
|
1954
|
-
readonly
|
|
1987
|
+
interface DeminimisSimple {
|
|
1988
|
+
readonly discriminator: 'deminimis_simple';
|
|
1989
|
+
readonly value?: number;
|
|
1990
|
+
readonly currency: string;
|
|
1991
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
1992
|
+
readonly minimum?: number;
|
|
1955
1993
|
}
|
|
1956
1994
|
|
|
1957
|
-
interface
|
|
1958
|
-
readonly
|
|
1959
|
-
readonly
|
|
1960
|
-
readonly
|
|
1961
|
-
readonly
|
|
1995
|
+
interface Duty {
|
|
1996
|
+
readonly rate: number;
|
|
1997
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
1998
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
1999
|
+
readonly name?: string;
|
|
1962
2000
|
}
|
|
1963
2001
|
|
|
1964
|
-
interface
|
|
1965
|
-
readonly
|
|
1966
|
-
readonly
|
|
1967
|
-
readonly
|
|
1968
|
-
readonly
|
|
2002
|
+
interface LocalPriceDetails {
|
|
2003
|
+
readonly base: io.flow.price.v0.models.PriceDetails;
|
|
2004
|
+
readonly local: io.flow.price.v0.models.PriceDetails;
|
|
2005
|
+
readonly discount?: io.flow.price.v0.models.PriceDetail;
|
|
2006
|
+
readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
|
|
1969
2007
|
}
|
|
1970
2008
|
|
|
1971
|
-
interface
|
|
1972
|
-
readonly
|
|
1973
|
-
readonly
|
|
2009
|
+
interface PriceBook {
|
|
2010
|
+
readonly id: string;
|
|
2011
|
+
readonly key: string;
|
|
2012
|
+
readonly currency: string;
|
|
2013
|
+
readonly name: string;
|
|
2014
|
+
readonly includes: io.flow.common.v0.models.IncludedLevies;
|
|
2015
|
+
readonly status: io.flow.common.v0.enums.PriceBookStatus;
|
|
1974
2016
|
}
|
|
1975
2017
|
|
|
1976
|
-
interface
|
|
1977
|
-
readonly
|
|
1978
|
-
readonly
|
|
1979
|
-
readonly
|
|
1980
|
-
readonly
|
|
1981
|
-
readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2018
|
+
interface PriceBookForm {
|
|
2019
|
+
readonly currency: string;
|
|
2020
|
+
readonly name: string;
|
|
2021
|
+
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
2022
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
1982
2023
|
}
|
|
1983
2024
|
|
|
1984
|
-
interface
|
|
1985
|
-
readonly
|
|
1986
|
-
readonly
|
|
1987
|
-
readonly
|
|
1988
|
-
readonly
|
|
2025
|
+
interface PriceBookItem {
|
|
2026
|
+
readonly id: string;
|
|
2027
|
+
readonly key: string;
|
|
2028
|
+
readonly price_book: io.flow.price.v0.models.PriceBookReference;
|
|
2029
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
2030
|
+
readonly item_number: string;
|
|
2031
|
+
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2032
|
+
readonly item_attributes?: Record<string, string>;
|
|
1989
2033
|
}
|
|
1990
2034
|
|
|
1991
|
-
interface
|
|
1992
|
-
readonly
|
|
1993
|
-
readonly
|
|
2035
|
+
interface PriceBookItemForm {
|
|
2036
|
+
readonly price_book_key: string;
|
|
2037
|
+
readonly item_number: string;
|
|
2038
|
+
readonly amount: number;
|
|
2039
|
+
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2040
|
+
readonly item_attributes?: Record<string, string>;
|
|
1994
2041
|
}
|
|
1995
2042
|
|
|
1996
|
-
interface
|
|
1997
|
-
readonly
|
|
1998
|
-
readonly
|
|
2043
|
+
interface PriceBookItemQueryForm {
|
|
2044
|
+
readonly price_book_key: string;
|
|
2045
|
+
readonly item_query: string;
|
|
2046
|
+
readonly amount: number;
|
|
2047
|
+
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2048
|
+
readonly item_attributes?: Record<string, string>;
|
|
1999
2049
|
}
|
|
2000
2050
|
|
|
2001
|
-
interface
|
|
2002
|
-
readonly
|
|
2003
|
-
readonly
|
|
2051
|
+
interface PriceBookItemSchedule {
|
|
2052
|
+
readonly starts_at: string;
|
|
2053
|
+
readonly ends_at?: string;
|
|
2004
2054
|
}
|
|
2005
2055
|
|
|
2006
|
-
interface
|
|
2007
|
-
readonly
|
|
2008
|
-
readonly
|
|
2056
|
+
interface PriceBookReference {
|
|
2057
|
+
readonly id: string;
|
|
2058
|
+
readonly key: string;
|
|
2009
2059
|
}
|
|
2010
2060
|
|
|
2011
|
-
interface
|
|
2012
|
-
readonly
|
|
2013
|
-
readonly
|
|
2014
|
-
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
2015
|
-
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
2016
|
-
readonly currency: string;
|
|
2017
|
-
readonly amount: number;
|
|
2018
|
-
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
2019
|
-
readonly total: number;
|
|
2061
|
+
interface PriceCheck {
|
|
2062
|
+
readonly display: io.flow.price.v0.models.LocalPriceDetails;
|
|
2063
|
+
readonly final: io.flow.price.v0.models.LocalPriceDetails;
|
|
2020
2064
|
}
|
|
2021
2065
|
|
|
2022
|
-
interface
|
|
2023
|
-
readonly
|
|
2024
|
-
readonly
|
|
2025
|
-
readonly
|
|
2026
|
-
readonly
|
|
2027
|
-
readonly
|
|
2066
|
+
interface PriceDetail {
|
|
2067
|
+
readonly key: io.flow.price.v0.enums.PriceDetailKey;
|
|
2068
|
+
readonly components: io.flow.price.v0.models.PriceDetailComponent[];
|
|
2069
|
+
readonly amount: number;
|
|
2070
|
+
readonly label: string;
|
|
2071
|
+
readonly name?: string;
|
|
2072
|
+
readonly basis?: number;
|
|
2028
2073
|
}
|
|
2029
2074
|
|
|
2030
|
-
interface
|
|
2031
|
-
readonly
|
|
2032
|
-
readonly amount:
|
|
2033
|
-
readonly
|
|
2034
|
-
readonly
|
|
2035
|
-
readonly starts_at?: string;
|
|
2036
|
-
readonly ends_at?: string;
|
|
2075
|
+
interface PriceDetailComponent {
|
|
2076
|
+
readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
|
|
2077
|
+
readonly amount: number;
|
|
2078
|
+
readonly label: string;
|
|
2079
|
+
readonly name?: string;
|
|
2037
2080
|
}
|
|
2038
2081
|
|
|
2039
|
-
interface
|
|
2040
|
-
readonly
|
|
2041
|
-
readonly
|
|
2042
|
-
readonly
|
|
2043
|
-
readonly
|
|
2082
|
+
interface PriceDetails {
|
|
2083
|
+
readonly currency: string;
|
|
2084
|
+
readonly item_price: io.flow.price.v0.models.PriceDetail;
|
|
2085
|
+
readonly margins: io.flow.price.v0.models.PriceDetail;
|
|
2086
|
+
readonly vat: io.flow.price.v0.models.PriceDetail;
|
|
2087
|
+
readonly duty: io.flow.price.v0.models.PriceDetail;
|
|
2088
|
+
readonly rounding: io.flow.price.v0.models.PriceDetail;
|
|
2089
|
+
readonly price: io.flow.common.v0.models.Price;
|
|
2090
|
+
readonly total: io.flow.common.v0.models.Price;
|
|
2091
|
+
readonly adjustment?: io.flow.price.v0.models.PriceDetail;
|
|
2044
2092
|
}
|
|
2045
2093
|
|
|
2046
|
-
interface
|
|
2047
|
-
readonly
|
|
2048
|
-
readonly
|
|
2049
|
-
readonly
|
|
2050
|
-
readonly
|
|
2094
|
+
interface PriceEquation {
|
|
2095
|
+
readonly contracted_rate: number;
|
|
2096
|
+
readonly rate: number;
|
|
2097
|
+
readonly pricing: io.flow.price.v0.models.Pricing;
|
|
2098
|
+
readonly base_price: number;
|
|
2099
|
+
readonly discount: number;
|
|
2100
|
+
readonly fixed_margin: number;
|
|
2101
|
+
readonly percent_margin: number;
|
|
2102
|
+
readonly insurance: number;
|
|
2103
|
+
readonly freight: number;
|
|
2104
|
+
readonly duty?: io.flow.price.v0.models.Duty;
|
|
2105
|
+
readonly tax?: io.flow.price.v0.models.Tax;
|
|
2106
|
+
readonly percent_sales_margin: number;
|
|
2051
2107
|
}
|
|
2052
2108
|
|
|
2053
|
-
interface
|
|
2054
|
-
readonly
|
|
2055
|
-
readonly
|
|
2056
|
-
readonly
|
|
2057
|
-
readonly effective_at: string;
|
|
2058
|
-
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
2059
|
-
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
2060
|
-
readonly published_at?: string;
|
|
2061
|
-
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
2109
|
+
interface Pricing {
|
|
2110
|
+
readonly vat: io.flow.price.v0.enums.PricingLevySetting;
|
|
2111
|
+
readonly duty: io.flow.price.v0.enums.PricingLevySetting;
|
|
2112
|
+
readonly rounding?: io.flow.common.v0.models.Rounding;
|
|
2062
2113
|
}
|
|
2063
2114
|
|
|
2064
|
-
interface
|
|
2065
|
-
readonly id: string;
|
|
2115
|
+
interface Tax {
|
|
2066
2116
|
readonly name: string;
|
|
2117
|
+
readonly rate: number;
|
|
2118
|
+
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
2119
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
2067
2120
|
}
|
|
2121
|
+
}
|
|
2068
2122
|
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2075
|
-
readonly service?: string;
|
|
2076
|
-
readonly weight?: number;
|
|
2077
|
-
readonly length?: number;
|
|
2078
|
-
readonly width?: number;
|
|
2079
|
-
readonly depth?: number;
|
|
2080
|
-
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
2081
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
2082
|
-
}
|
|
2123
|
+
declare namespace io.flow.price.v0.unions {
|
|
2124
|
+
type Deminimis =
|
|
2125
|
+
| io.flow.price.v0.models.DeminimisSimple
|
|
2126
|
+
| io.flow.price.v0.models.DeminimisPerItem;
|
|
2127
|
+
}
|
|
2083
2128
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2129
|
+
declare namespace io.flow.reference.v0.enums {
|
|
2130
|
+
type PaymentMethodCapability = 'credit' | 'debit';
|
|
2131
|
+
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2132
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
2133
|
+
type ProvinceType =
|
|
2134
|
+
| 'area'
|
|
2135
|
+
| 'city'
|
|
2136
|
+
| 'county'
|
|
2137
|
+
| 'department'
|
|
2138
|
+
| 'dependency'
|
|
2139
|
+
| 'district'
|
|
2140
|
+
| 'do_si'
|
|
2141
|
+
| 'emirate'
|
|
2142
|
+
| 'entity'
|
|
2143
|
+
| 'island'
|
|
2144
|
+
| 'municipality'
|
|
2145
|
+
| 'oblast'
|
|
2146
|
+
| 'outlying_area'
|
|
2147
|
+
| 'parish'
|
|
2148
|
+
| 'prefecture'
|
|
2149
|
+
| 'province'
|
|
2150
|
+
| 'state'
|
|
2151
|
+
| 'territory'
|
|
2152
|
+
| 'other';
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
declare namespace io.flow.reference.v0.models {
|
|
2156
|
+
interface Carrier {
|
|
2157
|
+
readonly id: string;
|
|
2158
|
+
readonly name: string;
|
|
2159
|
+
readonly tracking_url: string;
|
|
2098
2160
|
}
|
|
2099
2161
|
|
|
2100
|
-
interface
|
|
2101
|
-
readonly
|
|
2102
|
-
readonly
|
|
2103
|
-
readonly
|
|
2104
|
-
readonly center_key?: string;
|
|
2162
|
+
interface CarrierService {
|
|
2163
|
+
readonly id: string;
|
|
2164
|
+
readonly carrier: io.flow.reference.v0.models.Carrier;
|
|
2165
|
+
readonly name: string;
|
|
2105
2166
|
}
|
|
2106
2167
|
|
|
2107
|
-
interface
|
|
2108
|
-
readonly
|
|
2109
|
-
readonly
|
|
2110
|
-
readonly
|
|
2111
|
-
readonly
|
|
2112
|
-
readonly
|
|
2113
|
-
readonly
|
|
2114
|
-
readonly
|
|
2115
|
-
readonly
|
|
2116
|
-
readonly
|
|
2117
|
-
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
2118
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
2168
|
+
interface Country {
|
|
2169
|
+
readonly name: string;
|
|
2170
|
+
readonly iso_3166_2: string;
|
|
2171
|
+
readonly iso_3166_3: string;
|
|
2172
|
+
readonly languages: string[];
|
|
2173
|
+
readonly measurement_system: string;
|
|
2174
|
+
readonly default_currency?: string;
|
|
2175
|
+
readonly default_language?: string;
|
|
2176
|
+
readonly timezones: string[];
|
|
2177
|
+
readonly default_delivered_duty?: string;
|
|
2119
2178
|
}
|
|
2120
2179
|
|
|
2121
|
-
interface
|
|
2122
|
-
readonly
|
|
2123
|
-
readonly
|
|
2124
|
-
readonly
|
|
2125
|
-
readonly
|
|
2126
|
-
readonly
|
|
2127
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
2128
|
-
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
2180
|
+
interface Currency {
|
|
2181
|
+
readonly name: string;
|
|
2182
|
+
readonly iso_4217_3: string;
|
|
2183
|
+
readonly number_decimals: number;
|
|
2184
|
+
readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
|
|
2185
|
+
readonly default_locale?: string;
|
|
2129
2186
|
}
|
|
2130
2187
|
|
|
2131
|
-
interface
|
|
2132
|
-
readonly
|
|
2133
|
-
readonly
|
|
2134
|
-
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
2135
|
-
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
2136
|
-
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
2137
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
2138
|
-
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
2188
|
+
interface CurrencySymbols {
|
|
2189
|
+
readonly primary: string;
|
|
2190
|
+
readonly narrow?: string;
|
|
2139
2191
|
}
|
|
2140
2192
|
|
|
2141
|
-
interface
|
|
2142
|
-
readonly
|
|
2143
|
-
readonly
|
|
2144
|
-
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
2145
|
-
readonly service: string;
|
|
2146
|
-
readonly number?: string;
|
|
2147
|
-
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
2193
|
+
interface Language {
|
|
2194
|
+
readonly name: string;
|
|
2195
|
+
readonly iso_639_2: string;
|
|
2148
2196
|
}
|
|
2149
2197
|
|
|
2150
|
-
interface
|
|
2198
|
+
interface Locale {
|
|
2151
2199
|
readonly id: string;
|
|
2152
|
-
readonly
|
|
2153
|
-
readonly
|
|
2154
|
-
readonly
|
|
2155
|
-
readonly
|
|
2156
|
-
readonly destination: io.flow.common.v0.models.Zone;
|
|
2157
|
-
readonly dim_factor: number;
|
|
2158
|
-
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
2159
|
-
readonly origin: io.flow.common.v0.models.Zone;
|
|
2160
|
-
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
2161
|
-
readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
|
|
2162
|
-
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
2163
|
-
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2164
|
-
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2200
|
+
readonly name: string;
|
|
2201
|
+
readonly country: string;
|
|
2202
|
+
readonly language: string;
|
|
2203
|
+
readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
|
|
2165
2204
|
}
|
|
2166
2205
|
|
|
2167
|
-
interface
|
|
2168
|
-
readonly
|
|
2169
|
-
readonly
|
|
2170
|
-
readonly destination: io.flow.common.v0.models.Zone;
|
|
2171
|
-
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
2172
|
-
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
2173
|
-
readonly dim_factor: number;
|
|
2174
|
-
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
2175
|
-
readonly origin: io.flow.common.v0.models.Zone;
|
|
2176
|
-
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
2177
|
-
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
2178
|
-
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2179
|
-
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2206
|
+
interface LocaleNumbers {
|
|
2207
|
+
readonly decimal: string;
|
|
2208
|
+
readonly group: string;
|
|
2180
2209
|
}
|
|
2181
2210
|
|
|
2182
|
-
interface
|
|
2183
|
-
readonly
|
|
2184
|
-
readonly
|
|
2185
|
-
readonly currency: string;
|
|
2186
|
-
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
2187
|
-
readonly origin: io.flow.common.v0.models.Zone;
|
|
2188
|
-
readonly destination: io.flow.common.v0.models.Zone;
|
|
2189
|
-
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
2190
|
-
readonly dim_factor: number;
|
|
2191
|
-
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2192
|
-
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2193
|
-
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
2211
|
+
interface LocalizedTranslation {
|
|
2212
|
+
readonly locale: io.flow.reference.v0.models.Locale;
|
|
2213
|
+
readonly name: string;
|
|
2194
2214
|
}
|
|
2195
2215
|
|
|
2196
|
-
interface
|
|
2216
|
+
interface PaymentMethod {
|
|
2197
2217
|
readonly id: string;
|
|
2198
|
-
readonly
|
|
2199
|
-
readonly
|
|
2200
|
-
readonly
|
|
2218
|
+
readonly type: io.flow.reference.v0.enums.PaymentMethodType;
|
|
2219
|
+
readonly name: string;
|
|
2220
|
+
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
2221
|
+
readonly regions: string[];
|
|
2222
|
+
readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
|
|
2201
2223
|
}
|
|
2202
2224
|
|
|
2203
|
-
interface
|
|
2204
|
-
readonly
|
|
2205
|
-
readonly
|
|
2206
|
-
readonly
|
|
2225
|
+
interface PaymentMethodImage {
|
|
2226
|
+
readonly url: string;
|
|
2227
|
+
readonly width: number;
|
|
2228
|
+
readonly height: number;
|
|
2207
2229
|
}
|
|
2208
2230
|
|
|
2209
|
-
interface
|
|
2210
|
-
readonly
|
|
2211
|
-
readonly
|
|
2212
|
-
readonly
|
|
2231
|
+
interface PaymentMethodImages {
|
|
2232
|
+
readonly small: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2233
|
+
readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2234
|
+
readonly large: io.flow.reference.v0.models.PaymentMethodImage;
|
|
2213
2235
|
}
|
|
2214
2236
|
|
|
2215
|
-
interface
|
|
2216
|
-
readonly
|
|
2217
|
-
readonly
|
|
2237
|
+
interface Province {
|
|
2238
|
+
readonly id: string;
|
|
2239
|
+
readonly iso_3166_2: string;
|
|
2240
|
+
readonly name: string;
|
|
2241
|
+
readonly country: string;
|
|
2242
|
+
readonly province_type: io.flow.reference.v0.enums.ProvinceType;
|
|
2243
|
+
readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
2218
2244
|
}
|
|
2219
2245
|
|
|
2220
|
-
interface
|
|
2246
|
+
interface Region {
|
|
2221
2247
|
readonly id: string;
|
|
2222
|
-
readonly
|
|
2223
|
-
readonly
|
|
2224
|
-
readonly
|
|
2248
|
+
readonly name: string;
|
|
2249
|
+
readonly countries: string[];
|
|
2250
|
+
readonly currencies: string[];
|
|
2251
|
+
readonly languages: string[];
|
|
2252
|
+
readonly measurement_systems: string[];
|
|
2253
|
+
readonly timezones: string[];
|
|
2225
2254
|
}
|
|
2226
2255
|
|
|
2227
|
-
interface
|
|
2228
|
-
readonly
|
|
2256
|
+
interface Timezone {
|
|
2257
|
+
readonly name: string;
|
|
2258
|
+
readonly description: string;
|
|
2259
|
+
readonly offset: number;
|
|
2229
2260
|
}
|
|
2261
|
+
}
|
|
2230
2262
|
|
|
2231
|
-
|
|
2263
|
+
declare namespace io.flow.tracking.v0.enums {
|
|
2264
|
+
type TrackingStatus =
|
|
2265
|
+
| 'label_created'
|
|
2266
|
+
| 'pending'
|
|
2267
|
+
| 'info_received'
|
|
2268
|
+
| 'picked_up'
|
|
2269
|
+
| 'in_transit'
|
|
2270
|
+
| 'out_for_delivery'
|
|
2271
|
+
| 'attempt_fail'
|
|
2272
|
+
| 'delivered'
|
|
2273
|
+
| 'exception'
|
|
2274
|
+
| 'returned'
|
|
2275
|
+
| 'expired';
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
declare namespace io.flow.tracking.v0.models {
|
|
2279
|
+
interface Tracking {
|
|
2232
2280
|
readonly id: string;
|
|
2281
|
+
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
2282
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2283
|
+
readonly attributes: Record<string, string>;
|
|
2284
|
+
readonly url: string;
|
|
2285
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
2286
|
+
readonly order_number?: string;
|
|
2233
2287
|
}
|
|
2234
2288
|
|
|
2235
|
-
interface
|
|
2289
|
+
interface TrackingEvent {
|
|
2236
2290
|
readonly id: string;
|
|
2237
|
-
readonly
|
|
2238
|
-
readonly
|
|
2291
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
2292
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2293
|
+
readonly timestamp: string;
|
|
2294
|
+
readonly description?: string;
|
|
2239
2295
|
}
|
|
2240
2296
|
|
|
2241
|
-
interface
|
|
2297
|
+
interface TrackingEventForm {
|
|
2298
|
+
readonly tracking_label_id: string;
|
|
2299
|
+
readonly timestamp: string;
|
|
2300
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2301
|
+
readonly description?: string;
|
|
2302
|
+
readonly address?: string;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
interface TrackingEventSummary {
|
|
2242
2306
|
readonly id: string;
|
|
2243
|
-
readonly
|
|
2244
|
-
readonly
|
|
2307
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2308
|
+
readonly timestamp: string;
|
|
2245
2309
|
}
|
|
2246
2310
|
|
|
2247
|
-
interface
|
|
2311
|
+
interface TrackingEventVersion {
|
|
2248
2312
|
readonly id: string;
|
|
2249
2313
|
readonly timestamp: string;
|
|
2250
2314
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2251
|
-
readonly
|
|
2315
|
+
readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
|
|
2252
2316
|
}
|
|
2253
2317
|
|
|
2254
|
-
interface
|
|
2255
|
-
readonly
|
|
2256
|
-
readonly
|
|
2318
|
+
interface TrackingForm {
|
|
2319
|
+
readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2320
|
+
readonly order_number?: string;
|
|
2321
|
+
readonly attributes?: Record<string, string>;
|
|
2322
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
2257
2323
|
}
|
|
2258
2324
|
|
|
2259
|
-
interface
|
|
2260
|
-
readonly
|
|
2261
|
-
readonly
|
|
2325
|
+
interface TrackingLabel {
|
|
2326
|
+
readonly id: string;
|
|
2327
|
+
readonly carrier: string;
|
|
2328
|
+
readonly carrier_tracking_number: string;
|
|
2329
|
+
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
2330
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2331
|
+
readonly timestamp: string;
|
|
2332
|
+
readonly delivery_estimate?: string;
|
|
2333
|
+
readonly description?: string;
|
|
2262
2334
|
}
|
|
2263
2335
|
|
|
2264
|
-
interface
|
|
2265
|
-
readonly
|
|
2266
|
-
readonly
|
|
2336
|
+
interface TrackingLabelForm {
|
|
2337
|
+
readonly tracking_id: string;
|
|
2338
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2339
|
+
readonly carrier: string;
|
|
2340
|
+
readonly carrier_tracking_number: string;
|
|
2341
|
+
readonly delivery_estimate?: string;
|
|
2342
|
+
readonly description?: string;
|
|
2343
|
+
readonly timestamp?: string;
|
|
2344
|
+
readonly parent_id?: string;
|
|
2267
2345
|
}
|
|
2268
2346
|
|
|
2269
|
-
interface
|
|
2270
|
-
readonly
|
|
2271
|
-
readonly
|
|
2347
|
+
interface TrackingLabelSummary {
|
|
2348
|
+
readonly id: string;
|
|
2349
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
2350
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2351
|
+
readonly carrier: string;
|
|
2352
|
+
readonly tracking_number: string;
|
|
2272
2353
|
}
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
declare namespace io.flow.ratecard.v0.unions {
|
|
2276
|
-
type RatecardEstimate =
|
|
2277
|
-
| io.flow.ratecard.v0.models.RatecardEstimateV1
|
|
2278
|
-
| io.flow.ratecard.v0.models.RatecardEstimateV2
|
|
2279
|
-
| io.flow.ratecard.v0.models.RatecardEstimateV3;
|
|
2280
|
-
type RatecardEstimateForm =
|
|
2281
|
-
| io.flow.ratecard.v0.models.RatecardEstimateFormV1
|
|
2282
|
-
| io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
2283
|
-
type RatecardFee =
|
|
2284
|
-
| io.flow.ratecard.v0.models.DdpRatecardFee
|
|
2285
|
-
| io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
2286
|
-
| io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
2287
|
-
| io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
2288
|
-
| io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
2289
|
-
| io.flow.ratecard.v0.models.RemoteAreaRatecardFee
|
|
2290
|
-
| io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
|
|
2291
|
-
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
2292
|
-
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
2293
|
-
type ServiceFee =
|
|
2294
|
-
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
2295
|
-
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
2296
|
-
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
2297
|
-
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
2298
|
-
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
2299
|
-
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
declare namespace io.flow.error.v0.enums {
|
|
2303
|
-
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
2304
|
-
}
|
|
2305
2354
|
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
readonly
|
|
2309
|
-
readonly
|
|
2355
|
+
interface TrackingLabelVersion {
|
|
2356
|
+
readonly id: string;
|
|
2357
|
+
readonly timestamp: string;
|
|
2358
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2359
|
+
readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
|
|
2310
2360
|
}
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
declare namespace io.flow.price.v0.enums {
|
|
2314
|
-
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
2315
|
-
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
2316
|
-
type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
|
|
2317
|
-
type PriceDetailComponentKey =
|
|
2318
|
-
| 'base_price'
|
|
2319
|
-
| 'discount'
|
|
2320
|
-
| 'currency_margin'
|
|
2321
|
-
| 'percent_item_margin'
|
|
2322
|
-
| 'fixed_item_margin'
|
|
2323
|
-
| 'duties_item_price'
|
|
2324
|
-
| 'duties_added_margin'
|
|
2325
|
-
| 'duties_rounding'
|
|
2326
|
-
| 'duties_deminimis'
|
|
2327
|
-
| 'vat_item_price'
|
|
2328
|
-
| 'vat_added_margin'
|
|
2329
|
-
| 'vat_rounding'
|
|
2330
|
-
| 'vat_duties_item_price'
|
|
2331
|
-
| 'vat_duties_added_margin'
|
|
2332
|
-
| 'vat_duties_rounding'
|
|
2333
|
-
| 'vat_deminimis'
|
|
2334
|
-
| 'item_price_percent_sales_margin'
|
|
2335
|
-
| 'margins_percent_sales_margin'
|
|
2336
|
-
| 'rounding_percent_sales_margin'
|
|
2337
|
-
| 'vat_percent_sales_margin'
|
|
2338
|
-
| 'vat_duty_percent_sales_margin'
|
|
2339
|
-
| 'duty_percent_sales_margin';
|
|
2340
|
-
type PriceDetailKey =
|
|
2341
|
-
| 'item_price'
|
|
2342
|
-
| 'margins'
|
|
2343
|
-
| 'vat'
|
|
2344
|
-
| 'duty'
|
|
2345
|
-
| 'rounding'
|
|
2346
|
-
| 'adjustment';
|
|
2347
|
-
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2348
|
-
}
|
|
2349
2361
|
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
readonly
|
|
2353
|
-
readonly
|
|
2362
|
+
interface TrackingSummary {
|
|
2363
|
+
readonly id: string;
|
|
2364
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2365
|
+
readonly order_number?: string;
|
|
2354
2366
|
}
|
|
2355
2367
|
|
|
2356
|
-
interface
|
|
2357
|
-
readonly
|
|
2358
|
-
readonly
|
|
2359
|
-
readonly
|
|
2360
|
-
readonly
|
|
2368
|
+
interface TrackingVersion {
|
|
2369
|
+
readonly id: string;
|
|
2370
|
+
readonly timestamp: string;
|
|
2371
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2372
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
2361
2373
|
}
|
|
2374
|
+
}
|
|
2362
2375
|
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
2368
|
-
readonly minimum?: number;
|
|
2369
|
-
}
|
|
2376
|
+
declare namespace io.flow.RESERVED_WORD_export.v0.enums {
|
|
2377
|
+
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
2378
|
+
type ItemIdentifier = 'item_number' | 'sku';
|
|
2379
|
+
}
|
|
2370
2380
|
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
readonly
|
|
2374
|
-
readonly
|
|
2375
|
-
readonly
|
|
2381
|
+
declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
2382
|
+
interface AccountOrdersExportType {
|
|
2383
|
+
readonly discriminator: 'account_orders_export_type';
|
|
2384
|
+
readonly statement_id?: string;
|
|
2385
|
+
readonly transaction_summary_id?: string;
|
|
2386
|
+
readonly transaction_created_from?: string;
|
|
2387
|
+
readonly transaction_created_to?: string;
|
|
2388
|
+
readonly transaction_created_on_or_after?: string;
|
|
2389
|
+
readonly transaction_created_after?: string;
|
|
2390
|
+
readonly transaction_created_on_or_before?: string;
|
|
2391
|
+
readonly transaction_created_before?: string;
|
|
2392
|
+
readonly transaction_posted_from?: string;
|
|
2393
|
+
readonly transaction_posted_to?: string;
|
|
2394
|
+
readonly transaction_posted_on_or_after?: string;
|
|
2395
|
+
readonly transaction_posted_after?: string;
|
|
2396
|
+
readonly transaction_posted_on_or_before?: string;
|
|
2397
|
+
readonly transaction_posted_before?: string;
|
|
2376
2398
|
}
|
|
2377
2399
|
|
|
2378
|
-
interface
|
|
2379
|
-
readonly
|
|
2380
|
-
readonly
|
|
2381
|
-
readonly
|
|
2382
|
-
readonly
|
|
2400
|
+
interface AccountTransactionsExportType {
|
|
2401
|
+
readonly discriminator: 'account_transactions_export_type';
|
|
2402
|
+
readonly statement_id?: string;
|
|
2403
|
+
readonly transaction_summary_id?: string;
|
|
2404
|
+
readonly created_from?: string;
|
|
2405
|
+
readonly created_to?: string;
|
|
2406
|
+
readonly created_on_or_after?: string;
|
|
2407
|
+
readonly created_after?: string;
|
|
2408
|
+
readonly created_on_or_before?: string;
|
|
2409
|
+
readonly created_before?: string;
|
|
2410
|
+
readonly posted_from?: string;
|
|
2411
|
+
readonly posted_to?: string;
|
|
2412
|
+
readonly posted_on_or_after?: string;
|
|
2413
|
+
readonly posted_after?: string;
|
|
2414
|
+
readonly posted_on_or_before?: string;
|
|
2415
|
+
readonly posted_before?: string;
|
|
2383
2416
|
}
|
|
2384
2417
|
|
|
2385
|
-
interface
|
|
2386
|
-
readonly
|
|
2387
|
-
readonly
|
|
2388
|
-
readonly
|
|
2389
|
-
readonly
|
|
2390
|
-
readonly
|
|
2391
|
-
readonly status: io.flow.common.v0.enums.PriceBookStatus;
|
|
2418
|
+
interface AnalyticsExportType {
|
|
2419
|
+
readonly discriminator: 'analytics_export_type';
|
|
2420
|
+
readonly from?: string;
|
|
2421
|
+
readonly to?: string;
|
|
2422
|
+
readonly region?: string;
|
|
2423
|
+
readonly interval?: io.flow.common.v0.enums.UnitOfTime;
|
|
2392
2424
|
}
|
|
2393
2425
|
|
|
2394
|
-
interface
|
|
2395
|
-
readonly
|
|
2396
|
-
readonly
|
|
2397
|
-
readonly
|
|
2398
|
-
readonly
|
|
2426
|
+
interface CatalogItemExportType {
|
|
2427
|
+
readonly discriminator: 'catalog_item_export_type';
|
|
2428
|
+
readonly numbers?: string[];
|
|
2429
|
+
readonly q?: string;
|
|
2430
|
+
readonly sort?: string;
|
|
2399
2431
|
}
|
|
2400
2432
|
|
|
2401
|
-
interface
|
|
2402
|
-
readonly id: string;
|
|
2403
|
-
readonly key: string;
|
|
2404
|
-
readonly price_book: io.flow.price.v0.models.PriceBookReference;
|
|
2405
|
-
readonly price: io.flow.common.v0.models.Price;
|
|
2433
|
+
interface CsvPriceBookItemExportRowByItemNumber {
|
|
2406
2434
|
readonly item_number: string;
|
|
2407
|
-
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2408
|
-
readonly item_attributes?: Record<string, string>;
|
|
2409
|
-
}
|
|
2410
|
-
|
|
2411
|
-
interface PriceBookItemForm {
|
|
2412
2435
|
readonly price_book_key: string;
|
|
2413
|
-
readonly
|
|
2436
|
+
readonly price_book_item_key: string;
|
|
2437
|
+
readonly item_name: string;
|
|
2414
2438
|
readonly amount: number;
|
|
2415
|
-
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2416
2439
|
readonly item_attributes?: Record<string, string>;
|
|
2440
|
+
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2417
2441
|
}
|
|
2418
2442
|
|
|
2419
|
-
interface
|
|
2443
|
+
interface CsvPriceBookItemExportRowBySku {
|
|
2444
|
+
readonly sku: string;
|
|
2420
2445
|
readonly price_book_key: string;
|
|
2421
|
-
readonly
|
|
2446
|
+
readonly price_book_item_key: string;
|
|
2447
|
+
readonly item_name: string;
|
|
2422
2448
|
readonly amount: number;
|
|
2423
|
-
readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2424
2449
|
readonly item_attributes?: Record<string, string>;
|
|
2450
|
+
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2425
2451
|
}
|
|
2426
2452
|
|
|
2427
|
-
interface
|
|
2428
|
-
readonly
|
|
2429
|
-
readonly
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
interface PriceBookReference {
|
|
2433
|
-
readonly id: string;
|
|
2434
|
-
readonly key: string;
|
|
2453
|
+
interface ExclusionRulesExportType {
|
|
2454
|
+
readonly discriminator: 'exclusion_rules_export_type';
|
|
2455
|
+
readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
|
|
2456
|
+
readonly sort?: string;
|
|
2435
2457
|
}
|
|
2436
2458
|
|
|
2437
|
-
interface
|
|
2438
|
-
readonly
|
|
2439
|
-
readonly
|
|
2459
|
+
interface ExperienceExportType {
|
|
2460
|
+
readonly discriminator: 'experience_export_type';
|
|
2461
|
+
readonly organization_id: string;
|
|
2462
|
+
readonly ids?: string[];
|
|
2463
|
+
readonly keys?: string[];
|
|
2440
2464
|
}
|
|
2441
2465
|
|
|
2442
|
-
interface
|
|
2443
|
-
readonly
|
|
2444
|
-
readonly
|
|
2445
|
-
readonly
|
|
2446
|
-
readonly
|
|
2447
|
-
readonly
|
|
2448
|
-
readonly
|
|
2466
|
+
interface Export {
|
|
2467
|
+
readonly id: string;
|
|
2468
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
2469
|
+
readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
|
|
2470
|
+
readonly organization_q: string;
|
|
2471
|
+
readonly created_at: string;
|
|
2472
|
+
readonly started_at?: string;
|
|
2473
|
+
readonly completed_at?: string;
|
|
2474
|
+
readonly url?: string;
|
|
2475
|
+
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
2449
2476
|
}
|
|
2450
2477
|
|
|
2451
|
-
interface
|
|
2452
|
-
readonly
|
|
2453
|
-
readonly
|
|
2454
|
-
readonly label: string;
|
|
2455
|
-
readonly name?: string;
|
|
2478
|
+
interface ExportDeliveryEmail {
|
|
2479
|
+
readonly discriminator: 'export_delivery_email';
|
|
2480
|
+
readonly email: string;
|
|
2456
2481
|
}
|
|
2457
2482
|
|
|
2458
|
-
interface
|
|
2459
|
-
readonly
|
|
2460
|
-
readonly
|
|
2461
|
-
readonly
|
|
2462
|
-
readonly vat: io.flow.price.v0.models.PriceDetail;
|
|
2463
|
-
readonly duty: io.flow.price.v0.models.PriceDetail;
|
|
2464
|
-
readonly rounding: io.flow.price.v0.models.PriceDetail;
|
|
2465
|
-
readonly price: io.flow.common.v0.models.Price;
|
|
2466
|
-
readonly total: io.flow.common.v0.models.Price;
|
|
2467
|
-
readonly adjustment?: io.flow.price.v0.models.PriceDetail;
|
|
2483
|
+
interface ExportForm {
|
|
2484
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
2485
|
+
readonly emails?: string[];
|
|
2486
|
+
readonly organization_q?: string;
|
|
2468
2487
|
}
|
|
2469
2488
|
|
|
2470
|
-
interface
|
|
2471
|
-
readonly
|
|
2472
|
-
readonly
|
|
2473
|
-
readonly
|
|
2474
|
-
readonly
|
|
2475
|
-
readonly
|
|
2476
|
-
readonly
|
|
2477
|
-
readonly percent_margin: number;
|
|
2478
|
-
readonly insurance: number;
|
|
2479
|
-
readonly freight: number;
|
|
2480
|
-
readonly duty?: io.flow.price.v0.models.Duty;
|
|
2481
|
-
readonly tax?: io.flow.price.v0.models.Tax;
|
|
2482
|
-
readonly percent_sales_margin: number;
|
|
2489
|
+
interface ExportLocalizedItemPrices {
|
|
2490
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2491
|
+
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
2492
|
+
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
2493
|
+
readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
|
|
2494
|
+
readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
2495
|
+
readonly rates?: io.flow.currency.v0.models.Rate[];
|
|
2483
2496
|
}
|
|
2484
2497
|
|
|
2485
|
-
interface
|
|
2486
|
-
readonly
|
|
2487
|
-
readonly
|
|
2488
|
-
readonly
|
|
2498
|
+
interface ExportLocalizedItemPricesDetail {
|
|
2499
|
+
readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
2500
|
+
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
2501
|
+
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
2502
|
+
readonly price_attributes: Record<
|
|
2503
|
+
string,
|
|
2504
|
+
io.flow.common.v0.models.PriceWithBase
|
|
2505
|
+
>;
|
|
2489
2506
|
}
|
|
2490
2507
|
|
|
2491
|
-
interface
|
|
2492
|
-
readonly
|
|
2493
|
-
readonly
|
|
2494
|
-
readonly
|
|
2495
|
-
readonly
|
|
2508
|
+
interface ExportVersion {
|
|
2509
|
+
readonly id: string;
|
|
2510
|
+
readonly timestamp: string;
|
|
2511
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2512
|
+
readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
|
|
2496
2513
|
}
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
declare namespace io.flow.price.v0.unions {
|
|
2500
|
-
type Deminimis =
|
|
2501
|
-
| io.flow.price.v0.models.DeminimisSimple
|
|
2502
|
-
| io.flow.price.v0.models.DeminimisPerItem;
|
|
2503
|
-
}
|
|
2504
|
-
|
|
2505
|
-
declare namespace io.flow.reference.v0.enums {
|
|
2506
|
-
type PaymentMethodCapability = 'credit' | 'debit';
|
|
2507
|
-
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2508
|
-
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
2509
|
-
type ProvinceType =
|
|
2510
|
-
| 'area'
|
|
2511
|
-
| 'city'
|
|
2512
|
-
| 'county'
|
|
2513
|
-
| 'department'
|
|
2514
|
-
| 'dependency'
|
|
2515
|
-
| 'district'
|
|
2516
|
-
| 'do_si'
|
|
2517
|
-
| 'emirate'
|
|
2518
|
-
| 'entity'
|
|
2519
|
-
| 'island'
|
|
2520
|
-
| 'municipality'
|
|
2521
|
-
| 'oblast'
|
|
2522
|
-
| 'outlying_area'
|
|
2523
|
-
| 'parish'
|
|
2524
|
-
| 'prefecture'
|
|
2525
|
-
| 'province'
|
|
2526
|
-
| 'state'
|
|
2527
|
-
| 'territory'
|
|
2528
|
-
| 'other';
|
|
2529
|
-
}
|
|
2530
2514
|
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
readonly
|
|
2534
|
-
readonly
|
|
2535
|
-
readonly
|
|
2515
|
+
interface HarmonizationHs10ExportType {
|
|
2516
|
+
readonly discriminator: 'harmonization_hs10_export_type';
|
|
2517
|
+
readonly origin?: string;
|
|
2518
|
+
readonly destination?: string;
|
|
2519
|
+
readonly numbers?: string[];
|
|
2520
|
+
readonly has_codes?: boolean;
|
|
2521
|
+
readonly has_origins?: boolean;
|
|
2522
|
+
readonly sort?: string;
|
|
2536
2523
|
}
|
|
2537
2524
|
|
|
2538
|
-
interface
|
|
2539
|
-
readonly
|
|
2540
|
-
readonly
|
|
2541
|
-
readonly
|
|
2525
|
+
interface HarmonizationHs6ExportType {
|
|
2526
|
+
readonly discriminator: 'harmonization_hs6_export_type';
|
|
2527
|
+
readonly numbers?: string[];
|
|
2528
|
+
readonly has_codes?: boolean;
|
|
2529
|
+
readonly sort?: string;
|
|
2542
2530
|
}
|
|
2543
2531
|
|
|
2544
|
-
interface
|
|
2545
|
-
readonly
|
|
2546
|
-
readonly
|
|
2547
|
-
readonly
|
|
2548
|
-
readonly
|
|
2549
|
-
readonly measurement_system: string;
|
|
2550
|
-
readonly default_currency?: string;
|
|
2551
|
-
readonly default_language?: string;
|
|
2552
|
-
readonly timezones: string[];
|
|
2553
|
-
readonly default_delivered_duty?: string;
|
|
2532
|
+
interface HarmonizationOverviewExportType {
|
|
2533
|
+
readonly discriminator: 'harmonization_overview_export_type';
|
|
2534
|
+
readonly origin?: string;
|
|
2535
|
+
readonly destination?: string;
|
|
2536
|
+
readonly sort?: string;
|
|
2554
2537
|
}
|
|
2555
2538
|
|
|
2556
|
-
interface
|
|
2557
|
-
readonly
|
|
2558
|
-
readonly
|
|
2559
|
-
readonly number_decimals: number;
|
|
2560
|
-
readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
|
|
2561
|
-
readonly default_locale?: string;
|
|
2539
|
+
interface HarmonizationTariffCodesExportType {
|
|
2540
|
+
readonly discriminator: 'harmonization_tariff_codes_export_type';
|
|
2541
|
+
readonly sort?: string;
|
|
2562
2542
|
}
|
|
2563
2543
|
|
|
2564
|
-
interface
|
|
2565
|
-
readonly
|
|
2566
|
-
readonly
|
|
2544
|
+
interface LandedCostItem {
|
|
2545
|
+
readonly number: string;
|
|
2546
|
+
readonly origin: string;
|
|
2547
|
+
readonly destination: string;
|
|
2567
2548
|
}
|
|
2568
2549
|
|
|
2569
|
-
interface
|
|
2570
|
-
readonly
|
|
2571
|
-
readonly
|
|
2550
|
+
interface LocalizedItemPricesExportType {
|
|
2551
|
+
readonly discriminator: 'localized_item_prices_export_type';
|
|
2552
|
+
readonly since?: string;
|
|
2572
2553
|
}
|
|
2573
2554
|
|
|
2574
|
-
interface
|
|
2575
|
-
readonly
|
|
2576
|
-
readonly
|
|
2577
|
-
readonly
|
|
2578
|
-
readonly language: string;
|
|
2579
|
-
readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
|
|
2555
|
+
interface MarketingFeedsExportType {
|
|
2556
|
+
readonly discriminator: 'marketing_feeds_export_type';
|
|
2557
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2558
|
+
readonly feed_ids: string[];
|
|
2580
2559
|
}
|
|
2581
2560
|
|
|
2582
|
-
interface
|
|
2583
|
-
readonly
|
|
2584
|
-
readonly
|
|
2561
|
+
interface OrderExportType {
|
|
2562
|
+
readonly discriminator: 'order_export_type';
|
|
2563
|
+
readonly numbers?: string[];
|
|
2564
|
+
readonly min_hours_since_submitted_at?: number;
|
|
2565
|
+
readonly submitted_on_or_before?: string;
|
|
2566
|
+
readonly submitted_on_or_after?: string;
|
|
2567
|
+
readonly status?: io.flow.experience.v0.enums.OrderStatus;
|
|
2568
|
+
readonly has_tracking_label?: boolean;
|
|
2569
|
+
readonly sort?: string;
|
|
2585
2570
|
}
|
|
2586
2571
|
|
|
2587
|
-
interface
|
|
2588
|
-
readonly
|
|
2589
|
-
readonly
|
|
2572
|
+
interface PriceBookItemExportType {
|
|
2573
|
+
readonly discriminator: 'price_book_item_export_type';
|
|
2574
|
+
readonly price_book_key?: string;
|
|
2575
|
+
readonly item_numbers?: string[];
|
|
2576
|
+
readonly start_date?: string;
|
|
2577
|
+
readonly end_date?: string;
|
|
2578
|
+
readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
|
|
2590
2579
|
}
|
|
2591
2580
|
|
|
2592
|
-
interface
|
|
2581
|
+
interface ScheduledExport {
|
|
2593
2582
|
readonly id: string;
|
|
2594
|
-
readonly
|
|
2595
|
-
readonly
|
|
2596
|
-
readonly
|
|
2597
|
-
readonly
|
|
2598
|
-
readonly
|
|
2583
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2584
|
+
readonly organization_q: string;
|
|
2585
|
+
readonly hour: number;
|
|
2586
|
+
readonly minute: number;
|
|
2587
|
+
readonly timezone: string;
|
|
2588
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
2589
|
+
readonly last_sent_at?: string;
|
|
2599
2590
|
}
|
|
2600
2591
|
|
|
2601
|
-
interface
|
|
2602
|
-
readonly
|
|
2603
|
-
readonly
|
|
2604
|
-
readonly
|
|
2592
|
+
interface ScheduledExportForm {
|
|
2593
|
+
readonly user_id: string;
|
|
2594
|
+
readonly organization_q: string;
|
|
2595
|
+
readonly hour: number;
|
|
2596
|
+
readonly minute: number;
|
|
2597
|
+
readonly timezone: string;
|
|
2598
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
2605
2599
|
}
|
|
2606
2600
|
|
|
2607
|
-
interface
|
|
2608
|
-
readonly
|
|
2609
|
-
readonly
|
|
2610
|
-
readonly
|
|
2601
|
+
interface SolidusProductExportType {
|
|
2602
|
+
readonly discriminator: 'solidus_product_export_type';
|
|
2603
|
+
readonly numbers?: string[];
|
|
2604
|
+
readonly sort?: string;
|
|
2611
2605
|
}
|
|
2612
2606
|
|
|
2613
|
-
interface
|
|
2614
|
-
readonly
|
|
2615
|
-
readonly
|
|
2616
|
-
readonly
|
|
2617
|
-
readonly country: string;
|
|
2618
|
-
readonly province_type: io.flow.reference.v0.enums.ProvinceType;
|
|
2619
|
-
readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
2607
|
+
interface SolidusVariantExportType {
|
|
2608
|
+
readonly discriminator: 'solidus_variant_export_type';
|
|
2609
|
+
readonly numbers?: string[];
|
|
2610
|
+
readonly sort?: string;
|
|
2620
2611
|
}
|
|
2621
2612
|
|
|
2622
|
-
interface
|
|
2623
|
-
readonly
|
|
2624
|
-
readonly
|
|
2625
|
-
readonly countries: string[];
|
|
2626
|
-
readonly currencies: string[];
|
|
2627
|
-
readonly languages: string[];
|
|
2628
|
-
readonly measurement_systems: string[];
|
|
2629
|
-
readonly timezones: string[];
|
|
2613
|
+
interface UnharmonizedItemExportType {
|
|
2614
|
+
readonly discriminator: 'unharmonized_item_export_type';
|
|
2615
|
+
readonly sort?: string;
|
|
2630
2616
|
}
|
|
2617
|
+
}
|
|
2631
2618
|
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2619
|
+
declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
2620
|
+
type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
|
|
2621
|
+
type ExportType =
|
|
2622
|
+
| io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
2623
|
+
| io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
2624
|
+
| io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
2625
|
+
| io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
2626
|
+
| io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
2627
|
+
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
2628
|
+
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
2629
|
+
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
2630
|
+
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
|
|
2631
|
+
| io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
2632
|
+
| io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
2633
|
+
| io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
|
|
2634
|
+
| io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
2635
|
+
| io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
2636
|
+
| io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
|
|
2637
|
+
| io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
|
|
2638
|
+
| io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
|
|
2637
2639
|
}
|
|
2638
2640
|
|
|
2639
|
-
declare namespace io.flow.
|
|
2640
|
-
type
|
|
2641
|
-
| '
|
|
2642
|
-
| '
|
|
2643
|
-
| '
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
| '
|
|
2647
|
-
| '
|
|
2648
|
-
| '
|
|
2649
|
-
| '
|
|
2650
|
-
| '
|
|
2651
|
-
|
|
2641
|
+
declare namespace io.flow.flexe.v0.enums {
|
|
2642
|
+
type FlexeAttachmentType =
|
|
2643
|
+
| 'shipping_label'
|
|
2644
|
+
| 'packing_slip'
|
|
2645
|
+
| 'packing_slip_letter';
|
|
2646
|
+
type FlexeNotification = 'receipt' | 'shipment';
|
|
2647
|
+
type FlexeShipmentType =
|
|
2648
|
+
| 'fulfillment_order'
|
|
2649
|
+
| 'retail_fulfillment_order'
|
|
2650
|
+
| 'carton_pick_delivery'
|
|
2651
|
+
| 'delivery'
|
|
2652
|
+
| 'container_delivery';
|
|
2653
|
+
type FlexeStatus = 'in_transit' | 'completed';
|
|
2652
2654
|
}
|
|
2653
2655
|
|
|
2654
|
-
declare namespace io.flow.
|
|
2655
|
-
interface
|
|
2656
|
-
readonly
|
|
2657
|
-
readonly
|
|
2658
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2659
|
-
readonly attributes: Record<string, string>;
|
|
2660
|
-
readonly url: string;
|
|
2661
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
2662
|
-
readonly order_number?: string;
|
|
2656
|
+
declare namespace io.flow.flexe.v0.models {
|
|
2657
|
+
interface BillOfLading {
|
|
2658
|
+
readonly type: string;
|
|
2659
|
+
readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
|
|
2663
2660
|
}
|
|
2664
2661
|
|
|
2665
|
-
interface
|
|
2666
|
-
readonly
|
|
2667
|
-
readonly
|
|
2668
|
-
readonly
|
|
2669
|
-
readonly
|
|
2670
|
-
readonly
|
|
2662
|
+
interface BillTo {
|
|
2663
|
+
readonly name: string;
|
|
2664
|
+
readonly address_1: string;
|
|
2665
|
+
readonly locality: string;
|
|
2666
|
+
readonly region: string;
|
|
2667
|
+
readonly postal_code: string;
|
|
2668
|
+
readonly country: string;
|
|
2669
|
+
readonly address_2?: string;
|
|
2670
|
+
readonly address_3?: string;
|
|
2671
2671
|
}
|
|
2672
2672
|
|
|
2673
|
-
interface
|
|
2674
|
-
readonly
|
|
2675
|
-
readonly
|
|
2676
|
-
readonly
|
|
2677
|
-
readonly description?: string;
|
|
2678
|
-
readonly address?: string;
|
|
2673
|
+
interface CartonPickDeliveryDetails {
|
|
2674
|
+
readonly shipment_uuid?: string;
|
|
2675
|
+
readonly carrier?: string;
|
|
2676
|
+
readonly carrier_id?: string;
|
|
2679
2677
|
}
|
|
2680
2678
|
|
|
2681
|
-
interface
|
|
2682
|
-
readonly
|
|
2683
|
-
readonly
|
|
2684
|
-
readonly
|
|
2679
|
+
interface ContainerDeliveryDetails {
|
|
2680
|
+
readonly purchase_order: string;
|
|
2681
|
+
readonly container_number?: string;
|
|
2682
|
+
readonly seal_number?: string;
|
|
2683
|
+
readonly vendor?: string;
|
|
2684
|
+
readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
2685
|
+
readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
2686
|
+
readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
2687
|
+
readonly quantities_by_inventory: Record<
|
|
2688
|
+
string,
|
|
2689
|
+
io.flow.flexe.v0.models.QuantityByInventory
|
|
2690
|
+
>;
|
|
2685
2691
|
}
|
|
2686
2692
|
|
|
2687
|
-
interface
|
|
2688
|
-
readonly
|
|
2689
|
-
readonly
|
|
2690
|
-
readonly
|
|
2691
|
-
readonly
|
|
2693
|
+
interface DeliveryDetails {
|
|
2694
|
+
readonly shipment_uuid?: string;
|
|
2695
|
+
readonly trailer_number?: string;
|
|
2696
|
+
readonly pallets: io.flow.flexe.v0.models.Pallet[];
|
|
2697
|
+
readonly quantities_by_inventory: Record<
|
|
2698
|
+
string,
|
|
2699
|
+
io.flow.flexe.v0.models.QuantityByInventory
|
|
2700
|
+
>;
|
|
2692
2701
|
}
|
|
2693
2702
|
|
|
2694
|
-
interface
|
|
2695
|
-
readonly
|
|
2696
|
-
readonly
|
|
2697
|
-
readonly
|
|
2698
|
-
readonly
|
|
2703
|
+
interface Error {
|
|
2704
|
+
readonly url: string;
|
|
2705
|
+
readonly client_request_id: string;
|
|
2706
|
+
readonly generated_at: string;
|
|
2707
|
+
readonly error: string;
|
|
2699
2708
|
}
|
|
2700
2709
|
|
|
2701
|
-
interface
|
|
2702
|
-
readonly
|
|
2703
|
-
readonly
|
|
2704
|
-
readonly
|
|
2705
|
-
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
2706
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2707
|
-
readonly timestamp: string;
|
|
2708
|
-
readonly delivery_estimate?: string;
|
|
2709
|
-
readonly description?: string;
|
|
2710
|
+
interface FlexeAttachment {
|
|
2711
|
+
readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
|
|
2712
|
+
readonly display_name: string;
|
|
2713
|
+
readonly url: string;
|
|
2710
2714
|
}
|
|
2711
2715
|
|
|
2712
|
-
interface
|
|
2713
|
-
readonly
|
|
2714
|
-
readonly
|
|
2715
|
-
readonly
|
|
2716
|
-
readonly
|
|
2717
|
-
readonly
|
|
2718
|
-
readonly description?: string;
|
|
2719
|
-
readonly timestamp?: string;
|
|
2720
|
-
readonly parent_id?: string;
|
|
2716
|
+
interface FlexeEcommerceFulfillment {
|
|
2717
|
+
readonly url: string;
|
|
2718
|
+
readonly client_request_id: string;
|
|
2719
|
+
readonly generated_at: string;
|
|
2720
|
+
readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
|
|
2721
|
+
readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
|
|
2721
2722
|
}
|
|
2722
2723
|
|
|
2723
|
-
interface
|
|
2724
|
-
readonly
|
|
2725
|
-
readonly
|
|
2726
|
-
readonly
|
|
2727
|
-
readonly
|
|
2728
|
-
readonly tracking_number: string;
|
|
2724
|
+
interface FlexeEcommerceFulfillmentData {
|
|
2725
|
+
readonly import_id: string;
|
|
2726
|
+
readonly succeeded_uuids: string[];
|
|
2727
|
+
readonly failed_uuids: string[];
|
|
2728
|
+
readonly errors: string[];
|
|
2729
2729
|
}
|
|
2730
2730
|
|
|
2731
|
-
interface
|
|
2732
|
-
readonly
|
|
2733
|
-
readonly
|
|
2734
|
-
readonly
|
|
2735
|
-
readonly
|
|
2731
|
+
interface FlexeEcommerceFulfillmentErrors {
|
|
2732
|
+
readonly status: string;
|
|
2733
|
+
readonly title: string;
|
|
2734
|
+
readonly detail: string;
|
|
2735
|
+
readonly source?: string;
|
|
2736
2736
|
}
|
|
2737
2737
|
|
|
2738
|
-
interface
|
|
2739
|
-
readonly
|
|
2740
|
-
readonly
|
|
2741
|
-
readonly
|
|
2738
|
+
interface FlexeEcommerceFulfillmentForm {
|
|
2739
|
+
readonly reservation_id: number;
|
|
2740
|
+
readonly client_request_id: string;
|
|
2741
|
+
readonly request: io.flow.flexe.v0.models.Orders;
|
|
2742
2742
|
}
|
|
2743
2743
|
|
|
2744
|
-
interface
|
|
2745
|
-
readonly
|
|
2746
|
-
readonly
|
|
2747
|
-
readonly
|
|
2748
|
-
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
2744
|
+
interface FlexeInventoryData {
|
|
2745
|
+
readonly sku: string;
|
|
2746
|
+
readonly quantity: string;
|
|
2747
|
+
readonly unit: string;
|
|
2749
2748
|
}
|
|
2750
|
-
}
|
|
2751
2749
|
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
}
|
|
2750
|
+
interface FlexeRetailAttachment {
|
|
2751
|
+
readonly display_name: string;
|
|
2752
|
+
readonly url: string;
|
|
2753
|
+
}
|
|
2756
2754
|
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
readonly
|
|
2760
|
-
readonly
|
|
2761
|
-
readonly
|
|
2762
|
-
readonly
|
|
2763
|
-
readonly transaction_created_to?: string;
|
|
2764
|
-
readonly transaction_created_on_or_after?: string;
|
|
2765
|
-
readonly transaction_created_after?: string;
|
|
2766
|
-
readonly transaction_created_on_or_before?: string;
|
|
2767
|
-
readonly transaction_created_before?: string;
|
|
2768
|
-
readonly transaction_posted_from?: string;
|
|
2769
|
-
readonly transaction_posted_to?: string;
|
|
2770
|
-
readonly transaction_posted_on_or_after?: string;
|
|
2771
|
-
readonly transaction_posted_after?: string;
|
|
2772
|
-
readonly transaction_posted_on_or_before?: string;
|
|
2773
|
-
readonly transaction_posted_before?: string;
|
|
2755
|
+
interface FlexeRetailFulfillment {
|
|
2756
|
+
readonly url: string;
|
|
2757
|
+
readonly client_request_id: string;
|
|
2758
|
+
readonly generated_at: string;
|
|
2759
|
+
readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
|
|
2760
|
+
readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
|
|
2774
2761
|
}
|
|
2775
2762
|
|
|
2776
|
-
interface
|
|
2777
|
-
readonly
|
|
2778
|
-
readonly
|
|
2779
|
-
readonly
|
|
2780
|
-
readonly created_from?: string;
|
|
2781
|
-
readonly created_to?: string;
|
|
2782
|
-
readonly created_on_or_after?: string;
|
|
2783
|
-
readonly created_after?: string;
|
|
2784
|
-
readonly created_on_or_before?: string;
|
|
2785
|
-
readonly created_before?: string;
|
|
2786
|
-
readonly posted_from?: string;
|
|
2787
|
-
readonly posted_to?: string;
|
|
2788
|
-
readonly posted_on_or_after?: string;
|
|
2789
|
-
readonly posted_after?: string;
|
|
2790
|
-
readonly posted_on_or_before?: string;
|
|
2791
|
-
readonly posted_before?: string;
|
|
2763
|
+
interface FlexeRetailFulfillmentData {
|
|
2764
|
+
readonly id: string;
|
|
2765
|
+
readonly purchase_order_uuid: string;
|
|
2766
|
+
readonly status: string;
|
|
2792
2767
|
}
|
|
2793
2768
|
|
|
2794
|
-
interface
|
|
2795
|
-
readonly
|
|
2796
|
-
readonly
|
|
2797
|
-
readonly to?: string;
|
|
2798
|
-
readonly region?: string;
|
|
2799
|
-
readonly interval?: io.flow.common.v0.enums.UnitOfTime;
|
|
2769
|
+
interface FlexeRetailFulfillmentErrors {
|
|
2770
|
+
readonly type: string;
|
|
2771
|
+
readonly message: string;
|
|
2800
2772
|
}
|
|
2801
2773
|
|
|
2802
|
-
interface
|
|
2803
|
-
readonly
|
|
2804
|
-
readonly
|
|
2805
|
-
readonly
|
|
2806
|
-
readonly sort?: string;
|
|
2774
|
+
interface FlexeRetailFulfillmentForm {
|
|
2775
|
+
readonly reservation_id: number;
|
|
2776
|
+
readonly client_request_id?: string;
|
|
2777
|
+
readonly request: io.flow.flexe.v0.models.RetailOrder;
|
|
2807
2778
|
}
|
|
2808
2779
|
|
|
2809
|
-
interface
|
|
2810
|
-
readonly
|
|
2811
|
-
readonly
|
|
2812
|
-
readonly
|
|
2813
|
-
readonly item_name: string;
|
|
2814
|
-
readonly amount: number;
|
|
2815
|
-
readonly item_attributes?: Record<string, string>;
|
|
2816
|
-
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2780
|
+
interface FulfillmentOrderDetails {
|
|
2781
|
+
readonly shipment_uuid: string;
|
|
2782
|
+
readonly carrier?: string;
|
|
2783
|
+
readonly carrier_id?: string;
|
|
2817
2784
|
}
|
|
2818
2785
|
|
|
2819
|
-
interface
|
|
2820
|
-
readonly
|
|
2821
|
-
readonly
|
|
2822
|
-
readonly
|
|
2823
|
-
readonly item_name: string;
|
|
2824
|
-
readonly amount: number;
|
|
2825
|
-
readonly item_attributes?: Record<string, string>;
|
|
2826
|
-
readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2786
|
+
interface Gs1Us {
|
|
2787
|
+
readonly number: string;
|
|
2788
|
+
readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
|
|
2789
|
+
readonly bill_to?: io.flow.flexe.v0.models.BillTo;
|
|
2827
2790
|
}
|
|
2828
2791
|
|
|
2829
|
-
interface
|
|
2830
|
-
readonly
|
|
2831
|
-
readonly
|
|
2832
|
-
readonly
|
|
2792
|
+
interface Gs1UsShipTo {
|
|
2793
|
+
readonly cid_number?: string;
|
|
2794
|
+
readonly location_number?: string;
|
|
2795
|
+
readonly free_on_board?: boolean;
|
|
2833
2796
|
}
|
|
2834
2797
|
|
|
2835
|
-
interface
|
|
2836
|
-
readonly
|
|
2837
|
-
readonly
|
|
2838
|
-
readonly
|
|
2839
|
-
readonly
|
|
2798
|
+
interface Inventory {
|
|
2799
|
+
readonly url: string;
|
|
2800
|
+
readonly client_request_id: string;
|
|
2801
|
+
readonly generated_at: string;
|
|
2802
|
+
readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
|
|
2840
2803
|
}
|
|
2841
2804
|
|
|
2842
|
-
interface
|
|
2843
|
-
readonly
|
|
2844
|
-
readonly
|
|
2845
|
-
readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
|
|
2846
|
-
readonly organization_q: string;
|
|
2847
|
-
readonly created_at: string;
|
|
2848
|
-
readonly started_at?: string;
|
|
2849
|
-
readonly completed_at?: string;
|
|
2850
|
-
readonly url?: string;
|
|
2851
|
-
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
2805
|
+
interface InventoryCount {
|
|
2806
|
+
readonly amount: number;
|
|
2807
|
+
readonly unit: string;
|
|
2852
2808
|
}
|
|
2853
2809
|
|
|
2854
|
-
interface
|
|
2855
|
-
readonly
|
|
2856
|
-
readonly
|
|
2810
|
+
interface InventoryData {
|
|
2811
|
+
readonly pallet: io.flow.flexe.v0.models.InventoryCount;
|
|
2812
|
+
readonly carton?: io.flow.flexe.v0.models.InventoryCount;
|
|
2813
|
+
readonly each?: io.flow.flexe.v0.models.InventoryCount;
|
|
2857
2814
|
}
|
|
2858
2815
|
|
|
2859
|
-
interface
|
|
2860
|
-
readonly
|
|
2861
|
-
readonly emails?: string[];
|
|
2862
|
-
readonly organization_q?: string;
|
|
2816
|
+
interface InventoryDetails {
|
|
2817
|
+
readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
|
|
2863
2818
|
}
|
|
2864
2819
|
|
|
2865
|
-
interface
|
|
2866
|
-
readonly
|
|
2867
|
-
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
2868
|
-
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
2869
|
-
readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
|
|
2870
|
-
readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
2871
|
-
readonly rates?: io.flow.currency.v0.models.Rate[];
|
|
2820
|
+
interface LadingQuantity {
|
|
2821
|
+
readonly num_pallets: number;
|
|
2872
2822
|
}
|
|
2873
2823
|
|
|
2874
|
-
interface
|
|
2875
|
-
readonly
|
|
2876
|
-
readonly
|
|
2877
|
-
readonly
|
|
2878
|
-
readonly
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2824
|
+
interface Order {
|
|
2825
|
+
readonly shipment_uuid: string;
|
|
2826
|
+
readonly purchase_order: string;
|
|
2827
|
+
readonly carrier: string;
|
|
2828
|
+
readonly service_type: string;
|
|
2829
|
+
readonly carrier_assigned_id: string;
|
|
2830
|
+
readonly name: string;
|
|
2831
|
+
readonly address_1: string;
|
|
2832
|
+
readonly address_2?: string;
|
|
2833
|
+
readonly address_3?: string;
|
|
2834
|
+
readonly city: string;
|
|
2835
|
+
readonly state: string;
|
|
2836
|
+
readonly postal_code: string;
|
|
2837
|
+
readonly phone?: string;
|
|
2838
|
+
readonly instructions?: string;
|
|
2839
|
+
readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
|
|
2840
|
+
readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
|
|
2882
2841
|
}
|
|
2883
2842
|
|
|
2884
|
-
interface
|
|
2885
|
-
readonly
|
|
2886
|
-
readonly timestamp: string;
|
|
2887
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2888
|
-
readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
|
|
2843
|
+
interface Orders {
|
|
2844
|
+
readonly orders: io.flow.flexe.v0.models.Order[];
|
|
2889
2845
|
}
|
|
2890
2846
|
|
|
2891
|
-
interface
|
|
2892
|
-
readonly
|
|
2893
|
-
readonly
|
|
2894
|
-
readonly
|
|
2895
|
-
readonly
|
|
2896
|
-
readonly has_codes?: boolean;
|
|
2897
|
-
readonly has_origins?: boolean;
|
|
2898
|
-
readonly sort?: string;
|
|
2847
|
+
interface Pallet {
|
|
2848
|
+
readonly pallet_id: string;
|
|
2849
|
+
readonly sku: string;
|
|
2850
|
+
readonly quantity: number;
|
|
2851
|
+
readonly packaging: string;
|
|
2899
2852
|
}
|
|
2900
2853
|
|
|
2901
|
-
interface
|
|
2902
|
-
readonly
|
|
2903
|
-
readonly
|
|
2904
|
-
readonly
|
|
2905
|
-
readonly
|
|
2854
|
+
interface PurchaseOrder {
|
|
2855
|
+
readonly retail_fulfillment_order_id: string;
|
|
2856
|
+
readonly bill_of_lading_number: string;
|
|
2857
|
+
readonly purchase_order_uuid: string;
|
|
2858
|
+
readonly pickup_window_start: string;
|
|
2859
|
+
readonly pickup_window_end: string;
|
|
2860
|
+
readonly tags: string[];
|
|
2906
2861
|
}
|
|
2907
2862
|
|
|
2908
|
-
interface
|
|
2909
|
-
readonly
|
|
2910
|
-
readonly
|
|
2911
|
-
readonly
|
|
2912
|
-
readonly sort?: string;
|
|
2863
|
+
interface QuantityByInventory {
|
|
2864
|
+
readonly received: io.flow.flexe.v0.models.InventoryData;
|
|
2865
|
+
readonly expected?: io.flow.flexe.v0.models.InventoryData;
|
|
2866
|
+
readonly damaged?: io.flow.flexe.v0.models.InventoryData;
|
|
2913
2867
|
}
|
|
2914
2868
|
|
|
2915
|
-
interface
|
|
2916
|
-
readonly
|
|
2917
|
-
readonly
|
|
2869
|
+
interface ReceiptNotification {
|
|
2870
|
+
readonly shipment_id: string;
|
|
2871
|
+
readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
|
|
2872
|
+
readonly reservation_id: string;
|
|
2873
|
+
readonly status: io.flow.flexe.v0.enums.FlexeStatus;
|
|
2874
|
+
readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
|
|
2875
|
+
readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
|
|
2918
2876
|
}
|
|
2919
2877
|
|
|
2920
|
-
interface
|
|
2921
|
-
readonly
|
|
2922
|
-
readonly
|
|
2923
|
-
readonly
|
|
2878
|
+
interface RetailFulfillmentOrderDetails {
|
|
2879
|
+
readonly master_bill_of_lading_number: string;
|
|
2880
|
+
readonly scac: string;
|
|
2881
|
+
readonly pro_number: string;
|
|
2882
|
+
readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
|
|
2883
|
+
readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
|
|
2924
2884
|
}
|
|
2925
2885
|
|
|
2926
|
-
interface
|
|
2927
|
-
readonly
|
|
2928
|
-
readonly
|
|
2886
|
+
interface RetailInventoryData {
|
|
2887
|
+
readonly sku: string;
|
|
2888
|
+
readonly quantity: number;
|
|
2889
|
+
readonly unit: string;
|
|
2890
|
+
readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
|
|
2929
2891
|
}
|
|
2930
2892
|
|
|
2931
|
-
interface
|
|
2932
|
-
readonly
|
|
2933
|
-
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2934
|
-
readonly feed_ids: string[];
|
|
2893
|
+
interface RetailOrder {
|
|
2894
|
+
readonly order: io.flow.flexe.v0.models.RetailOrderData;
|
|
2935
2895
|
}
|
|
2936
2896
|
|
|
2937
|
-
interface
|
|
2938
|
-
readonly
|
|
2939
|
-
readonly
|
|
2940
|
-
readonly
|
|
2941
|
-
readonly
|
|
2942
|
-
readonly
|
|
2943
|
-
readonly
|
|
2944
|
-
readonly
|
|
2945
|
-
readonly
|
|
2897
|
+
interface RetailOrderData {
|
|
2898
|
+
readonly purchase_order_uuid: string;
|
|
2899
|
+
readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
|
|
2900
|
+
readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
|
|
2901
|
+
readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
|
|
2902
|
+
readonly ship_to: io.flow.flexe.v0.models.ShipTo;
|
|
2903
|
+
readonly build_by?: string;
|
|
2904
|
+
readonly instrunctions?: string;
|
|
2905
|
+
readonly routing_details_id?: string;
|
|
2906
|
+
readonly destination_type?: string;
|
|
2946
2907
|
}
|
|
2947
2908
|
|
|
2948
|
-
interface
|
|
2949
|
-
readonly
|
|
2950
|
-
readonly
|
|
2951
|
-
readonly
|
|
2952
|
-
readonly
|
|
2953
|
-
readonly
|
|
2954
|
-
readonly
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
interface ScheduledExport {
|
|
2958
|
-
readonly id: string;
|
|
2959
|
-
readonly user: io.flow.common.v0.models.UserReference;
|
|
2960
|
-
readonly organization_q: string;
|
|
2961
|
-
readonly hour: number;
|
|
2962
|
-
readonly minute: number;
|
|
2963
|
-
readonly timezone: string;
|
|
2964
|
-
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
2965
|
-
readonly last_sent_at?: string;
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
interface ScheduledExportForm {
|
|
2969
|
-
readonly user_id: string;
|
|
2970
|
-
readonly organization_q: string;
|
|
2971
|
-
readonly hour: number;
|
|
2972
|
-
readonly minute: number;
|
|
2973
|
-
readonly timezone: string;
|
|
2974
|
-
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
|
-
interface SolidusProductExportType {
|
|
2978
|
-
readonly discriminator: 'solidus_product_export_type';
|
|
2979
|
-
readonly numbers?: string[];
|
|
2980
|
-
readonly sort?: string;
|
|
2981
|
-
}
|
|
2982
|
-
|
|
2983
|
-
interface SolidusVariantExportType {
|
|
2984
|
-
readonly discriminator: 'solidus_variant_export_type';
|
|
2985
|
-
readonly numbers?: string[];
|
|
2986
|
-
readonly sort?: string;
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
interface UnharmonizedItemExportType {
|
|
2990
|
-
readonly discriminator: 'unharmonized_item_export_type';
|
|
2991
|
-
readonly sort?: string;
|
|
2992
|
-
}
|
|
2993
|
-
}
|
|
2994
|
-
|
|
2995
|
-
declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
2996
|
-
type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
|
|
2997
|
-
type ExportType =
|
|
2998
|
-
| io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
2999
|
-
| io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
3000
|
-
| io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
3001
|
-
| io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
3002
|
-
| io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
3003
|
-
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
3004
|
-
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
3005
|
-
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
3006
|
-
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
|
|
3007
|
-
| io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
3008
|
-
| io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
3009
|
-
| io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
|
|
3010
|
-
| io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
3011
|
-
| io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
3012
|
-
| io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
|
|
3013
|
-
| io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
|
|
3014
|
-
| io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
|
|
3015
|
-
}
|
|
3016
|
-
|
|
3017
|
-
declare namespace io.flow.flexe.v0.enums {
|
|
3018
|
-
type FlexeAttachmentType =
|
|
3019
|
-
| 'shipping_label'
|
|
3020
|
-
| 'packing_slip'
|
|
3021
|
-
| 'packing_slip_letter';
|
|
3022
|
-
type FlexeNotification = 'receipt' | 'shipment';
|
|
3023
|
-
type FlexeShipmentType =
|
|
3024
|
-
| 'fulfillment_order'
|
|
3025
|
-
| 'retail_fulfillment_order'
|
|
3026
|
-
| 'carton_pick_delivery'
|
|
3027
|
-
| 'delivery'
|
|
3028
|
-
| 'container_delivery';
|
|
3029
|
-
type FlexeStatus = 'in_transit' | 'completed';
|
|
3030
|
-
}
|
|
3031
|
-
|
|
3032
|
-
declare namespace io.flow.flexe.v0.models {
|
|
3033
|
-
interface BillOfLading {
|
|
3034
|
-
readonly type: string;
|
|
3035
|
-
readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
interface BillTo {
|
|
3039
|
-
readonly name: string;
|
|
3040
|
-
readonly address_1: string;
|
|
3041
|
-
readonly locality: string;
|
|
3042
|
-
readonly region: string;
|
|
3043
|
-
readonly postal_code: string;
|
|
3044
|
-
readonly country: string;
|
|
3045
|
-
readonly address_2?: string;
|
|
3046
|
-
readonly address_3?: string;
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
interface CartonPickDeliveryDetails {
|
|
3050
|
-
readonly shipment_uuid?: string;
|
|
3051
|
-
readonly carrier?: string;
|
|
3052
|
-
readonly carrier_id?: string;
|
|
3053
|
-
}
|
|
3054
|
-
|
|
3055
|
-
interface ContainerDeliveryDetails {
|
|
3056
|
-
readonly purchase_order: string;
|
|
3057
|
-
readonly container_number?: string;
|
|
3058
|
-
readonly seal_number?: string;
|
|
3059
|
-
readonly vendor?: string;
|
|
3060
|
-
readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
3061
|
-
readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
3062
|
-
readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
|
|
3063
|
-
readonly quantities_by_inventory: Record<
|
|
3064
|
-
string,
|
|
3065
|
-
io.flow.flexe.v0.models.QuantityByInventory
|
|
3066
|
-
>;
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3069
|
-
interface DeliveryDetails {
|
|
3070
|
-
readonly shipment_uuid?: string;
|
|
3071
|
-
readonly trailer_number?: string;
|
|
3072
|
-
readonly pallets: io.flow.flexe.v0.models.Pallet[];
|
|
3073
|
-
readonly quantities_by_inventory: Record<
|
|
3074
|
-
string,
|
|
3075
|
-
io.flow.flexe.v0.models.QuantityByInventory
|
|
3076
|
-
>;
|
|
3077
|
-
}
|
|
3078
|
-
|
|
3079
|
-
interface Error {
|
|
3080
|
-
readonly url: string;
|
|
3081
|
-
readonly client_request_id: string;
|
|
3082
|
-
readonly generated_at: string;
|
|
3083
|
-
readonly error: string;
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
|
-
interface FlexeAttachment {
|
|
3087
|
-
readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
|
|
3088
|
-
readonly display_name: string;
|
|
3089
|
-
readonly url: string;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
interface FlexeEcommerceFulfillment {
|
|
3093
|
-
readonly url: string;
|
|
3094
|
-
readonly client_request_id: string;
|
|
3095
|
-
readonly generated_at: string;
|
|
3096
|
-
readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
|
|
3097
|
-
readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
interface FlexeEcommerceFulfillmentData {
|
|
3101
|
-
readonly import_id: string;
|
|
3102
|
-
readonly succeeded_uuids: string[];
|
|
3103
|
-
readonly failed_uuids: string[];
|
|
3104
|
-
readonly errors: string[];
|
|
3105
|
-
}
|
|
3106
|
-
|
|
3107
|
-
interface FlexeEcommerceFulfillmentErrors {
|
|
3108
|
-
readonly status: string;
|
|
3109
|
-
readonly title: string;
|
|
3110
|
-
readonly detail: string;
|
|
3111
|
-
readonly source?: string;
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
|
-
interface FlexeEcommerceFulfillmentForm {
|
|
3115
|
-
readonly reservation_id: number;
|
|
3116
|
-
readonly client_request_id: string;
|
|
3117
|
-
readonly request: io.flow.flexe.v0.models.Orders;
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
interface FlexeInventoryData {
|
|
3121
|
-
readonly sku: string;
|
|
3122
|
-
readonly quantity: string;
|
|
3123
|
-
readonly unit: string;
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
interface FlexeRetailAttachment {
|
|
3127
|
-
readonly display_name: string;
|
|
3128
|
-
readonly url: string;
|
|
3129
|
-
}
|
|
3130
|
-
|
|
3131
|
-
interface FlexeRetailFulfillment {
|
|
3132
|
-
readonly url: string;
|
|
3133
|
-
readonly client_request_id: string;
|
|
3134
|
-
readonly generated_at: string;
|
|
3135
|
-
readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
|
|
3136
|
-
readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
|
|
3137
|
-
}
|
|
3138
|
-
|
|
3139
|
-
interface FlexeRetailFulfillmentData {
|
|
3140
|
-
readonly id: string;
|
|
3141
|
-
readonly purchase_order_uuid: string;
|
|
3142
|
-
readonly status: string;
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
interface FlexeRetailFulfillmentErrors {
|
|
3146
|
-
readonly type: string;
|
|
3147
|
-
readonly message: string;
|
|
3148
|
-
}
|
|
3149
|
-
|
|
3150
|
-
interface FlexeRetailFulfillmentForm {
|
|
3151
|
-
readonly reservation_id: number;
|
|
3152
|
-
readonly client_request_id?: string;
|
|
3153
|
-
readonly request: io.flow.flexe.v0.models.RetailOrder;
|
|
3154
|
-
}
|
|
3155
|
-
|
|
3156
|
-
interface FulfillmentOrderDetails {
|
|
3157
|
-
readonly shipment_uuid: string;
|
|
3158
|
-
readonly carrier?: string;
|
|
3159
|
-
readonly carrier_id?: string;
|
|
3160
|
-
}
|
|
3161
|
-
|
|
3162
|
-
interface Gs1Us {
|
|
3163
|
-
readonly number: string;
|
|
3164
|
-
readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
|
|
3165
|
-
readonly bill_to?: io.flow.flexe.v0.models.BillTo;
|
|
3166
|
-
}
|
|
3167
|
-
|
|
3168
|
-
interface Gs1UsShipTo {
|
|
3169
|
-
readonly cid_number?: string;
|
|
3170
|
-
readonly location_number?: string;
|
|
3171
|
-
readonly free_on_board?: boolean;
|
|
3172
|
-
}
|
|
3173
|
-
|
|
3174
|
-
interface Inventory {
|
|
3175
|
-
readonly url: string;
|
|
3176
|
-
readonly client_request_id: string;
|
|
3177
|
-
readonly generated_at: string;
|
|
3178
|
-
readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
|
|
3179
|
-
}
|
|
3180
|
-
|
|
3181
|
-
interface InventoryCount {
|
|
3182
|
-
readonly amount: number;
|
|
3183
|
-
readonly unit: string;
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
interface InventoryData {
|
|
3187
|
-
readonly pallet: io.flow.flexe.v0.models.InventoryCount;
|
|
3188
|
-
readonly carton?: io.flow.flexe.v0.models.InventoryCount;
|
|
3189
|
-
readonly each?: io.flow.flexe.v0.models.InventoryCount;
|
|
3190
|
-
}
|
|
3191
|
-
|
|
3192
|
-
interface InventoryDetails {
|
|
3193
|
-
readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
|
|
3194
|
-
}
|
|
3195
|
-
|
|
3196
|
-
interface LadingQuantity {
|
|
3197
|
-
readonly num_pallets: number;
|
|
3198
|
-
}
|
|
3199
|
-
|
|
3200
|
-
interface Order {
|
|
3201
|
-
readonly shipment_uuid: string;
|
|
3202
|
-
readonly purchase_order: string;
|
|
3203
|
-
readonly carrier: string;
|
|
3204
|
-
readonly service_type: string;
|
|
3205
|
-
readonly carrier_assigned_id: string;
|
|
3206
|
-
readonly name: string;
|
|
3207
|
-
readonly address_1: string;
|
|
3208
|
-
readonly address_2?: string;
|
|
3209
|
-
readonly address_3?: string;
|
|
3210
|
-
readonly city: string;
|
|
3211
|
-
readonly state: string;
|
|
3212
|
-
readonly postal_code: string;
|
|
3213
|
-
readonly phone?: string;
|
|
3214
|
-
readonly instructions?: string;
|
|
3215
|
-
readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
|
|
3216
|
-
readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
|
|
3217
|
-
}
|
|
3218
|
-
|
|
3219
|
-
interface Orders {
|
|
3220
|
-
readonly orders: io.flow.flexe.v0.models.Order[];
|
|
3221
|
-
}
|
|
3222
|
-
|
|
3223
|
-
interface Pallet {
|
|
3224
|
-
readonly pallet_id: string;
|
|
3225
|
-
readonly sku: string;
|
|
3226
|
-
readonly quantity: number;
|
|
3227
|
-
readonly packaging: string;
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
interface PurchaseOrder {
|
|
3231
|
-
readonly retail_fulfillment_order_id: string;
|
|
3232
|
-
readonly bill_of_lading_number: string;
|
|
3233
|
-
readonly purchase_order_uuid: string;
|
|
3234
|
-
readonly pickup_window_start: string;
|
|
3235
|
-
readonly pickup_window_end: string;
|
|
3236
|
-
readonly tags: string[];
|
|
3237
|
-
}
|
|
3238
|
-
|
|
3239
|
-
interface QuantityByInventory {
|
|
3240
|
-
readonly received: io.flow.flexe.v0.models.InventoryData;
|
|
3241
|
-
readonly expected?: io.flow.flexe.v0.models.InventoryData;
|
|
3242
|
-
readonly damaged?: io.flow.flexe.v0.models.InventoryData;
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
interface ReceiptNotification {
|
|
3246
|
-
readonly shipment_id: string;
|
|
3247
|
-
readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
|
|
3248
|
-
readonly reservation_id: string;
|
|
3249
|
-
readonly status: io.flow.flexe.v0.enums.FlexeStatus;
|
|
3250
|
-
readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
|
|
3251
|
-
readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
|
|
3252
|
-
}
|
|
3253
|
-
|
|
3254
|
-
interface RetailFulfillmentOrderDetails {
|
|
3255
|
-
readonly master_bill_of_lading_number: string;
|
|
3256
|
-
readonly scac: string;
|
|
3257
|
-
readonly pro_number: string;
|
|
3258
|
-
readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
|
|
3259
|
-
readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
interface RetailInventoryData {
|
|
3263
|
-
readonly sku: string;
|
|
3264
|
-
readonly quantity: number;
|
|
3265
|
-
readonly unit: string;
|
|
3266
|
-
readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
|
|
3267
|
-
}
|
|
3268
|
-
|
|
3269
|
-
interface RetailOrder {
|
|
3270
|
-
readonly order: io.flow.flexe.v0.models.RetailOrderData;
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
interface RetailOrderData {
|
|
3274
|
-
readonly purchase_order_uuid: string;
|
|
3275
|
-
readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
|
|
3276
|
-
readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
|
|
3277
|
-
readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
|
|
3278
|
-
readonly ship_to: io.flow.flexe.v0.models.ShipTo;
|
|
3279
|
-
readonly build_by?: string;
|
|
3280
|
-
readonly instrunctions?: string;
|
|
3281
|
-
readonly routing_details_id?: string;
|
|
3282
|
-
readonly destination_type?: string;
|
|
3283
|
-
}
|
|
3284
|
-
|
|
3285
|
-
interface ShipTo {
|
|
3286
|
-
readonly name: string;
|
|
3287
|
-
readonly address_1: string;
|
|
3288
|
-
readonly locality: string;
|
|
3289
|
-
readonly region: string;
|
|
3290
|
-
readonly postal_code: string;
|
|
3291
|
-
readonly country: string;
|
|
3292
|
-
readonly address_2?: string;
|
|
3293
|
-
readonly address_3?: string;
|
|
2909
|
+
interface ShipTo {
|
|
2910
|
+
readonly name: string;
|
|
2911
|
+
readonly address_1: string;
|
|
2912
|
+
readonly locality: string;
|
|
2913
|
+
readonly region: string;
|
|
2914
|
+
readonly postal_code: string;
|
|
2915
|
+
readonly country: string;
|
|
2916
|
+
readonly address_2?: string;
|
|
2917
|
+
readonly address_3?: string;
|
|
3294
2918
|
}
|
|
3295
2919
|
|
|
3296
2920
|
interface ShipWithin {
|
|
@@ -9001,580 +8625,1035 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9001
8625
|
readonly payment_id: string;
|
|
9002
8626
|
}
|
|
9003
8627
|
|
|
9004
|
-
interface ActionUseSdkStripeV3 {
|
|
9005
|
-
readonly type: 'use_sdk_stripe_v3';
|
|
9006
|
-
readonly expires_at?: string;
|
|
9007
|
-
readonly client_secret: string;
|
|
9008
|
-
readonly publishable_key: string;
|
|
8628
|
+
interface ActionUseSdkStripeV3 {
|
|
8629
|
+
readonly type: 'use_sdk_stripe_v3';
|
|
8630
|
+
readonly expires_at?: string;
|
|
8631
|
+
readonly client_secret: string;
|
|
8632
|
+
readonly publishable_key: string;
|
|
8633
|
+
}
|
|
8634
|
+
|
|
8635
|
+
interface ActionWait {
|
|
8636
|
+
readonly type: 'wait';
|
|
8637
|
+
readonly expires_at?: string;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
interface AdyenV3ChallengeToken {
|
|
8641
|
+
readonly type: 'token';
|
|
8642
|
+
readonly challenge_token: string;
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8645
|
+
interface AdyenV3FingerprintToken {
|
|
8646
|
+
readonly type: 'fingerprint';
|
|
8647
|
+
readonly fingerprint_token: string;
|
|
8648
|
+
}
|
|
8649
|
+
|
|
8650
|
+
interface AuthorizationActionResultAdyenV3 {
|
|
8651
|
+
readonly type: 'adyen_v3';
|
|
8652
|
+
readonly result: any /*object*/;
|
|
8653
|
+
}
|
|
8654
|
+
|
|
8655
|
+
interface AuthorizationActionResultAdyenV4 {
|
|
8656
|
+
readonly type: 'adyen_v4';
|
|
8657
|
+
readonly result: any /*object*/;
|
|
8658
|
+
}
|
|
8659
|
+
|
|
8660
|
+
interface DeviceDetailsBrowser {
|
|
8661
|
+
readonly type: 'browser';
|
|
8662
|
+
readonly user_agent: string;
|
|
8663
|
+
readonly origin: string;
|
|
8664
|
+
readonly accept_language: string;
|
|
8665
|
+
readonly ip?: string;
|
|
8666
|
+
}
|
|
8667
|
+
|
|
8668
|
+
interface DeviceFingerprintDetailsBrowser {
|
|
8669
|
+
readonly type: 'browser';
|
|
8670
|
+
readonly accept?: string;
|
|
8671
|
+
readonly java_enabled: boolean;
|
|
8672
|
+
readonly color_depth: number;
|
|
8673
|
+
readonly screen_height: number;
|
|
8674
|
+
readonly screen_width: number;
|
|
8675
|
+
readonly time_zone_offset: number;
|
|
8676
|
+
}
|
|
8677
|
+
|
|
8678
|
+
interface OrderDetails {
|
|
8679
|
+
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
8680
|
+
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
8681
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
8682
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
8683
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
8684
|
+
}
|
|
8685
|
+
|
|
8686
|
+
interface OrderInformationDetails {
|
|
8687
|
+
readonly type: 'details';
|
|
8688
|
+
readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
|
|
8689
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
8690
|
+
readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
8691
|
+
}
|
|
8692
|
+
|
|
8693
|
+
interface OrderInformationFlow {
|
|
8694
|
+
readonly type: 'flow';
|
|
8695
|
+
readonly order_number: string;
|
|
8696
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
interface PaymentAddress {
|
|
8700
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8701
|
+
readonly location: io.flow.common.v0.models.Address;
|
|
8702
|
+
}
|
|
8703
|
+
|
|
8704
|
+
interface PaymentAuthorization {
|
|
8705
|
+
readonly id: string;
|
|
8706
|
+
readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
|
|
8707
|
+
readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
|
|
8708
|
+
readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
|
|
8709
|
+
readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
|
|
8710
|
+
readonly created_at: string;
|
|
8711
|
+
readonly updated_at: string;
|
|
8712
|
+
readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
|
|
8713
|
+
readonly amount: number;
|
|
8714
|
+
readonly currency: string;
|
|
8715
|
+
}
|
|
8716
|
+
|
|
8717
|
+
interface PaymentAuthorizationStatus {
|
|
8718
|
+
readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
|
|
8719
|
+
readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
|
|
8720
|
+
}
|
|
8721
|
+
|
|
8722
|
+
interface PaymentCapture {
|
|
8723
|
+
readonly id: string;
|
|
8724
|
+
readonly amount: number;
|
|
8725
|
+
readonly currency: string;
|
|
8726
|
+
readonly created_at: string;
|
|
8727
|
+
readonly updated_at: string;
|
|
8728
|
+
readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
|
|
8729
|
+
}
|
|
8730
|
+
|
|
8731
|
+
interface PaymentCaptureForm {
|
|
8732
|
+
readonly amount?: number;
|
|
8733
|
+
readonly currency?: string;
|
|
8734
|
+
}
|
|
8735
|
+
|
|
8736
|
+
interface PaymentCaptureOptionAutomaticImmediate {
|
|
8737
|
+
readonly type: 'automatic_immediate';
|
|
8738
|
+
readonly placeholder?: string;
|
|
8739
|
+
}
|
|
8740
|
+
|
|
8741
|
+
interface PaymentCaptureOptionManual {
|
|
8742
|
+
readonly type: 'manual';
|
|
8743
|
+
readonly placeholder?: string;
|
|
8744
|
+
}
|
|
8745
|
+
|
|
8746
|
+
interface PaymentCaptureStatus {
|
|
8747
|
+
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
8748
|
+
readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
8749
|
+
}
|
|
8750
|
+
|
|
8751
|
+
interface PaymentDiscount {
|
|
8752
|
+
readonly amount: number;
|
|
8753
|
+
readonly name?: string;
|
|
8754
|
+
readonly code?: string;
|
|
8755
|
+
}
|
|
8756
|
+
|
|
8757
|
+
interface PaymentDuty {
|
|
8758
|
+
readonly amount: number;
|
|
8759
|
+
readonly name?: string;
|
|
8760
|
+
}
|
|
8761
|
+
|
|
8762
|
+
interface PaymentFailure {
|
|
8763
|
+
readonly authorization_id?: string;
|
|
8764
|
+
readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
|
|
8765
|
+
readonly failure_message: string;
|
|
8766
|
+
}
|
|
8767
|
+
|
|
8768
|
+
interface PaymentInformation {
|
|
8769
|
+
readonly amount_refundable?: number;
|
|
8770
|
+
readonly amount_refunded?: number;
|
|
8771
|
+
readonly refundable_before?: string;
|
|
8772
|
+
readonly amount_capturable?: number;
|
|
8773
|
+
readonly amount_captured?: number;
|
|
8774
|
+
readonly capturable_before?: string;
|
|
8775
|
+
readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
|
|
8776
|
+
}
|
|
8777
|
+
|
|
8778
|
+
interface PaymentMethodBrand {
|
|
8779
|
+
readonly id: string;
|
|
8780
|
+
readonly name: string;
|
|
8781
|
+
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
8782
|
+
}
|
|
8783
|
+
|
|
8784
|
+
interface PaymentMethodCardNumberCipher {
|
|
8785
|
+
readonly type: 'cipher';
|
|
8786
|
+
readonly cipher: string;
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8789
|
+
interface PaymentMethodCardNumberCleartext {
|
|
8790
|
+
readonly type: 'cleartext';
|
|
8791
|
+
readonly number: string;
|
|
8792
|
+
}
|
|
8793
|
+
|
|
8794
|
+
interface PaymentMethodCardPciDetails {
|
|
8795
|
+
readonly type: 'card_pci_details';
|
|
8796
|
+
readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
|
|
8797
|
+
readonly expiration_month: number;
|
|
8798
|
+
readonly expiration_year: number;
|
|
8799
|
+
readonly name: string;
|
|
8800
|
+
}
|
|
8801
|
+
|
|
8802
|
+
interface PaymentMethodCardToken {
|
|
8803
|
+
readonly type: 'token';
|
|
8804
|
+
readonly token: string;
|
|
8805
|
+
}
|
|
8806
|
+
|
|
8807
|
+
interface PaymentMethodDataAuthorizeApplepay {
|
|
8808
|
+
readonly type: 'authorize_applepay';
|
|
8809
|
+
readonly token: string;
|
|
8810
|
+
}
|
|
8811
|
+
|
|
8812
|
+
interface PaymentMethodDataAuthorizeCard {
|
|
8813
|
+
readonly type: 'authorize_card';
|
|
8814
|
+
readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
|
|
8815
|
+
readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
|
|
8816
|
+
readonly cvv?: string;
|
|
8817
|
+
}
|
|
8818
|
+
|
|
8819
|
+
interface PaymentMethodDataAuthorizeGooglepay {
|
|
8820
|
+
readonly type: 'authorize_googlepay';
|
|
8821
|
+
readonly payment_data: any /*object*/;
|
|
8822
|
+
}
|
|
8823
|
+
|
|
8824
|
+
interface PaymentMethodDataAuthorizePaypal {
|
|
8825
|
+
readonly type: 'authorize_paypal';
|
|
8826
|
+
readonly payment_id: string;
|
|
8827
|
+
readonly payer_id: string;
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8830
|
+
interface PaymentMethodDataCompleteAuthorizationCard {
|
|
8831
|
+
readonly type: 'complete_authorization_card';
|
|
8832
|
+
readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
|
|
8833
|
+
}
|
|
8834
|
+
|
|
8835
|
+
interface PaymentMethodDataInitAfterpay {
|
|
8836
|
+
readonly type: 'init_afterpay';
|
|
8837
|
+
readonly placeholder?: string;
|
|
8838
|
+
}
|
|
8839
|
+
|
|
8840
|
+
interface PaymentMethodDataInitApplepay {
|
|
8841
|
+
readonly type: 'init_applepay';
|
|
8842
|
+
readonly placeholder?: string;
|
|
8843
|
+
}
|
|
8844
|
+
|
|
8845
|
+
interface PaymentMethodDataInitGooglepay {
|
|
8846
|
+
readonly type: 'init_googlepay';
|
|
8847
|
+
readonly placeholder?: string;
|
|
8848
|
+
}
|
|
8849
|
+
|
|
8850
|
+
interface PaymentMethodDataInitIdeal {
|
|
8851
|
+
readonly type: 'init_ideal';
|
|
8852
|
+
readonly issuer?: string;
|
|
8853
|
+
}
|
|
8854
|
+
|
|
8855
|
+
interface PaymentMethodDataInitKlarna {
|
|
8856
|
+
readonly type: 'init_klarna';
|
|
8857
|
+
readonly placeholder?: string;
|
|
8858
|
+
}
|
|
8859
|
+
|
|
8860
|
+
interface PaymentMethodDataInitPaypal {
|
|
8861
|
+
readonly type: 'init_paypal';
|
|
8862
|
+
readonly placeholder?: string;
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
interface PaymentMethodDataValidateApplepay {
|
|
8866
|
+
readonly type: 'validate_applepay';
|
|
8867
|
+
readonly validation_url: string;
|
|
9009
8868
|
}
|
|
9010
8869
|
|
|
9011
|
-
interface
|
|
9012
|
-
readonly type: '
|
|
9013
|
-
readonly
|
|
8870
|
+
interface PaymentMethodSummaryAfterpay {
|
|
8871
|
+
readonly type: 'afterpay';
|
|
8872
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9014
8873
|
}
|
|
9015
8874
|
|
|
9016
|
-
interface
|
|
9017
|
-
readonly type: '
|
|
9018
|
-
readonly
|
|
8875
|
+
interface PaymentMethodSummaryApplepay {
|
|
8876
|
+
readonly type: 'applepay';
|
|
8877
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9019
8878
|
}
|
|
9020
8879
|
|
|
9021
|
-
interface
|
|
9022
|
-
readonly type: '
|
|
9023
|
-
readonly
|
|
8880
|
+
interface PaymentMethodSummaryCard {
|
|
8881
|
+
readonly type: 'card';
|
|
8882
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
8883
|
+
readonly last_four: string;
|
|
8884
|
+
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
8885
|
+
readonly id: string;
|
|
9024
8886
|
}
|
|
9025
8887
|
|
|
9026
|
-
interface
|
|
9027
|
-
readonly type: '
|
|
9028
|
-
readonly
|
|
8888
|
+
interface PaymentMethodSummaryGooglepay {
|
|
8889
|
+
readonly type: 'googlepay';
|
|
8890
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9029
8891
|
}
|
|
9030
8892
|
|
|
9031
|
-
interface
|
|
9032
|
-
readonly type: '
|
|
9033
|
-
readonly
|
|
8893
|
+
interface PaymentMethodSummaryIdeal {
|
|
8894
|
+
readonly type: 'ideal';
|
|
8895
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
8896
|
+
readonly issuer: string;
|
|
9034
8897
|
}
|
|
9035
8898
|
|
|
9036
|
-
interface
|
|
9037
|
-
readonly type: '
|
|
9038
|
-
readonly
|
|
9039
|
-
readonly origin: string;
|
|
9040
|
-
readonly accept_language: string;
|
|
9041
|
-
readonly ip?: string;
|
|
8899
|
+
interface PaymentMethodSummaryKlarna {
|
|
8900
|
+
readonly type: 'klarna';
|
|
8901
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9042
8902
|
}
|
|
9043
8903
|
|
|
9044
|
-
interface
|
|
9045
|
-
readonly type: '
|
|
9046
|
-
readonly
|
|
9047
|
-
readonly java_enabled: boolean;
|
|
9048
|
-
readonly color_depth: number;
|
|
9049
|
-
readonly screen_height: number;
|
|
9050
|
-
readonly screen_width: number;
|
|
9051
|
-
readonly time_zone_offset: number;
|
|
8904
|
+
interface PaymentMethodSummaryPaypal {
|
|
8905
|
+
readonly type: 'paypal';
|
|
8906
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9052
8907
|
}
|
|
9053
8908
|
|
|
9054
|
-
interface
|
|
9055
|
-
readonly
|
|
9056
|
-
readonly
|
|
9057
|
-
readonly
|
|
8909
|
+
interface PaymentOrderDetailsLineItem {
|
|
8910
|
+
readonly id: string;
|
|
8911
|
+
readonly description: string;
|
|
8912
|
+
readonly quantity: number;
|
|
8913
|
+
readonly amount: number;
|
|
9058
8914
|
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
9059
8915
|
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
8916
|
+
readonly product_url?: string;
|
|
8917
|
+
readonly image_url?: string;
|
|
8918
|
+
readonly category?: string;
|
|
8919
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
9060
8920
|
}
|
|
9061
8921
|
|
|
9062
|
-
interface
|
|
9063
|
-
readonly
|
|
9064
|
-
readonly
|
|
9065
|
-
readonly
|
|
9066
|
-
readonly
|
|
8922
|
+
interface PaymentPaymentMethod {
|
|
8923
|
+
readonly id: string;
|
|
8924
|
+
readonly name: string;
|
|
8925
|
+
readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
|
|
8926
|
+
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
8927
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
8928
|
+
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
8929
|
+
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9067
8930
|
}
|
|
9068
8931
|
|
|
9069
|
-
interface
|
|
9070
|
-
readonly
|
|
9071
|
-
readonly
|
|
9072
|
-
readonly
|
|
8932
|
+
interface PaymentRefund {
|
|
8933
|
+
readonly id: string;
|
|
8934
|
+
readonly amount: number;
|
|
8935
|
+
readonly currency: string;
|
|
8936
|
+
readonly created_at: string;
|
|
8937
|
+
readonly updated_at: string;
|
|
8938
|
+
readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
|
|
9073
8939
|
}
|
|
9074
8940
|
|
|
9075
|
-
interface
|
|
9076
|
-
readonly
|
|
9077
|
-
readonly
|
|
8941
|
+
interface PaymentRefundForm {
|
|
8942
|
+
readonly amount?: number;
|
|
8943
|
+
readonly currency?: string;
|
|
9078
8944
|
}
|
|
9079
8945
|
|
|
9080
|
-
interface
|
|
8946
|
+
interface PaymentRefundStatus {
|
|
8947
|
+
readonly status: io.flow.payment.v0.enums.RefundStatus;
|
|
8948
|
+
readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
|
|
8949
|
+
}
|
|
8950
|
+
|
|
8951
|
+
interface PaymentRequest {
|
|
9081
8952
|
readonly id: string;
|
|
9082
|
-
readonly
|
|
9083
|
-
readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
|
|
9084
|
-
readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
|
|
9085
|
-
readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
|
|
8953
|
+
readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
|
|
9086
8954
|
readonly created_at: string;
|
|
9087
8955
|
readonly updated_at: string;
|
|
9088
|
-
readonly
|
|
8956
|
+
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
8957
|
+
readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
|
|
8958
|
+
readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
|
|
8959
|
+
readonly amount: number;
|
|
8960
|
+
readonly currency: string;
|
|
8961
|
+
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
8962
|
+
readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
|
|
8963
|
+
readonly locale?: string;
|
|
8964
|
+
readonly return_url: string;
|
|
8965
|
+
readonly attributes?: Record<string, string>;
|
|
8966
|
+
readonly reference?: string;
|
|
8967
|
+
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
8968
|
+
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
8969
|
+
readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
interface PaymentRequestForm {
|
|
9089
8973
|
readonly amount: number;
|
|
9090
8974
|
readonly currency: string;
|
|
8975
|
+
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
8976
|
+
readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
|
|
8977
|
+
readonly locale?: string;
|
|
8978
|
+
readonly return_url: string;
|
|
8979
|
+
readonly attributes?: Record<string, string>;
|
|
8980
|
+
readonly reference?: string;
|
|
8981
|
+
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
8982
|
+
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
8983
|
+
readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
9091
8984
|
}
|
|
9092
8985
|
|
|
9093
|
-
interface
|
|
9094
|
-
readonly
|
|
9095
|
-
readonly
|
|
8986
|
+
interface PaymentRequestReference {
|
|
8987
|
+
readonly id: string;
|
|
8988
|
+
readonly reference?: string;
|
|
9096
8989
|
}
|
|
9097
8990
|
|
|
9098
|
-
interface
|
|
8991
|
+
interface PaymentReversal {
|
|
9099
8992
|
readonly id: string;
|
|
9100
8993
|
readonly amount: number;
|
|
9101
8994
|
readonly currency: string;
|
|
9102
8995
|
readonly created_at: string;
|
|
9103
8996
|
readonly updated_at: string;
|
|
9104
|
-
readonly status: io.flow.payment.gateway.v0.models.
|
|
8997
|
+
readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
|
|
9105
8998
|
}
|
|
9106
8999
|
|
|
9107
|
-
interface
|
|
9000
|
+
interface PaymentReversalForm {
|
|
9108
9001
|
readonly amount?: number;
|
|
9109
9002
|
readonly currency?: string;
|
|
9110
9003
|
}
|
|
9111
9004
|
|
|
9112
|
-
interface
|
|
9113
|
-
readonly
|
|
9114
|
-
readonly
|
|
9005
|
+
interface PaymentReversalStatus {
|
|
9006
|
+
readonly status: io.flow.payment.v0.enums.ReversalStatus;
|
|
9007
|
+
readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
|
|
9115
9008
|
}
|
|
9116
9009
|
|
|
9117
|
-
interface
|
|
9118
|
-
readonly
|
|
9119
|
-
readonly
|
|
9010
|
+
interface PaymentTax {
|
|
9011
|
+
readonly amount: number;
|
|
9012
|
+
readonly name?: string;
|
|
9120
9013
|
}
|
|
9121
9014
|
|
|
9122
|
-
interface
|
|
9123
|
-
readonly
|
|
9124
|
-
readonly
|
|
9015
|
+
interface Shipping {
|
|
9016
|
+
readonly description: string;
|
|
9017
|
+
readonly amount: number;
|
|
9018
|
+
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
9019
|
+
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
9020
|
+
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
9125
9021
|
}
|
|
9022
|
+
}
|
|
9126
9023
|
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9024
|
+
declare namespace io.flow.payment.gateway.v0.unions {
|
|
9025
|
+
type Action =
|
|
9026
|
+
| io.flow.payment.gateway.v0.models.ActionRedirect
|
|
9027
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1
|
|
9028
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession
|
|
9029
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation
|
|
9030
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay
|
|
9031
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkPaypal
|
|
9032
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3
|
|
9033
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
|
|
9034
|
+
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
|
|
9035
|
+
| io.flow.payment.gateway.v0.models.ActionExecuteScript
|
|
9036
|
+
| io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
|
|
9037
|
+
| io.flow.payment.gateway.v0.models.ActionWait;
|
|
9038
|
+
type CardAuthorizationActionResult =
|
|
9039
|
+
| io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3
|
|
9040
|
+
| io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
|
|
9041
|
+
type CardNumber =
|
|
9042
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext
|
|
9043
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
|
|
9044
|
+
type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
|
|
9045
|
+
type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
|
|
9046
|
+
type OrderInformation =
|
|
9047
|
+
| io.flow.payment.gateway.v0.models.OrderInformationFlow
|
|
9048
|
+
| io.flow.payment.gateway.v0.models.OrderInformationDetails;
|
|
9049
|
+
type PaymentCaptureOption =
|
|
9050
|
+
| io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate
|
|
9051
|
+
| io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
|
|
9052
|
+
type PaymentMethodCard =
|
|
9053
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails
|
|
9054
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
9055
|
+
type PaymentMethodData =
|
|
9056
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna
|
|
9057
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay
|
|
9058
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay
|
|
9059
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay
|
|
9060
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal
|
|
9061
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal
|
|
9062
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
|
|
9063
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
|
|
9064
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
|
|
9065
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
|
|
9066
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
|
|
9067
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
9068
|
+
type PaymentMethodSummary =
|
|
9069
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
|
|
9070
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
|
|
9071
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay
|
|
9072
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay
|
|
9073
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay
|
|
9074
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
|
|
9075
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
|
|
9076
|
+
type SdkAdyenV3AuthenticationToken =
|
|
9077
|
+
| io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
|
|
9078
|
+
| io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
9079
|
+
}
|
|
9080
|
+
|
|
9081
|
+
declare namespace io.flow.order.management.event.v0.models {
|
|
9082
|
+
interface FulfillmentItemAllocationDetails {
|
|
9083
|
+
readonly item_number: string;
|
|
9084
|
+
readonly line_number: number;
|
|
9085
|
+
readonly levies: io.flow.common.v0.models.PriceWithBase;
|
|
9086
|
+
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
9131
9087
|
}
|
|
9132
9088
|
|
|
9133
|
-
interface
|
|
9134
|
-
readonly
|
|
9135
|
-
readonly
|
|
9089
|
+
interface OrderPlaced {
|
|
9090
|
+
readonly discriminator: 'order_placed';
|
|
9091
|
+
readonly event_id: string;
|
|
9092
|
+
readonly timestamp: string;
|
|
9093
|
+
readonly organization: string;
|
|
9094
|
+
readonly order_number: string;
|
|
9095
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
9096
|
+
readonly allocation: io.flow.experience.v0.models.AllocationV2;
|
|
9136
9097
|
}
|
|
9137
9098
|
|
|
9138
|
-
interface
|
|
9139
|
-
readonly
|
|
9140
|
-
readonly
|
|
9141
|
-
readonly
|
|
9099
|
+
interface OrderPlacedV2 {
|
|
9100
|
+
readonly discriminator: 'order_placed_v2';
|
|
9101
|
+
readonly event_id: string;
|
|
9102
|
+
readonly timestamp: string;
|
|
9103
|
+
readonly organization: string;
|
|
9104
|
+
readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
|
|
9142
9105
|
}
|
|
9143
9106
|
|
|
9144
|
-
interface
|
|
9145
|
-
readonly
|
|
9146
|
-
readonly
|
|
9147
|
-
readonly
|
|
9148
|
-
readonly
|
|
9149
|
-
readonly
|
|
9150
|
-
readonly
|
|
9151
|
-
readonly
|
|
9107
|
+
interface ReadyToFulfill {
|
|
9108
|
+
readonly discriminator: 'ready_to_fulfill';
|
|
9109
|
+
readonly event_id: string;
|
|
9110
|
+
readonly timestamp: string;
|
|
9111
|
+
readonly organization: string;
|
|
9112
|
+
readonly order_number: string;
|
|
9113
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
9114
|
+
readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
|
|
9115
|
+
readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
9152
9116
|
}
|
|
9153
9117
|
|
|
9154
|
-
interface
|
|
9118
|
+
interface ReadyToFulfillDetails {
|
|
9155
9119
|
readonly id: string;
|
|
9156
|
-
readonly
|
|
9157
|
-
readonly
|
|
9120
|
+
readonly order_number: string;
|
|
9121
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
9122
|
+
readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
|
|
9123
|
+
readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
9158
9124
|
}
|
|
9159
9125
|
|
|
9160
|
-
interface
|
|
9161
|
-
readonly
|
|
9162
|
-
readonly
|
|
9126
|
+
interface ReadyToFulfillV2 {
|
|
9127
|
+
readonly discriminator: 'ready_to_fulfill_v2';
|
|
9128
|
+
readonly event_id: string;
|
|
9129
|
+
readonly timestamp: string;
|
|
9130
|
+
readonly organization: string;
|
|
9131
|
+
readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
|
|
9163
9132
|
}
|
|
9133
|
+
}
|
|
9164
9134
|
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9135
|
+
declare namespace io.flow.order.management.event.v0.unions {
|
|
9136
|
+
type OrderManagementEvent =
|
|
9137
|
+
| io.flow.order.management.event.v0.models.OrderPlaced
|
|
9138
|
+
| io.flow.order.management.event.v0.models.OrderPlacedV2
|
|
9139
|
+
| io.flow.order.management.event.v0.models.ReadyToFulfill
|
|
9140
|
+
| io.flow.order.management.event.v0.models.ReadyToFulfillV2;
|
|
9141
|
+
}
|
|
9169
9142
|
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9143
|
+
declare namespace io.flow.ftp.v0.enums {
|
|
9144
|
+
type FtpFileSource = 'flow' | 'organization';
|
|
9145
|
+
}
|
|
9146
|
+
|
|
9147
|
+
declare namespace io.flow.ftp.v0.models {
|
|
9148
|
+
interface FtpAccount {
|
|
9149
|
+
readonly server: io.flow.ftp.v0.models.FtpServer;
|
|
9150
|
+
readonly user: io.flow.ftp.v0.models.FtpUser;
|
|
9176
9151
|
}
|
|
9177
9152
|
|
|
9178
|
-
interface
|
|
9179
|
-
readonly
|
|
9180
|
-
readonly
|
|
9153
|
+
interface FtpFile {
|
|
9154
|
+
readonly id: string;
|
|
9155
|
+
readonly source: io.flow.ftp.v0.enums.FtpFileSource;
|
|
9156
|
+
readonly name: string;
|
|
9157
|
+
readonly directory: string;
|
|
9158
|
+
readonly url: string;
|
|
9159
|
+
readonly created_at: string;
|
|
9181
9160
|
}
|
|
9182
9161
|
|
|
9183
|
-
interface
|
|
9184
|
-
readonly
|
|
9185
|
-
readonly
|
|
9162
|
+
interface FtpFileForm {
|
|
9163
|
+
readonly url: string;
|
|
9164
|
+
readonly directory: string;
|
|
9165
|
+
readonly name?: string;
|
|
9186
9166
|
}
|
|
9187
9167
|
|
|
9188
|
-
interface
|
|
9189
|
-
readonly
|
|
9190
|
-
readonly
|
|
9191
|
-
readonly
|
|
9192
|
-
readonly
|
|
9168
|
+
interface FtpFolder {
|
|
9169
|
+
readonly id: string;
|
|
9170
|
+
readonly path: string;
|
|
9171
|
+
readonly webhook: boolean;
|
|
9172
|
+
readonly description?: string;
|
|
9193
9173
|
}
|
|
9194
9174
|
|
|
9195
|
-
interface
|
|
9196
|
-
readonly
|
|
9197
|
-
readonly
|
|
9175
|
+
interface FtpFolderForm {
|
|
9176
|
+
readonly path: string;
|
|
9177
|
+
readonly webhook: boolean;
|
|
9178
|
+
readonly description?: string;
|
|
9198
9179
|
}
|
|
9199
9180
|
|
|
9200
|
-
interface
|
|
9201
|
-
readonly
|
|
9202
|
-
readonly
|
|
9203
|
-
readonly
|
|
9181
|
+
interface FtpOrganizationSettings {
|
|
9182
|
+
readonly enabled: boolean;
|
|
9183
|
+
readonly emails: string[];
|
|
9184
|
+
readonly account?: io.flow.ftp.v0.models.FtpAccount;
|
|
9204
9185
|
}
|
|
9205
9186
|
|
|
9206
|
-
interface
|
|
9207
|
-
readonly
|
|
9208
|
-
readonly
|
|
9187
|
+
interface FtpOrganizationSettingsForm {
|
|
9188
|
+
readonly enabled: boolean;
|
|
9189
|
+
readonly emails: string[];
|
|
9209
9190
|
}
|
|
9210
9191
|
|
|
9211
|
-
interface
|
|
9212
|
-
readonly
|
|
9213
|
-
readonly placeholder?: string;
|
|
9192
|
+
interface FtpServer {
|
|
9193
|
+
readonly hostname: string;
|
|
9214
9194
|
}
|
|
9215
9195
|
|
|
9216
|
-
interface
|
|
9217
|
-
readonly
|
|
9218
|
-
readonly
|
|
9196
|
+
interface FtpUser {
|
|
9197
|
+
readonly username: string;
|
|
9198
|
+
readonly password?: string;
|
|
9219
9199
|
}
|
|
9200
|
+
}
|
|
9220
9201
|
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
readonly
|
|
9202
|
+
declare namespace io.flow.ratecard.v0.models {
|
|
9203
|
+
interface CrossdockRatecardFee {
|
|
9204
|
+
readonly discriminator: 'crossdock_ratecard_fee';
|
|
9205
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9224
9206
|
}
|
|
9225
9207
|
|
|
9226
|
-
interface
|
|
9227
|
-
readonly
|
|
9228
|
-
readonly
|
|
9208
|
+
interface DdpRatecardFee {
|
|
9209
|
+
readonly discriminator: 'ddp_ratecard_fee';
|
|
9210
|
+
readonly amount: number;
|
|
9229
9211
|
}
|
|
9230
9212
|
|
|
9231
|
-
interface
|
|
9232
|
-
readonly
|
|
9233
|
-
readonly
|
|
9213
|
+
interface DimensionEstimate {
|
|
9214
|
+
readonly id: string;
|
|
9215
|
+
readonly q: string;
|
|
9216
|
+
readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
9217
|
+
readonly position: number;
|
|
9234
9218
|
}
|
|
9235
9219
|
|
|
9236
|
-
interface
|
|
9237
|
-
readonly
|
|
9238
|
-
readonly
|
|
9220
|
+
interface DimensionEstimateForm {
|
|
9221
|
+
readonly q: string;
|
|
9222
|
+
readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
9223
|
+
readonly position?: number;
|
|
9239
9224
|
}
|
|
9240
9225
|
|
|
9241
|
-
interface
|
|
9242
|
-
readonly
|
|
9243
|
-
readonly
|
|
9226
|
+
interface DimensionEstimateVersion {
|
|
9227
|
+
readonly id: string;
|
|
9228
|
+
readonly timestamp: string;
|
|
9229
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9230
|
+
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
9244
9231
|
}
|
|
9245
9232
|
|
|
9246
|
-
interface
|
|
9247
|
-
readonly
|
|
9248
|
-
readonly
|
|
9233
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
9234
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
9235
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9236
|
+
readonly starts_at?: string;
|
|
9237
|
+
readonly ends_at?: string;
|
|
9249
9238
|
}
|
|
9250
9239
|
|
|
9251
|
-
interface
|
|
9252
|
-
readonly
|
|
9253
|
-
readonly
|
|
9240
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
9241
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
9242
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9243
|
+
readonly starts_at?: string;
|
|
9244
|
+
readonly ends_at?: string;
|
|
9254
9245
|
}
|
|
9255
9246
|
|
|
9256
|
-
interface
|
|
9257
|
-
readonly
|
|
9258
|
-
readonly
|
|
9259
|
-
readonly last_four: string;
|
|
9260
|
-
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
9261
|
-
readonly id: string;
|
|
9247
|
+
interface EmergencySituationSurchargeRatecardFee {
|
|
9248
|
+
readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
|
|
9249
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9262
9250
|
}
|
|
9263
9251
|
|
|
9264
|
-
interface
|
|
9265
|
-
readonly
|
|
9266
|
-
readonly
|
|
9252
|
+
interface EmergencySituationSurchargeServiceFee {
|
|
9253
|
+
readonly discriminator: 'emergency_situation_surcharge_service_fee';
|
|
9254
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9255
|
+
readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
|
|
9256
|
+
readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
|
|
9257
|
+
readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9267
9258
|
}
|
|
9268
9259
|
|
|
9269
|
-
interface
|
|
9270
|
-
readonly
|
|
9271
|
-
readonly
|
|
9272
|
-
readonly
|
|
9260
|
+
interface EstimatedDimensions {
|
|
9261
|
+
readonly depth: io.flow.common.v0.models.Measurement;
|
|
9262
|
+
readonly length: io.flow.common.v0.models.Measurement;
|
|
9263
|
+
readonly weight: io.flow.common.v0.models.Measurement;
|
|
9264
|
+
readonly width: io.flow.common.v0.models.Measurement;
|
|
9273
9265
|
}
|
|
9274
9266
|
|
|
9275
|
-
interface
|
|
9276
|
-
readonly
|
|
9277
|
-
readonly
|
|
9267
|
+
interface FeeWeight {
|
|
9268
|
+
readonly weight: number;
|
|
9269
|
+
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9278
9270
|
}
|
|
9279
9271
|
|
|
9280
|
-
interface
|
|
9281
|
-
readonly
|
|
9282
|
-
readonly
|
|
9272
|
+
interface FuelSurchargeRatecardFee {
|
|
9273
|
+
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
9274
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9283
9275
|
}
|
|
9284
9276
|
|
|
9285
|
-
interface
|
|
9286
|
-
readonly
|
|
9287
|
-
readonly
|
|
9288
|
-
readonly quantity: number;
|
|
9289
|
-
readonly amount: number;
|
|
9290
|
-
readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
|
|
9291
|
-
readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
|
|
9292
|
-
readonly product_url?: string;
|
|
9293
|
-
readonly image_url?: string;
|
|
9294
|
-
readonly category?: string;
|
|
9295
|
-
readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
|
|
9277
|
+
interface FuelSurchargeServiceFee {
|
|
9278
|
+
readonly discriminator: 'fuel_surcharge_service_fee';
|
|
9279
|
+
readonly percent: number;
|
|
9296
9280
|
}
|
|
9297
9281
|
|
|
9298
|
-
interface
|
|
9299
|
-
readonly
|
|
9300
|
-
readonly
|
|
9301
|
-
readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
|
|
9302
|
-
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
9303
|
-
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9304
|
-
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
9305
|
-
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9282
|
+
interface Hop {
|
|
9283
|
+
readonly hop_number: number;
|
|
9284
|
+
readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
|
|
9306
9285
|
}
|
|
9307
9286
|
|
|
9308
|
-
interface
|
|
9309
|
-
readonly
|
|
9310
|
-
readonly
|
|
9287
|
+
interface HopEstimate {
|
|
9288
|
+
readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
9289
|
+
readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
9290
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
9291
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9311
9292
|
readonly currency: string;
|
|
9312
|
-
readonly
|
|
9313
|
-
readonly
|
|
9314
|
-
readonly
|
|
9293
|
+
readonly amount: number;
|
|
9294
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
9295
|
+
readonly total: number;
|
|
9315
9296
|
}
|
|
9316
9297
|
|
|
9317
|
-
interface
|
|
9298
|
+
interface OversizedShipmentRatecardFee {
|
|
9299
|
+
readonly discriminator: 'oversized_shipment_ratecard_fee';
|
|
9300
|
+
readonly weight_threshold: number;
|
|
9301
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9302
|
+
readonly margin?: number;
|
|
9318
9303
|
readonly amount?: number;
|
|
9319
|
-
readonly currency?: string;
|
|
9320
9304
|
}
|
|
9321
9305
|
|
|
9322
|
-
interface
|
|
9323
|
-
readonly
|
|
9324
|
-
readonly
|
|
9306
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
9307
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
9308
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9309
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
9310
|
+
readonly regions?: string[];
|
|
9311
|
+
readonly starts_at?: string;
|
|
9312
|
+
readonly ends_at?: string;
|
|
9325
9313
|
}
|
|
9326
9314
|
|
|
9327
|
-
interface
|
|
9328
|
-
readonly
|
|
9329
|
-
readonly
|
|
9330
|
-
readonly
|
|
9331
|
-
readonly
|
|
9332
|
-
readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
|
|
9333
|
-
readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
|
|
9334
|
-
readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
|
|
9335
|
-
readonly amount: number;
|
|
9336
|
-
readonly currency: string;
|
|
9337
|
-
readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
|
|
9338
|
-
readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
|
|
9339
|
-
readonly locale?: string;
|
|
9340
|
-
readonly return_url: string;
|
|
9341
|
-
readonly attributes?: Record<string, string>;
|
|
9342
|
-
readonly reference?: string;
|
|
9343
|
-
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
9344
|
-
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9345
|
-
readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
9315
|
+
interface PeakSurchargeRatecardFee {
|
|
9316
|
+
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
9317
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9318
|
+
readonly starts_at?: string;
|
|
9319
|
+
readonly ends_at?: string;
|
|
9346
9320
|
}
|
|
9347
9321
|
|
|
9348
|
-
interface
|
|
9349
|
-
readonly
|
|
9350
|
-
readonly
|
|
9351
|
-
readonly
|
|
9352
|
-
readonly
|
|
9353
|
-
readonly locale?: string;
|
|
9354
|
-
readonly return_url: string;
|
|
9355
|
-
readonly attributes?: Record<string, string>;
|
|
9356
|
-
readonly reference?: string;
|
|
9357
|
-
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
9358
|
-
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9359
|
-
readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
9322
|
+
interface PeakSurchargeServiceFee {
|
|
9323
|
+
readonly discriminator: 'peak_surcharge_service_fee';
|
|
9324
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9325
|
+
readonly starts_at?: string;
|
|
9326
|
+
readonly ends_at?: string;
|
|
9360
9327
|
}
|
|
9361
9328
|
|
|
9362
|
-
interface
|
|
9329
|
+
interface Ratecard {
|
|
9363
9330
|
readonly id: string;
|
|
9364
|
-
readonly
|
|
9331
|
+
readonly number: string;
|
|
9332
|
+
readonly direction: io.flow.label.v0.enums.Direction;
|
|
9333
|
+
readonly effective_at: string;
|
|
9334
|
+
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
9335
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
9336
|
+
readonly published_at?: string;
|
|
9337
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9365
9338
|
}
|
|
9366
9339
|
|
|
9367
|
-
interface
|
|
9340
|
+
interface RatecardCarrierSummary {
|
|
9368
9341
|
readonly id: string;
|
|
9369
|
-
readonly
|
|
9370
|
-
readonly currency: string;
|
|
9371
|
-
readonly created_at: string;
|
|
9372
|
-
readonly updated_at: string;
|
|
9373
|
-
readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
|
|
9342
|
+
readonly name: string;
|
|
9374
9343
|
}
|
|
9375
9344
|
|
|
9376
|
-
interface
|
|
9377
|
-
readonly
|
|
9378
|
-
readonly
|
|
9345
|
+
interface RatecardEstimateForm {
|
|
9346
|
+
readonly origin_address: io.flow.common.v0.models.Address;
|
|
9347
|
+
readonly destination_address: io.flow.common.v0.models.Address;
|
|
9348
|
+
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9349
|
+
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9350
|
+
readonly service?: string;
|
|
9351
|
+
readonly weight?: number;
|
|
9352
|
+
readonly length?: number;
|
|
9353
|
+
readonly width?: number;
|
|
9354
|
+
readonly depth?: number;
|
|
9355
|
+
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
9356
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9357
|
+
readonly center_id?: string;
|
|
9379
9358
|
}
|
|
9380
9359
|
|
|
9381
|
-
interface
|
|
9382
|
-
readonly
|
|
9383
|
-
readonly
|
|
9360
|
+
interface RatecardEstimateSummaryForm {
|
|
9361
|
+
readonly origin?: string;
|
|
9362
|
+
readonly destination?: string;
|
|
9363
|
+
readonly service?: string;
|
|
9364
|
+
readonly center_key?: string;
|
|
9384
9365
|
}
|
|
9385
9366
|
|
|
9386
|
-
interface
|
|
9367
|
+
interface RatecardEstimateV1 {
|
|
9368
|
+
readonly discriminator: 'ratecard_estimate_v1';
|
|
9369
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
9370
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9371
|
+
readonly currency: string;
|
|
9387
9372
|
readonly amount: number;
|
|
9388
|
-
readonly
|
|
9373
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
9374
|
+
readonly total: number;
|
|
9375
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9376
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
9377
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
9378
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9389
9379
|
}
|
|
9390
9380
|
|
|
9391
|
-
interface
|
|
9392
|
-
readonly
|
|
9393
|
-
readonly
|
|
9394
|
-
readonly
|
|
9395
|
-
readonly
|
|
9396
|
-
readonly
|
|
9381
|
+
interface RatecardEstimateV2 {
|
|
9382
|
+
readonly discriminator: 'ratecard_estimate_v2';
|
|
9383
|
+
readonly hops: io.flow.ratecard.v0.models.Hop[];
|
|
9384
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9385
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
9386
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
9387
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9388
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9397
9389
|
}
|
|
9398
|
-
}
|
|
9399
9390
|
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
|
|
9410
|
-
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
|
|
9411
|
-
| io.flow.payment.gateway.v0.models.ActionExecuteScript
|
|
9412
|
-
| io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
|
|
9413
|
-
| io.flow.payment.gateway.v0.models.ActionWait;
|
|
9414
|
-
type CardAuthorizationActionResult =
|
|
9415
|
-
| io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3
|
|
9416
|
-
| io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
|
|
9417
|
-
type CardNumber =
|
|
9418
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext
|
|
9419
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
|
|
9420
|
-
type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
|
|
9421
|
-
type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
|
|
9422
|
-
type OrderInformation =
|
|
9423
|
-
| io.flow.payment.gateway.v0.models.OrderInformationFlow
|
|
9424
|
-
| io.flow.payment.gateway.v0.models.OrderInformationDetails;
|
|
9425
|
-
type PaymentCaptureOption =
|
|
9426
|
-
| io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate
|
|
9427
|
-
| io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
|
|
9428
|
-
type PaymentMethodCard =
|
|
9429
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails
|
|
9430
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
9431
|
-
type PaymentMethodData =
|
|
9432
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna
|
|
9433
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay
|
|
9434
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay
|
|
9435
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay
|
|
9436
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal
|
|
9437
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal
|
|
9438
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
|
|
9439
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
|
|
9440
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
|
|
9441
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
|
|
9442
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
|
|
9443
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
9444
|
-
type PaymentMethodSummary =
|
|
9445
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
|
|
9446
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
|
|
9447
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay
|
|
9448
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay
|
|
9449
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay
|
|
9450
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
|
|
9451
|
-
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
|
|
9452
|
-
type SdkAdyenV3AuthenticationToken =
|
|
9453
|
-
| io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
|
|
9454
|
-
| io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
9455
|
-
}
|
|
9391
|
+
interface RatecardEstimateV3 {
|
|
9392
|
+
readonly discriminator: 'ratecard_estimate_v3';
|
|
9393
|
+
readonly hops: io.flow.ratecard.v0.models.Hop[];
|
|
9394
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9395
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
9396
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
9397
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9398
|
+
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
9399
|
+
}
|
|
9456
9400
|
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
readonly
|
|
9460
|
-
readonly
|
|
9461
|
-
readonly
|
|
9462
|
-
readonly
|
|
9401
|
+
interface RatecardForm {
|
|
9402
|
+
readonly direction: io.flow.label.v0.enums.Direction;
|
|
9403
|
+
readonly effective_at: string;
|
|
9404
|
+
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
9405
|
+
readonly service: string;
|
|
9406
|
+
readonly number?: string;
|
|
9407
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9408
|
+
}
|
|
9409
|
+
|
|
9410
|
+
interface RatecardLane {
|
|
9411
|
+
readonly id: string;
|
|
9412
|
+
readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
|
|
9413
|
+
readonly currency: string;
|
|
9414
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9415
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9416
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
9417
|
+
readonly dim_factor: number;
|
|
9418
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
9419
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
9420
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
9421
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
|
|
9422
|
+
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
9423
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9424
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9425
|
+
}
|
|
9426
|
+
|
|
9427
|
+
interface RatecardLaneForm {
|
|
9428
|
+
readonly ratecard_id: string;
|
|
9429
|
+
readonly currency: string;
|
|
9430
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
9431
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9432
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9433
|
+
readonly dim_factor: number;
|
|
9434
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
9435
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
9436
|
+
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
9437
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
9438
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9439
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9440
|
+
}
|
|
9441
|
+
|
|
9442
|
+
interface RatecardLaneImportForm {
|
|
9443
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9444
|
+
readonly service: string;
|
|
9445
|
+
readonly currency: string;
|
|
9446
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
9447
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
9448
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
9449
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
9450
|
+
readonly dim_factor: number;
|
|
9451
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9452
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9453
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
9463
9454
|
}
|
|
9464
9455
|
|
|
9465
|
-
interface
|
|
9466
|
-
readonly
|
|
9467
|
-
readonly event_id: string;
|
|
9456
|
+
interface RatecardLaneVersion {
|
|
9457
|
+
readonly id: string;
|
|
9468
9458
|
readonly timestamp: string;
|
|
9469
|
-
readonly
|
|
9470
|
-
readonly
|
|
9471
|
-
readonly order: io.flow.experience.v0.models.Order;
|
|
9472
|
-
readonly allocation: io.flow.experience.v0.models.AllocationV2;
|
|
9459
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9460
|
+
readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
|
|
9473
9461
|
}
|
|
9474
9462
|
|
|
9475
|
-
interface
|
|
9476
|
-
readonly
|
|
9477
|
-
readonly
|
|
9478
|
-
readonly
|
|
9479
|
-
readonly organization: string;
|
|
9480
|
-
readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
|
|
9463
|
+
interface RatecardLanesImportRequestData {
|
|
9464
|
+
readonly id: string;
|
|
9465
|
+
readonly source_url: string;
|
|
9466
|
+
readonly filename?: string;
|
|
9481
9467
|
}
|
|
9482
9468
|
|
|
9483
|
-
interface
|
|
9484
|
-
readonly
|
|
9485
|
-
readonly
|
|
9469
|
+
interface RatecardRate {
|
|
9470
|
+
readonly id: string;
|
|
9471
|
+
readonly amount: number;
|
|
9472
|
+
readonly weight: number;
|
|
9473
|
+
}
|
|
9474
|
+
|
|
9475
|
+
interface RatecardRateForm {
|
|
9476
|
+
readonly amount: number;
|
|
9477
|
+
readonly weight: number;
|
|
9478
|
+
}
|
|
9479
|
+
|
|
9480
|
+
interface RatecardRateVersion {
|
|
9481
|
+
readonly id: string;
|
|
9486
9482
|
readonly timestamp: string;
|
|
9487
|
-
readonly
|
|
9488
|
-
readonly
|
|
9489
|
-
readonly order: io.flow.experience.v0.models.Order;
|
|
9490
|
-
readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
|
|
9491
|
-
readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
9483
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9484
|
+
readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
|
|
9492
9485
|
}
|
|
9493
9486
|
|
|
9494
|
-
interface
|
|
9487
|
+
interface RatecardReference {
|
|
9495
9488
|
readonly id: string;
|
|
9496
|
-
readonly order_number: string;
|
|
9497
|
-
readonly order: io.flow.experience.v0.models.Order;
|
|
9498
|
-
readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
|
|
9499
|
-
readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
|
|
9500
9489
|
}
|
|
9501
9490
|
|
|
9502
|
-
interface
|
|
9503
|
-
readonly
|
|
9504
|
-
|
|
9491
|
+
interface RatecardRegionReference {
|
|
9492
|
+
readonly id: string;
|
|
9493
|
+
}
|
|
9494
|
+
|
|
9495
|
+
interface RatecardServiceSummary {
|
|
9496
|
+
readonly id: string;
|
|
9497
|
+
readonly name: string;
|
|
9498
|
+
readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
|
|
9499
|
+
}
|
|
9500
|
+
|
|
9501
|
+
interface RatecardSummary {
|
|
9502
|
+
readonly id: string;
|
|
9503
|
+
readonly number: string;
|
|
9504
|
+
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9505
|
+
}
|
|
9506
|
+
|
|
9507
|
+
interface RatecardVersion {
|
|
9508
|
+
readonly id: string;
|
|
9505
9509
|
readonly timestamp: string;
|
|
9506
|
-
readonly
|
|
9507
|
-
readonly
|
|
9510
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9511
|
+
readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
|
|
9508
9512
|
}
|
|
9509
|
-
}
|
|
9510
9513
|
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9514
|
+
interface RemoteAreaRatecardFee {
|
|
9515
|
+
readonly discriminator: 'remote_area_ratecard_fee';
|
|
9516
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9517
|
+
}
|
|
9518
|
+
|
|
9519
|
+
interface RemoteAreaServiceFee {
|
|
9520
|
+
readonly discriminator: 'remote_area_service_fee';
|
|
9521
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9522
|
+
}
|
|
9523
|
+
|
|
9524
|
+
interface ReturnPackageRatecardFee {
|
|
9525
|
+
readonly discriminator: 'return_package_ratecard_fee';
|
|
9526
|
+
readonly amount: number;
|
|
9527
|
+
}
|
|
9528
|
+
|
|
9529
|
+
interface ShipmentWindow {
|
|
9530
|
+
readonly from: number;
|
|
9531
|
+
readonly to: number;
|
|
9532
|
+
}
|
|
9517
9533
|
}
|
|
9518
9534
|
|
|
9519
|
-
declare namespace io.flow.
|
|
9520
|
-
type
|
|
9535
|
+
declare namespace io.flow.ratecard.v0.unions {
|
|
9536
|
+
type RatecardEstimate =
|
|
9537
|
+
| io.flow.ratecard.v0.models.RatecardEstimateV1
|
|
9538
|
+
| io.flow.ratecard.v0.models.RatecardEstimateV2
|
|
9539
|
+
| io.flow.ratecard.v0.models.RatecardEstimateV3;
|
|
9540
|
+
type RatecardFee =
|
|
9541
|
+
| io.flow.ratecard.v0.models.DdpRatecardFee
|
|
9542
|
+
| io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
9543
|
+
| io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
9544
|
+
| io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
9545
|
+
| io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
9546
|
+
| io.flow.ratecard.v0.models.RemoteAreaRatecardFee
|
|
9547
|
+
| io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
|
|
9548
|
+
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
9549
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9550
|
+
type ServiceFee =
|
|
9551
|
+
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
9552
|
+
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
9553
|
+
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
9554
|
+
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
9555
|
+
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
9556
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9521
9557
|
}
|
|
9522
9558
|
|
|
9523
|
-
declare namespace io.flow.
|
|
9524
|
-
interface
|
|
9525
|
-
readonly
|
|
9526
|
-
readonly
|
|
9559
|
+
declare namespace io.flow.token.v0.models {
|
|
9560
|
+
interface ChannelToken {
|
|
9561
|
+
readonly discriminator: 'channel_token';
|
|
9562
|
+
readonly id: string;
|
|
9563
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
9564
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9565
|
+
readonly partial: string;
|
|
9566
|
+
readonly created_at: string;
|
|
9567
|
+
readonly description?: string;
|
|
9527
9568
|
}
|
|
9528
9569
|
|
|
9529
|
-
interface
|
|
9570
|
+
interface ChannelTokenReference {
|
|
9571
|
+
readonly discriminator: 'channel_token_reference';
|
|
9530
9572
|
readonly id: string;
|
|
9531
|
-
readonly
|
|
9532
|
-
readonly
|
|
9533
|
-
|
|
9534
|
-
|
|
9573
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
9574
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9575
|
+
}
|
|
9576
|
+
|
|
9577
|
+
interface Cleartext {
|
|
9578
|
+
readonly value: string;
|
|
9579
|
+
}
|
|
9580
|
+
|
|
9581
|
+
interface OrganizationToken {
|
|
9582
|
+
readonly discriminator: 'organization_token';
|
|
9583
|
+
readonly id: string;
|
|
9584
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
9585
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9586
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9587
|
+
readonly partial: string;
|
|
9535
9588
|
readonly created_at: string;
|
|
9589
|
+
readonly description?: string;
|
|
9536
9590
|
}
|
|
9537
9591
|
|
|
9538
|
-
interface
|
|
9539
|
-
readonly
|
|
9540
|
-
readonly
|
|
9541
|
-
readonly name?: string;
|
|
9592
|
+
interface OrganizationTokenForm {
|
|
9593
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9594
|
+
readonly description?: string;
|
|
9542
9595
|
}
|
|
9543
9596
|
|
|
9544
|
-
interface
|
|
9597
|
+
interface OrganizationTokenReference {
|
|
9598
|
+
readonly discriminator: 'organization_token_reference';
|
|
9545
9599
|
readonly id: string;
|
|
9546
|
-
readonly
|
|
9547
|
-
readonly
|
|
9600
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
9601
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9602
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9603
|
+
}
|
|
9604
|
+
|
|
9605
|
+
interface PartnerToken {
|
|
9606
|
+
readonly discriminator: 'partner_token';
|
|
9607
|
+
readonly id: string;
|
|
9608
|
+
readonly partner: io.flow.token.v0.models.TokenPartnerReference;
|
|
9609
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9610
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9611
|
+
readonly partial: string;
|
|
9612
|
+
readonly created_at: string;
|
|
9548
9613
|
readonly description?: string;
|
|
9549
9614
|
}
|
|
9550
9615
|
|
|
9551
|
-
interface
|
|
9552
|
-
readonly
|
|
9553
|
-
readonly webhook: boolean;
|
|
9616
|
+
interface PartnerTokenForm {
|
|
9617
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9554
9618
|
readonly description?: string;
|
|
9555
9619
|
}
|
|
9556
9620
|
|
|
9557
|
-
interface
|
|
9558
|
-
readonly
|
|
9559
|
-
readonly
|
|
9560
|
-
readonly
|
|
9621
|
+
interface PartnerTokenReference {
|
|
9622
|
+
readonly discriminator: 'partner_token_reference';
|
|
9623
|
+
readonly id: string;
|
|
9624
|
+
readonly partner: io.flow.token.v0.models.TokenPartnerReference;
|
|
9625
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9626
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
9561
9627
|
}
|
|
9562
9628
|
|
|
9563
|
-
interface
|
|
9564
|
-
readonly
|
|
9565
|
-
readonly emails: string[];
|
|
9629
|
+
interface TokenAuthenticationForm {
|
|
9630
|
+
readonly token: string;
|
|
9566
9631
|
}
|
|
9567
9632
|
|
|
9568
|
-
interface
|
|
9569
|
-
readonly
|
|
9633
|
+
interface TokenPartnerReference {
|
|
9634
|
+
readonly id: string;
|
|
9570
9635
|
}
|
|
9571
9636
|
|
|
9572
|
-
interface
|
|
9573
|
-
readonly
|
|
9574
|
-
|
|
9637
|
+
interface TokenValidation {
|
|
9638
|
+
readonly status: string;
|
|
9639
|
+
}
|
|
9640
|
+
|
|
9641
|
+
interface TokenValidationForm {
|
|
9642
|
+
readonly token: string;
|
|
9575
9643
|
}
|
|
9576
9644
|
}
|
|
9577
9645
|
|
|
9646
|
+
declare namespace io.flow.token.v0.unions {
|
|
9647
|
+
type Token =
|
|
9648
|
+
| io.flow.token.v0.models.ChannelToken
|
|
9649
|
+
| io.flow.token.v0.models.OrganizationToken
|
|
9650
|
+
| io.flow.token.v0.models.PartnerToken;
|
|
9651
|
+
type TokenReference =
|
|
9652
|
+
| io.flow.token.v0.models.ChannelTokenReference
|
|
9653
|
+
| io.flow.token.v0.models.OrganizationTokenReference
|
|
9654
|
+
| io.flow.token.v0.models.PartnerTokenReference;
|
|
9655
|
+
}
|
|
9656
|
+
|
|
9578
9657
|
declare namespace io.flow.catalog.exclusion.v0.enums {
|
|
9579
9658
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
9580
9659
|
}
|
|
@@ -12078,10 +12157,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12078
12157
|
| 'manual'
|
|
12079
12158
|
| 'orders'
|
|
12080
12159
|
| 'all';
|
|
12081
|
-
type BillingStatementBatchFileKey =
|
|
12082
|
-
| 'archive'
|
|
12083
|
-
| 'summary'
|
|
12084
|
-
| 'label_transactions';
|
|
12160
|
+
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
12085
12161
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12086
12162
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
12087
12163
|
type BillingTransactionType =
|
|
@@ -12097,6 +12173,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12097
12173
|
| 'tax_remittance'
|
|
12098
12174
|
| 'fully_subsidized_order'
|
|
12099
12175
|
| 'credit_payment';
|
|
12176
|
+
type BlazeCheckoutEvent =
|
|
12177
|
+
| 'begin_checkout'
|
|
12178
|
+
| 'select_promotion'
|
|
12179
|
+
| 'add_shipping_info'
|
|
12180
|
+
| 'add_payment_info'
|
|
12181
|
+
| 'purchase';
|
|
12100
12182
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
12101
12183
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
12102
12184
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
@@ -12394,7 +12476,14 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12394
12476
|
type DeliveredDutyOptionMessageType = 'warning' | 'notification';
|
|
12395
12477
|
type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
|
|
12396
12478
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
12479
|
+
type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
|
|
12397
12480
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
12481
|
+
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
12482
|
+
type DisputeImportType = 'adyen_dispute';
|
|
12483
|
+
type DisputeLiability = 'flow' | 'organization';
|
|
12484
|
+
type DisputeProcessor = 'adyen' | 'paypal';
|
|
12485
|
+
type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
|
|
12486
|
+
type DisputeType = 'chargeback';
|
|
12398
12487
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
12399
12488
|
type DutyExemptItemTypes =
|
|
12400
12489
|
| 'gift_card'
|
|
@@ -13807,6 +13896,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13807
13896
|
readonly tax?: number;
|
|
13808
13897
|
}
|
|
13809
13898
|
|
|
13899
|
+
interface BlazeCheckoutEventMessage {
|
|
13900
|
+
readonly discriminator: 'checkout_event';
|
|
13901
|
+
readonly event_type: io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
13902
|
+
readonly affiliation: string;
|
|
13903
|
+
readonly order_number: string;
|
|
13904
|
+
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
13905
|
+
readonly country: string;
|
|
13906
|
+
readonly language: string;
|
|
13907
|
+
readonly geo_currency: string;
|
|
13908
|
+
readonly currency: string;
|
|
13909
|
+
readonly promotions?: string[];
|
|
13910
|
+
readonly duty?: number;
|
|
13911
|
+
readonly tax?: number;
|
|
13912
|
+
readonly shipping?: number;
|
|
13913
|
+
readonly revenue?: number;
|
|
13914
|
+
}
|
|
13915
|
+
|
|
13810
13916
|
interface BlazeCheckoutItem {
|
|
13811
13917
|
readonly attributes: Record<string, string>;
|
|
13812
13918
|
readonly item_number: string;
|
|
@@ -13831,6 +13937,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13831
13937
|
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
13832
13938
|
}
|
|
13833
13939
|
|
|
13940
|
+
interface BlazeExitCheckoutConfirmationMessage {
|
|
13941
|
+
readonly discriminator: 'exit_checkout_confirmation';
|
|
13942
|
+
}
|
|
13943
|
+
|
|
13834
13944
|
interface BlazeExitCheckoutMessage {
|
|
13835
13945
|
readonly discriminator: 'exit_checkout';
|
|
13836
13946
|
}
|
|
@@ -14054,6 +14164,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14054
14164
|
readonly name: string;
|
|
14055
14165
|
}
|
|
14056
14166
|
|
|
14167
|
+
interface Channel {
|
|
14168
|
+
readonly id: string;
|
|
14169
|
+
readonly name: string;
|
|
14170
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
14171
|
+
readonly organization_id_prefix?: string;
|
|
14172
|
+
}
|
|
14173
|
+
|
|
14057
14174
|
interface ChannelCurrencySetting {
|
|
14058
14175
|
readonly id: string;
|
|
14059
14176
|
readonly channel_id: string;
|
|
@@ -14083,6 +14200,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14083
14200
|
readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
14084
14201
|
}
|
|
14085
14202
|
|
|
14203
|
+
interface ChannelForm {
|
|
14204
|
+
readonly name: string;
|
|
14205
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
14206
|
+
readonly organization_id_prefix?: string;
|
|
14207
|
+
}
|
|
14208
|
+
|
|
14086
14209
|
interface ChannelServiceFee {
|
|
14087
14210
|
readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
14088
14211
|
}
|
|
@@ -14092,6 +14215,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14092
14215
|
readonly amount: number;
|
|
14093
14216
|
}
|
|
14094
14217
|
|
|
14218
|
+
interface ChannelTokenForm {
|
|
14219
|
+
readonly channel_id: string;
|
|
14220
|
+
readonly description?: string;
|
|
14221
|
+
}
|
|
14222
|
+
|
|
14095
14223
|
interface ChannelTransaction {
|
|
14096
14224
|
readonly id: string;
|
|
14097
14225
|
readonly organization_id: string;
|
|
@@ -16711,6 +16839,54 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16711
16839
|
readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[];
|
|
16712
16840
|
}
|
|
16713
16841
|
|
|
16842
|
+
interface Dispute {
|
|
16843
|
+
readonly id: string;
|
|
16844
|
+
readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
|
|
16845
|
+
readonly key: string;
|
|
16846
|
+
readonly total: io.flow.common.v0.models.Money;
|
|
16847
|
+
readonly type: io.flow.internal.v0.enums.DisputeType;
|
|
16848
|
+
readonly category: io.flow.internal.v0.enums.DisputeCategory;
|
|
16849
|
+
readonly reason: string;
|
|
16850
|
+
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
16851
|
+
readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
|
|
16852
|
+
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
16853
|
+
readonly expires_at?: string;
|
|
16854
|
+
readonly created_at: string;
|
|
16855
|
+
}
|
|
16856
|
+
|
|
16857
|
+
interface DisputeDetailsAdyen {
|
|
16858
|
+
readonly discriminator: 'adyen';
|
|
16859
|
+
readonly psp_reference: string;
|
|
16860
|
+
readonly dispute_psp_reference: string;
|
|
16861
|
+
}
|
|
16862
|
+
|
|
16863
|
+
interface DisputeDetailsPaypal {
|
|
16864
|
+
readonly discriminator: 'paypal';
|
|
16865
|
+
readonly placeholder?: string;
|
|
16866
|
+
}
|
|
16867
|
+
|
|
16868
|
+
interface DisputeImport {
|
|
16869
|
+
readonly id: string;
|
|
16870
|
+
readonly type: io.flow.internal.v0.enums.DisputeImportType;
|
|
16871
|
+
readonly status: io.flow.internal.v0.enums.DisputeImportStatus;
|
|
16872
|
+
readonly url: string;
|
|
16873
|
+
readonly errors?: io.flow.internal.v0.models.DisputeImportErrors;
|
|
16874
|
+
readonly created_at: string;
|
|
16875
|
+
}
|
|
16876
|
+
|
|
16877
|
+
interface DisputeImportError {
|
|
16878
|
+
readonly message: string;
|
|
16879
|
+
}
|
|
16880
|
+
|
|
16881
|
+
interface DisputeImportErrors {
|
|
16882
|
+
readonly count: number;
|
|
16883
|
+
}
|
|
16884
|
+
|
|
16885
|
+
interface DisputeImportForm {
|
|
16886
|
+
readonly url: string;
|
|
16887
|
+
readonly type: io.flow.internal.v0.enums.DisputeImportType;
|
|
16888
|
+
}
|
|
16889
|
+
|
|
16714
16890
|
interface DutiedItemsExport {
|
|
16715
16891
|
readonly discriminator: 'dutied_items_export';
|
|
16716
16892
|
readonly event_id: string;
|
|
@@ -19116,6 +19292,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19116
19292
|
readonly region: string;
|
|
19117
19293
|
}
|
|
19118
19294
|
|
|
19295
|
+
interface LevyRateSummary {
|
|
19296
|
+
readonly id: string;
|
|
19297
|
+
readonly number: string;
|
|
19298
|
+
readonly destination: io.flow.common.v0.models.Address;
|
|
19299
|
+
readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
|
|
19300
|
+
readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
19301
|
+
}
|
|
19302
|
+
|
|
19119
19303
|
interface Liability {
|
|
19120
19304
|
readonly delivery_key: string;
|
|
19121
19305
|
readonly tax_jurisdiction: string;
|
|
@@ -22474,8 +22658,10 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22474
22658
|
type BlazeProviderMessage =
|
|
22475
22659
|
| io.flow.internal.v0.models.BlazeCheckoutCompleteMessage
|
|
22476
22660
|
| io.flow.internal.v0.models.BlazeCheckoutProgressMessage
|
|
22661
|
+
| io.flow.internal.v0.models.BlazeCheckoutEventMessage
|
|
22477
22662
|
| io.flow.internal.v0.models.BlazeStartCheckoutMessage
|
|
22478
22663
|
| io.flow.internal.v0.models.BlazeExitCheckoutMessage
|
|
22664
|
+
| io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage
|
|
22479
22665
|
| io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
|
|
22480
22666
|
| io.flow.internal.v0.models.BlazeSynInitializeMessage
|
|
22481
22667
|
| io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
|
|
@@ -22806,6 +22992,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22806
22992
|
| io.flow.internal.v0.models.ContentLabel
|
|
22807
22993
|
| io.flow.internal.v0.models.Load;
|
|
22808
22994
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
22995
|
+
type DisputeDetails =
|
|
22996
|
+
| io.flow.internal.v0.models.DisputeDetailsAdyen
|
|
22997
|
+
| io.flow.internal.v0.models.DisputeDetailsPaypal;
|
|
22809
22998
|
type DutyExpression =
|
|
22810
22999
|
| io.flow.internal.v0.models.DutyCompoundExpression
|
|
22811
23000
|
| io.flow.internal.v0.models.DutySimpleExpression;
|
|
@@ -23379,11 +23568,14 @@ export type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddToCartMes
|
|
|
23379
23568
|
export type BlazeApplepayAvailabilityRequest = io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest;
|
|
23380
23569
|
export type BlazeApplepayAvailabilityResponse = io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse;
|
|
23381
23570
|
export type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
|
|
23571
|
+
export type BlazeCheckoutEvent = io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
23572
|
+
export type BlazeCheckoutEventMessage = io.flow.internal.v0.models.BlazeCheckoutEventMessage;
|
|
23382
23573
|
export type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
23383
23574
|
export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
|
|
23384
23575
|
export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
23385
23576
|
export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
23386
23577
|
export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
23578
|
+
export type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
|
|
23387
23579
|
export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
23388
23580
|
export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
|
|
23389
23581
|
export type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
@@ -23428,12 +23620,15 @@ export type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.Cat
|
|
|
23428
23620
|
export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
23429
23621
|
export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
23430
23622
|
export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
23623
|
+
export type Channel = io.flow.internal.v0.models.Channel;
|
|
23431
23624
|
export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
23432
23625
|
export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
23433
23626
|
export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
|
|
23434
23627
|
export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
|
|
23628
|
+
export type ChannelForm = io.flow.internal.v0.models.ChannelForm;
|
|
23435
23629
|
export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
|
|
23436
23630
|
export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
|
|
23631
|
+
export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
|
|
23437
23632
|
export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
23438
23633
|
export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
23439
23634
|
export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
@@ -24037,7 +24232,22 @@ export type DiscountRequestOfferForm = io.flow.internal.v0.unions.DiscountReques
|
|
|
24037
24232
|
export type DiscountRequestOrderEntitlementForm = io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm;
|
|
24038
24233
|
export type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey;
|
|
24039
24234
|
export type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
|
|
24235
|
+
export type Dispute = io.flow.internal.v0.models.Dispute;
|
|
24236
|
+
export type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
|
|
24237
|
+
export type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
|
|
24238
|
+
export type DisputeDetailsAdyen = io.flow.internal.v0.models.DisputeDetailsAdyen;
|
|
24239
|
+
export type DisputeDetailsPaypal = io.flow.internal.v0.models.DisputeDetailsPaypal;
|
|
24040
24240
|
export type DisputeEvidence = io.flow.internal.v0.enums.DisputeEvidence;
|
|
24241
|
+
export type DisputeImport = io.flow.internal.v0.models.DisputeImport;
|
|
24242
|
+
export type DisputeImportError = io.flow.internal.v0.models.DisputeImportError;
|
|
24243
|
+
export type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors;
|
|
24244
|
+
export type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
|
|
24245
|
+
export type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
|
|
24246
|
+
export type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
|
|
24247
|
+
export type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
|
|
24248
|
+
export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
|
|
24249
|
+
export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
|
|
24250
|
+
export type DisputeType = io.flow.internal.v0.enums.DisputeType;
|
|
24041
24251
|
export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
|
|
24042
24252
|
export type Duties = io.flow.internal.v0.models.Duties;
|
|
24043
24253
|
export type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpression;
|
|
@@ -24378,6 +24588,7 @@ export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
|
24378
24588
|
export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
|
|
24379
24589
|
export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
24380
24590
|
export type Landmark = io.flow.internal.v0.models.Landmark;
|
|
24591
|
+
export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
|
|
24381
24592
|
export type Liability = io.flow.internal.v0.models.Liability;
|
|
24382
24593
|
export type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
|
|
24383
24594
|
export type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;
|