@flowio/types 11.19.21 → 11.19.23
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 +197 -15
- package/dist/api.d.ts +645 -56
- package/package.json +2 -2
- package/src/api-internal.ts +246 -13
- package/src/api.ts +841 -61
package/src/api.ts
CHANGED
|
@@ -1996,6 +1996,751 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
+
declare namespace io.flow.channel.internal.v0.models {
|
|
2000
|
+
interface Channel {
|
|
2001
|
+
readonly id: string;
|
|
2002
|
+
readonly name: string;
|
|
2003
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2004
|
+
readonly organization_id_prefix?: string;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
interface ChannelForm {
|
|
2008
|
+
readonly name: string;
|
|
2009
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2010
|
+
readonly organization_id_prefix?: string;
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
declare namespace io.flow.common.v0.enums {
|
|
2015
|
+
type AttributeDataType =
|
|
2016
|
+
| 'boolean'
|
|
2017
|
+
| 'integer'
|
|
2018
|
+
| 'decimal'
|
|
2019
|
+
| 'string'
|
|
2020
|
+
| 'json_array';
|
|
2021
|
+
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
2022
|
+
type Calendar = 'weekdays' | 'everyday';
|
|
2023
|
+
type Capability = 'crossdock';
|
|
2024
|
+
type ChangeType = 'insert' | 'update' | 'delete';
|
|
2025
|
+
type CurrencyLabelFormatter =
|
|
2026
|
+
| 'strip_trailing_zeros'
|
|
2027
|
+
| 'symbol_prefix'
|
|
2028
|
+
| 'symbol_suffix';
|
|
2029
|
+
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
2030
|
+
type DayOfWeek =
|
|
2031
|
+
| 'sunday'
|
|
2032
|
+
| 'monday'
|
|
2033
|
+
| 'tuesday'
|
|
2034
|
+
| 'wednesday'
|
|
2035
|
+
| 'thursday'
|
|
2036
|
+
| 'friday'
|
|
2037
|
+
| 'saturday';
|
|
2038
|
+
type DeliveredDuty = 'paid' | 'unpaid';
|
|
2039
|
+
type DiscountTarget = 'item' | 'shipping';
|
|
2040
|
+
type EntityIdentifierType = 'ioss' | 'voec';
|
|
2041
|
+
type Environment = 'sandbox' | 'production';
|
|
2042
|
+
type ExceptionType = 'open' | 'closed';
|
|
2043
|
+
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
2044
|
+
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
2045
|
+
type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
|
|
2046
|
+
type Incoterm =
|
|
2047
|
+
| 'EXW'
|
|
2048
|
+
| 'FCA'
|
|
2049
|
+
| 'CPT'
|
|
2050
|
+
| 'CIP'
|
|
2051
|
+
| 'DAT'
|
|
2052
|
+
| 'DAP'
|
|
2053
|
+
| 'DDP'
|
|
2054
|
+
| 'FAS'
|
|
2055
|
+
| 'FOB'
|
|
2056
|
+
| 'CFR'
|
|
2057
|
+
| 'CIF'
|
|
2058
|
+
| 'DAF'
|
|
2059
|
+
| 'DES'
|
|
2060
|
+
| 'DEQ'
|
|
2061
|
+
| 'DDU';
|
|
2062
|
+
type InputSpecificationType = 'text' | 'number';
|
|
2063
|
+
type MarginType = 'fixed' | 'percent';
|
|
2064
|
+
type MeasurementSystem = 'imperial' | 'metric';
|
|
2065
|
+
type MerchantOfRecord = 'flow' | 'organization';
|
|
2066
|
+
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2067
|
+
type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
|
|
2068
|
+
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
2069
|
+
type Role = 'admin' | 'member';
|
|
2070
|
+
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
2071
|
+
type RoundingType = 'pattern' | 'multiple';
|
|
2072
|
+
type ScheduleExceptionStatus = 'Open' | 'Closed';
|
|
2073
|
+
type SortDirection = 'ascending' | 'descending';
|
|
2074
|
+
type UnitOfMeasurement =
|
|
2075
|
+
| 'millimeter'
|
|
2076
|
+
| 'centimeter'
|
|
2077
|
+
| 'inch'
|
|
2078
|
+
| 'foot'
|
|
2079
|
+
| 'cubic_inch'
|
|
2080
|
+
| 'cubic_meter'
|
|
2081
|
+
| 'gram'
|
|
2082
|
+
| 'kilogram'
|
|
2083
|
+
| 'meter'
|
|
2084
|
+
| 'ounce'
|
|
2085
|
+
| 'pound';
|
|
2086
|
+
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
2087
|
+
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
2088
|
+
type ValueAddedService = 'Hazardous Material';
|
|
2089
|
+
type Visibility = 'public' | 'private';
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
declare namespace io.flow.common.v0.models {
|
|
2093
|
+
interface Address {
|
|
2094
|
+
readonly text?: string;
|
|
2095
|
+
readonly streets?: string[];
|
|
2096
|
+
readonly street_number?: string;
|
|
2097
|
+
readonly city?: string;
|
|
2098
|
+
readonly province?: string;
|
|
2099
|
+
readonly postal?: string;
|
|
2100
|
+
readonly country?: string;
|
|
2101
|
+
readonly latitude?: string;
|
|
2102
|
+
readonly longitude?: string;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
interface BillingAddress {
|
|
2106
|
+
readonly name?: io.flow.common.v0.models.Name;
|
|
2107
|
+
readonly streets?: string[];
|
|
2108
|
+
readonly city?: string;
|
|
2109
|
+
readonly province?: string;
|
|
2110
|
+
readonly postal?: string;
|
|
2111
|
+
readonly country?: string;
|
|
2112
|
+
readonly company?: string;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
interface CatalogItemReference {
|
|
2116
|
+
readonly id: string;
|
|
2117
|
+
readonly number: string;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
interface CatalogItemSummary {
|
|
2121
|
+
readonly number: string;
|
|
2122
|
+
readonly name: string;
|
|
2123
|
+
readonly attributes: Record<string, string>;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
interface ChannelReference {
|
|
2127
|
+
readonly id: string;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
interface CheckoutReference {
|
|
2131
|
+
readonly id: string;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
interface Contact {
|
|
2135
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
2136
|
+
readonly company?: string;
|
|
2137
|
+
readonly email?: string;
|
|
2138
|
+
readonly phone?: string;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
interface CustomerInvoice {
|
|
2142
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
interface CustomerReference {
|
|
2146
|
+
readonly number: string;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
interface DatetimeRange {
|
|
2150
|
+
readonly from: string;
|
|
2151
|
+
readonly to: string;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
interface Dimension {
|
|
2155
|
+
readonly depth?: io.flow.common.v0.models.Measurement;
|
|
2156
|
+
readonly diameter?: io.flow.common.v0.models.Measurement;
|
|
2157
|
+
readonly length?: io.flow.common.v0.models.Measurement;
|
|
2158
|
+
readonly weight?: io.flow.common.v0.models.Measurement;
|
|
2159
|
+
readonly width?: io.flow.common.v0.models.Measurement;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
interface Dimensions {
|
|
2163
|
+
readonly product?: io.flow.common.v0.models.Dimension;
|
|
2164
|
+
readonly packaging?: io.flow.common.v0.models.Dimension;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
interface DiscountForm {
|
|
2168
|
+
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
2169
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
2170
|
+
readonly label?: string;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
interface DiscountOfferFixed {
|
|
2174
|
+
readonly discriminator: 'discount_offer_fixed';
|
|
2175
|
+
readonly money: io.flow.common.v0.models.Money;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
interface DiscountOfferPercent {
|
|
2179
|
+
readonly discriminator: 'discount_offer_percent';
|
|
2180
|
+
readonly percent: number;
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
interface DiscountsForm {
|
|
2184
|
+
readonly discounts: io.flow.common.v0.models.DiscountForm[];
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
interface Duration {
|
|
2188
|
+
readonly unit: io.flow.common.v0.enums.UnitOfTime;
|
|
2189
|
+
readonly value: number;
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
interface EntityIdentifier {
|
|
2193
|
+
readonly name: io.flow.common.v0.enums.EntityIdentifierType;
|
|
2194
|
+
readonly number: string;
|
|
2195
|
+
readonly issuing_country?: string;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
interface Exception {
|
|
2199
|
+
readonly type: io.flow.common.v0.enums.ExceptionType;
|
|
2200
|
+
readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
interface ExperienceSummary {
|
|
2204
|
+
readonly id: string;
|
|
2205
|
+
readonly key: string;
|
|
2206
|
+
readonly name: string;
|
|
2207
|
+
readonly country?: string;
|
|
2208
|
+
readonly currency?: string;
|
|
2209
|
+
readonly language?: string;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
interface IncludedLevies {
|
|
2213
|
+
readonly key: io.flow.common.v0.enums.IncludedLevyKey;
|
|
2214
|
+
readonly label: string;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
interface InputForm {
|
|
2218
|
+
readonly values?: Record<string, string>;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
interface InputFormSpecification {
|
|
2222
|
+
readonly inputs?: io.flow.common.v0.models.InputSpecification[];
|
|
2223
|
+
readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
interface InputSpecification {
|
|
2227
|
+
readonly type: io.flow.common.v0.enums.InputSpecificationType;
|
|
2228
|
+
readonly name: string;
|
|
2229
|
+
readonly display_text?: string;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
interface InputSpecificationLimitationMax {
|
|
2233
|
+
readonly discriminator: 'input_specification_limitation_max';
|
|
2234
|
+
readonly max: number;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
interface InputSpecificationLimitations {
|
|
2238
|
+
readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
interface ItemReference {
|
|
2242
|
+
readonly number: string;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
interface LineItem {
|
|
2246
|
+
readonly number: string;
|
|
2247
|
+
readonly quantity: number;
|
|
2248
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
2249
|
+
readonly attributes: Record<string, string>;
|
|
2250
|
+
readonly center?: string;
|
|
2251
|
+
readonly discount?: io.flow.common.v0.models.Money;
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
interface LineItemAttributesForm {
|
|
2255
|
+
readonly attributes: Record<string, string>;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
interface LineItemForm {
|
|
2259
|
+
readonly number: string;
|
|
2260
|
+
readonly quantity: number;
|
|
2261
|
+
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
2262
|
+
readonly price?: io.flow.common.v0.models.Money;
|
|
2263
|
+
readonly attributes?: Record<string, string>;
|
|
2264
|
+
readonly center?: string;
|
|
2265
|
+
readonly discount?: io.flow.common.v0.models.Money;
|
|
2266
|
+
readonly discounts?: io.flow.common.v0.models.DiscountsForm;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
interface LineItemQuantityForm {
|
|
2270
|
+
readonly quantity: number;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
interface Margin {
|
|
2274
|
+
readonly type: io.flow.common.v0.enums.MarginType;
|
|
2275
|
+
readonly value: number;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
interface Measurement {
|
|
2279
|
+
readonly value: string;
|
|
2280
|
+
readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
interface MerchantOfRecordEntity {
|
|
2284
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2285
|
+
readonly name: string;
|
|
2286
|
+
readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
2287
|
+
readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
|
|
2288
|
+
readonly streets: string[];
|
|
2289
|
+
readonly city: string;
|
|
2290
|
+
readonly province?: string;
|
|
2291
|
+
readonly postal?: string;
|
|
2292
|
+
readonly country: string;
|
|
2293
|
+
readonly phone?: string;
|
|
2294
|
+
readonly email?: string;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
interface MerchantOfRecordEntityRegistration {
|
|
2298
|
+
readonly number: string;
|
|
2299
|
+
readonly country: string;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
interface Money {
|
|
2303
|
+
readonly amount: number;
|
|
2304
|
+
readonly currency: string;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
interface MoneyWithBase {
|
|
2308
|
+
readonly currency: string;
|
|
2309
|
+
readonly amount: number;
|
|
2310
|
+
readonly base: io.flow.common.v0.models.Money;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
interface MoneyWithOptionalBase {
|
|
2314
|
+
readonly currency: string;
|
|
2315
|
+
readonly amount: number;
|
|
2316
|
+
readonly base?: io.flow.common.v0.models.Money;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
interface Name {
|
|
2320
|
+
readonly first?: string;
|
|
2321
|
+
readonly last?: string;
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
interface OrderCustomer {
|
|
2325
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
2326
|
+
readonly number?: string;
|
|
2327
|
+
readonly phone?: string;
|
|
2328
|
+
readonly email?: string;
|
|
2329
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
2330
|
+
readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
interface OrderCustomerForm {
|
|
2334
|
+
readonly name?: io.flow.common.v0.models.Name;
|
|
2335
|
+
readonly number?: string;
|
|
2336
|
+
readonly phone?: string;
|
|
2337
|
+
readonly email?: string;
|
|
2338
|
+
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
2339
|
+
readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
interface Organization {
|
|
2343
|
+
readonly discriminator: 'organization';
|
|
2344
|
+
readonly id: string;
|
|
2345
|
+
readonly name: string;
|
|
2346
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2347
|
+
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
2348
|
+
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
2349
|
+
readonly created_at?: string;
|
|
2350
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
interface OrganizationDefaults {
|
|
2354
|
+
readonly country: string;
|
|
2355
|
+
readonly base_currency: string;
|
|
2356
|
+
readonly language: string;
|
|
2357
|
+
readonly locale: string;
|
|
2358
|
+
readonly timezone: string;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
interface OrganizationReference {
|
|
2362
|
+
readonly discriminator: 'organization_reference';
|
|
2363
|
+
readonly id: string;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
interface OrganizationSummary {
|
|
2367
|
+
readonly id: string;
|
|
2368
|
+
readonly name: string;
|
|
2369
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
interface PartnerReference {
|
|
2373
|
+
readonly id: string;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
interface Price {
|
|
2377
|
+
readonly amount: number;
|
|
2378
|
+
readonly currency: string;
|
|
2379
|
+
readonly label: string;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
interface PriceForm {
|
|
2383
|
+
readonly amount: number;
|
|
2384
|
+
readonly currency: string;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
interface PriceSourceCatalog {
|
|
2388
|
+
readonly discriminator: 'catalog';
|
|
2389
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
interface PriceSourcePriceBook {
|
|
2393
|
+
readonly discriminator: 'price_book';
|
|
2394
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
2395
|
+
readonly includes: io.flow.common.v0.models.IncludedLevies;
|
|
2396
|
+
readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
interface PriceSourcePriceBookReference {
|
|
2400
|
+
readonly id: string;
|
|
2401
|
+
readonly key: string;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
interface PriceSourceProvided {
|
|
2405
|
+
readonly discriminator: 'provided';
|
|
2406
|
+
readonly price: io.flow.common.v0.models.Money;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
interface PriceWithBase {
|
|
2410
|
+
readonly currency: string;
|
|
2411
|
+
readonly amount: number;
|
|
2412
|
+
readonly label: string;
|
|
2413
|
+
readonly base?: io.flow.common.v0.models.Price;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
interface RepeatDaily {
|
|
2417
|
+
readonly discriminator: 'repeat_daily';
|
|
2418
|
+
readonly interval: number;
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
interface RepeatHourly {
|
|
2422
|
+
readonly discriminator: 'repeat_hourly';
|
|
2423
|
+
readonly interval: number;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
interface RepeatMonthly {
|
|
2427
|
+
readonly discriminator: 'repeat_monthly';
|
|
2428
|
+
readonly interval: number;
|
|
2429
|
+
readonly days: number[];
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
interface RepeatWeekly {
|
|
2433
|
+
readonly discriminator: 'repeat_weekly';
|
|
2434
|
+
readonly interval: number;
|
|
2435
|
+
readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
interface Rounding {
|
|
2439
|
+
readonly type: io.flow.common.v0.enums.RoundingType;
|
|
2440
|
+
readonly method: io.flow.common.v0.enums.RoundingMethod;
|
|
2441
|
+
readonly value: number;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
interface Schedule {
|
|
2445
|
+
readonly calendar?: io.flow.common.v0.enums.Calendar;
|
|
2446
|
+
readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
|
|
2447
|
+
readonly exception: io.flow.common.v0.models.Exception[];
|
|
2448
|
+
readonly cutoff?: string;
|
|
2449
|
+
readonly min_lead_time?: number;
|
|
2450
|
+
readonly max_lead_time?: number;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
interface SessionReference {
|
|
2454
|
+
readonly id: string;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
interface User {
|
|
2458
|
+
readonly discriminator: 'user';
|
|
2459
|
+
readonly id: string;
|
|
2460
|
+
readonly email?: string;
|
|
2461
|
+
readonly name: io.flow.common.v0.models.Name;
|
|
2462
|
+
readonly status: io.flow.common.v0.enums.UserStatus;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
interface UserReference {
|
|
2466
|
+
readonly discriminator: 'user_reference';
|
|
2467
|
+
readonly id: string;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
interface Zone {
|
|
2471
|
+
readonly postals?: string[];
|
|
2472
|
+
readonly provinces?: string[];
|
|
2473
|
+
readonly country: string;
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
declare namespace io.flow.common.v0.unions {
|
|
2478
|
+
type DiscountOffer =
|
|
2479
|
+
| io.flow.common.v0.models.DiscountOfferFixed
|
|
2480
|
+
| io.flow.common.v0.models.DiscountOfferPercent;
|
|
2481
|
+
type ExpandableOrganization =
|
|
2482
|
+
| io.flow.common.v0.models.Organization
|
|
2483
|
+
| io.flow.common.v0.models.OrganizationReference;
|
|
2484
|
+
type ExpandableUser =
|
|
2485
|
+
| io.flow.common.v0.models.User
|
|
2486
|
+
| io.flow.common.v0.models.UserReference;
|
|
2487
|
+
type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
|
|
2488
|
+
type PriceSource =
|
|
2489
|
+
| io.flow.common.v0.models.PriceSourcePriceBook
|
|
2490
|
+
| io.flow.common.v0.models.PriceSourceCatalog
|
|
2491
|
+
| io.flow.common.v0.models.PriceSourceProvided;
|
|
2492
|
+
type RepeatSchedule =
|
|
2493
|
+
| io.flow.common.v0.models.RepeatHourly
|
|
2494
|
+
| io.flow.common.v0.models.RepeatDaily
|
|
2495
|
+
| io.flow.common.v0.models.RepeatWeekly
|
|
2496
|
+
| io.flow.common.v0.models.RepeatMonthly;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
declare namespace io.flow.token.v0.models {
|
|
2500
|
+
interface ChannelToken {
|
|
2501
|
+
readonly discriminator: 'channel_token';
|
|
2502
|
+
readonly id: string;
|
|
2503
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2504
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2505
|
+
readonly partial: string;
|
|
2506
|
+
readonly created_at: string;
|
|
2507
|
+
readonly description?: string;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
interface ChannelTokenReference {
|
|
2511
|
+
readonly discriminator: 'channel_token_reference';
|
|
2512
|
+
readonly id: string;
|
|
2513
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2514
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
interface Cleartext {
|
|
2518
|
+
readonly value: string;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
interface OrganizationToken {
|
|
2522
|
+
readonly discriminator: 'organization_token';
|
|
2523
|
+
readonly id: string;
|
|
2524
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2525
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2526
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2527
|
+
readonly partial: string;
|
|
2528
|
+
readonly created_at: string;
|
|
2529
|
+
readonly description?: string;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
interface OrganizationTokenForm {
|
|
2533
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2534
|
+
readonly description?: string;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
interface OrganizationTokenReference {
|
|
2538
|
+
readonly discriminator: 'organization_token_reference';
|
|
2539
|
+
readonly id: string;
|
|
2540
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2541
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2542
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
interface PartnerToken {
|
|
2546
|
+
readonly discriminator: 'partner_token';
|
|
2547
|
+
readonly id: string;
|
|
2548
|
+
readonly partner: io.flow.token.v0.models.TokenPartnerReference;
|
|
2549
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2550
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2551
|
+
readonly partial: string;
|
|
2552
|
+
readonly created_at: string;
|
|
2553
|
+
readonly description?: string;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
interface PartnerTokenForm {
|
|
2557
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2558
|
+
readonly description?: string;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
interface PartnerTokenReference {
|
|
2562
|
+
readonly discriminator: 'partner_token_reference';
|
|
2563
|
+
readonly id: string;
|
|
2564
|
+
readonly partner: io.flow.token.v0.models.TokenPartnerReference;
|
|
2565
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2566
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
interface TokenAuthenticationForm {
|
|
2570
|
+
readonly token: string;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
interface TokenPartnerReference {
|
|
2574
|
+
readonly id: string;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
interface TokenValidation {
|
|
2578
|
+
readonly status: string;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
interface TokenValidationForm {
|
|
2582
|
+
readonly token: string;
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
declare namespace io.flow.token.v0.unions {
|
|
2587
|
+
type Token =
|
|
2588
|
+
| io.flow.token.v0.models.ChannelToken
|
|
2589
|
+
| io.flow.token.v0.models.OrganizationToken
|
|
2590
|
+
| io.flow.token.v0.models.PartnerToken;
|
|
2591
|
+
type TokenReference =
|
|
2592
|
+
| io.flow.token.v0.models.ChannelTokenReference
|
|
2593
|
+
| io.flow.token.v0.models.OrganizationTokenReference
|
|
2594
|
+
| io.flow.token.v0.models.PartnerTokenReference;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
declare namespace io.flow.error.v0.enums {
|
|
2598
|
+
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
declare namespace io.flow.error.v0.models {
|
|
2602
|
+
interface GenericError {
|
|
2603
|
+
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
2604
|
+
readonly messages: string[];
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
declare namespace io.flow.channel.v0.enums {
|
|
2609
|
+
type ChannelCurrencyCapability =
|
|
2610
|
+
| 'payment_authorizations'
|
|
2611
|
+
| 'settlement_currency';
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
declare namespace io.flow.channel.v0.models {
|
|
2615
|
+
interface Channel {
|
|
2616
|
+
readonly id: string;
|
|
2617
|
+
readonly name: string;
|
|
2618
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2619
|
+
readonly organization_id_prefix?: string;
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
interface ChannelAuthorization {
|
|
2623
|
+
readonly placeholder?: string;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
interface ChannelAuthorizationForm {
|
|
2627
|
+
readonly channel_id: string;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
interface ChannelCurrency {
|
|
2631
|
+
readonly id: string;
|
|
2632
|
+
readonly currency: string;
|
|
2633
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2634
|
+
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
interface ChannelCurrencyForm {
|
|
2638
|
+
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
interface ChannelForm {
|
|
2642
|
+
readonly name: string;
|
|
2643
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2644
|
+
readonly organization_id_prefix?: string;
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
interface ChannelOrganization {
|
|
2648
|
+
readonly id: string;
|
|
2649
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2650
|
+
readonly key: string;
|
|
2651
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2652
|
+
readonly name: string;
|
|
2653
|
+
readonly slug?: string;
|
|
2654
|
+
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2655
|
+
readonly attributes?: Record<string, string>;
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
interface ChannelOrganizationAuthorization {
|
|
2659
|
+
readonly placeholder?: string;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
interface ChannelOrganizationAuthorizationForm {
|
|
2663
|
+
readonly channel_id: string;
|
|
2664
|
+
readonly organization_id: string;
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
interface ChannelOrganizationForm {
|
|
2668
|
+
readonly name: string;
|
|
2669
|
+
readonly slug?: string;
|
|
2670
|
+
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2671
|
+
readonly attributes?: Record<string, string>;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
interface ChannelTokenForm {
|
|
2675
|
+
readonly description?: string;
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
declare namespace io.flow.permission.v0.enums {
|
|
2680
|
+
type AuthenticationTechnique =
|
|
2681
|
+
| 'anonymous'
|
|
2682
|
+
| 'session'
|
|
2683
|
+
| 'token'
|
|
2684
|
+
| 'partner_token'
|
|
2685
|
+
| 'user';
|
|
2686
|
+
type FlowBehavior = 'view_consumer_data';
|
|
2687
|
+
type FlowRole =
|
|
2688
|
+
| 'organization_admin'
|
|
2689
|
+
| 'organization_merchant'
|
|
2690
|
+
| 'organization_customer_service'
|
|
2691
|
+
| 'organization_fulfillment'
|
|
2692
|
+
| 'organization_marketing'
|
|
2693
|
+
| 'organization_finance'
|
|
2694
|
+
| 'flow_operations'
|
|
2695
|
+
| 'channel_admin'
|
|
2696
|
+
| 'channel_organization_admin';
|
|
2697
|
+
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
declare namespace io.flow.permission.v0.models {
|
|
2701
|
+
interface BehaviorAudit {
|
|
2702
|
+
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
2703
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
2704
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
interface PermissionAudit {
|
|
2708
|
+
readonly routes: io.flow.permission.v0.models.RouteAudit[];
|
|
2709
|
+
readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
interface PermissionCheck {
|
|
2713
|
+
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
2714
|
+
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
2715
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
2716
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
2717
|
+
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
interface PermissionError {
|
|
2721
|
+
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
2722
|
+
readonly messages: string[];
|
|
2723
|
+
readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
2724
|
+
readonly admin_users?: io.flow.common.v0.models.User[];
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
interface PermittedRoute {
|
|
2728
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
2729
|
+
readonly path: string;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
interface RouteAudit {
|
|
2733
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
2734
|
+
readonly path: string;
|
|
2735
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
2736
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
interface SimplePermissionCheck {
|
|
2740
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
|
|
1999
2744
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
2000
2745
|
type ApplePayContactField =
|
|
2001
2746
|
| 'email'
|
|
@@ -2296,6 +3041,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2296
3041
|
| 'subcatalog_item_deleted'
|
|
2297
3042
|
| 'channel_upserted'
|
|
2298
3043
|
| 'channel_deleted'
|
|
3044
|
+
| 'channel_currency_upserted'
|
|
3045
|
+
| 'channel_currency_deleted'
|
|
2299
3046
|
| 'channel_organization_upserted'
|
|
2300
3047
|
| 'channel_organization_deleted'
|
|
2301
3048
|
| 'b2b_invoice_upserted'
|
|
@@ -2383,8 +3130,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2383
3130
|
| 'label_upserted'
|
|
2384
3131
|
| 'label_deleted_v2'
|
|
2385
3132
|
| 'label_upserted_v2'
|
|
2386
|
-
| 'notification_upserted'
|
|
2387
|
-
| 'notification_deleted'
|
|
2388
3133
|
| 'notification_upserted_v2'
|
|
2389
3134
|
| 'notification_deleted_v2'
|
|
2390
3135
|
| 'manifested_label_upserted'
|
|
@@ -4104,11 +4849,12 @@ declare namespace io.flow.v0.models {
|
|
|
4104
4849
|
readonly center: io.flow.v0.models.Center;
|
|
4105
4850
|
}
|
|
4106
4851
|
|
|
4107
|
-
interface
|
|
4108
|
-
readonly
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4852
|
+
interface ChannelAuthorization {
|
|
4853
|
+
readonly placeholder?: string;
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
interface ChannelAuthorizationForm {
|
|
4857
|
+
readonly channel_id: string;
|
|
4112
4858
|
}
|
|
4113
4859
|
|
|
4114
4860
|
interface ChannelCurrency {
|
|
@@ -4118,22 +4864,29 @@ declare namespace io.flow.v0.models {
|
|
|
4118
4864
|
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
4119
4865
|
}
|
|
4120
4866
|
|
|
4867
|
+
interface ChannelCurrencyDeleted {
|
|
4868
|
+
readonly discriminator: 'channel_currency_deleted';
|
|
4869
|
+
readonly event_id: string;
|
|
4870
|
+
readonly timestamp: string;
|
|
4871
|
+
readonly id: string;
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4121
4874
|
interface ChannelCurrencyForm {
|
|
4122
|
-
readonly currency: string;
|
|
4123
4875
|
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
4124
4876
|
}
|
|
4125
4877
|
|
|
4126
|
-
interface
|
|
4127
|
-
readonly discriminator: '
|
|
4878
|
+
interface ChannelCurrencyUpserted {
|
|
4879
|
+
readonly discriminator: 'channel_currency_upserted';
|
|
4128
4880
|
readonly event_id: string;
|
|
4129
4881
|
readonly timestamp: string;
|
|
4130
|
-
readonly
|
|
4882
|
+
readonly channel_currency: io.flow.v0.models.ChannelCurrency;
|
|
4131
4883
|
}
|
|
4132
4884
|
|
|
4133
|
-
interface
|
|
4134
|
-
readonly
|
|
4135
|
-
readonly
|
|
4136
|
-
readonly
|
|
4885
|
+
interface ChannelDeleted {
|
|
4886
|
+
readonly discriminator: 'channel_deleted';
|
|
4887
|
+
readonly event_id: string;
|
|
4888
|
+
readonly timestamp: string;
|
|
4889
|
+
readonly id: string;
|
|
4137
4890
|
}
|
|
4138
4891
|
|
|
4139
4892
|
interface ChannelOrganization {
|
|
@@ -4147,11 +4900,20 @@ declare namespace io.flow.v0.models {
|
|
|
4147
4900
|
readonly attributes?: Record<string, string>;
|
|
4148
4901
|
}
|
|
4149
4902
|
|
|
4903
|
+
interface ChannelOrganizationAuthorization {
|
|
4904
|
+
readonly placeholder?: string;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4907
|
+
interface ChannelOrganizationAuthorizationForm {
|
|
4908
|
+
readonly channel_id: string;
|
|
4909
|
+
readonly organization_id: string;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4150
4912
|
interface ChannelOrganizationDeleted {
|
|
4151
4913
|
readonly discriminator: 'channel_organization_deleted';
|
|
4152
4914
|
readonly event_id: string;
|
|
4153
4915
|
readonly timestamp: string;
|
|
4154
|
-
readonly
|
|
4916
|
+
readonly id: string;
|
|
4155
4917
|
}
|
|
4156
4918
|
|
|
4157
4919
|
interface ChannelOrganizationForm {
|
|
@@ -4202,7 +4964,7 @@ declare namespace io.flow.v0.models {
|
|
|
4202
4964
|
readonly discriminator: 'channel_upserted';
|
|
4203
4965
|
readonly event_id: string;
|
|
4204
4966
|
readonly timestamp: string;
|
|
4205
|
-
readonly channel: io.flow.v0.models.Channel;
|
|
4967
|
+
readonly channel: io.flow.channel.v0.models.Channel;
|
|
4206
4968
|
}
|
|
4207
4969
|
|
|
4208
4970
|
interface CheckoutAttribute {
|
|
@@ -5782,6 +6544,12 @@ declare namespace io.flow.v0.models {
|
|
|
5782
6544
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
5783
6545
|
}
|
|
5784
6546
|
|
|
6547
|
+
interface FlowShippingLabelRatecardSummary {
|
|
6548
|
+
readonly discriminator: 'flow';
|
|
6549
|
+
readonly id: string;
|
|
6550
|
+
readonly cost: io.flow.v0.models.Money;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
5785
6553
|
interface FraudEmailRule {
|
|
5786
6554
|
readonly id?: string;
|
|
5787
6555
|
readonly email: string;
|
|
@@ -6087,6 +6855,9 @@ declare namespace io.flow.v0.models {
|
|
|
6087
6855
|
readonly duty: io.flow.v0.models.Duty;
|
|
6088
6856
|
readonly tax: io.flow.v0.models.Tax;
|
|
6089
6857
|
readonly tax_applicability?: io.flow.v0.enums.TaxApplicability;
|
|
6858
|
+
readonly origin?: string;
|
|
6859
|
+
readonly hs_code?: string;
|
|
6860
|
+
readonly customs_description?: string;
|
|
6090
6861
|
}
|
|
6091
6862
|
|
|
6092
6863
|
interface HarmonizedLandedCostUpserted {
|
|
@@ -7191,22 +7962,6 @@ declare namespace io.flow.v0.models {
|
|
|
7191
7962
|
readonly available_quantity: number;
|
|
7192
7963
|
}
|
|
7193
7964
|
|
|
7194
|
-
interface NotificationDeleted {
|
|
7195
|
-
readonly discriminator: 'notification_deleted';
|
|
7196
|
-
readonly event_id: string;
|
|
7197
|
-
readonly timestamp: string;
|
|
7198
|
-
readonly organization: string;
|
|
7199
|
-
readonly notification_id: string;
|
|
7200
|
-
readonly carrier_tracking_number: string;
|
|
7201
|
-
readonly flow_tracking_number: string;
|
|
7202
|
-
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
7203
|
-
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
7204
|
-
readonly carrier: string;
|
|
7205
|
-
readonly service: string;
|
|
7206
|
-
readonly order: string;
|
|
7207
|
-
readonly package: io.flow.v0.models.ShippingLabelPackage;
|
|
7208
|
-
}
|
|
7209
|
-
|
|
7210
7965
|
interface NotificationDeletedV2 {
|
|
7211
7966
|
readonly discriminator: 'notification_deleted_v2';
|
|
7212
7967
|
readonly event_id: string;
|
|
@@ -7215,24 +7970,6 @@ declare namespace io.flow.v0.models {
|
|
|
7215
7970
|
readonly notification: io.flow.v0.models.ShippingNotification;
|
|
7216
7971
|
}
|
|
7217
7972
|
|
|
7218
|
-
interface NotificationUpserted {
|
|
7219
|
-
readonly discriminator: 'notification_upserted';
|
|
7220
|
-
readonly event_id: string;
|
|
7221
|
-
readonly timestamp: string;
|
|
7222
|
-
readonly organization: string;
|
|
7223
|
-
readonly notification_id: string;
|
|
7224
|
-
readonly carrier_tracking_number: string;
|
|
7225
|
-
readonly flow_tracking_number: string;
|
|
7226
|
-
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
7227
|
-
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
7228
|
-
readonly carrier: string;
|
|
7229
|
-
readonly service: string;
|
|
7230
|
-
readonly order: string;
|
|
7231
|
-
readonly order_identifier?: string;
|
|
7232
|
-
readonly fulfillment_key?: string;
|
|
7233
|
-
readonly package: io.flow.v0.models.ShippingLabelPackage;
|
|
7234
|
-
}
|
|
7235
|
-
|
|
7236
7973
|
interface NotificationUpsertedV2 {
|
|
7237
7974
|
readonly discriminator: 'notification_upserted_v2';
|
|
7238
7975
|
readonly event_id: string;
|
|
@@ -8046,6 +8783,12 @@ declare namespace io.flow.v0.models {
|
|
|
8046
8783
|
readonly environment: io.flow.v0.enums.Environment;
|
|
8047
8784
|
}
|
|
8048
8785
|
|
|
8786
|
+
interface OrganizationShippingLabelRatecardSummary {
|
|
8787
|
+
readonly discriminator: 'organization';
|
|
8788
|
+
readonly id: string;
|
|
8789
|
+
readonly cost?: io.flow.v0.models.Money;
|
|
8790
|
+
}
|
|
8791
|
+
|
|
8049
8792
|
interface OrganizationShortId {
|
|
8050
8793
|
readonly id: string;
|
|
8051
8794
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
@@ -8241,6 +8984,16 @@ declare namespace io.flow.v0.models {
|
|
|
8241
8984
|
readonly currency?: string;
|
|
8242
8985
|
}
|
|
8243
8986
|
|
|
8987
|
+
interface PaymentCaptureOptionAutomaticImmediate {
|
|
8988
|
+
readonly type: 'automatic_immediate';
|
|
8989
|
+
readonly placeholder?: string;
|
|
8990
|
+
}
|
|
8991
|
+
|
|
8992
|
+
interface PaymentCaptureOptionManual {
|
|
8993
|
+
readonly type: 'manual';
|
|
8994
|
+
readonly placeholder?: string;
|
|
8995
|
+
}
|
|
8996
|
+
|
|
8244
8997
|
interface PaymentCaptureStatus {
|
|
8245
8998
|
readonly status: io.flow.v0.enums.CaptureStatus;
|
|
8246
8999
|
readonly reason?: io.flow.v0.enums.CaptureDeclineCode;
|
|
@@ -8575,7 +9328,7 @@ declare namespace io.flow.v0.models {
|
|
|
8575
9328
|
readonly reference?: string;
|
|
8576
9329
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8577
9330
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8578
|
-
readonly
|
|
9331
|
+
readonly payment_capture_option?: io.flow.v0.unions.PaymentCaptureOption;
|
|
8579
9332
|
}
|
|
8580
9333
|
|
|
8581
9334
|
interface PaymentRequestForm {
|
|
@@ -8589,7 +9342,7 @@ declare namespace io.flow.v0.models {
|
|
|
8589
9342
|
readonly reference?: string;
|
|
8590
9343
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
8591
9344
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
8592
|
-
readonly
|
|
9345
|
+
readonly payment_capture_option?: io.flow.v0.unions.PaymentCaptureOption;
|
|
8593
9346
|
}
|
|
8594
9347
|
|
|
8595
9348
|
interface PaymentRequestReference {
|
|
@@ -9258,6 +10011,16 @@ declare namespace io.flow.v0.models {
|
|
|
9258
10011
|
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
9259
10012
|
}
|
|
9260
10013
|
|
|
10014
|
+
interface RatecardEstimateV3 {
|
|
10015
|
+
readonly discriminator: 'ratecard_estimate_v3';
|
|
10016
|
+
readonly hops: io.flow.v0.models.Hop[];
|
|
10017
|
+
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
10018
|
+
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
10019
|
+
readonly gravitational_weight?: io.flow.v0.models.Measurement;
|
|
10020
|
+
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
10021
|
+
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
10022
|
+
}
|
|
10023
|
+
|
|
9261
10024
|
interface RatecardForm {
|
|
9262
10025
|
readonly direction: io.flow.v0.enums.Direction;
|
|
9263
10026
|
readonly effective_at: string;
|
|
@@ -10151,10 +10914,11 @@ declare namespace io.flow.v0.models {
|
|
|
10151
10914
|
|
|
10152
10915
|
interface ShippingLabel {
|
|
10153
10916
|
readonly id: string;
|
|
10917
|
+
readonly ratecard?: io.flow.v0.unions.ShippingLabelRatecardSummary;
|
|
10154
10918
|
readonly attributes: Record<string, string>;
|
|
10155
10919
|
readonly carrier_tracking_number: string;
|
|
10156
10920
|
readonly carrier_tracking_number_url: string;
|
|
10157
|
-
readonly cost
|
|
10921
|
+
readonly cost?: io.flow.v0.models.Price;
|
|
10158
10922
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
10159
10923
|
readonly flow_tracking_number: string;
|
|
10160
10924
|
readonly flow_tracking_number_url: string;
|
|
@@ -11470,6 +12234,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11470
12234
|
| io.flow.v0.models.SubcatalogItemDeleted
|
|
11471
12235
|
| io.flow.v0.models.ChannelUpserted
|
|
11472
12236
|
| io.flow.v0.models.ChannelDeleted
|
|
12237
|
+
| io.flow.v0.models.ChannelCurrencyUpserted
|
|
12238
|
+
| io.flow.v0.models.ChannelCurrencyDeleted
|
|
11473
12239
|
| io.flow.v0.models.ChannelOrganizationUpserted
|
|
11474
12240
|
| io.flow.v0.models.ChannelOrganizationDeleted
|
|
11475
12241
|
| io.flow.v0.models.B2BInvoiceUpserted
|
|
@@ -11557,8 +12323,6 @@ declare namespace io.flow.v0.unions {
|
|
|
11557
12323
|
| io.flow.v0.models.LabelUpserted
|
|
11558
12324
|
| io.flow.v0.models.LabelDeletedV2
|
|
11559
12325
|
| io.flow.v0.models.LabelUpsertedV2
|
|
11560
|
-
| io.flow.v0.models.NotificationUpserted
|
|
11561
|
-
| io.flow.v0.models.NotificationDeleted
|
|
11562
12326
|
| io.flow.v0.models.NotificationUpsertedV2
|
|
11563
12327
|
| io.flow.v0.models.NotificationDeletedV2
|
|
11564
12328
|
| io.flow.v0.models.ManifestedLabelUpserted
|
|
@@ -11718,6 +12482,9 @@ declare namespace io.flow.v0.unions {
|
|
|
11718
12482
|
type Payment =
|
|
11719
12483
|
| io.flow.v0.models.PaymentPaypal
|
|
11720
12484
|
| io.flow.v0.models.PaymentCryptopay;
|
|
12485
|
+
type PaymentCaptureOption =
|
|
12486
|
+
| io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate
|
|
12487
|
+
| io.flow.v0.models.PaymentCaptureOptionManual;
|
|
11721
12488
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
11722
12489
|
type PaymentMethodCard =
|
|
11723
12490
|
| io.flow.v0.models.PaymentMethodCardPciDetails
|
|
@@ -11775,7 +12542,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11775
12542
|
| io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
11776
12543
|
type RatecardEstimate =
|
|
11777
12544
|
| io.flow.v0.models.RatecardEstimateV1
|
|
11778
|
-
| io.flow.v0.models.RatecardEstimateV2
|
|
12545
|
+
| io.flow.v0.models.RatecardEstimateV2
|
|
12546
|
+
| io.flow.v0.models.RatecardEstimateV3;
|
|
11779
12547
|
type RatecardEstimateForm =
|
|
11780
12548
|
| io.flow.v0.models.RatecardEstimateFormV1
|
|
11781
12549
|
| io.flow.v0.models.RatecardEstimateFormV2;
|
|
@@ -11816,6 +12584,9 @@ declare namespace io.flow.v0.unions {
|
|
|
11816
12584
|
type ShippingLabelForm =
|
|
11817
12585
|
| io.flow.v0.models.DetailedShippingLabelForm
|
|
11818
12586
|
| io.flow.v0.models.SummaryShippingLabelForm;
|
|
12587
|
+
type ShippingLabelRatecardSummary =
|
|
12588
|
+
| io.flow.v0.models.FlowShippingLabelRatecardSummary
|
|
12589
|
+
| io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
11819
12590
|
type ShippingNotificationForm =
|
|
11820
12591
|
| io.flow.v0.models.DetailedShippingNotificationForm
|
|
11821
12592
|
| io.flow.v0.models.SinglePackageShippingNotificationForm
|
|
@@ -12049,13 +12820,17 @@ export type CenterSummary = io.flow.v0.models.CenterSummary;
|
|
|
12049
12820
|
export type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
12050
12821
|
export type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
12051
12822
|
export type ChangeType = io.flow.v0.enums.ChangeType;
|
|
12052
|
-
export type
|
|
12823
|
+
export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
|
|
12824
|
+
export type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
|
|
12053
12825
|
export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
|
|
12054
12826
|
export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
|
|
12827
|
+
export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
|
|
12055
12828
|
export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
|
|
12829
|
+
export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
|
|
12056
12830
|
export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
12057
|
-
export type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
12058
12831
|
export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
12832
|
+
export type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
|
|
12833
|
+
export type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
|
|
12059
12834
|
export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
|
|
12060
12835
|
export type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
|
|
12061
12836
|
export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
|
|
@@ -12356,6 +13131,7 @@ export type FlowCenterReference = io.flow.v0.models.FlowCenterReference;
|
|
|
12356
13131
|
export type FlowEntity = io.flow.v0.enums.FlowEntity;
|
|
12357
13132
|
export type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata;
|
|
12358
13133
|
export type FlowRole = io.flow.v0.enums.FlowRole;
|
|
13134
|
+
export type FlowShippingLabelRatecardSummary = io.flow.v0.models.FlowShippingLabelRatecardSummary;
|
|
12359
13135
|
export type FraudEmailRule = io.flow.v0.models.FraudEmailRule;
|
|
12360
13136
|
export type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision;
|
|
12361
13137
|
export type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm;
|
|
@@ -12593,9 +13369,7 @@ export type Name = io.flow.v0.models.Name;
|
|
|
12593
13369
|
export type NameForm = io.flow.v0.models.NameForm;
|
|
12594
13370
|
export type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
|
|
12595
13371
|
export type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
12596
|
-
export type NotificationDeleted = io.flow.v0.models.NotificationDeleted;
|
|
12597
13372
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
12598
|
-
export type NotificationUpserted = io.flow.v0.models.NotificationUpserted;
|
|
12599
13373
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
12600
13374
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
12601
13375
|
export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
@@ -12721,6 +13495,7 @@ export type OrganizationRatesPublished = io.flow.v0.models.OrganizationRatesPubl
|
|
|
12721
13495
|
export type OrganizationReference = io.flow.v0.models.OrganizationReference;
|
|
12722
13496
|
export type OrganizationSession = io.flow.v0.models.OrganizationSession;
|
|
12723
13497
|
export type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
13498
|
+
export type OrganizationShippingLabelRatecardSummary = io.flow.v0.models.OrganizationShippingLabelRatecardSummary;
|
|
12724
13499
|
export type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
12725
13500
|
export type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
12726
13501
|
export type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
@@ -12753,6 +13528,9 @@ export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
|
|
|
12753
13528
|
export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
|
|
12754
13529
|
export type PaymentCapture = io.flow.v0.models.PaymentCapture;
|
|
12755
13530
|
export type PaymentCaptureForm = io.flow.v0.models.PaymentCaptureForm;
|
|
13531
|
+
export type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOption;
|
|
13532
|
+
export type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate;
|
|
13533
|
+
export type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual;
|
|
12756
13534
|
export type PaymentCaptureStatus = io.flow.v0.models.PaymentCaptureStatus;
|
|
12757
13535
|
export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
|
|
12758
13536
|
export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
|
|
@@ -12931,6 +13709,7 @@ export type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
|
|
|
12931
13709
|
export type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
12932
13710
|
export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
12933
13711
|
export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
|
13712
|
+
export type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3;
|
|
12934
13713
|
export type RatecardFee = io.flow.v0.unions.RatecardFee;
|
|
12935
13714
|
export type RatecardForm = io.flow.v0.models.RatecardForm;
|
|
12936
13715
|
export type RatecardLane = io.flow.v0.models.RatecardLane;
|
|
@@ -13085,6 +13864,7 @@ export type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
|
13085
13864
|
export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
13086
13865
|
export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
|
|
13087
13866
|
export type ShippingLabelPackage = io.flow.v0.models.ShippingLabelPackage;
|
|
13867
|
+
export type ShippingLabelRatecardSummary = io.flow.v0.unions.ShippingLabelRatecardSummary;
|
|
13088
13868
|
export type ShippingLabelSummary = io.flow.v0.models.ShippingLabelSummary;
|
|
13089
13869
|
export type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion;
|
|
13090
13870
|
export type ShippingLane = io.flow.v0.models.ShippingLane;
|