@flowio/types 11.24.55 → 11.24.57

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.
@@ -226,1071 +226,687 @@ declare namespace io.flow.order.price.v0.models {
226
226
  readonly name?: string;
227
227
  }
228
228
  }
229
- declare namespace io.flow.common.v0.enums {
230
- type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
231
- type AvailabilityStatus = 'enabled' | 'disabled';
232
- type Calendar = 'weekdays' | 'everyday';
233
- type Capability = 'crossdock';
234
- type ChangeType = 'insert' | 'update' | 'delete';
235
- type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
236
- type CurrencySymbolFormat = 'narrow' | 'primary';
237
- type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
238
- type DeliveredDuty = 'paid' | 'unpaid';
239
- type DiscountTarget = 'item' | 'shipping';
240
- type EntityIdentifierType = 'ioss' | 'voec';
241
- type Environment = 'sandbox' | 'production';
242
- type ExceptionType = 'open' | 'closed';
243
- type GoodsSupply = 'export' | 'intra_community' | 'local';
244
- type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
245
- type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
246
- type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
247
- type InputSpecificationType = 'text' | 'number';
248
- type MarginType = 'fixed' | 'percent';
249
- type MeasurementSystem = 'imperial' | 'metric';
250
- type MerchantOfRecord = 'flow' | 'organization';
251
- type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
252
- type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
253
- type OrganizationType = 'standalone' | 'channel';
254
- type PriceBookStatus = 'draft' | 'published' | 'archived';
255
- type Role = 'admin' | 'member';
256
- type RoundingMethod = 'up' | 'down' | 'nearest';
257
- type RoundingType = 'pattern' | 'multiple';
258
- type ScheduleExceptionStatus = 'Open' | 'Closed';
259
- type SortDirection = 'ascending' | 'descending';
260
- type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
261
- type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
262
- type UserStatus = 'pending' | 'active' | 'inactive';
263
- type ValueAddedService = 'Hazardous Material';
264
- type Visibility = 'public' | 'private';
229
+ declare namespace io.flow.error.v0.enums {
230
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
265
231
  }
266
- declare namespace io.flow.common.v0.models {
267
- interface Address {
268
- readonly text?: string;
269
- readonly streets?: string[];
270
- readonly street_number?: string;
271
- readonly city?: string;
272
- readonly province?: string;
273
- readonly postal?: string;
274
- readonly country?: string;
275
- readonly latitude?: string;
276
- readonly longitude?: string;
232
+ declare namespace io.flow.error.v0.models {
233
+ interface GenericError {
234
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
235
+ readonly messages: string[];
277
236
  }
278
- interface BillingAddress {
279
- readonly name?: io.flow.common.v0.models.Name;
280
- readonly streets?: string[];
281
- readonly city?: string;
282
- readonly province?: string;
283
- readonly postal?: string;
284
- readonly country?: string;
285
- readonly company?: string;
237
+ }
238
+ declare namespace io.flow.price.v0.enums {
239
+ type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
240
+ type LevyStrategy = 'minimum' | 'average' | 'maximum';
241
+ type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
242
+ type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
243
+ type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
244
+ type PricingLevySetting = 'included' | 'displayed' | 'ignored';
245
+ }
246
+ declare namespace io.flow.price.v0.models {
247
+ interface CurrencyFormat {
248
+ readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
249
+ readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
286
250
  }
287
- interface CatalogItemReference {
288
- readonly id: string;
289
- readonly number: string;
251
+ interface DeminimisPerItem {
252
+ readonly discriminator: 'deminimis_per_item';
253
+ readonly currency: string;
254
+ readonly minimum?: number;
255
+ readonly maximum?: number;
290
256
  }
291
- interface CatalogItemSummary {
292
- readonly number: string;
293
- readonly name: string;
294
- readonly attributes: Record<string, string>;
257
+ interface DeminimisSimple {
258
+ readonly discriminator: 'deminimis_simple';
259
+ readonly value?: number;
260
+ readonly currency: string;
261
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
262
+ readonly minimum?: number;
295
263
  }
296
- interface ChannelReference {
297
- readonly id: string;
264
+ interface Duty {
265
+ readonly rate: number;
266
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
267
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
268
+ readonly name?: string;
298
269
  }
299
- interface CheckoutReference {
270
+ interface LocalPriceDetails {
271
+ readonly base: io.flow.price.v0.models.PriceDetails;
272
+ readonly local: io.flow.price.v0.models.PriceDetails;
273
+ readonly discount?: io.flow.price.v0.models.PriceDetail;
274
+ readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
275
+ }
276
+ interface PriceBook {
300
277
  readonly id: string;
278
+ readonly key: string;
279
+ readonly currency: string;
280
+ readonly name: string;
281
+ readonly includes: io.flow.common.v0.models.IncludedLevies;
282
+ readonly status: io.flow.common.v0.enums.PriceBookStatus;
301
283
  }
302
- interface Contact {
303
- readonly name: io.flow.common.v0.models.Name;
304
- readonly company?: string;
305
- readonly email?: string;
306
- readonly phone?: string;
284
+ interface PriceBookForm {
285
+ readonly currency: string;
286
+ readonly name: string;
287
+ readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
288
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
307
289
  }
308
- interface CustomerInvoice {
309
- readonly address?: io.flow.common.v0.models.BillingAddress;
290
+ interface PriceBookItem {
291
+ readonly id: string;
292
+ readonly key: string;
293
+ readonly price_book: io.flow.price.v0.models.PriceBookReference;
294
+ readonly price: io.flow.common.v0.models.Price;
295
+ readonly item_number: string;
296
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
297
+ readonly item_attributes?: Record<string, string>;
310
298
  }
311
- interface CustomerReference {
312
- readonly number: string;
299
+ interface PriceBookItemForm {
300
+ readonly price_book_key: string;
301
+ readonly item_number: string;
302
+ readonly amount: number;
303
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
304
+ readonly item_attributes?: Record<string, string>;
313
305
  }
314
- interface DatetimeRange {
315
- readonly from: string;
316
- readonly to: string;
306
+ interface PriceBookItemQueryForm {
307
+ readonly price_book_key: string;
308
+ readonly item_query: string;
309
+ readonly amount: number;
310
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
311
+ readonly item_attributes?: Record<string, string>;
317
312
  }
318
- interface Dimension {
319
- readonly depth?: io.flow.common.v0.models.Measurement;
320
- readonly diameter?: io.flow.common.v0.models.Measurement;
321
- readonly length?: io.flow.common.v0.models.Measurement;
322
- readonly weight?: io.flow.common.v0.models.Measurement;
323
- readonly width?: io.flow.common.v0.models.Measurement;
313
+ interface PriceBookItemSchedule {
314
+ readonly starts_at: string;
315
+ readonly ends_at?: string;
324
316
  }
325
- interface Dimensions {
326
- readonly product?: io.flow.common.v0.models.Dimension;
327
- readonly packaging?: io.flow.common.v0.models.Dimension;
317
+ interface PriceBookReference {
318
+ readonly id: string;
319
+ readonly key: string;
328
320
  }
329
- interface DiscountForm {
330
- readonly offer: io.flow.common.v0.unions.DiscountOffer;
331
- readonly target?: io.flow.common.v0.enums.DiscountTarget;
332
- readonly label?: string;
321
+ interface PriceCheck {
322
+ readonly display: io.flow.price.v0.models.LocalPriceDetails;
323
+ readonly final: io.flow.price.v0.models.LocalPriceDetails;
333
324
  }
334
- interface DiscountOfferFixed {
335
- readonly discriminator: 'discount_offer_fixed';
336
- readonly money: io.flow.common.v0.models.Money;
325
+ interface PriceDetail {
326
+ readonly key: io.flow.price.v0.enums.PriceDetailKey;
327
+ readonly components: io.flow.price.v0.models.PriceDetailComponent[];
328
+ readonly amount: number;
329
+ readonly label: string;
330
+ readonly name?: string;
331
+ readonly basis?: number;
337
332
  }
338
- interface DiscountOfferPercent {
339
- readonly discriminator: 'discount_offer_percent';
340
- readonly percent: number;
333
+ interface PriceDetailComponent {
334
+ readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
335
+ readonly amount: number;
336
+ readonly label: string;
337
+ readonly name?: string;
341
338
  }
342
- interface DiscountsForm {
343
- readonly discounts: io.flow.common.v0.models.DiscountForm[];
339
+ interface PriceDetails {
340
+ readonly currency: string;
341
+ readonly item_price: io.flow.price.v0.models.PriceDetail;
342
+ readonly margins: io.flow.price.v0.models.PriceDetail;
343
+ readonly vat: io.flow.price.v0.models.PriceDetail;
344
+ readonly duty: io.flow.price.v0.models.PriceDetail;
345
+ readonly rounding: io.flow.price.v0.models.PriceDetail;
346
+ readonly price: io.flow.common.v0.models.Price;
347
+ readonly total: io.flow.common.v0.models.Price;
348
+ readonly adjustment?: io.flow.price.v0.models.PriceDetail;
344
349
  }
345
- interface Duration {
346
- readonly unit: io.flow.common.v0.enums.UnitOfTime;
347
- readonly value: number;
350
+ interface PriceEquation {
351
+ readonly contracted_rate: number;
352
+ readonly rate: number;
353
+ readonly pricing: io.flow.price.v0.models.Pricing;
354
+ readonly base_price: number;
355
+ readonly discount: number;
356
+ readonly fixed_margin: number;
357
+ readonly percent_margin: number;
358
+ readonly insurance: number;
359
+ readonly freight: number;
360
+ readonly duty?: io.flow.price.v0.models.Duty;
361
+ readonly tax?: io.flow.price.v0.models.Tax;
362
+ readonly percent_sales_margin: number;
348
363
  }
349
- interface EntityIdentifier {
350
- readonly name: io.flow.common.v0.enums.EntityIdentifierType;
351
- readonly number: string;
352
- readonly issuing_country?: string;
364
+ interface Pricing {
365
+ readonly vat: io.flow.price.v0.enums.PricingLevySetting;
366
+ readonly duty: io.flow.price.v0.enums.PricingLevySetting;
367
+ readonly rounding?: io.flow.common.v0.models.Rounding;
353
368
  }
354
- interface Exception {
355
- readonly type: io.flow.common.v0.enums.ExceptionType;
356
- readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
369
+ interface Tax {
370
+ readonly name: string;
371
+ readonly rate: number;
372
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
373
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
357
374
  }
358
- interface ExperienceSummary {
375
+ }
376
+ declare namespace io.flow.price.v0.unions {
377
+ type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
378
+ }
379
+ declare namespace io.flow.channel.v0.enums {
380
+ type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
381
+ }
382
+ declare namespace io.flow.channel.v0.models {
383
+ interface Channel {
359
384
  readonly id: string;
360
- readonly key: string;
361
385
  readonly name: string;
362
- readonly country?: string;
363
- readonly currency?: string;
364
- readonly language?: string;
386
+ readonly environment: io.flow.common.v0.enums.Environment;
387
+ readonly organization_id_prefix?: string;
365
388
  }
366
- interface IncludedLevies {
367
- readonly key: io.flow.common.v0.enums.IncludedLevyKey;
368
- readonly label: string;
389
+ interface ChannelAuthorization {
390
+ readonly placeholder?: string;
369
391
  }
370
- interface InputForm {
371
- readonly values?: Record<string, string>;
392
+ interface ChannelAuthorizationForm {
393
+ readonly channel_id: string;
372
394
  }
373
- interface InputFormSpecification {
374
- readonly inputs?: io.flow.common.v0.models.InputSpecification[];
375
- readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
395
+ interface ChannelCurrency {
396
+ readonly id: string;
397
+ readonly currency: string;
398
+ readonly channel: io.flow.common.v0.models.ChannelReference;
399
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
376
400
  }
377
- interface InputSpecification {
378
- readonly type: io.flow.common.v0.enums.InputSpecificationType;
401
+ interface ChannelOrganization {
402
+ readonly id: string;
403
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
404
+ readonly key: string;
405
+ readonly channel: io.flow.common.v0.models.ChannelReference;
379
406
  readonly name: string;
380
- readonly display_text?: string;
381
- }
382
- interface InputSpecificationLimitationMax {
383
- readonly discriminator: 'input_specification_limitation_max';
384
- readonly max: number;
385
- }
386
- interface InputSpecificationLimitations {
387
- readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
388
- }
389
- interface ItemReference {
390
- readonly number: string;
391
- }
392
- interface LineItem {
393
- readonly number: string;
394
- readonly quantity: number;
395
- readonly price: io.flow.common.v0.models.Money;
396
- readonly attributes: Record<string, string>;
397
- readonly center?: string;
398
- readonly discount?: io.flow.common.v0.models.Money;
399
- }
400
- interface LineItemAttributesForm {
401
- readonly attributes: Record<string, string>;
402
- }
403
- interface LineItemForm {
404
- readonly number: string;
405
- readonly quantity: number;
406
- readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
407
- readonly price?: io.flow.common.v0.models.Money;
407
+ readonly slug?: string;
408
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
408
409
  readonly attributes?: Record<string, string>;
409
- readonly center?: string;
410
- readonly discount?: io.flow.common.v0.models.Money;
411
- readonly discounts?: io.flow.common.v0.models.DiscountsForm;
412
- }
413
- interface LineItemQuantityForm {
414
- readonly quantity: number;
415
- }
416
- interface LogoImageSetStatic {
417
- readonly discriminator: 'static';
418
- readonly small?: io.flow.common.v0.models.LogoImageStatic;
419
- readonly medium: io.flow.common.v0.models.LogoImageStatic;
420
- readonly large?: io.flow.common.v0.models.LogoImageStatic;
421
410
  }
422
- interface LogoImageStatic {
423
- readonly url: string;
424
- readonly width: number;
425
- readonly height: number;
411
+ interface ChannelOrganizationAuthorization {
412
+ readonly placeholder?: string;
426
413
  }
427
- interface LogoImageSvg {
428
- readonly discriminator: 'svg';
429
- readonly url: string;
414
+ interface ChannelOrganizationAuthorizationForm {
415
+ readonly channel_id: string;
416
+ readonly organization_id: string;
430
417
  }
431
- interface Margin {
432
- readonly type: io.flow.common.v0.enums.MarginType;
433
- readonly value: number;
418
+ interface ChannelOrganizationForm {
419
+ readonly key: string;
420
+ readonly name?: string;
421
+ readonly slug?: string;
422
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
423
+ readonly attributes?: Record<string, string>;
434
424
  }
435
- interface Measurement {
436
- readonly value: string;
437
- readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
425
+ interface ChannelOrganizationPutForm {
426
+ readonly name?: string;
427
+ readonly slug?: string;
428
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
429
+ readonly attributes?: Record<string, string>;
438
430
  }
439
- interface MerchantOfRecordEntity {
440
- readonly organization: io.flow.common.v0.models.OrganizationReference;
431
+ }
432
+ declare namespace io.flow.reference.v0.enums {
433
+ type PaymentMethodCapability = 'credit' | 'debit';
434
+ type PaymentMethodType = 'card' | 'online' | 'offline';
435
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
436
+ type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
437
+ }
438
+ declare namespace io.flow.reference.v0.models {
439
+ interface Carrier {
440
+ readonly id: string;
441
441
  readonly name: string;
442
- readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
443
- readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
444
- readonly streets: string[];
445
- readonly city: string;
446
- readonly province?: string;
447
- readonly postal?: string;
448
- readonly country: string;
449
- readonly phone?: string;
450
- readonly email?: string;
451
- }
452
- interface MerchantOfRecordEntityRegistration {
453
- readonly number: string;
454
- readonly country: string;
455
- }
456
- interface Money {
457
- readonly amount: number;
458
- readonly currency: string;
442
+ readonly tracking_url: string;
459
443
  }
460
- interface MoneyWithBase {
461
- readonly currency: string;
462
- readonly amount: number;
463
- readonly base: io.flow.common.v0.models.Money;
444
+ interface CarrierService {
445
+ readonly id: string;
446
+ readonly carrier: io.flow.reference.v0.models.Carrier;
447
+ readonly name: string;
464
448
  }
465
- interface MoneyWithOptionalBase {
466
- readonly currency: string;
467
- readonly amount: number;
468
- readonly base?: io.flow.common.v0.models.Money;
449
+ interface Country {
450
+ readonly name: string;
451
+ readonly iso_3166_2: string;
452
+ readonly iso_3166_3: string;
453
+ readonly languages: string[];
454
+ readonly measurement_system: string;
455
+ readonly default_currency?: string;
456
+ readonly default_language?: string;
457
+ readonly timezones: string[];
458
+ readonly default_delivered_duty?: string;
469
459
  }
470
- interface Name {
471
- readonly first?: string;
472
- readonly last?: string;
460
+ interface Currency {
461
+ readonly name: string;
462
+ readonly iso_4217_3: string;
463
+ readonly number_decimals: number;
464
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
465
+ readonly default_locale?: string;
473
466
  }
474
- interface OrderCustomer {
475
- readonly name: io.flow.common.v0.models.Name;
476
- readonly number?: string;
477
- readonly phone?: string;
478
- readonly email?: string;
479
- readonly address?: io.flow.common.v0.models.BillingAddress;
480
- readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
467
+ interface CurrencySymbols {
468
+ readonly primary: string;
469
+ readonly narrow?: string;
481
470
  }
482
- interface OrderCustomerForm {
483
- readonly name?: io.flow.common.v0.models.Name;
484
- readonly number?: string;
485
- readonly phone?: string;
486
- readonly email?: string;
487
- readonly address?: io.flow.common.v0.models.BillingAddress;
488
- readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
471
+ interface Language {
472
+ readonly name: string;
473
+ readonly iso_639_2: string;
489
474
  }
490
- interface Organization {
491
- readonly discriminator: 'organization';
475
+ interface Locale {
492
476
  readonly id: string;
493
477
  readonly name: string;
494
- readonly environment: io.flow.common.v0.enums.Environment;
495
- readonly parent?: io.flow.common.v0.models.OrganizationReference;
496
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
497
- readonly created_at?: string;
498
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
499
- readonly type?: io.flow.common.v0.enums.OrganizationType;
500
- }
501
- interface OrganizationDefaults {
502
478
  readonly country: string;
503
- readonly base_currency: string;
504
479
  readonly language: string;
505
- readonly locale: string;
506
- readonly timezone: string;
480
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
507
481
  }
508
- interface OrganizationReference {
509
- readonly discriminator: 'organization_reference';
510
- readonly id: string;
482
+ interface LocaleNumbers {
483
+ readonly decimal: string;
484
+ readonly group: string;
511
485
  }
512
- interface OrganizationSummary {
513
- readonly id: string;
486
+ interface LocalizedTranslation {
487
+ readonly locale: io.flow.reference.v0.models.Locale;
514
488
  readonly name: string;
515
- readonly environment: io.flow.common.v0.enums.Environment;
516
489
  }
517
- interface PartnerReference {
490
+ interface PaymentMethod {
518
491
  readonly id: string;
492
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
493
+ readonly name: string;
494
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
495
+ readonly regions: string[];
496
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
519
497
  }
520
- interface Price {
521
- readonly amount: number;
522
- readonly currency: string;
523
- readonly label: string;
524
- }
525
- interface PriceForm {
526
- readonly amount: number;
527
- readonly currency: string;
528
- }
529
- interface PriceSourceCatalog {
530
- readonly discriminator: 'catalog';
531
- readonly price: io.flow.common.v0.models.Money;
498
+ interface PaymentMethodImage {
499
+ readonly url: string;
500
+ readonly width: number;
501
+ readonly height: number;
532
502
  }
533
- interface PriceSourcePriceBook {
534
- readonly discriminator: 'price_book';
535
- readonly price: io.flow.common.v0.models.Money;
536
- readonly includes: io.flow.common.v0.models.IncludedLevies;
537
- readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
503
+ interface PaymentMethodImages {
504
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
505
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
506
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
538
507
  }
539
- interface PriceSourcePriceBookReference {
508
+ interface Province {
540
509
  readonly id: string;
541
- readonly key: string;
510
+ readonly iso_3166_2: string;
511
+ readonly name: string;
512
+ readonly country: string;
513
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
514
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
542
515
  }
543
- interface PriceSourceProvided {
544
- readonly discriminator: 'provided';
545
- readonly price: io.flow.common.v0.models.Money;
516
+ interface Region {
517
+ readonly id: string;
518
+ readonly name: string;
519
+ readonly countries: string[];
520
+ readonly currencies: string[];
521
+ readonly languages: string[];
522
+ readonly measurement_systems: string[];
523
+ readonly timezones: string[];
546
524
  }
547
- interface PriceWithBase {
548
- readonly currency: string;
549
- readonly amount: number;
550
- readonly label: string;
551
- readonly base?: io.flow.common.v0.models.Price;
552
- }
553
- interface RepeatDaily {
554
- readonly discriminator: 'repeat_daily';
555
- readonly interval: number;
556
- }
557
- interface RepeatHourly {
558
- readonly discriminator: 'repeat_hourly';
559
- readonly interval: number;
560
- }
561
- interface RepeatMonthly {
562
- readonly discriminator: 'repeat_monthly';
563
- readonly interval: number;
564
- readonly days: number[];
565
- }
566
- interface RepeatWeekly {
567
- readonly discriminator: 'repeat_weekly';
568
- readonly interval: number;
569
- readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
570
- }
571
- interface Rounding {
572
- readonly type: io.flow.common.v0.enums.RoundingType;
573
- readonly method: io.flow.common.v0.enums.RoundingMethod;
574
- readonly value: number;
575
- }
576
- interface Schedule {
577
- readonly calendar?: io.flow.common.v0.enums.Calendar;
578
- readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
579
- readonly exception: io.flow.common.v0.models.Exception[];
580
- readonly cutoff?: string;
581
- readonly min_lead_time?: number;
582
- readonly max_lead_time?: number;
583
- }
584
- interface SessionReference {
585
- readonly id: string;
586
- }
587
- interface User {
588
- readonly discriminator: 'user';
589
- readonly id: string;
590
- readonly email?: string;
591
- readonly name: io.flow.common.v0.models.Name;
592
- readonly status: io.flow.common.v0.enums.UserStatus;
593
- }
594
- interface UserReference {
595
- readonly discriminator: 'user_reference';
596
- readonly id: string;
597
- }
598
- interface Zone {
599
- readonly postals?: string[];
600
- readonly provinces?: string[];
601
- readonly country: string;
602
- }
603
- }
604
- declare namespace io.flow.common.v0.unions {
605
- type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
606
- type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
607
- type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
608
- type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
609
- type LogoImage = io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic;
610
- type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
611
- type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
612
- }
613
- declare namespace io.flow.error.v0.enums {
614
- type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
615
- }
616
- declare namespace io.flow.error.v0.models {
617
- interface GenericError {
618
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
619
- readonly messages: string[];
525
+ interface Timezone {
526
+ readonly name: string;
527
+ readonly description: string;
528
+ readonly offset: number;
620
529
  }
621
530
  }
622
- declare namespace io.flow.price.v0.enums {
623
- type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
624
- type LevyStrategy = 'minimum' | 'average' | 'maximum';
625
- type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
626
- type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
627
- type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
628
- type PricingLevySetting = 'included' | 'displayed' | 'ignored';
531
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
532
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
533
+ type ItemIdentifier = 'item_number' | 'sku';
629
534
  }
630
- declare namespace io.flow.price.v0.models {
631
- interface CurrencyFormat {
632
- readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
633
- readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
634
- }
635
- interface DeminimisPerItem {
636
- readonly discriminator: 'deminimis_per_item';
637
- readonly currency: string;
638
- readonly minimum?: number;
639
- readonly maximum?: number;
640
- }
641
- interface DeminimisSimple {
642
- readonly discriminator: 'deminimis_simple';
643
- readonly value?: number;
644
- readonly currency: string;
645
- readonly components: io.flow.price.v0.enums.LevyComponent[];
646
- readonly minimum?: number;
647
- }
648
- interface Duty {
649
- readonly rate: number;
650
- readonly components: io.flow.price.v0.enums.LevyComponent[];
651
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
652
- readonly name?: string;
535
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
536
+ interface AccountOrdersExportType {
537
+ readonly discriminator: 'account_orders_export_type';
538
+ readonly statement_id?: string;
539
+ readonly transaction_summary_id?: string;
540
+ readonly transaction_created_from?: string;
541
+ readonly transaction_created_to?: string;
542
+ readonly transaction_created_on_or_after?: string;
543
+ readonly transaction_created_after?: string;
544
+ readonly transaction_created_on_or_before?: string;
545
+ readonly transaction_created_before?: string;
546
+ readonly transaction_posted_from?: string;
547
+ readonly transaction_posted_to?: string;
548
+ readonly transaction_posted_on_or_after?: string;
549
+ readonly transaction_posted_after?: string;
550
+ readonly transaction_posted_on_or_before?: string;
551
+ readonly transaction_posted_before?: string;
653
552
  }
654
- interface LocalPriceDetails {
655
- readonly base: io.flow.price.v0.models.PriceDetails;
656
- readonly local: io.flow.price.v0.models.PriceDetails;
657
- readonly discount?: io.flow.price.v0.models.PriceDetail;
658
- readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
553
+ interface AccountTransactionsExportType {
554
+ readonly discriminator: 'account_transactions_export_type';
555
+ readonly statement_id?: string;
556
+ readonly transaction_summary_id?: string;
557
+ readonly created_from?: string;
558
+ readonly created_to?: string;
559
+ readonly created_on_or_after?: string;
560
+ readonly created_after?: string;
561
+ readonly created_on_or_before?: string;
562
+ readonly created_before?: string;
563
+ readonly posted_from?: string;
564
+ readonly posted_to?: string;
565
+ readonly posted_on_or_after?: string;
566
+ readonly posted_after?: string;
567
+ readonly posted_on_or_before?: string;
568
+ readonly posted_before?: string;
659
569
  }
660
- interface PriceBook {
661
- readonly id: string;
662
- readonly key: string;
663
- readonly currency: string;
664
- readonly name: string;
665
- readonly includes: io.flow.common.v0.models.IncludedLevies;
666
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
570
+ interface AnalyticsExportType {
571
+ readonly discriminator: 'analytics_export_type';
572
+ readonly from?: string;
573
+ readonly to?: string;
574
+ readonly region?: string;
575
+ readonly interval?: io.flow.common.v0.enums.UnitOfTime;
667
576
  }
668
- interface PriceBookForm {
669
- readonly currency: string;
670
- readonly name: string;
671
- readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
672
- readonly status?: io.flow.common.v0.enums.PriceBookStatus;
577
+ interface CatalogItemExportType {
578
+ readonly discriminator: 'catalog_item_export_type';
579
+ readonly numbers?: string[];
580
+ readonly q?: string;
581
+ readonly sort?: string;
673
582
  }
674
- interface PriceBookItem {
675
- readonly id: string;
676
- readonly key: string;
677
- readonly price_book: io.flow.price.v0.models.PriceBookReference;
678
- readonly price: io.flow.common.v0.models.Price;
583
+ interface CsvPriceBookItemExportRowByItemNumber {
679
584
  readonly item_number: string;
680
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
681
- readonly item_attributes?: Record<string, string>;
682
- }
683
- interface PriceBookItemForm {
684
585
  readonly price_book_key: string;
685
- readonly item_number: string;
586
+ readonly price_book_item_key: string;
587
+ readonly item_name: string;
686
588
  readonly amount: number;
687
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
688
589
  readonly item_attributes?: Record<string, string>;
590
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
689
591
  }
690
- interface PriceBookItemQueryForm {
592
+ interface CsvPriceBookItemExportRowBySku {
593
+ readonly sku: string;
691
594
  readonly price_book_key: string;
692
- readonly item_query: string;
595
+ readonly price_book_item_key: string;
596
+ readonly item_name: string;
693
597
  readonly amount: number;
694
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
695
598
  readonly item_attributes?: Record<string, string>;
599
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
696
600
  }
697
- interface PriceBookItemSchedule {
698
- readonly starts_at: string;
699
- readonly ends_at?: string;
601
+ interface ExclusionRulesExportType {
602
+ readonly discriminator: 'exclusion_rules_export_type';
603
+ readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
604
+ readonly sort?: string;
700
605
  }
701
- interface PriceBookReference {
606
+ interface ExperienceExportType {
607
+ readonly discriminator: 'experience_export_type';
608
+ readonly organization_id: string;
609
+ readonly ids?: string[];
610
+ readonly keys?: string[];
611
+ }
612
+ interface Export {
702
613
  readonly id: string;
703
- readonly key: string;
614
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
615
+ readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
616
+ readonly organization_q: string;
617
+ readonly created_at: string;
618
+ readonly started_at?: string;
619
+ readonly completed_at?: string;
620
+ readonly url?: string;
621
+ readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
704
622
  }
705
- interface PriceCheck {
706
- readonly display: io.flow.price.v0.models.LocalPriceDetails;
707
- readonly final: io.flow.price.v0.models.LocalPriceDetails;
623
+ interface ExportDeliveryEmail {
624
+ readonly discriminator: 'export_delivery_email';
625
+ readonly email: string;
708
626
  }
709
- interface PriceDetail {
710
- readonly key: io.flow.price.v0.enums.PriceDetailKey;
711
- readonly components: io.flow.price.v0.models.PriceDetailComponent[];
712
- readonly amount: number;
713
- readonly label: string;
714
- readonly name?: string;
715
- readonly basis?: number;
627
+ interface ExportForm {
628
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
629
+ readonly emails?: string[];
630
+ readonly organization_q?: string;
716
631
  }
717
- interface PriceDetailComponent {
718
- readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
719
- readonly amount: number;
720
- readonly label: string;
721
- readonly name?: string;
632
+ interface ExportLocalizedItemPrices {
633
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
634
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
635
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
636
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
637
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
638
+ readonly rates?: io.flow.currency.v0.models.Rate[];
722
639
  }
723
- interface PriceDetails {
724
- readonly currency: string;
725
- readonly item_price: io.flow.price.v0.models.PriceDetail;
726
- readonly margins: io.flow.price.v0.models.PriceDetail;
727
- readonly vat: io.flow.price.v0.models.PriceDetail;
728
- readonly duty: io.flow.price.v0.models.PriceDetail;
729
- readonly rounding: io.flow.price.v0.models.PriceDetail;
730
- readonly price: io.flow.common.v0.models.Price;
731
- readonly total: io.flow.common.v0.models.Price;
732
- readonly adjustment?: io.flow.price.v0.models.PriceDetail;
640
+ interface ExportLocalizedItemPricesDetail {
641
+ readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
642
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
643
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
644
+ readonly shipping_price?: io.flow.common.v0.models.Price;
645
+ readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
733
646
  }
734
- interface PriceEquation {
735
- readonly contracted_rate: number;
736
- readonly rate: number;
737
- readonly pricing: io.flow.price.v0.models.Pricing;
738
- readonly base_price: number;
739
- readonly discount: number;
740
- readonly fixed_margin: number;
741
- readonly percent_margin: number;
742
- readonly insurance: number;
743
- readonly freight: number;
744
- readonly duty?: io.flow.price.v0.models.Duty;
745
- readonly tax?: io.flow.price.v0.models.Tax;
746
- readonly percent_sales_margin: number;
647
+ interface ExportVersion {
648
+ readonly id: string;
649
+ readonly timestamp: string;
650
+ readonly type: io.flow.common.v0.enums.ChangeType;
651
+ readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
747
652
  }
748
- interface Pricing {
749
- readonly vat: io.flow.price.v0.enums.PricingLevySetting;
750
- readonly duty: io.flow.price.v0.enums.PricingLevySetting;
751
- readonly rounding?: io.flow.common.v0.models.Rounding;
653
+ interface HarmonizationHs10ExportType {
654
+ readonly discriminator: 'harmonization_hs10_export_type';
655
+ readonly origin?: string;
656
+ readonly destination?: string;
657
+ readonly numbers?: string[];
658
+ readonly has_codes?: boolean;
659
+ readonly has_origins?: boolean;
660
+ readonly sort?: string;
752
661
  }
753
- interface Tax {
754
- readonly name: string;
755
- readonly rate: number;
756
- readonly components: io.flow.price.v0.enums.LevyComponent[];
757
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
662
+ interface HarmonizationHs6ExportType {
663
+ readonly discriminator: 'harmonization_hs6_export_type';
664
+ readonly numbers?: string[];
665
+ readonly has_codes?: boolean;
666
+ readonly sort?: string;
758
667
  }
759
- }
760
- declare namespace io.flow.price.v0.unions {
761
- type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
762
- }
763
- declare namespace io.flow.channel.v0.enums {
764
- type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
765
- }
766
- declare namespace io.flow.channel.v0.models {
767
- interface Channel {
768
- readonly id: string;
769
- readonly name: string;
770
- readonly environment: io.flow.common.v0.enums.Environment;
771
- readonly organization_id_prefix?: string;
668
+ interface HarmonizationOverviewExportType {
669
+ readonly discriminator: 'harmonization_overview_export_type';
670
+ readonly origin?: string;
671
+ readonly destination?: string;
672
+ readonly sort?: string;
772
673
  }
773
- interface ChannelAuthorization {
774
- readonly placeholder?: string;
674
+ interface HarmonizationTariffCodesExportType {
675
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
676
+ readonly sort?: string;
775
677
  }
776
- interface ChannelAuthorizationForm {
777
- readonly channel_id: string;
678
+ interface LandedCostItem {
679
+ readonly number: string;
680
+ readonly origin: string;
681
+ readonly destination: string;
778
682
  }
779
- interface ChannelCurrency {
780
- readonly id: string;
781
- readonly currency: string;
782
- readonly channel: io.flow.common.v0.models.ChannelReference;
783
- readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
683
+ interface LocalizedItemPricesExportType {
684
+ readonly discriminator: 'localized_item_prices_export_type';
685
+ readonly since?: string;
784
686
  }
785
- interface ChannelOrganization {
786
- readonly id: string;
687
+ interface MarketingFeedsExportType {
688
+ readonly discriminator: 'marketing_feeds_export_type';
787
689
  readonly organization: io.flow.common.v0.models.OrganizationReference;
788
- readonly key: string;
789
- readonly channel: io.flow.common.v0.models.ChannelReference;
790
- readonly name: string;
791
- readonly slug?: string;
792
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
793
- readonly attributes?: Record<string, string>;
794
- }
795
- interface ChannelOrganizationAuthorization {
796
- readonly placeholder?: string;
797
- }
798
- interface ChannelOrganizationAuthorizationForm {
799
- readonly channel_id: string;
800
- readonly organization_id: string;
690
+ readonly feed_ids: string[];
801
691
  }
802
- interface ChannelOrganizationForm {
803
- readonly key: string;
804
- readonly name?: string;
805
- readonly slug?: string;
806
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
807
- readonly attributes?: Record<string, string>;
692
+ interface OrderExportType {
693
+ readonly discriminator: 'order_export_type';
694
+ readonly numbers?: string[];
695
+ readonly min_hours_since_submitted_at?: number;
696
+ readonly submitted_on_or_before?: string;
697
+ readonly submitted_on_or_after?: string;
698
+ readonly status?: io.flow.experience.v0.enums.OrderStatus;
699
+ readonly has_tracking_label?: boolean;
700
+ readonly sort?: string;
808
701
  }
809
- interface ChannelOrganizationPutForm {
810
- readonly name?: string;
811
- readonly slug?: string;
812
- readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
813
- readonly attributes?: Record<string, string>;
702
+ interface PriceBookItemExportType {
703
+ readonly discriminator: 'price_book_item_export_type';
704
+ readonly price_book_key?: string;
705
+ readonly item_numbers?: string[];
706
+ readonly start_date?: string;
707
+ readonly end_date?: string;
708
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
814
709
  }
815
- }
816
- declare namespace io.flow.reference.v0.enums {
817
- type PaymentMethodCapability = 'credit' | 'debit';
818
- type PaymentMethodType = 'card' | 'online' | 'offline';
819
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
820
- type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
821
- }
822
- declare namespace io.flow.reference.v0.models {
823
- interface Carrier {
710
+ interface ScheduledExport {
824
711
  readonly id: string;
825
- readonly name: string;
826
- readonly tracking_url: string;
712
+ readonly user: io.flow.common.v0.models.UserReference;
713
+ readonly organization_q: string;
714
+ readonly hour: number;
715
+ readonly minute: number;
716
+ readonly timezone: string;
717
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
718
+ readonly last_sent_at?: string;
827
719
  }
828
- interface CarrierService {
829
- readonly id: string;
830
- readonly carrier: io.flow.reference.v0.models.Carrier;
831
- readonly name: string;
720
+ interface ScheduledExportForm {
721
+ readonly user_id: string;
722
+ readonly organization_q: string;
723
+ readonly hour: number;
724
+ readonly minute: number;
725
+ readonly timezone: string;
726
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
832
727
  }
833
- interface Country {
834
- readonly name: string;
835
- readonly iso_3166_2: string;
836
- readonly iso_3166_3: string;
837
- readonly languages: string[];
838
- readonly measurement_system: string;
839
- readonly default_currency?: string;
840
- readonly default_language?: string;
841
- readonly timezones: string[];
842
- readonly default_delivered_duty?: string;
728
+ interface SolidusProductExportType {
729
+ readonly discriminator: 'solidus_product_export_type';
730
+ readonly numbers?: string[];
731
+ readonly sort?: string;
843
732
  }
844
- interface Currency {
845
- readonly name: string;
846
- readonly iso_4217_3: string;
847
- readonly number_decimals: number;
848
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
849
- readonly default_locale?: string;
733
+ interface SolidusVariantExportType {
734
+ readonly discriminator: 'solidus_variant_export_type';
735
+ readonly numbers?: string[];
736
+ readonly sort?: string;
850
737
  }
851
- interface CurrencySymbols {
852
- readonly primary: string;
853
- readonly narrow?: string;
738
+ interface UnharmonizedItemExportType {
739
+ readonly discriminator: 'unharmonized_item_export_type';
740
+ readonly sort?: string;
854
741
  }
855
- interface Language {
856
- readonly name: string;
857
- readonly iso_639_2: string;
742
+ }
743
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
744
+ type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
745
+ type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
746
+ }
747
+ declare namespace io.flow.flexe.v0.enums {
748
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
749
+ type FlexeNotification = 'receipt' | 'shipment';
750
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
751
+ type FlexeStatus = 'in_transit' | 'completed';
752
+ }
753
+ declare namespace io.flow.flexe.v0.models {
754
+ interface BillOfLading {
755
+ readonly type: string;
756
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
858
757
  }
859
- interface Locale {
860
- readonly id: string;
758
+ interface BillTo {
861
759
  readonly name: string;
760
+ readonly address_1: string;
761
+ readonly locality: string;
762
+ readonly region: string;
763
+ readonly postal_code: string;
862
764
  readonly country: string;
863
- readonly language: string;
864
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
765
+ readonly address_2?: string;
766
+ readonly address_3?: string;
865
767
  }
866
- interface LocaleNumbers {
867
- readonly decimal: string;
868
- readonly group: string;
768
+ interface CartonPickDeliveryDetails {
769
+ readonly shipment_uuid?: string;
770
+ readonly carrier?: string;
771
+ readonly carrier_id?: string;
869
772
  }
870
- interface LocalizedTranslation {
871
- readonly locale: io.flow.reference.v0.models.Locale;
872
- readonly name: string;
773
+ interface ContainerDeliveryDetails {
774
+ readonly purchase_order: string;
775
+ readonly container_number?: string;
776
+ readonly seal_number?: string;
777
+ readonly vendor?: string;
778
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
779
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
780
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
781
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
873
782
  }
874
- interface PaymentMethod {
875
- readonly id: string;
876
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
877
- readonly name: string;
878
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
879
- readonly regions: string[];
880
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
783
+ interface DeliveryDetails {
784
+ readonly shipment_uuid?: string;
785
+ readonly trailer_number?: string;
786
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
787
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
881
788
  }
882
- interface PaymentMethodImage {
789
+ interface Error {
883
790
  readonly url: string;
884
- readonly width: number;
885
- readonly height: number;
791
+ readonly client_request_id: string;
792
+ readonly generated_at: string;
793
+ readonly error: string;
886
794
  }
887
- interface PaymentMethodImages {
888
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
889
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
890
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
795
+ interface FlexeAttachment {
796
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
797
+ readonly display_name: string;
798
+ readonly url: string;
891
799
  }
892
- interface Province {
893
- readonly id: string;
894
- readonly iso_3166_2: string;
895
- readonly name: string;
896
- readonly country: string;
897
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
898
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
899
- }
900
- interface Region {
901
- readonly id: string;
902
- readonly name: string;
903
- readonly countries: string[];
904
- readonly currencies: string[];
905
- readonly languages: string[];
906
- readonly measurement_systems: string[];
907
- readonly timezones: string[];
908
- }
909
- interface Timezone {
910
- readonly name: string;
911
- readonly description: string;
912
- readonly offset: number;
913
- }
914
- }
915
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
916
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
917
- type ItemIdentifier = 'item_number' | 'sku';
918
- }
919
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
920
- interface AccountOrdersExportType {
921
- readonly discriminator: 'account_orders_export_type';
922
- readonly statement_id?: string;
923
- readonly transaction_summary_id?: string;
924
- readonly transaction_created_from?: string;
925
- readonly transaction_created_to?: string;
926
- readonly transaction_created_on_or_after?: string;
927
- readonly transaction_created_after?: string;
928
- readonly transaction_created_on_or_before?: string;
929
- readonly transaction_created_before?: string;
930
- readonly transaction_posted_from?: string;
931
- readonly transaction_posted_to?: string;
932
- readonly transaction_posted_on_or_after?: string;
933
- readonly transaction_posted_after?: string;
934
- readonly transaction_posted_on_or_before?: string;
935
- readonly transaction_posted_before?: string;
936
- }
937
- interface AccountTransactionsExportType {
938
- readonly discriminator: 'account_transactions_export_type';
939
- readonly statement_id?: string;
940
- readonly transaction_summary_id?: string;
941
- readonly created_from?: string;
942
- readonly created_to?: string;
943
- readonly created_on_or_after?: string;
944
- readonly created_after?: string;
945
- readonly created_on_or_before?: string;
946
- readonly created_before?: string;
947
- readonly posted_from?: string;
948
- readonly posted_to?: string;
949
- readonly posted_on_or_after?: string;
950
- readonly posted_after?: string;
951
- readonly posted_on_or_before?: string;
952
- readonly posted_before?: string;
800
+ interface FlexeEcommerceFulfillment {
801
+ readonly url: string;
802
+ readonly client_request_id: string;
803
+ readonly generated_at: string;
804
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
805
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
953
806
  }
954
- interface AnalyticsExportType {
955
- readonly discriminator: 'analytics_export_type';
956
- readonly from?: string;
957
- readonly to?: string;
958
- readonly region?: string;
959
- readonly interval?: io.flow.common.v0.enums.UnitOfTime;
807
+ interface FlexeEcommerceFulfillmentData {
808
+ readonly import_id: string;
809
+ readonly succeeded_uuids: string[];
810
+ readonly failed_uuids: string[];
811
+ readonly errors: string[];
960
812
  }
961
- interface CatalogItemExportType {
962
- readonly discriminator: 'catalog_item_export_type';
963
- readonly numbers?: string[];
964
- readonly q?: string;
965
- readonly sort?: string;
813
+ interface FlexeEcommerceFulfillmentErrors {
814
+ readonly status: string;
815
+ readonly title: string;
816
+ readonly detail: string;
817
+ readonly source?: string;
966
818
  }
967
- interface CsvPriceBookItemExportRowByItemNumber {
968
- readonly item_number: string;
969
- readonly price_book_key: string;
970
- readonly price_book_item_key: string;
971
- readonly item_name: string;
972
- readonly amount: number;
973
- readonly item_attributes?: Record<string, string>;
974
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
819
+ interface FlexeEcommerceFulfillmentForm {
820
+ readonly reservation_id: number;
821
+ readonly client_request_id: string;
822
+ readonly request: io.flow.flexe.v0.models.Orders;
975
823
  }
976
- interface CsvPriceBookItemExportRowBySku {
824
+ interface FlexeInventoryData {
977
825
  readonly sku: string;
978
- readonly price_book_key: string;
979
- readonly price_book_item_key: string;
980
- readonly item_name: string;
981
- readonly amount: number;
982
- readonly item_attributes?: Record<string, string>;
983
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
826
+ readonly quantity: string;
827
+ readonly unit: string;
984
828
  }
985
- interface ExclusionRulesExportType {
986
- readonly discriminator: 'exclusion_rules_export_type';
987
- readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
988
- readonly sort?: string;
829
+ interface FlexeRetailAttachment {
830
+ readonly display_name: string;
831
+ readonly url: string;
989
832
  }
990
- interface ExperienceExportType {
991
- readonly discriminator: 'experience_export_type';
992
- readonly organization_id: string;
993
- readonly ids?: string[];
994
- readonly keys?: string[];
833
+ interface FlexeRetailFulfillment {
834
+ readonly url: string;
835
+ readonly client_request_id: string;
836
+ readonly generated_at: string;
837
+ readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
838
+ readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
995
839
  }
996
- interface Export {
840
+ interface FlexeRetailFulfillmentData {
997
841
  readonly id: string;
998
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
999
- readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
1000
- readonly organization_q: string;
1001
- readonly created_at: string;
1002
- readonly started_at?: string;
1003
- readonly completed_at?: string;
1004
- readonly url?: string;
1005
- readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
842
+ readonly purchase_order_uuid: string;
843
+ readonly status: string;
1006
844
  }
1007
- interface ExportDeliveryEmail {
1008
- readonly discriminator: 'export_delivery_email';
1009
- readonly email: string;
845
+ interface FlexeRetailFulfillmentErrors {
846
+ readonly type: string;
847
+ readonly message: string;
1010
848
  }
1011
- interface ExportForm {
1012
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
1013
- readonly emails?: string[];
1014
- readonly organization_q?: string;
849
+ interface FlexeRetailFulfillmentForm {
850
+ readonly reservation_id: number;
851
+ readonly client_request_id?: string;
852
+ readonly request: io.flow.flexe.v0.models.RetailOrder;
1015
853
  }
1016
- interface ExportLocalizedItemPrices {
1017
- readonly organization: io.flow.common.v0.models.OrganizationReference;
1018
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
1019
- readonly item: io.flow.common.v0.models.CatalogItemReference;
1020
- readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
1021
- readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
1022
- readonly rates?: io.flow.currency.v0.models.Rate[];
854
+ interface FulfillmentOrderDetails {
855
+ readonly shipment_uuid: string;
856
+ readonly carrier?: string;
857
+ readonly carrier_id?: string;
1023
858
  }
1024
- interface ExportLocalizedItemPricesDetail {
1025
- readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
1026
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1027
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1028
- readonly shipping_price?: io.flow.common.v0.models.Price;
1029
- readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
859
+ interface Gs1Us {
860
+ readonly number: string;
861
+ readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
862
+ readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1030
863
  }
1031
- interface ExportVersion {
1032
- readonly id: string;
1033
- readonly timestamp: string;
1034
- readonly type: io.flow.common.v0.enums.ChangeType;
1035
- readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
864
+ interface Gs1UsShipTo {
865
+ readonly cid_number?: string;
866
+ readonly location_number?: string;
867
+ readonly free_on_board?: boolean;
1036
868
  }
1037
- interface HarmonizationHs10ExportType {
1038
- readonly discriminator: 'harmonization_hs10_export_type';
1039
- readonly origin?: string;
1040
- readonly destination?: string;
1041
- readonly numbers?: string[];
1042
- readonly has_codes?: boolean;
1043
- readonly has_origins?: boolean;
1044
- readonly sort?: string;
869
+ interface Inventory {
870
+ readonly url: string;
871
+ readonly client_request_id: string;
872
+ readonly generated_at: string;
873
+ readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1045
874
  }
1046
- interface HarmonizationHs6ExportType {
1047
- readonly discriminator: 'harmonization_hs6_export_type';
1048
- readonly numbers?: string[];
1049
- readonly has_codes?: boolean;
1050
- readonly sort?: string;
875
+ interface InventoryCount {
876
+ readonly amount: number;
877
+ readonly unit: string;
1051
878
  }
1052
- interface HarmonizationOverviewExportType {
1053
- readonly discriminator: 'harmonization_overview_export_type';
1054
- readonly origin?: string;
1055
- readonly destination?: string;
1056
- readonly sort?: string;
879
+ interface InventoryData {
880
+ readonly pallet: io.flow.flexe.v0.models.InventoryCount;
881
+ readonly carton?: io.flow.flexe.v0.models.InventoryCount;
882
+ readonly each?: io.flow.flexe.v0.models.InventoryCount;
1057
883
  }
1058
- interface HarmonizationTariffCodesExportType {
1059
- readonly discriminator: 'harmonization_tariff_codes_export_type';
1060
- readonly sort?: string;
884
+ interface InventoryDetails {
885
+ readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1061
886
  }
1062
- interface LandedCostItem {
1063
- readonly number: string;
1064
- readonly origin: string;
1065
- readonly destination: string;
887
+ interface LadingQuantity {
888
+ readonly num_pallets: number;
1066
889
  }
1067
- interface LocalizedItemPricesExportType {
1068
- readonly discriminator: 'localized_item_prices_export_type';
1069
- readonly since?: string;
890
+ interface Order {
891
+ readonly shipment_uuid: string;
892
+ readonly purchase_order: string;
893
+ readonly carrier: string;
894
+ readonly service_type: string;
895
+ readonly carrier_assigned_id: string;
896
+ readonly name: string;
897
+ readonly address_1: string;
898
+ readonly address_2?: string;
899
+ readonly address_3?: string;
900
+ readonly city: string;
901
+ readonly state: string;
902
+ readonly postal_code: string;
903
+ readonly phone?: string;
904
+ readonly instructions?: string;
905
+ readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
906
+ readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1070
907
  }
1071
- interface MarketingFeedsExportType {
1072
- readonly discriminator: 'marketing_feeds_export_type';
1073
- readonly organization: io.flow.common.v0.models.OrganizationReference;
1074
- readonly feed_ids: string[];
1075
- }
1076
- interface OrderExportType {
1077
- readonly discriminator: 'order_export_type';
1078
- readonly numbers?: string[];
1079
- readonly min_hours_since_submitted_at?: number;
1080
- readonly submitted_on_or_before?: string;
1081
- readonly submitted_on_or_after?: string;
1082
- readonly status?: io.flow.experience.v0.enums.OrderStatus;
1083
- readonly has_tracking_label?: boolean;
1084
- readonly sort?: string;
1085
- }
1086
- interface PriceBookItemExportType {
1087
- readonly discriminator: 'price_book_item_export_type';
1088
- readonly price_book_key?: string;
1089
- readonly item_numbers?: string[];
1090
- readonly start_date?: string;
1091
- readonly end_date?: string;
1092
- readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
1093
- }
1094
- interface ScheduledExport {
1095
- readonly id: string;
1096
- readonly user: io.flow.common.v0.models.UserReference;
1097
- readonly organization_q: string;
1098
- readonly hour: number;
1099
- readonly minute: number;
1100
- readonly timezone: string;
1101
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
1102
- readonly last_sent_at?: string;
1103
- }
1104
- interface ScheduledExportForm {
1105
- readonly user_id: string;
1106
- readonly organization_q: string;
1107
- readonly hour: number;
1108
- readonly minute: number;
1109
- readonly timezone: string;
1110
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
1111
- }
1112
- interface SolidusProductExportType {
1113
- readonly discriminator: 'solidus_product_export_type';
1114
- readonly numbers?: string[];
1115
- readonly sort?: string;
1116
- }
1117
- interface SolidusVariantExportType {
1118
- readonly discriminator: 'solidus_variant_export_type';
1119
- readonly numbers?: string[];
1120
- readonly sort?: string;
1121
- }
1122
- interface UnharmonizedItemExportType {
1123
- readonly discriminator: 'unharmonized_item_export_type';
1124
- readonly sort?: string;
1125
- }
1126
- }
1127
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
1128
- type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
1129
- type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
1130
- }
1131
- declare namespace io.flow.flexe.v0.enums {
1132
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1133
- type FlexeNotification = 'receipt' | 'shipment';
1134
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1135
- type FlexeStatus = 'in_transit' | 'completed';
1136
- }
1137
- declare namespace io.flow.flexe.v0.models {
1138
- interface BillOfLading {
1139
- readonly type: string;
1140
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1141
- }
1142
- interface BillTo {
1143
- readonly name: string;
1144
- readonly address_1: string;
1145
- readonly locality: string;
1146
- readonly region: string;
1147
- readonly postal_code: string;
1148
- readonly country: string;
1149
- readonly address_2?: string;
1150
- readonly address_3?: string;
1151
- }
1152
- interface CartonPickDeliveryDetails {
1153
- readonly shipment_uuid?: string;
1154
- readonly carrier?: string;
1155
- readonly carrier_id?: string;
1156
- }
1157
- interface ContainerDeliveryDetails {
1158
- readonly purchase_order: string;
1159
- readonly container_number?: string;
1160
- readonly seal_number?: string;
1161
- readonly vendor?: string;
1162
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1163
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1164
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1165
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1166
- }
1167
- interface DeliveryDetails {
1168
- readonly shipment_uuid?: string;
1169
- readonly trailer_number?: string;
1170
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
1171
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1172
- }
1173
- interface Error {
1174
- readonly url: string;
1175
- readonly client_request_id: string;
1176
- readonly generated_at: string;
1177
- readonly error: string;
1178
- }
1179
- interface FlexeAttachment {
1180
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1181
- readonly display_name: string;
1182
- readonly url: string;
1183
- }
1184
- interface FlexeEcommerceFulfillment {
1185
- readonly url: string;
1186
- readonly client_request_id: string;
1187
- readonly generated_at: string;
1188
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1189
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1190
- }
1191
- interface FlexeEcommerceFulfillmentData {
1192
- readonly import_id: string;
1193
- readonly succeeded_uuids: string[];
1194
- readonly failed_uuids: string[];
1195
- readonly errors: string[];
1196
- }
1197
- interface FlexeEcommerceFulfillmentErrors {
1198
- readonly status: string;
1199
- readonly title: string;
1200
- readonly detail: string;
1201
- readonly source?: string;
1202
- }
1203
- interface FlexeEcommerceFulfillmentForm {
1204
- readonly reservation_id: number;
1205
- readonly client_request_id: string;
1206
- readonly request: io.flow.flexe.v0.models.Orders;
1207
- }
1208
- interface FlexeInventoryData {
1209
- readonly sku: string;
1210
- readonly quantity: string;
1211
- readonly unit: string;
1212
- }
1213
- interface FlexeRetailAttachment {
1214
- readonly display_name: string;
1215
- readonly url: string;
1216
- }
1217
- interface FlexeRetailFulfillment {
1218
- readonly url: string;
1219
- readonly client_request_id: string;
1220
- readonly generated_at: string;
1221
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1222
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1223
- }
1224
- interface FlexeRetailFulfillmentData {
1225
- readonly id: string;
1226
- readonly purchase_order_uuid: string;
1227
- readonly status: string;
1228
- }
1229
- interface FlexeRetailFulfillmentErrors {
1230
- readonly type: string;
1231
- readonly message: string;
1232
- }
1233
- interface FlexeRetailFulfillmentForm {
1234
- readonly reservation_id: number;
1235
- readonly client_request_id?: string;
1236
- readonly request: io.flow.flexe.v0.models.RetailOrder;
1237
- }
1238
- interface FulfillmentOrderDetails {
1239
- readonly shipment_uuid: string;
1240
- readonly carrier?: string;
1241
- readonly carrier_id?: string;
1242
- }
1243
- interface Gs1Us {
1244
- readonly number: string;
1245
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1246
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1247
- }
1248
- interface Gs1UsShipTo {
1249
- readonly cid_number?: string;
1250
- readonly location_number?: string;
1251
- readonly free_on_board?: boolean;
1252
- }
1253
- interface Inventory {
1254
- readonly url: string;
1255
- readonly client_request_id: string;
1256
- readonly generated_at: string;
1257
- readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1258
- }
1259
- interface InventoryCount {
1260
- readonly amount: number;
1261
- readonly unit: string;
1262
- }
1263
- interface InventoryData {
1264
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1265
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1266
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
1267
- }
1268
- interface InventoryDetails {
1269
- readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1270
- }
1271
- interface LadingQuantity {
1272
- readonly num_pallets: number;
1273
- }
1274
- interface Order {
1275
- readonly shipment_uuid: string;
1276
- readonly purchase_order: string;
1277
- readonly carrier: string;
1278
- readonly service_type: string;
1279
- readonly carrier_assigned_id: string;
1280
- readonly name: string;
1281
- readonly address_1: string;
1282
- readonly address_2?: string;
1283
- readonly address_3?: string;
1284
- readonly city: string;
1285
- readonly state: string;
1286
- readonly postal_code: string;
1287
- readonly phone?: string;
1288
- readonly instructions?: string;
1289
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1290
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1291
- }
1292
- interface Orders {
1293
- readonly orders: io.flow.flexe.v0.models.Order[];
908
+ interface Orders {
909
+ readonly orders: io.flow.flexe.v0.models.Order[];
1294
910
  }
1295
911
  interface Pallet {
1296
912
  readonly pallet_id: string;
@@ -1445,11 +1061,15 @@ declare namespace io.flow.payment.v0.models {
1445
1061
  readonly validation_url: string;
1446
1062
  readonly display_name?: string;
1447
1063
  }
1448
- interface ApplepaySdkAuthorizationResultActionDetails {
1449
- readonly discriminator: 'applepay_sdk_authorization_result_action_details';
1064
+ interface ApplepaySdkCreateResultActionDetails {
1065
+ readonly discriminator: 'applepay_sdk_create_result_action_details';
1450
1066
  readonly merchant_identifier: string;
1451
1067
  readonly payment_data_request: any;
1452
1068
  }
1069
+ interface ApplepaySdkValidateResultActionDetails {
1070
+ readonly discriminator: 'applepay_sdk_validate_result_action_details';
1071
+ readonly payment_session: any;
1072
+ }
1453
1073
  interface AuthorizationCode {
1454
1074
  readonly result_code: string;
1455
1075
  readonly code: string;
@@ -2178,7 +1798,7 @@ declare namespace io.flow.payment.v0.unions {
2178
1798
  type AuthorizationForm = io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm | io.flow.payment.v0.models.OnlinePaymentAuthorizationForm;
2179
1799
  type AuthorizationPayloadParameters = io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload;
2180
1800
  type AuthorizationResultAction = io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative;
2181
- type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.ApplepaySdkAuthorizationResultActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
1801
+ type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.payment.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
2182
1802
  type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
2183
1803
  type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
2184
1804
  type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
@@ -3044,6 +2664,7 @@ declare namespace io.flow.label.v0.models {
3044
2664
  }
3045
2665
  interface ShippingLabelDocument {
3046
2666
  readonly zpl?: string;
2667
+ readonly zpl_url?: string;
3047
2668
  readonly pdf?: string;
3048
2669
  readonly pdf_data?: string;
3049
2670
  readonly png?: string;
@@ -3273,7 +2894,7 @@ declare namespace io.flow.external.paypal.v1.models {
3273
2894
  readonly communication_details?: io.flow.external.paypal.v1.models.CommunicationDetails;
3274
2895
  readonly supporting_info?: io.flow.external.paypal.v1.models.SupportingInfo;
3275
2896
  readonly allowed_response_options?: io.flow.external.paypal.v1.models.AllowedResponseOptions;
3276
- readonly links: io.flow.external.paypal.v1.models.Link[];
2897
+ readonly links?: io.flow.external.paypal.v1.models.Link[];
3277
2898
  }
3278
2899
  interface DisputeExtension {
3279
2900
  readonly merchant_contacted?: boolean;
@@ -3350,7 +2971,7 @@ declare namespace io.flow.external.paypal.v1.models {
3350
2971
  readonly currency: string;
3351
2972
  }
3352
2973
  interface ItemInfo {
3353
- readonly item_id: string;
2974
+ readonly item_id?: string;
3354
2975
  readonly item_description?: string;
3355
2976
  readonly item_quantity?: string;
3356
2977
  readonly partner_transaction_id?: string;
@@ -3564,7 +3185,7 @@ declare namespace io.flow.external.paypal.v1.models {
3564
3185
  readonly insurance: string;
3565
3186
  }
3566
3187
  interface TransactionInfo {
3567
- readonly buyer_transaction_id: string;
3188
+ readonly buyer_transaction_id?: string;
3568
3189
  readonly seller_transaction_id?: string;
3569
3190
  readonly reference_id?: string;
3570
3191
  readonly create_time?: string;
@@ -5459,919 +5080,1433 @@ declare namespace io.flow.shopify.markets.v0.models {
5459
5080
  readonly product_exists?: boolean;
5460
5081
  readonly duties: io.flow.shopify.markets.v0.models.ShopifyOrderDuty[];
5461
5082
  }
5462
- interface ShopifyOrderMetafield {
5463
- readonly id: number;
5464
- readonly key: string;
5465
- readonly namespace: string;
5466
- readonly value: string;
5467
- readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
5468
- readonly description?: string;
5469
- readonly owner_id: number;
5470
- readonly owner_resource: string;
5083
+ interface ShopifyOrderMetafield {
5084
+ readonly id: number;
5085
+ readonly key: string;
5086
+ readonly namespace: string;
5087
+ readonly value: string;
5088
+ readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
5089
+ readonly description?: string;
5090
+ readonly owner_id: number;
5091
+ readonly owner_resource: string;
5092
+ }
5093
+ interface ShopifyOrderMetafieldForm {
5094
+ readonly key: string;
5095
+ readonly namespace: string;
5096
+ readonly value: string;
5097
+ readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
5098
+ readonly description?: string;
5099
+ }
5100
+ interface ShopifyOrderMoney {
5101
+ readonly amount: number;
5102
+ readonly currency_code: string;
5103
+ }
5104
+ interface ShopifyOrderMoneySet {
5105
+ readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
5106
+ readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
5107
+ }
5108
+ interface ShopifyOrderOriginLocation {
5109
+ readonly id: number;
5110
+ readonly country_code: string;
5111
+ readonly province_code: string;
5112
+ readonly name: string;
5113
+ readonly address1: string;
5114
+ readonly address2: string;
5115
+ readonly city: string;
5116
+ readonly zip: string;
5117
+ }
5118
+ interface ShopifyOrderPaymentDetail {
5119
+ readonly avs_result_code?: string;
5120
+ readonly credit_card_bin?: string;
5121
+ readonly credit_card_company: string;
5122
+ readonly credit_card_number: string;
5123
+ readonly cvv_result_code?: string;
5124
+ }
5125
+ interface ShopifyOrderProperty {
5126
+ readonly name: string;
5127
+ readonly value: any;
5128
+ }
5129
+ interface ShopifyOrderRefund {
5130
+ readonly id: number;
5131
+ readonly order_id: number;
5132
+ readonly created_at: string;
5133
+ readonly processed_at: string;
5134
+ readonly note?: string;
5135
+ readonly refund_line_items?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[];
5136
+ readonly restock?: boolean;
5137
+ readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
5138
+ readonly user_id?: number;
5139
+ }
5140
+ interface ShopifyOrderRefundLineItem {
5141
+ readonly id: number;
5142
+ readonly line_item: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem;
5143
+ readonly line_item_id: number;
5144
+ readonly quantity: number;
5145
+ readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
5146
+ readonly location_id?: number;
5147
+ readonly subtotal?: number;
5148
+ readonly total_tax?: number;
5149
+ }
5150
+ interface ShopifyOrderShippingLine {
5151
+ readonly code?: string;
5152
+ readonly price: string;
5153
+ readonly source: string;
5154
+ readonly title: string;
5155
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
5156
+ readonly carrier_identifier?: string;
5157
+ readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5158
+ readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5159
+ }
5160
+ interface ShopifyOrderTaxLine {
5161
+ readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5162
+ readonly rate: number;
5163
+ readonly title: string;
5164
+ }
5165
+ interface ShopifyOrderTransaction {
5166
+ readonly id: number;
5167
+ readonly order_id: number;
5168
+ readonly amount: number;
5169
+ readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
5170
+ readonly gateway: string;
5171
+ readonly currency: string;
5172
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
5173
+ readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
5174
+ readonly receipt?: any;
5175
+ readonly authorization?: string;
5176
+ readonly created_at: string;
5177
+ readonly device_id?: number;
5178
+ readonly gift_card_id?: number;
5179
+ readonly source_name: string;
5180
+ readonly error_code?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode;
5181
+ readonly test: boolean;
5182
+ readonly parent_id?: number;
5183
+ readonly user_id?: number;
5184
+ }
5185
+ interface ShopifyOrderUpdateShippingAddressForm {
5186
+ readonly order: io.flow.shopify.markets.v0.models.ShopifyUpdateShippingAddress;
5187
+ }
5188
+ interface ShopifyOrderWrapper {
5189
+ readonly order: io.flow.shopify.markets.v0.models.ShopifyOrder;
5190
+ }
5191
+ interface ShopifyOrdersWrapper {
5192
+ readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
5193
+ }
5194
+ interface ShopifyPaymentSchedules {
5195
+ readonly amount?: number;
5196
+ readonly currency?: string;
5197
+ readonly issued_at?: string;
5198
+ readonly due_at?: string;
5199
+ readonly completed_at?: string;
5200
+ readonly expected_payment_method?: string;
5201
+ }
5202
+ interface ShopifyPaymentTerms {
5203
+ readonly amount?: number;
5204
+ readonly currency?: string;
5205
+ readonly payment_terms_name?: string;
5206
+ readonly payment_terms_type?: number;
5207
+ readonly due_in_days?: number;
5208
+ readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
5209
+ }
5210
+ interface ShopifyRefund {
5211
+ readonly notify_x: boolean;
5212
+ readonly note?: string;
5213
+ readonly discrepancy_reason?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason;
5214
+ readonly shipping: io.flow.shopify.markets.v0.models.ShopifyRefundShipping;
5215
+ readonly refund_line_items: io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[];
5216
+ readonly transactions: io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[];
5217
+ readonly currency: string;
5218
+ }
5219
+ interface ShopifyRefundLineItem {
5220
+ readonly line_item_id: number;
5221
+ readonly quantity: number;
5222
+ readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
5223
+ readonly location_id?: number;
5224
+ }
5225
+ interface ShopifyRefundShipping {
5226
+ readonly full_refund?: boolean;
5227
+ readonly amount?: number;
5228
+ }
5229
+ interface ShopifyRefundTransaction {
5230
+ readonly parent_id: number;
5231
+ readonly amount: string;
5232
+ readonly currency: string;
5233
+ readonly kind: string;
5234
+ readonly gateway: string;
5235
+ }
5236
+ interface ShopifyUpdateShippingAddress {
5237
+ readonly id: number;
5238
+ readonly shipping_address: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
5239
+ }
5240
+ interface ShopifyWebhookCustomersDataRequest {
5241
+ readonly shop_id: number;
5242
+ readonly shop_domain: string;
5243
+ readonly orders_requested: number[];
5244
+ readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
5245
+ readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
5246
+ }
5247
+ interface ShopifyWebhookCustomersDataRequestId {
5248
+ readonly id: number;
5249
+ }
5250
+ interface ShopifyWebhookCustomersRedact {
5251
+ readonly shop_id: number;
5252
+ readonly shop_domain: string;
5253
+ readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
5254
+ readonly orders_to_redact?: number[];
5255
+ }
5256
+ interface ShopifyWebhookCustomersRedactCustomer {
5257
+ readonly id: number;
5258
+ readonly email?: string;
5259
+ readonly phone?: string;
5260
+ }
5261
+ interface ShopifyWebhookRequest {
5262
+ readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
5263
+ readonly address: string;
5264
+ readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
5265
+ }
5266
+ interface ShopifyWebhookRequestWrapper {
5267
+ readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookRequest;
5268
+ }
5269
+ interface ShopifyWebhookResponse {
5270
+ readonly id: number;
5271
+ readonly address: string;
5272
+ readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
5273
+ readonly created_at: string;
5274
+ readonly updated_at: string;
5275
+ readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
5276
+ readonly fields: any[];
5277
+ readonly metafield_namespaces: any[];
5278
+ readonly api_version: string;
5279
+ readonly private_metafield_namespaces: any[];
5280
+ }
5281
+ interface ShopifyWebhookResponseWrapper {
5282
+ readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
5283
+ }
5284
+ interface ShopifyWebhookShopRedact {
5285
+ readonly shop_id: number;
5286
+ readonly shop_domain: string;
5287
+ }
5288
+ interface ShopifyWebhooksResponseWrapper {
5289
+ readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
5290
+ }
5291
+ }
5292
+ declare namespace io.flow.pricing.indicator.internal.event.v0.enums {
5293
+ type PricingIndicatorStatus = 'complete' | 'in_progress';
5294
+ type ServiceName = 'catalog' | 'demandware' | 'metric';
5295
+ }
5296
+ declare namespace io.flow.pricing.indicator.internal.event.v0.models {
5297
+ interface Details {
5298
+ readonly catalog_item: io.flow.common.v0.models.CatalogItemSummary;
5299
+ readonly experience?: io.flow.common.v0.models.ExperienceSummary;
5300
+ readonly upserted_at: string;
5301
+ readonly time_elapsed_since_upserted: number;
5302
+ }
5303
+ interface PricingIndicator {
5304
+ readonly discriminator: 'pricing_indicator';
5305
+ readonly event_id: string;
5306
+ readonly timestamp: string;
5307
+ readonly organization: string;
5308
+ readonly published_from: io.flow.pricing.indicator.internal.event.v0.enums.ServiceName;
5309
+ readonly status: io.flow.pricing.indicator.internal.event.v0.enums.PricingIndicatorStatus;
5310
+ readonly event_identifier: string;
5311
+ readonly details: io.flow.pricing.indicator.internal.event.v0.models.Details;
5312
+ }
5313
+ }
5314
+ declare namespace io.flow.pricing.indicator.internal.event.v0.unions {
5315
+ type PricingIndicatorEvent = io.flow.pricing.indicator.internal.event.v0.models.PricingIndicator;
5316
+ }
5317
+ declare namespace io.flow.svb.v0.enums {
5318
+ type ClearingType = 'Credit' | 'Debit';
5319
+ type NotificationType = 'virtualcard.clearings' | 'virtualcard.created' | 'virtualcard.deleted' | 'virtualcard.realtime.auths';
5320
+ type TransactionType = 'Authorization' | 'Advice' | 'First Presentment' | 'Reversal' | 'Reversal Advice' | 'Unspecified' | 'Purchase Return' | 'Forced Post';
5321
+ }
5322
+ declare namespace io.flow.svb.v0.models {
5323
+ interface Authorization {
5324
+ readonly billing_amount: number;
5325
+ readonly billing_currency: string;
5326
+ readonly issuer_response: string;
5327
+ readonly mcc: string;
5328
+ readonly mcc_description: string;
5329
+ readonly merchant_amount: number;
5330
+ readonly merchant_currency: string;
5331
+ readonly merchant_id: string;
5332
+ readonly merchant_name: string;
5333
+ readonly transaction_date_time: string;
5334
+ readonly transaction_type: io.flow.svb.v0.enums.TransactionType;
5335
+ }
5336
+ interface Clearing {
5337
+ readonly billing_amount: number;
5338
+ readonly billing_currency: string;
5339
+ readonly clearing_type: io.flow.svb.v0.enums.ClearingType;
5340
+ readonly authorization_date?: string;
5341
+ readonly exchange_rate: string;
5342
+ readonly mcc: string;
5343
+ readonly mcc_description: string;
5344
+ readonly merchant_amount: number;
5345
+ readonly merchant_currency: string;
5346
+ readonly merchant_id: string;
5347
+ readonly merchant_name: string;
5348
+ readonly settlement_date: string;
5349
+ }
5350
+ interface ClearingNotification {
5351
+ readonly acquirer_ica: string;
5352
+ readonly approval_code?: string;
5353
+ readonly authorization_date: string;
5354
+ readonly billing_amount: number;
5355
+ readonly billing_currency: string;
5356
+ readonly clearing_type: io.flow.svb.v0.enums.ClearingType;
5357
+ readonly exchange_rate: string;
5358
+ readonly mcc: string;
5359
+ readonly mcc_description: string;
5360
+ readonly merchant_amount: number;
5361
+ readonly merchant_currency: string;
5362
+ readonly merchant_id: string;
5363
+ readonly merchant_name: string;
5364
+ readonly settlement_date: string;
5365
+ readonly vcn_id: number;
5366
+ }
5367
+ interface CreateBody {
5368
+ readonly data: io.flow.svb.v0.models.CreateVirtualCard;
5369
+ readonly show_card_number: boolean;
5370
+ }
5371
+ interface CreateVirtualCard {
5372
+ readonly emails?: string[];
5373
+ readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
5374
+ readonly metadata?: any;
5375
+ readonly per_transaction_max?: number;
5376
+ readonly per_transaction_min?: number;
5377
+ readonly rcn_id?: number;
5378
+ readonly rcn_alias?: string;
5379
+ readonly supplier_id?: number;
5380
+ readonly total_card_amount: number;
5381
+ readonly transactions_max: number;
5382
+ readonly valid_ending_on: string;
5383
+ readonly valid_starting_on?: string;
5384
+ }
5385
+ interface Email {
5386
+ readonly email: string;
5387
+ }
5388
+ interface EmailBody {
5389
+ readonly data: io.flow.svb.v0.models.Email;
5390
+ }
5391
+ interface EmailResponse {
5392
+ readonly id: string;
5393
+ }
5394
+ interface ListData {
5395
+ readonly id: string;
5396
+ readonly type: string;
5397
+ readonly url: string;
5398
+ }
5399
+ interface ListLinks {
5400
+ readonly first: string;
5401
+ readonly next?: string;
5402
+ }
5403
+ interface ListResponse {
5404
+ readonly data: io.flow.svb.v0.models.ListData[];
5405
+ readonly links: io.flow.svb.v0.models.ListLinks;
5406
+ }
5407
+ interface MastercardData {
5408
+ readonly id?: string;
5409
+ readonly organization?: string;
5410
+ readonly order_number?: string;
5411
+ readonly authorization_key?: string;
5412
+ }
5413
+ interface NotificationData {
5414
+ readonly date: string;
5415
+ readonly 'event-id': number;
5416
+ readonly payload: any;
5417
+ readonly type?: io.flow.svb.v0.enums.NotificationType;
5418
+ }
5419
+ interface SvbNotification {
5420
+ readonly data: io.flow.svb.v0.models.NotificationData;
5421
+ }
5422
+ interface UpdateBody {
5423
+ readonly data: io.flow.svb.v0.models.UpdateVirtualCard;
5424
+ }
5425
+ interface UpdateVirtualCard {
5426
+ readonly emails?: string[];
5427
+ readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
5428
+ readonly metadata?: any;
5429
+ readonly per_transaction_max?: number;
5430
+ readonly per_transaction_min?: number;
5431
+ readonly total_card_amount?: number;
5432
+ readonly transactions_max?: number;
5433
+ readonly valid_ending_on?: string;
5434
+ readonly valid_starting_on?: string;
5435
+ }
5436
+ interface VirtualCard {
5437
+ readonly authorizations: io.flow.svb.v0.models.Authorization[];
5438
+ readonly available_balance?: number;
5439
+ readonly card_number?: string;
5440
+ readonly clearings: io.flow.svb.v0.models.Clearing[];
5441
+ readonly currency: string;
5442
+ readonly cvc?: string;
5443
+ readonly emails?: string[];
5444
+ readonly expiry: string;
5445
+ readonly id: string;
5446
+ readonly last4: string;
5447
+ readonly mastercard_data: io.flow.svb.v0.models.MastercardData;
5448
+ readonly metadata?: any;
5449
+ readonly notified: boolean;
5450
+ readonly per_transaction_max: number;
5451
+ readonly per_transaction_min: number;
5452
+ readonly rcn_alias: string;
5453
+ readonly rcn_id: number;
5454
+ readonly status: string;
5455
+ readonly supplier_id: number;
5456
+ readonly total_card_amount: number;
5457
+ readonly transactions_max: number;
5458
+ readonly valid_ending_on: string;
5459
+ readonly valid_starting_on: string;
5460
+ }
5461
+ interface VirtualCardResponse {
5462
+ readonly data: io.flow.svb.v0.models.VirtualCard;
5463
+ }
5464
+ }
5465
+ declare namespace io.flow.payment.gateway.v0.enums {
5466
+ type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
5467
+ type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
5468
+ type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
5469
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
5470
+ type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
5471
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
5472
+ type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
5473
+ type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
5474
+ type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
5475
+ }
5476
+ declare namespace io.flow.payment.gateway.v0.models {
5477
+ interface ActionDisplayInlineWindow {
5478
+ readonly type: 'display_inline_window';
5479
+ readonly expires_at?: string;
5480
+ readonly method: string;
5481
+ readonly url: string;
5482
+ readonly data?: any;
5483
+ readonly window_size?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize;
5484
+ }
5485
+ interface ActionExecuteScript {
5486
+ readonly type: 'execute_script';
5487
+ readonly expires_at?: string;
5488
+ readonly script: string;
5489
+ }
5490
+ interface ActionRedirect {
5491
+ readonly type: 'redirect';
5492
+ readonly expires_at?: string;
5493
+ readonly method: string;
5494
+ readonly url: string;
5495
+ readonly data?: any;
5496
+ }
5497
+ interface ActionSelectPaymentOption {
5498
+ readonly type: 'select_payment_option';
5499
+ readonly expires_at?: string;
5500
+ readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[];
5501
+ readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType;
5502
+ }
5503
+ interface ActionUseSdkAdyenV3 {
5504
+ readonly type: 'use_sdk_adyen_v3';
5505
+ readonly expires_at?: string;
5506
+ readonly origin_key: string;
5507
+ readonly authentication_token: io.flow.payment.gateway.v0.unions.SdkAdyenV3AuthenticationToken;
5508
+ }
5509
+ interface ActionUseSdkAdyenV4 {
5510
+ readonly type: 'use_sdk_adyen_v4';
5511
+ readonly expires_at?: string;
5512
+ readonly client_key: string;
5513
+ readonly action: any;
5514
+ }
5515
+ interface ActionUseSdkApplepayJsCompleteValidation {
5516
+ readonly type: 'use_sdk_applepay_js_complete_validation';
5517
+ readonly expires_at?: string;
5518
+ readonly payment_session: any;
5519
+ }
5520
+ interface ActionUseSdkApplepayJsCreateSession {
5521
+ readonly type: 'use_sdk_applepay_js_create_session';
5522
+ readonly expires_at?: string;
5523
+ readonly merchant_identifier: string;
5524
+ readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
5525
+ }
5526
+ interface ActionUseSdkGooglepay {
5527
+ readonly type: 'use_sdk_googlepay';
5528
+ readonly expires_at?: string;
5529
+ readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest;
5530
+ }
5531
+ interface ActionUseSdkKlarnaV1 {
5532
+ readonly type: 'use_sdk_klarna_v1';
5533
+ readonly expires_at?: string;
5534
+ readonly client_token: string;
5535
+ readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
5536
+ }
5537
+ interface ActionUseSdkPaypal {
5538
+ readonly type: 'use_sdk_paypal';
5539
+ readonly expires_at?: string;
5540
+ readonly payment_id: string;
5541
+ }
5542
+ interface ActionUseSdkStripeV3 {
5543
+ readonly type: 'use_sdk_stripe_v3';
5544
+ readonly expires_at?: string;
5545
+ readonly client_secret: string;
5546
+ readonly publishable_key: string;
5547
+ }
5548
+ interface ActionWait {
5549
+ readonly type: 'wait';
5550
+ readonly expires_at?: string;
5551
+ }
5552
+ interface AdyenV3ChallengeToken {
5553
+ readonly type: 'token';
5554
+ readonly challenge_token: string;
5471
5555
  }
5472
- interface ShopifyOrderMetafieldForm {
5473
- readonly key: string;
5474
- readonly namespace: string;
5475
- readonly value: string;
5476
- readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
5477
- readonly description?: string;
5556
+ interface AdyenV3FingerprintToken {
5557
+ readonly type: 'fingerprint';
5558
+ readonly fingerprint_token: string;
5478
5559
  }
5479
- interface ShopifyOrderMoney {
5480
- readonly amount: number;
5481
- readonly currency_code: string;
5560
+ interface AuthorizationActionResultAdyenV3 {
5561
+ readonly type: 'adyen_v3';
5562
+ readonly result: any;
5482
5563
  }
5483
- interface ShopifyOrderMoneySet {
5484
- readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
5485
- readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
5564
+ interface AuthorizationActionResultAdyenV4 {
5565
+ readonly type: 'adyen_v4';
5566
+ readonly result: any;
5486
5567
  }
5487
- interface ShopifyOrderOriginLocation {
5488
- readonly id: number;
5489
- readonly country_code: string;
5490
- readonly province_code: string;
5491
- readonly name: string;
5492
- readonly address1: string;
5493
- readonly address2: string;
5494
- readonly city: string;
5495
- readonly zip: string;
5568
+ interface DeviceDetailsBrowser {
5569
+ readonly type: 'browser';
5570
+ readonly user_agent: string;
5571
+ readonly origin: string;
5572
+ readonly accept_language?: string;
5573
+ readonly ip?: string;
5574
+ readonly time_zone_offset?: number;
5575
+ readonly date_string?: string;
5576
+ readonly navigator_language?: string;
5577
+ readonly navigator_hardware_concurrency?: number;
5578
+ readonly cookie_created_at?: number;
5579
+ readonly session_duration?: number;
5580
+ readonly fingerprint?: string;
5496
5581
  }
5497
- interface ShopifyOrderPaymentDetail {
5498
- readonly avs_result_code?: string;
5499
- readonly credit_card_bin?: string;
5500
- readonly credit_card_company: string;
5501
- readonly credit_card_number: string;
5502
- readonly cvv_result_code?: string;
5582
+ interface DeviceFingerprintDetailsBrowser {
5583
+ readonly type: 'browser';
5584
+ readonly accept?: string;
5585
+ readonly java_enabled: boolean;
5586
+ readonly color_depth: number;
5587
+ readonly screen_height: number;
5588
+ readonly screen_width: number;
5589
+ readonly time_zone_offset: number;
5503
5590
  }
5504
- interface ShopifyOrderProperty {
5591
+ interface KlarnaPaymentCategory {
5592
+ readonly id: string;
5505
5593
  readonly name: string;
5506
- readonly value: any;
5594
+ readonly standard_asset_url?: string;
5595
+ readonly descriptive_asset_url?: string;
5507
5596
  }
5508
- interface ShopifyOrderRefund {
5509
- readonly id: number;
5510
- readonly order_id: number;
5511
- readonly created_at: string;
5512
- readonly processed_at: string;
5513
- readonly note?: string;
5514
- readonly refund_line_items?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[];
5515
- readonly restock?: boolean;
5516
- readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
5517
- readonly user_id?: number;
5597
+ interface OrderDetails {
5598
+ readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
5599
+ readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
5600
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
5601
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
5602
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
5603
+ readonly reference?: string;
5518
5604
  }
5519
- interface ShopifyOrderRefundLineItem {
5520
- readonly id: number;
5521
- readonly line_item: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem;
5522
- readonly line_item_id: number;
5523
- readonly quantity: number;
5524
- readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
5525
- readonly location_id?: number;
5526
- readonly subtotal?: number;
5527
- readonly total_tax?: number;
5605
+ interface OrderInformationDetails {
5606
+ readonly type: 'details';
5607
+ readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
5608
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
5609
+ readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
5528
5610
  }
5529
- interface ShopifyOrderShippingLine {
5530
- readonly code?: string;
5531
- readonly price: string;
5532
- readonly source: string;
5533
- readonly title: string;
5534
- readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
5535
- readonly carrier_identifier?: string;
5536
- readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5537
- readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5611
+ interface OrderInformationFlow {
5612
+ readonly type: 'flow';
5613
+ readonly order_number: string;
5614
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
5538
5615
  }
5539
- interface ShopifyOrderTaxLine {
5540
- readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5541
- readonly rate: number;
5542
- readonly title: string;
5616
+ interface PaymentAddress {
5617
+ readonly streets: string[];
5618
+ readonly city: string;
5619
+ readonly province?: string;
5620
+ readonly postal?: string;
5621
+ readonly country: string;
5543
5622
  }
5544
- interface ShopifyOrderTransaction {
5545
- readonly id: number;
5546
- readonly order_id: number;
5623
+ interface PaymentAddressBilling {
5624
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
5625
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
5626
+ }
5627
+ interface PaymentAddressShipping {
5628
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
5629
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
5630
+ }
5631
+ interface PaymentAuthorization {
5632
+ readonly id: string;
5633
+ readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
5634
+ readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
5635
+ readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
5636
+ readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
5637
+ readonly created_at: string;
5638
+ readonly updated_at: string;
5639
+ readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
5547
5640
  readonly amount: number;
5548
- readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
5549
- readonly gateway: string;
5550
5641
  readonly currency: string;
5551
- readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
5552
- readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
5553
- readonly receipt?: any;
5554
- readonly authorization?: string;
5555
- readonly created_at: string;
5556
- readonly device_id?: number;
5557
- readonly gift_card_id?: number;
5558
- readonly source_name: string;
5559
- readonly error_code?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode;
5560
- readonly test: boolean;
5561
- readonly parent_id?: number;
5562
- readonly user_id?: number;
5563
- }
5564
- interface ShopifyOrderUpdateShippingAddressForm {
5565
- readonly order: io.flow.shopify.markets.v0.models.ShopifyUpdateShippingAddress;
5566
5642
  }
5567
- interface ShopifyOrderWrapper {
5568
- readonly order: io.flow.shopify.markets.v0.models.ShopifyOrder;
5643
+ interface PaymentAuthorizationStatus {
5644
+ readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
5645
+ readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
5569
5646
  }
5570
- interface ShopifyOrdersWrapper {
5571
- readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
5647
+ interface PaymentCapture {
5648
+ readonly id: string;
5649
+ readonly amount: number;
5650
+ readonly currency: string;
5651
+ readonly created_at: string;
5652
+ readonly updated_at: string;
5653
+ readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
5572
5654
  }
5573
- interface ShopifyPaymentSchedules {
5655
+ interface PaymentCaptureForm {
5574
5656
  readonly amount?: number;
5575
5657
  readonly currency?: string;
5576
- readonly issued_at?: string;
5577
- readonly due_at?: string;
5578
- readonly completed_at?: string;
5579
- readonly expected_payment_method?: string;
5658
+ readonly attributes?: Record<string, string>;
5580
5659
  }
5581
- interface ShopifyPaymentTerms {
5582
- readonly amount?: number;
5583
- readonly currency?: string;
5584
- readonly payment_terms_name?: string;
5585
- readonly payment_terms_type?: number;
5586
- readonly due_in_days?: number;
5587
- readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
5660
+ interface PaymentCaptureOptionAutomaticImmediate {
5661
+ readonly type: 'automatic_immediate';
5662
+ readonly placeholder?: string;
5588
5663
  }
5589
- interface ShopifyRefund {
5590
- readonly notify_x: boolean;
5591
- readonly note?: string;
5592
- readonly discrepancy_reason?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason;
5593
- readonly shipping: io.flow.shopify.markets.v0.models.ShopifyRefundShipping;
5594
- readonly refund_line_items: io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[];
5595
- readonly transactions: io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[];
5596
- readonly currency: string;
5664
+ interface PaymentCaptureOptionManual {
5665
+ readonly type: 'manual';
5666
+ readonly placeholder?: string;
5597
5667
  }
5598
- interface ShopifyRefundLineItem {
5599
- readonly line_item_id: number;
5600
- readonly quantity: number;
5601
- readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
5602
- readonly location_id?: number;
5668
+ interface PaymentCaptureStatus {
5669
+ readonly status: io.flow.payment.v0.enums.CaptureStatus;
5670
+ readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
5603
5671
  }
5604
- interface ShopifyRefundShipping {
5605
- readonly full_refund?: boolean;
5606
- readonly amount?: number;
5672
+ interface PaymentContactBilling {
5673
+ readonly first_name?: string;
5674
+ readonly last_name: string;
5675
+ readonly company?: string;
5676
+ readonly email?: string;
5677
+ readonly phone?: string;
5607
5678
  }
5608
- interface ShopifyRefundTransaction {
5609
- readonly parent_id: number;
5610
- readonly amount: string;
5611
- readonly currency: string;
5612
- readonly kind: string;
5613
- readonly gateway: string;
5679
+ interface PaymentContactShipping {
5680
+ readonly first_name?: string;
5681
+ readonly last_name: string;
5682
+ readonly email: string;
5683
+ readonly phone?: string;
5684
+ }
5685
+ interface PaymentDiscount {
5686
+ readonly amount: number;
5687
+ readonly name?: string;
5688
+ readonly code?: string;
5689
+ }
5690
+ interface PaymentDuty {
5691
+ readonly amount: number;
5692
+ readonly name?: string;
5693
+ }
5694
+ interface PaymentFailure {
5695
+ readonly authorization_id?: string;
5696
+ readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
5697
+ readonly failure_message: string;
5698
+ }
5699
+ interface PaymentInformation {
5700
+ readonly amount_refundable?: number;
5701
+ readonly amount_refunded?: number;
5702
+ readonly refundable_before?: string;
5703
+ readonly amount_capturable?: number;
5704
+ readonly amount_captured?: number;
5705
+ readonly capturable_before?: string;
5706
+ readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
5707
+ }
5708
+ interface PaymentMethodBrand {
5709
+ readonly id: string;
5710
+ readonly name: string;
5711
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
5614
5712
  }
5615
- interface ShopifyUpdateShippingAddress {
5616
- readonly id: number;
5617
- readonly shipping_address: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
5713
+ interface PaymentMethodCardNumberCipher {
5714
+ readonly type: 'cipher';
5715
+ readonly cipher: string;
5618
5716
  }
5619
- interface ShopifyWebhookCustomersDataRequest {
5620
- readonly shop_id: number;
5621
- readonly shop_domain: string;
5622
- readonly orders_requested: number[];
5623
- readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
5624
- readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
5717
+ interface PaymentMethodCardNumberCleartext {
5718
+ readonly type: 'cleartext';
5719
+ readonly number: string;
5625
5720
  }
5626
- interface ShopifyWebhookCustomersDataRequestId {
5627
- readonly id: number;
5721
+ interface PaymentMethodCardPciDetails {
5722
+ readonly type: 'card_pci_details';
5723
+ readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
5724
+ readonly expiration_month: number;
5725
+ readonly expiration_year: number;
5726
+ readonly name: string;
5628
5727
  }
5629
- interface ShopifyWebhookCustomersRedact {
5630
- readonly shop_id: number;
5631
- readonly shop_domain: string;
5632
- readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
5633
- readonly orders_to_redact?: number[];
5728
+ interface PaymentMethodCardToken {
5729
+ readonly type: 'token';
5730
+ readonly token: string;
5634
5731
  }
5635
- interface ShopifyWebhookCustomersRedactCustomer {
5636
- readonly id: number;
5637
- readonly email?: string;
5638
- readonly phone?: string;
5732
+ interface PaymentMethodDataAuthorizeApplepay {
5733
+ readonly type: 'authorize_applepay';
5734
+ readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
5639
5735
  }
5640
- interface ShopifyWebhookRequest {
5641
- readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
5642
- readonly address: string;
5643
- readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
5736
+ interface PaymentMethodDataAuthorizeApplepayResultFailure {
5737
+ readonly type: 'failure';
5738
+ readonly message: string;
5644
5739
  }
5645
- interface ShopifyWebhookRequestWrapper {
5646
- readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookRequest;
5740
+ interface PaymentMethodDataAuthorizeApplepayResultSuccess {
5741
+ readonly type: 'success';
5742
+ readonly token: string;
5647
5743
  }
5648
- interface ShopifyWebhookResponse {
5649
- readonly id: number;
5650
- readonly address: string;
5651
- readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
5652
- readonly created_at: string;
5653
- readonly updated_at: string;
5654
- readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
5655
- readonly fields: any[];
5656
- readonly metafield_namespaces: any[];
5657
- readonly api_version: string;
5658
- readonly private_metafield_namespaces: any[];
5744
+ interface PaymentMethodDataAuthorizeCard {
5745
+ readonly type: 'authorize_card';
5746
+ readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
5747
+ readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
5748
+ readonly cvv?: string;
5749
+ readonly stored_details_card?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard;
5659
5750
  }
5660
- interface ShopifyWebhookResponseWrapper {
5661
- readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
5751
+ interface PaymentMethodDataAuthorizeGooglepay {
5752
+ readonly type: 'authorize_googlepay';
5753
+ readonly payment_data: any;
5662
5754
  }
5663
- interface ShopifyWebhookShopRedact {
5664
- readonly shop_id: number;
5665
- readonly shop_domain: string;
5755
+ interface PaymentMethodDataAuthorizeKlarna {
5756
+ readonly type: 'authorize_klarna';
5757
+ readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
5666
5758
  }
5667
- interface ShopifyWebhooksResponseWrapper {
5668
- readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
5759
+ interface PaymentMethodDataAuthorizeKlarnaResultFailure {
5760
+ readonly type: 'failure';
5761
+ readonly placeholder?: string;
5669
5762
  }
5670
- }
5671
- declare namespace io.flow.pricing.indicator.internal.event.v0.enums {
5672
- type PricingIndicatorStatus = 'complete' | 'in_progress';
5673
- type ServiceName = 'catalog' | 'demandware' | 'metric';
5674
- }
5675
- declare namespace io.flow.pricing.indicator.internal.event.v0.models {
5676
- interface Details {
5677
- readonly catalog_item: io.flow.common.v0.models.CatalogItemSummary;
5678
- readonly experience?: io.flow.common.v0.models.ExperienceSummary;
5679
- readonly upserted_at: string;
5680
- readonly time_elapsed_since_upserted: number;
5763
+ interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
5764
+ readonly type: 'success';
5765
+ readonly authorization_token: string;
5681
5766
  }
5682
- interface PricingIndicator {
5683
- readonly discriminator: 'pricing_indicator';
5684
- readonly event_id: string;
5685
- readonly timestamp: string;
5686
- readonly organization: string;
5687
- readonly published_from: io.flow.pricing.indicator.internal.event.v0.enums.ServiceName;
5688
- readonly status: io.flow.pricing.indicator.internal.event.v0.enums.PricingIndicatorStatus;
5689
- readonly event_identifier: string;
5690
- readonly details: io.flow.pricing.indicator.internal.event.v0.models.Details;
5767
+ interface PaymentMethodDataAuthorizePaypal {
5768
+ readonly type: 'authorize_paypal';
5769
+ readonly payment_id: string;
5770
+ readonly payer_id: string;
5691
5771
  }
5692
- }
5693
- declare namespace io.flow.pricing.indicator.internal.event.v0.unions {
5694
- type PricingIndicatorEvent = io.flow.pricing.indicator.internal.event.v0.models.PricingIndicator;
5695
- }
5696
- declare namespace io.flow.svb.v0.enums {
5697
- type ClearingType = 'Credit' | 'Debit';
5698
- type NotificationType = 'virtualcard.clearings' | 'virtualcard.created' | 'virtualcard.deleted' | 'virtualcard.realtime.auths';
5699
- type TransactionType = 'Authorization' | 'Advice' | 'First Presentment' | 'Reversal' | 'Reversal Advice' | 'Unspecified' | 'Purchase Return' | 'Forced Post';
5700
- }
5701
- declare namespace io.flow.svb.v0.models {
5702
- interface Authorization {
5703
- readonly billing_amount: number;
5704
- readonly billing_currency: string;
5705
- readonly issuer_response: string;
5706
- readonly mcc: string;
5707
- readonly mcc_description: string;
5708
- readonly merchant_amount: number;
5709
- readonly merchant_currency: string;
5710
- readonly merchant_id: string;
5711
- readonly merchant_name: string;
5712
- readonly transaction_date_time: string;
5713
- readonly transaction_type: io.flow.svb.v0.enums.TransactionType;
5772
+ interface PaymentMethodDataCompleteAuthorizationCard {
5773
+ readonly type: 'complete_authorization_card';
5774
+ readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
5714
5775
  }
5715
- interface Clearing {
5716
- readonly billing_amount: number;
5717
- readonly billing_currency: string;
5718
- readonly clearing_type: io.flow.svb.v0.enums.ClearingType;
5719
- readonly authorization_date?: string;
5720
- readonly exchange_rate: string;
5721
- readonly mcc: string;
5722
- readonly mcc_description: string;
5723
- readonly merchant_amount: number;
5724
- readonly merchant_currency: string;
5725
- readonly merchant_id: string;
5726
- readonly merchant_name: string;
5727
- readonly settlement_date: string;
5776
+ interface PaymentMethodDataInitAfterpay {
5777
+ readonly type: 'init_afterpay';
5778
+ readonly placeholder?: string;
5728
5779
  }
5729
- interface ClearingNotification {
5730
- readonly acquirer_ica: string;
5731
- readonly approval_code?: string;
5732
- readonly authorization_date: string;
5733
- readonly billing_amount: number;
5734
- readonly billing_currency: string;
5735
- readonly clearing_type: io.flow.svb.v0.enums.ClearingType;
5736
- readonly exchange_rate: string;
5737
- readonly mcc: string;
5738
- readonly mcc_description: string;
5739
- readonly merchant_amount: number;
5740
- readonly merchant_currency: string;
5741
- readonly merchant_id: string;
5742
- readonly merchant_name: string;
5743
- readonly settlement_date: string;
5744
- readonly vcn_id: number;
5780
+ interface PaymentMethodDataInitApplepay {
5781
+ readonly type: 'init_applepay';
5782
+ readonly placeholder?: string;
5745
5783
  }
5746
- interface CreateBody {
5747
- readonly data: io.flow.svb.v0.models.CreateVirtualCard;
5748
- readonly show_card_number: boolean;
5784
+ interface PaymentMethodDataInitBancontact {
5785
+ readonly type: 'init_bancontact';
5786
+ readonly placeholder?: string;
5749
5787
  }
5750
- interface CreateVirtualCard {
5751
- readonly emails?: string[];
5752
- readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
5753
- readonly metadata?: any;
5754
- readonly per_transaction_max?: number;
5755
- readonly per_transaction_min?: number;
5756
- readonly rcn_id?: number;
5757
- readonly rcn_alias?: string;
5758
- readonly supplier_id?: number;
5759
- readonly total_card_amount: number;
5760
- readonly transactions_max: number;
5761
- readonly valid_ending_on: string;
5762
- readonly valid_starting_on?: string;
5788
+ interface PaymentMethodDataInitGooglepay {
5789
+ readonly type: 'init_googlepay';
5790
+ readonly placeholder?: string;
5763
5791
  }
5764
- interface Email {
5765
- readonly email: string;
5792
+ interface PaymentMethodDataInitIdeal {
5793
+ readonly type: 'init_ideal';
5794
+ readonly issuer?: string;
5766
5795
  }
5767
- interface EmailBody {
5768
- readonly data: io.flow.svb.v0.models.Email;
5796
+ interface PaymentMethodDataInitKlarna {
5797
+ readonly type: 'init_klarna';
5798
+ readonly placeholder?: string;
5769
5799
  }
5770
- interface EmailResponse {
5771
- readonly id: string;
5800
+ interface PaymentMethodDataInitPaypal {
5801
+ readonly type: 'init_paypal';
5802
+ readonly placeholder?: string;
5772
5803
  }
5773
- interface ListData {
5774
- readonly id: string;
5775
- readonly type: string;
5776
- readonly url: string;
5804
+ interface PaymentMethodDataInitSofort {
5805
+ readonly type: 'init_sofort';
5806
+ readonly placeholder?: string;
5777
5807
  }
5778
- interface ListLinks {
5779
- readonly first: string;
5780
- readonly next?: string;
5808
+ interface PaymentMethodDataOptionLogoSvg {
5809
+ readonly type: 'svg';
5810
+ readonly url: string;
5781
5811
  }
5782
- interface ListResponse {
5783
- readonly data: io.flow.svb.v0.models.ListData[];
5784
- readonly links: io.flow.svb.v0.models.ListLinks;
5812
+ interface PaymentMethodDataPaymentOption {
5813
+ readonly id: string;
5814
+ readonly name: string;
5815
+ readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[];
5785
5816
  }
5786
- interface MastercardData {
5787
- readonly id?: string;
5788
- readonly organization?: string;
5789
- readonly order_number?: string;
5790
- readonly authorization_key?: string;
5817
+ interface PaymentMethodDataSelectedPaymentOption {
5818
+ readonly type: 'select_option';
5819
+ readonly option_id: string;
5791
5820
  }
5792
- interface NotificationData {
5793
- readonly date: string;
5794
- readonly 'event-id': number;
5795
- readonly payload: any;
5796
- readonly type?: io.flow.svb.v0.enums.NotificationType;
5821
+ interface PaymentMethodDataValidateApplepay {
5822
+ readonly type: 'validate_applepay';
5823
+ readonly validation_url: string;
5797
5824
  }
5798
- interface SvbNotification {
5799
- readonly data: io.flow.svb.v0.models.NotificationData;
5825
+ interface PaymentMethodStoredDetailsCardInitial {
5826
+ readonly type: 'initial';
5827
+ readonly reference?: string;
5800
5828
  }
5801
- interface UpdateBody {
5802
- readonly data: io.flow.svb.v0.models.UpdateVirtualCard;
5829
+ interface PaymentMethodStoredDetailsCardSubsequent {
5830
+ readonly type: 'subsequent';
5831
+ readonly reference?: string;
5832
+ readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
5803
5833
  }
5804
- interface UpdateVirtualCard {
5805
- readonly emails?: string[];
5806
- readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
5807
- readonly metadata?: any;
5808
- readonly per_transaction_max?: number;
5809
- readonly per_transaction_min?: number;
5810
- readonly total_card_amount?: number;
5811
- readonly transactions_max?: number;
5812
- readonly valid_ending_on?: string;
5813
- readonly valid_starting_on?: string;
5834
+ interface PaymentMethodSummaryAfterpay {
5835
+ readonly type: 'afterpay';
5836
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5814
5837
  }
5815
- interface VirtualCard {
5816
- readonly authorizations: io.flow.svb.v0.models.Authorization[];
5817
- readonly available_balance?: number;
5818
- readonly card_number?: string;
5819
- readonly clearings: io.flow.svb.v0.models.Clearing[];
5820
- readonly currency: string;
5821
- readonly cvc?: string;
5822
- readonly emails?: string[];
5823
- readonly expiry: string;
5824
- readonly id: string;
5825
- readonly last4: string;
5826
- readonly mastercard_data: io.flow.svb.v0.models.MastercardData;
5827
- readonly metadata?: any;
5828
- readonly notified: boolean;
5829
- readonly per_transaction_max: number;
5830
- readonly per_transaction_min: number;
5831
- readonly rcn_alias: string;
5832
- readonly rcn_id: number;
5833
- readonly status: string;
5834
- readonly supplier_id: number;
5835
- readonly total_card_amount: number;
5836
- readonly transactions_max: number;
5837
- readonly valid_ending_on: string;
5838
- readonly valid_starting_on: string;
5838
+ interface PaymentMethodSummaryApplepay {
5839
+ readonly type: 'applepay';
5840
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5839
5841
  }
5840
- interface VirtualCardResponse {
5841
- readonly data: io.flow.svb.v0.models.VirtualCard;
5842
+ interface PaymentMethodSummaryBancontact {
5843
+ readonly type: 'bancontact';
5844
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5842
5845
  }
5843
- }
5844
- declare namespace io.flow.payment.gateway.v0.enums {
5845
- type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
5846
- type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
5847
- type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
5848
- type PaymentMethodDataOptionType = 'ideal_issuer_option';
5849
- type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
5850
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
5851
- type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
5852
- type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
5853
- type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
5854
- }
5855
- declare namespace io.flow.payment.gateway.v0.models {
5856
- interface ActionDisplayInlineWindow {
5857
- readonly type: 'display_inline_window';
5858
- readonly expires_at?: string;
5859
- readonly method: string;
5860
- readonly url: string;
5861
- readonly data?: any;
5862
- readonly window_size?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize;
5846
+ interface PaymentMethodSummaryCard {
5847
+ readonly type: 'card';
5848
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5849
+ readonly last_four: string;
5850
+ readonly card_type: io.flow.payment.v0.enums.CardType;
5851
+ readonly id: string;
5852
+ readonly reference?: string;
5853
+ readonly transaction_details?: io.flow.payment.v0.models.TransactionDetailsCard;
5863
5854
  }
5864
- interface ActionExecuteScript {
5865
- readonly type: 'execute_script';
5866
- readonly expires_at?: string;
5867
- readonly script: string;
5855
+ interface PaymentMethodSummaryGooglepay {
5856
+ readonly type: 'googlepay';
5857
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5868
5858
  }
5869
- interface ActionRedirect {
5870
- readonly type: 'redirect';
5871
- readonly expires_at?: string;
5872
- readonly method: string;
5873
- readonly url: string;
5874
- readonly data?: any;
5859
+ interface PaymentMethodSummaryIdeal {
5860
+ readonly type: 'ideal';
5861
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5862
+ readonly issuer?: string;
5875
5863
  }
5876
- interface ActionSelectPaymentOption {
5877
- readonly type: 'select_payment_option';
5878
- readonly expires_at?: string;
5879
- readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[];
5880
- readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType;
5864
+ interface PaymentMethodSummaryKlarna {
5865
+ readonly type: 'klarna';
5866
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5881
5867
  }
5882
- interface ActionUseSdkAdyenV3 {
5883
- readonly type: 'use_sdk_adyen_v3';
5884
- readonly expires_at?: string;
5885
- readonly origin_key: string;
5886
- readonly authentication_token: io.flow.payment.gateway.v0.unions.SdkAdyenV3AuthenticationToken;
5868
+ interface PaymentMethodSummaryPaypal {
5869
+ readonly type: 'paypal';
5870
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5887
5871
  }
5888
- interface ActionUseSdkAdyenV4 {
5889
- readonly type: 'use_sdk_adyen_v4';
5890
- readonly expires_at?: string;
5891
- readonly client_key: string;
5892
- readonly action: any;
5872
+ interface PaymentMethodSummarySofort {
5873
+ readonly type: 'sofort';
5874
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5893
5875
  }
5894
- interface ActionUseSdkApplepayJsCompleteValidation {
5895
- readonly type: 'use_sdk_applepay_js_complete_validation';
5896
- readonly expires_at?: string;
5897
- readonly payment_session: any;
5876
+ interface PaymentOrderDetailsLineItem {
5877
+ readonly id: string;
5878
+ readonly description: string;
5879
+ readonly quantity: number;
5880
+ readonly amount: number;
5881
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
5882
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
5883
+ readonly product_url?: string;
5884
+ readonly image_url?: string;
5885
+ readonly category?: string;
5886
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
5898
5887
  }
5899
- interface ActionUseSdkApplepayJsCreateSession {
5900
- readonly type: 'use_sdk_applepay_js_create_session';
5901
- readonly expires_at?: string;
5902
- readonly merchant_identifier: string;
5903
- readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
5888
+ interface PaymentPaymentMethod {
5889
+ readonly id: string;
5890
+ readonly name: string;
5891
+ readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
5892
+ readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
5893
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
5894
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
5895
+ readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
5904
5896
  }
5905
- interface ActionUseSdkGooglepay {
5906
- readonly type: 'use_sdk_googlepay';
5907
- readonly expires_at?: string;
5908
- readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest;
5897
+ interface PaymentRefund {
5898
+ readonly id: string;
5899
+ readonly amount: number;
5900
+ readonly currency: string;
5901
+ readonly created_at: string;
5902
+ readonly updated_at: string;
5903
+ readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
5909
5904
  }
5910
- interface ActionUseSdkKlarnaV1 {
5911
- readonly type: 'use_sdk_klarna_v1';
5912
- readonly expires_at?: string;
5913
- readonly client_token: string;
5914
- readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
5905
+ interface PaymentRefundForm {
5906
+ readonly amount?: number;
5907
+ readonly currency?: string;
5915
5908
  }
5916
- interface ActionUseSdkPaypal {
5917
- readonly type: 'use_sdk_paypal';
5918
- readonly expires_at?: string;
5919
- readonly payment_id: string;
5909
+ interface PaymentRefundStatus {
5910
+ readonly status: io.flow.payment.v0.enums.RefundStatus;
5911
+ readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
5920
5912
  }
5921
- interface ActionUseSdkStripeV3 {
5922
- readonly type: 'use_sdk_stripe_v3';
5923
- readonly expires_at?: string;
5924
- readonly client_secret: string;
5925
- readonly publishable_key: string;
5913
+ interface PaymentRequest {
5914
+ readonly id: string;
5915
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
5916
+ readonly created_at: string;
5917
+ readonly updated_at: string;
5918
+ readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
5919
+ readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
5920
+ readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
5921
+ readonly amount: number;
5922
+ readonly currency: string;
5923
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
5924
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
5925
+ readonly locale?: string;
5926
+ readonly return_url: string;
5927
+ readonly attributes?: Record<string, string>;
5928
+ readonly reference?: string;
5929
+ readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
5930
+ readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
5931
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
5932
+ readonly review?: io.flow.payment.gateway.v0.models.PaymentRequestReview;
5926
5933
  }
5927
- interface ActionWait {
5928
- readonly type: 'wait';
5929
- readonly expires_at?: string;
5934
+ interface PaymentRequestForm {
5935
+ readonly amount: number;
5936
+ readonly currency: string;
5937
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
5938
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
5939
+ readonly locale?: string;
5940
+ readonly return_url: string;
5941
+ readonly attributes?: Record<string, string>;
5942
+ readonly reference?: string;
5943
+ readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
5944
+ readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
5945
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
5930
5946
  }
5931
- interface AdyenV3ChallengeToken {
5932
- readonly type: 'token';
5933
- readonly challenge_token: string;
5947
+ interface PaymentRequestReference {
5948
+ readonly id: string;
5949
+ readonly reference?: string;
5934
5950
  }
5935
- interface AdyenV3FingerprintToken {
5936
- readonly type: 'fingerprint';
5937
- readonly fingerprint_token: string;
5951
+ interface PaymentRequestReview {
5952
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewStatus;
5953
+ readonly checks: io.flow.payment.gateway.v0.models.PaymentRequestReviewCheck[];
5938
5954
  }
5939
- interface AuthorizationActionResultAdyenV3 {
5940
- readonly type: 'adyen_v3';
5941
- readonly result: any;
5955
+ interface PaymentRequestReviewCheck {
5956
+ readonly type: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckType;
5957
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckStatus;
5942
5958
  }
5943
- interface AuthorizationActionResultAdyenV4 {
5944
- readonly type: 'adyen_v4';
5945
- readonly result: any;
5959
+ interface PaymentReversal {
5960
+ readonly id: string;
5961
+ readonly amount: number;
5962
+ readonly currency: string;
5963
+ readonly created_at: string;
5964
+ readonly updated_at: string;
5965
+ readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
5946
5966
  }
5947
- interface DeviceDetailsBrowser {
5948
- readonly type: 'browser';
5949
- readonly user_agent: string;
5950
- readonly origin: string;
5951
- readonly accept_language: string;
5952
- readonly ip?: string;
5967
+ interface PaymentReversalForm {
5968
+ readonly amount?: number;
5969
+ readonly currency?: string;
5953
5970
  }
5954
- interface DeviceFingerprintDetailsBrowser {
5955
- readonly type: 'browser';
5956
- readonly accept?: string;
5957
- readonly java_enabled: boolean;
5958
- readonly color_depth: number;
5959
- readonly screen_height: number;
5960
- readonly screen_width: number;
5961
- readonly time_zone_offset: number;
5971
+ interface PaymentReversalStatus {
5972
+ readonly status: io.flow.payment.v0.enums.ReversalStatus;
5973
+ readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
5962
5974
  }
5963
- interface KlarnaPaymentCategory {
5964
- readonly id: string;
5965
- readonly name: string;
5966
- readonly standard_asset_url?: string;
5967
- readonly descriptive_asset_url?: string;
5975
+ interface PaymentTax {
5976
+ readonly amount: number;
5977
+ readonly name?: string;
5968
5978
  }
5969
- interface OrderDetails {
5970
- readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
5971
- readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
5972
- readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
5979
+ interface Shipping {
5980
+ readonly description: string;
5981
+ readonly amount: number;
5973
5982
  readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
5974
5983
  readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
5975
- readonly reference?: string;
5984
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
5976
5985
  }
5977
- interface OrderInformationDetails {
5978
- readonly type: 'details';
5979
- readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
5980
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
5981
- readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
5986
+ }
5987
+ declare namespace io.flow.payment.gateway.v0.unions {
5988
+ type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
5989
+ type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
5990
+ type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
5991
+ type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
5992
+ type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
5993
+ type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
5994
+ type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
5995
+ type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
5996
+ type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
5997
+ type PaymentMethodDataAuthorizeApplepayResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
5998
+ type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
5999
+ type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
6000
+ type PaymentMethodStoredDetailsCard = io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardSubsequent;
6001
+ type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
6002
+ type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6003
+ }
6004
+ declare namespace io.flow.partner.v0.enums {
6005
+ type LabelFormat = 'pdf' | 'zpl' | 'all';
6006
+ }
6007
+ declare namespace io.flow.partner.v0.models {
6008
+ interface BridgeHub {
6009
+ readonly hub_code: string;
6010
+ readonly address?: io.flow.fulfillment.v0.models.ShippingAddress;
5982
6011
  }
5983
- interface OrderInformationFlow {
5984
- readonly type: 'flow';
6012
+ interface BridgeLabelForm {
6013
+ readonly discriminator: 'bridge_label_form';
6014
+ readonly organization: string;
5985
6015
  readonly order_number: string;
5986
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
6016
+ readonly package: io.flow.partner.v0.models.BridgeLabelPackage;
6017
+ readonly hub?: io.flow.partner.v0.models.BridgeHub;
5987
6018
  }
5988
- interface PaymentAddress {
5989
- readonly streets: string[];
5990
- readonly city: string;
5991
- readonly province?: string;
5992
- readonly postal?: string;
5993
- readonly country: string;
6019
+ interface BridgeLabelPackage {
6020
+ readonly dimensions?: io.flow.common.v0.models.Dimension;
6021
+ readonly items: io.flow.common.v0.models.LineItemForm[];
6022
+ readonly reference_number: string;
5994
6023
  }
5995
- interface PaymentAddressBilling {
5996
- readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
5997
- readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
6024
+ interface DetailedLabelForm {
6025
+ readonly discriminator: 'detailed_label_form';
6026
+ readonly organization: string;
6027
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
6028
+ readonly order_number: string;
6029
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
6030
+ readonly package: io.flow.label.v0.models.ShippingLabelPackage;
6031
+ readonly service?: string;
6032
+ readonly references?: string[];
5998
6033
  }
5999
- interface PaymentAddressShipping {
6000
- readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
6001
- readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
6034
+ interface Label {
6035
+ readonly id: string;
6036
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6037
+ readonly order_number: string;
6038
+ readonly package: io.flow.label.v0.models.ShippingLabelPackage;
6039
+ readonly carrier_tracking_number: string;
6040
+ readonly carrier_tracking_number_url: string;
6041
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
6042
+ readonly flow_tracking_number: string;
6043
+ readonly flow_tracking_number_url: string;
6044
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
6045
+ readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
6046
+ readonly window: io.flow.common.v0.models.DatetimeRange;
6047
+ readonly zpl?: string;
6048
+ readonly pdf?: string;
6049
+ readonly png?: string;
6050
+ readonly commercial_invoice?: string;
6051
+ readonly references?: string[];
6052
+ readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
6053
+ readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
6054
+ readonly cost?: io.flow.common.v0.models.Price;
6055
+ readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
6002
6056
  }
6003
- interface PaymentAuthorization {
6057
+ interface PartnerBridgeManifest {
6004
6058
  readonly id: string;
6005
- readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
6006
- readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
6007
- readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
6008
- readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
6009
- readonly created_at: string;
6010
- readonly updated_at: string;
6011
- readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6012
- readonly amount: number;
6013
- readonly currency: string;
6059
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6060
+ readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
6061
+ readonly pdf: string;
6062
+ readonly data: string;
6014
6063
  }
6015
- interface PaymentAuthorizationStatus {
6016
- readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
6017
- readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
6064
+ interface PartnerBridgeManifestForm {
6065
+ readonly order_numbers: string[];
6018
6066
  }
6019
- interface PaymentCapture {
6020
- readonly id: string;
6021
- readonly amount: number;
6022
- readonly currency: string;
6023
- readonly created_at: string;
6024
- readonly updated_at: string;
6025
- readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
6067
+ interface PartnerFulfillment {
6068
+ readonly organization: string;
6069
+ readonly key: string;
6070
+ readonly number: string;
6071
+ readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
6072
+ readonly center?: io.flow.fulfillment.v0.models.CenterSummary[];
6026
6073
  }
6027
- interface PaymentCaptureForm {
6028
- readonly amount?: number;
6029
- readonly currency?: string;
6030
- readonly attributes?: Record<string, string>;
6074
+ interface PartnerFulfillmentCancellationForm {
6075
+ readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
6076
+ readonly reason: io.flow.order.management.v0.enums.CancelReason;
6077
+ readonly lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
6031
6078
  }
6032
- interface PaymentCaptureOptionAutomaticImmediate {
6033
- readonly type: 'automatic_immediate';
6034
- readonly placeholder?: string;
6079
+ interface PartnerFulfillmentCompleteCancellationForm {
6080
+ readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
6081
+ readonly reason: io.flow.order.management.v0.enums.CancelReason;
6035
6082
  }
6036
- interface PaymentCaptureOptionManual {
6037
- readonly type: 'manual';
6038
- readonly placeholder?: string;
6083
+ interface PartnerManifest {
6084
+ readonly id: string;
6085
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6086
+ readonly service?: io.flow.fulfillment.v0.models.ServiceSummary;
6087
+ readonly timestamp: string;
6088
+ readonly shipping_labels: io.flow.label.v0.models.ShippingLabelSummary[];
6089
+ readonly pdf?: string;
6039
6090
  }
6040
- interface PaymentCaptureStatus {
6041
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
6042
- readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6091
+ interface PartnerManifestForm {
6092
+ readonly tracking_numbers: string[];
6093
+ readonly service?: string;
6043
6094
  }
6044
- interface PaymentContactBilling {
6045
- readonly first_name?: string;
6046
- readonly last_name: string;
6047
- readonly company?: string;
6048
- readonly email?: string;
6049
- readonly phone?: string;
6095
+ interface PartnerOrderIdentifier {
6096
+ readonly id: string;
6097
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6098
+ readonly order: io.flow.partner.v0.models.PartnerOrderReference;
6099
+ readonly number: string;
6050
6100
  }
6051
- interface PaymentContactShipping {
6052
- readonly first_name?: string;
6053
- readonly last_name: string;
6054
- readonly email: string;
6055
- readonly phone?: string;
6101
+ interface PartnerOrderIdentifierForm {
6102
+ readonly number: string;
6103
+ readonly order_number: string;
6056
6104
  }
6057
- interface PaymentDiscount {
6058
- readonly amount: number;
6059
- readonly name?: string;
6060
- readonly code?: string;
6105
+ interface PartnerOrderIdentifierPutForm {
6106
+ readonly order_number: string;
6061
6107
  }
6062
- interface PaymentDuty {
6063
- readonly amount: number;
6064
- readonly name?: string;
6108
+ interface PartnerOrderReference {
6109
+ readonly id: string;
6110
+ readonly number: string;
6065
6111
  }
6066
- interface PaymentFailure {
6067
- readonly authorization_id?: string;
6068
- readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
6069
- readonly failure_message: string;
6112
+ interface PartnerOrganizationReference {
6113
+ readonly id: string;
6070
6114
  }
6071
- interface PaymentInformation {
6072
- readonly amount_refundable?: number;
6073
- readonly amount_refunded?: number;
6074
- readonly refundable_before?: string;
6075
- readonly amount_capturable?: number;
6076
- readonly amount_captured?: number;
6077
- readonly capturable_before?: string;
6078
- readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
6115
+ interface SummaryLabelForm {
6116
+ readonly discriminator: 'summary_label_form';
6117
+ readonly organization: string;
6118
+ readonly order_number: string;
6119
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
6120
+ readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
6121
+ readonly center_key?: string;
6079
6122
  }
6080
- interface PaymentMethodBrand {
6123
+ }
6124
+ declare namespace io.flow.partner.v0.unions {
6125
+ type LabelForm = io.flow.partner.v0.models.DetailedLabelForm | io.flow.partner.v0.models.SummaryLabelForm | io.flow.partner.v0.models.BridgeLabelForm;
6126
+ }
6127
+ declare namespace io.flow.common.v0.enums {
6128
+ type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
6129
+ type AvailabilityStatus = 'enabled' | 'disabled';
6130
+ type Calendar = 'weekdays' | 'everyday';
6131
+ type Capability = 'crossdock';
6132
+ type ChangeType = 'insert' | 'update' | 'delete';
6133
+ type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
6134
+ type CurrencySymbolFormat = 'narrow' | 'primary';
6135
+ type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
6136
+ type DeliveredDuty = 'paid' | 'unpaid';
6137
+ type DiscountTarget = 'item' | 'shipping';
6138
+ type EntityIdentifierType = 'ioss' | 'voec';
6139
+ type Environment = 'sandbox' | 'production';
6140
+ type ExceptionType = 'open' | 'closed';
6141
+ type GoodsSupply = 'export' | 'intra_community' | 'local';
6142
+ type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
6143
+ type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
6144
+ type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
6145
+ type InputSpecificationType = 'text' | 'number';
6146
+ type MarginType = 'fixed' | 'percent';
6147
+ type MeasurementSystem = 'imperial' | 'metric';
6148
+ type MerchantOfRecord = 'flow' | 'organization';
6149
+ type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
6150
+ type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
6151
+ type OrganizationType = 'standalone' | 'channel';
6152
+ type PriceBookStatus = 'draft' | 'published' | 'archived';
6153
+ type Role = 'admin' | 'member';
6154
+ type RoundingMethod = 'up' | 'down' | 'nearest';
6155
+ type RoundingType = 'pattern' | 'multiple';
6156
+ type ScheduleExceptionStatus = 'Open' | 'Closed';
6157
+ type SortDirection = 'ascending' | 'descending';
6158
+ type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
6159
+ type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
6160
+ type UserStatus = 'pending' | 'active' | 'inactive';
6161
+ type ValueAddedService = 'Hazardous Material';
6162
+ type Visibility = 'public' | 'private';
6163
+ }
6164
+ declare namespace io.flow.common.v0.models {
6165
+ interface Address {
6166
+ readonly text?: string;
6167
+ readonly streets?: string[];
6168
+ readonly street_number?: string;
6169
+ readonly city?: string;
6170
+ readonly province?: string;
6171
+ readonly postal?: string;
6172
+ readonly country?: string;
6173
+ readonly latitude?: string;
6174
+ readonly longitude?: string;
6175
+ }
6176
+ interface BillingAddress {
6177
+ readonly name?: io.flow.common.v0.models.Name;
6178
+ readonly streets?: string[];
6179
+ readonly city?: string;
6180
+ readonly province?: string;
6181
+ readonly postal?: string;
6182
+ readonly country?: string;
6183
+ readonly company?: string;
6184
+ }
6185
+ interface CatalogItemReference {
6081
6186
  readonly id: string;
6187
+ readonly number: string;
6188
+ }
6189
+ interface CatalogItemSummary {
6190
+ readonly number: string;
6082
6191
  readonly name: string;
6083
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6192
+ readonly attributes: Record<string, string>;
6193
+ }
6194
+ interface ChannelReference {
6195
+ readonly id: string;
6196
+ }
6197
+ interface CheckoutReference {
6198
+ readonly id: string;
6199
+ }
6200
+ interface Contact {
6201
+ readonly name: io.flow.common.v0.models.Name;
6202
+ readonly company?: string;
6203
+ readonly email?: string;
6204
+ readonly phone?: string;
6084
6205
  }
6085
- interface PaymentMethodCardNumberCipher {
6086
- readonly type: 'cipher';
6087
- readonly cipher: string;
6206
+ interface CustomerInvoice {
6207
+ readonly address?: io.flow.common.v0.models.BillingAddress;
6088
6208
  }
6089
- interface PaymentMethodCardNumberCleartext {
6090
- readonly type: 'cleartext';
6209
+ interface CustomerReference {
6091
6210
  readonly number: string;
6092
6211
  }
6093
- interface PaymentMethodCardPciDetails {
6094
- readonly type: 'card_pci_details';
6095
- readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
6096
- readonly expiration_month: number;
6097
- readonly expiration_year: number;
6098
- readonly name: string;
6212
+ interface DatetimeRange {
6213
+ readonly from: string;
6214
+ readonly to: string;
6099
6215
  }
6100
- interface PaymentMethodCardToken {
6101
- readonly type: 'token';
6102
- readonly token: string;
6216
+ interface Dimension {
6217
+ readonly depth?: io.flow.common.v0.models.Measurement;
6218
+ readonly diameter?: io.flow.common.v0.models.Measurement;
6219
+ readonly length?: io.flow.common.v0.models.Measurement;
6220
+ readonly weight?: io.flow.common.v0.models.Measurement;
6221
+ readonly width?: io.flow.common.v0.models.Measurement;
6103
6222
  }
6104
- interface PaymentMethodDataAuthorizeApplepay {
6105
- readonly type: 'authorize_applepay';
6106
- readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
6223
+ interface Dimensions {
6224
+ readonly product?: io.flow.common.v0.models.Dimension;
6225
+ readonly packaging?: io.flow.common.v0.models.Dimension;
6107
6226
  }
6108
- interface PaymentMethodDataAuthorizeApplepayResultFailure {
6109
- readonly type: 'failure';
6110
- readonly placeholder?: string;
6227
+ interface DiscountForm {
6228
+ readonly offer: io.flow.common.v0.unions.DiscountOffer;
6229
+ readonly target?: io.flow.common.v0.enums.DiscountTarget;
6230
+ readonly label?: string;
6111
6231
  }
6112
- interface PaymentMethodDataAuthorizeApplepayResultSuccess {
6113
- readonly type: 'success';
6114
- readonly token: string;
6232
+ interface DiscountOfferFixed {
6233
+ readonly discriminator: 'discount_offer_fixed';
6234
+ readonly money: io.flow.common.v0.models.Money;
6115
6235
  }
6116
- interface PaymentMethodDataAuthorizeCard {
6117
- readonly type: 'authorize_card';
6118
- readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6119
- readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6120
- readonly cvv?: string;
6121
- readonly stored_details_card?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard;
6236
+ interface DiscountOfferPercent {
6237
+ readonly discriminator: 'discount_offer_percent';
6238
+ readonly percent: number;
6122
6239
  }
6123
- interface PaymentMethodDataAuthorizeGooglepay {
6124
- readonly type: 'authorize_googlepay';
6125
- readonly payment_data: any;
6240
+ interface DiscountsForm {
6241
+ readonly discounts: io.flow.common.v0.models.DiscountForm[];
6126
6242
  }
6127
- interface PaymentMethodDataAuthorizeKlarna {
6128
- readonly type: 'authorize_klarna';
6129
- readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
6243
+ interface Duration {
6244
+ readonly unit: io.flow.common.v0.enums.UnitOfTime;
6245
+ readonly value: number;
6130
6246
  }
6131
- interface PaymentMethodDataAuthorizeKlarnaResultFailure {
6132
- readonly type: 'failure';
6133
- readonly placeholder?: string;
6247
+ interface EntityIdentifier {
6248
+ readonly name: io.flow.common.v0.enums.EntityIdentifierType;
6249
+ readonly number: string;
6250
+ readonly issuing_country?: string;
6134
6251
  }
6135
- interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
6136
- readonly type: 'success';
6137
- readonly authorization_token: string;
6252
+ interface Exception {
6253
+ readonly type: io.flow.common.v0.enums.ExceptionType;
6254
+ readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
6138
6255
  }
6139
- interface PaymentMethodDataAuthorizePaypal {
6140
- readonly type: 'authorize_paypal';
6141
- readonly payment_id: string;
6142
- readonly payer_id: string;
6256
+ interface ExperienceSummary {
6257
+ readonly id: string;
6258
+ readonly key: string;
6259
+ readonly name: string;
6260
+ readonly country?: string;
6261
+ readonly currency?: string;
6262
+ readonly language?: string;
6143
6263
  }
6144
- interface PaymentMethodDataCompleteAuthorizationCard {
6145
- readonly type: 'complete_authorization_card';
6146
- readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
6264
+ interface IncludedLevies {
6265
+ readonly key: io.flow.common.v0.enums.IncludedLevyKey;
6266
+ readonly label: string;
6147
6267
  }
6148
- interface PaymentMethodDataInitAfterpay {
6149
- readonly type: 'init_afterpay';
6150
- readonly placeholder?: string;
6268
+ interface InputForm {
6269
+ readonly values?: Record<string, string>;
6151
6270
  }
6152
- interface PaymentMethodDataInitApplepay {
6153
- readonly type: 'init_applepay';
6154
- readonly placeholder?: string;
6271
+ interface InputFormSpecification {
6272
+ readonly inputs?: io.flow.common.v0.models.InputSpecification[];
6273
+ readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
6155
6274
  }
6156
- interface PaymentMethodDataInitBancontact {
6157
- readonly type: 'init_bancontact';
6158
- readonly placeholder?: string;
6275
+ interface InputSpecification {
6276
+ readonly type: io.flow.common.v0.enums.InputSpecificationType;
6277
+ readonly name: string;
6278
+ readonly display_text?: string;
6159
6279
  }
6160
- interface PaymentMethodDataInitGooglepay {
6161
- readonly type: 'init_googlepay';
6162
- readonly placeholder?: string;
6280
+ interface InputSpecificationLimitationMax {
6281
+ readonly discriminator: 'input_specification_limitation_max';
6282
+ readonly max: number;
6163
6283
  }
6164
- interface PaymentMethodDataInitIdeal {
6165
- readonly type: 'init_ideal';
6166
- readonly issuer?: string;
6284
+ interface InputSpecificationLimitations {
6285
+ readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
6167
6286
  }
6168
- interface PaymentMethodDataInitKlarna {
6169
- readonly type: 'init_klarna';
6170
- readonly placeholder?: string;
6287
+ interface ItemReference {
6288
+ readonly number: string;
6171
6289
  }
6172
- interface PaymentMethodDataInitPaypal {
6173
- readonly type: 'init_paypal';
6174
- readonly placeholder?: string;
6290
+ interface LineItem {
6291
+ readonly number: string;
6292
+ readonly quantity: number;
6293
+ readonly price: io.flow.common.v0.models.Money;
6294
+ readonly attributes: Record<string, string>;
6295
+ readonly center?: string;
6296
+ readonly discount?: io.flow.common.v0.models.Money;
6175
6297
  }
6176
- interface PaymentMethodDataInitSofort {
6177
- readonly type: 'init_sofort';
6178
- readonly placeholder?: string;
6298
+ interface LineItemAttributesForm {
6299
+ readonly attributes: Record<string, string>;
6179
6300
  }
6180
- interface PaymentMethodDataOptionLogoSvg {
6181
- readonly type: 'svg';
6182
- readonly url: string;
6301
+ interface LineItemForm {
6302
+ readonly number: string;
6303
+ readonly quantity: number;
6304
+ readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
6305
+ readonly price?: io.flow.common.v0.models.Money;
6306
+ readonly attributes?: Record<string, string>;
6307
+ readonly center?: string;
6308
+ readonly discount?: io.flow.common.v0.models.Money;
6309
+ readonly discounts?: io.flow.common.v0.models.DiscountsForm;
6183
6310
  }
6184
- interface PaymentMethodDataPaymentOption {
6185
- readonly id: string;
6186
- readonly name: string;
6187
- readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[];
6311
+ interface LineItemQuantityForm {
6312
+ readonly quantity: number;
6188
6313
  }
6189
- interface PaymentMethodDataSelectedPaymentOption {
6190
- readonly type: 'select_option';
6191
- readonly option_id: string;
6314
+ interface LogoImageSetStatic {
6315
+ readonly discriminator: 'static';
6316
+ readonly small?: io.flow.common.v0.models.LogoImageStatic;
6317
+ readonly medium: io.flow.common.v0.models.LogoImageStatic;
6318
+ readonly large?: io.flow.common.v0.models.LogoImageStatic;
6192
6319
  }
6193
- interface PaymentMethodDataValidateApplepay {
6194
- readonly type: 'validate_applepay';
6195
- readonly validation_url: string;
6320
+ interface LogoImageStatic {
6321
+ readonly url: string;
6322
+ readonly width: number;
6323
+ readonly height: number;
6196
6324
  }
6197
- interface PaymentMethodStoredDetailsCardInitial {
6198
- readonly type: 'initial';
6199
- readonly reference?: string;
6325
+ interface LogoImageSvg {
6326
+ readonly discriminator: 'svg';
6327
+ readonly url: string;
6200
6328
  }
6201
- interface PaymentMethodStoredDetailsCardSubsequent {
6202
- readonly type: 'subsequent';
6203
- readonly reference?: string;
6204
- readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
6329
+ interface Margin {
6330
+ readonly type: io.flow.common.v0.enums.MarginType;
6331
+ readonly value: number;
6205
6332
  }
6206
- interface PaymentMethodSummaryAfterpay {
6207
- readonly type: 'afterpay';
6208
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6333
+ interface Measurement {
6334
+ readonly value: string;
6335
+ readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
6209
6336
  }
6210
- interface PaymentMethodSummaryApplepay {
6211
- readonly type: 'applepay';
6212
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6337
+ interface MerchantOfRecordEntity {
6338
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
6339
+ readonly name: string;
6340
+ readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
6341
+ readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
6342
+ readonly streets: string[];
6343
+ readonly city: string;
6344
+ readonly province?: string;
6345
+ readonly postal?: string;
6346
+ readonly country: string;
6347
+ readonly phone?: string;
6348
+ readonly email?: string;
6213
6349
  }
6214
- interface PaymentMethodSummaryBancontact {
6215
- readonly type: 'bancontact';
6216
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6350
+ interface MerchantOfRecordEntityRegistration {
6351
+ readonly number: string;
6352
+ readonly country: string;
6217
6353
  }
6218
- interface PaymentMethodSummaryCard {
6219
- readonly type: 'card';
6220
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6221
- readonly last_four: string;
6222
- readonly card_type: io.flow.payment.v0.enums.CardType;
6223
- readonly id: string;
6224
- readonly reference?: string;
6225
- readonly transaction_details?: io.flow.payment.v0.models.TransactionDetailsCard;
6354
+ interface Money {
6355
+ readonly amount: number;
6356
+ readonly currency: string;
6226
6357
  }
6227
- interface PaymentMethodSummaryGooglepay {
6228
- readonly type: 'googlepay';
6229
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6358
+ interface MoneyWithBase {
6359
+ readonly currency: string;
6360
+ readonly amount: number;
6361
+ readonly base: io.flow.common.v0.models.Money;
6230
6362
  }
6231
- interface PaymentMethodSummaryIdeal {
6232
- readonly type: 'ideal';
6233
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6234
- readonly issuer?: string;
6363
+ interface MoneyWithOptionalBase {
6364
+ readonly currency: string;
6365
+ readonly amount: number;
6366
+ readonly base?: io.flow.common.v0.models.Money;
6367
+ }
6368
+ interface Name {
6369
+ readonly first?: string;
6370
+ readonly last?: string;
6371
+ }
6372
+ interface OrderCustomer {
6373
+ readonly name: io.flow.common.v0.models.Name;
6374
+ readonly number?: string;
6375
+ readonly phone?: string;
6376
+ readonly email?: string;
6377
+ readonly address?: io.flow.common.v0.models.BillingAddress;
6378
+ readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
6235
6379
  }
6236
- interface PaymentMethodSummaryKlarna {
6237
- readonly type: 'klarna';
6238
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6380
+ interface OrderCustomerForm {
6381
+ readonly name?: io.flow.common.v0.models.Name;
6382
+ readonly number?: string;
6383
+ readonly phone?: string;
6384
+ readonly email?: string;
6385
+ readonly address?: io.flow.common.v0.models.BillingAddress;
6386
+ readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
6239
6387
  }
6240
- interface PaymentMethodSummaryPaypal {
6241
- readonly type: 'paypal';
6242
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6388
+ interface Organization {
6389
+ readonly discriminator: 'organization';
6390
+ readonly id: string;
6391
+ readonly name: string;
6392
+ readonly environment: io.flow.common.v0.enums.Environment;
6393
+ readonly parent?: io.flow.common.v0.models.OrganizationReference;
6394
+ readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
6395
+ readonly created_at?: string;
6396
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
6397
+ readonly type?: io.flow.common.v0.enums.OrganizationType;
6243
6398
  }
6244
- interface PaymentMethodSummarySofort {
6245
- readonly type: 'sofort';
6246
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6399
+ interface OrganizationDefaults {
6400
+ readonly country: string;
6401
+ readonly base_currency: string;
6402
+ readonly language: string;
6403
+ readonly locale: string;
6404
+ readonly timezone: string;
6247
6405
  }
6248
- interface PaymentOrderDetailsLineItem {
6406
+ interface OrganizationReference {
6407
+ readonly discriminator: 'organization_reference';
6249
6408
  readonly id: string;
6250
- readonly description: string;
6251
- readonly quantity: number;
6252
- readonly amount: number;
6253
- readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6254
- readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6255
- readonly product_url?: string;
6256
- readonly image_url?: string;
6257
- readonly category?: string;
6258
- readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6259
6409
  }
6260
- interface PaymentPaymentMethod {
6410
+ interface OrganizationSummary {
6261
6411
  readonly id: string;
6262
6412
  readonly name: string;
6263
- readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
6264
- readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
6265
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6266
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6267
- readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6413
+ readonly environment: io.flow.common.v0.enums.Environment;
6268
6414
  }
6269
- interface PaymentRefund {
6415
+ interface PartnerReference {
6270
6416
  readonly id: string;
6417
+ }
6418
+ interface Price {
6271
6419
  readonly amount: number;
6272
6420
  readonly currency: string;
6273
- readonly created_at: string;
6274
- readonly updated_at: string;
6275
- readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
6421
+ readonly label: string;
6276
6422
  }
6277
- interface PaymentRefundForm {
6278
- readonly amount?: number;
6279
- readonly currency?: string;
6423
+ interface PriceForm {
6424
+ readonly amount: number;
6425
+ readonly currency: string;
6280
6426
  }
6281
- interface PaymentRefundStatus {
6282
- readonly status: io.flow.payment.v0.enums.RefundStatus;
6283
- readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
6427
+ interface PriceSourceCatalog {
6428
+ readonly discriminator: 'catalog';
6429
+ readonly price: io.flow.common.v0.models.Money;
6284
6430
  }
6285
- interface PaymentRequest {
6431
+ interface PriceSourcePriceBook {
6432
+ readonly discriminator: 'price_book';
6433
+ readonly price: io.flow.common.v0.models.Money;
6434
+ readonly includes: io.flow.common.v0.models.IncludedLevies;
6435
+ readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
6436
+ }
6437
+ interface PriceSourcePriceBookReference {
6286
6438
  readonly id: string;
6287
- readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
6288
- readonly created_at: string;
6289
- readonly updated_at: string;
6290
- readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
6291
- readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
6292
- readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
6293
- readonly amount: number;
6294
- readonly currency: string;
6295
- readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6296
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6297
- readonly locale?: string;
6298
- readonly return_url: string;
6299
- readonly attributes?: Record<string, string>;
6300
- readonly reference?: string;
6301
- readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
6302
- readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6303
- readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6304
- readonly review?: io.flow.payment.gateway.v0.models.PaymentRequestReview;
6439
+ readonly key: string;
6305
6440
  }
6306
- interface PaymentRequestForm {
6307
- readonly amount: number;
6441
+ interface PriceSourceProvided {
6442
+ readonly discriminator: 'provided';
6443
+ readonly price: io.flow.common.v0.models.Money;
6444
+ }
6445
+ interface PriceWithBase {
6308
6446
  readonly currency: string;
6309
- readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6310
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6311
- readonly locale?: string;
6312
- readonly return_url: string;
6313
- readonly attributes?: Record<string, string>;
6314
- readonly reference?: string;
6315
- readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
6316
- readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6317
- readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6447
+ readonly amount: number;
6448
+ readonly label: string;
6449
+ readonly base?: io.flow.common.v0.models.Price;
6318
6450
  }
6319
- interface PaymentRequestReference {
6320
- readonly id: string;
6321
- readonly reference?: string;
6451
+ interface RepeatDaily {
6452
+ readonly discriminator: 'repeat_daily';
6453
+ readonly interval: number;
6322
6454
  }
6323
- interface PaymentRequestReview {
6324
- readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewStatus;
6325
- readonly checks: io.flow.payment.gateway.v0.models.PaymentRequestReviewCheck[];
6455
+ interface RepeatHourly {
6456
+ readonly discriminator: 'repeat_hourly';
6457
+ readonly interval: number;
6326
6458
  }
6327
- interface PaymentRequestReviewCheck {
6328
- readonly type: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckType;
6329
- readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckStatus;
6459
+ interface RepeatMonthly {
6460
+ readonly discriminator: 'repeat_monthly';
6461
+ readonly interval: number;
6462
+ readonly days: number[];
6330
6463
  }
6331
- interface PaymentReversal {
6332
- readonly id: string;
6333
- readonly amount: number;
6334
- readonly currency: string;
6335
- readonly created_at: string;
6336
- readonly updated_at: string;
6337
- readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
6464
+ interface RepeatWeekly {
6465
+ readonly discriminator: 'repeat_weekly';
6466
+ readonly interval: number;
6467
+ readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
6338
6468
  }
6339
- interface PaymentReversalForm {
6340
- readonly amount?: number;
6341
- readonly currency?: string;
6469
+ interface Rounding {
6470
+ readonly type: io.flow.common.v0.enums.RoundingType;
6471
+ readonly method: io.flow.common.v0.enums.RoundingMethod;
6472
+ readonly value: number;
6342
6473
  }
6343
- interface PaymentReversalStatus {
6344
- readonly status: io.flow.payment.v0.enums.ReversalStatus;
6345
- readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
6474
+ interface Schedule {
6475
+ readonly calendar?: io.flow.common.v0.enums.Calendar;
6476
+ readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
6477
+ readonly exception: io.flow.common.v0.models.Exception[];
6478
+ readonly cutoff?: string;
6479
+ readonly min_lead_time?: number;
6480
+ readonly max_lead_time?: number;
6346
6481
  }
6347
- interface PaymentTax {
6348
- readonly amount: number;
6349
- readonly name?: string;
6482
+ interface SessionReference {
6483
+ readonly id: string;
6350
6484
  }
6351
- interface Shipping {
6352
- readonly description: string;
6353
- readonly amount: number;
6354
- readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6355
- readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6356
- readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6485
+ interface User {
6486
+ readonly discriminator: 'user';
6487
+ readonly id: string;
6488
+ readonly email?: string;
6489
+ readonly name: io.flow.common.v0.models.Name;
6490
+ readonly status: io.flow.common.v0.enums.UserStatus;
6491
+ }
6492
+ interface UserReference {
6493
+ readonly discriminator: 'user_reference';
6494
+ readonly id: string;
6495
+ }
6496
+ interface Zone {
6497
+ readonly postals?: string[];
6498
+ readonly provinces?: string[];
6499
+ readonly country: string;
6357
6500
  }
6358
6501
  }
6359
- declare namespace io.flow.payment.gateway.v0.unions {
6360
- type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
6361
- type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
6362
- type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
6363
- type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
6364
- type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
6365
- type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
6366
- type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
6367
- type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
6368
- type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
6369
- type PaymentMethodDataAuthorizeApplepayResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
6370
- type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
6371
- type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
6372
- type PaymentMethodStoredDetailsCard = io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardSubsequent;
6373
- type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
6374
- type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6502
+ declare namespace io.flow.common.v0.unions {
6503
+ type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
6504
+ type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
6505
+ type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
6506
+ type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
6507
+ type LogoImage = io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic;
6508
+ type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
6509
+ type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
6375
6510
  }
6376
6511
  declare namespace io.flow.order.management.event.v0.models {
6377
6512
  interface FulfillmentItemAllocationDetails {
@@ -9315,6 +9450,7 @@ declare namespace io.flow.fulfillment.v0.enums {
9315
9450
  type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
9316
9451
  type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
9317
9452
  type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
9453
+ type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
9318
9454
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
9319
9455
  type LaneDirection = 'outbound' | 'return';
9320
9456
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
@@ -9576,6 +9712,8 @@ declare namespace io.flow.fulfillment.v0.models {
9576
9712
  readonly id: string;
9577
9713
  readonly key?: string;
9578
9714
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
9715
+ readonly fulfillment_routing?: io.flow.fulfillment.v0.enums.FulfillmentRouting;
9716
+ readonly ship_from_country?: string;
9579
9717
  readonly items: io.flow.fulfillment.v0.models.DeliveryItem[];
9580
9718
  readonly options: io.flow.fulfillment.v0.models.DeliveryOption[];
9581
9719
  readonly special_services?: io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce[];
@@ -10451,7 +10589,7 @@ declare namespace io.flow.internal.v0.enums {
10451
10589
  type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
10452
10590
  type EmptyAttribute = 'irrelevant';
10453
10591
  type ErpFileType = 'vendor';
10454
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted_v2' | 'channel_account_deleted' | 'organization_account_upserted_v2' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'order_transaction_upserted' | 'order_transaction_deleted' | 'label_transaction_upserted' | 'label_transaction_deleted' | 'channel_billed_transaction_upserted' | 'channel_billed_transaction_deleted' | 'tax_transaction_upserted' | 'tax_transaction_deleted' | 'duty_transaction_upserted' | 'duty_transaction_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'catalog_settings_upserted' | 'catalog_settings_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'billing_statement_batch_upserted' | 'billing_statement_batch_deleted' | 'billing_statement_batch_statement_upserted' | 'billing_statement_batch_statement_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'fraud_provider_configuration_upserted' | 'fraud_provider_configuration_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_tracking_summary_upserted' | 'label_tracking_summary_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_business_entity_deleted' | 'organization_business_entity_upserted' | 'organization_restriction_approval_upserted' | 'organization_restriction_approval_deleted' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'organization_payment_setting_upserted' | 'organization_payment_setting_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'ratecard_rate_level_upserted' | 'ratecard_rate_level_deleted' | 'ratecard_rate_level_ratecard_upserted' | 'ratecard_rate_level_ratecard_deleted' | 'ratecard_rate_level_organization_upserted' | 'ratecard_rate_level_organization_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'restriction_organization_status_upserted' | 'restriction_organization_status_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'shopify_markets_order_upserted' | 'shopify_markets_order_deleted' | 'shopify_markets_shop_upserted' | 'shopify_markets_shop_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10592
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted_v2' | 'channel_account_deleted' | 'organization_account_upserted_v2' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'order_transaction_upserted' | 'order_transaction_deleted' | 'label_transaction_upserted' | 'label_transaction_deleted' | 'channel_billed_transaction_upserted' | 'channel_billed_transaction_deleted' | 'tax_transaction_upserted' | 'tax_transaction_deleted' | 'duty_transaction_upserted' | 'duty_transaction_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'catalog_settings_upserted' | 'catalog_settings_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'billing_statement_batch_upserted' | 'billing_statement_batch_deleted' | 'billing_statement_batch_statement_upserted' | 'billing_statement_batch_statement_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'fraud_provider_configuration_upserted' | 'fraud_provider_configuration_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'harmonization_classification_statistics_published' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_tracking_summary_upserted' | 'label_tracking_summary_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_business_entity_deleted' | 'organization_business_entity_upserted' | 'organization_status_change_upserted' | 'organization_status_change_deleted' | 'organization_restriction_approval_upserted' | 'organization_restriction_approval_deleted' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'organization_payment_setting_upserted' | 'organization_payment_setting_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'ratecard_rate_level_upserted' | 'ratecard_rate_level_deleted' | 'ratecard_rate_level_ratecard_upserted' | 'ratecard_rate_level_ratecard_deleted' | 'ratecard_rate_level_organization_upserted' | 'ratecard_rate_level_organization_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'restriction_organization_status_upserted' | 'restriction_organization_status_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'shopify_markets_order_upserted' | 'shopify_markets_order_deleted' | 'shopify_markets_shop_upserted' | 'shopify_markets_shop_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'shopify_order_fulfillments_snapshot_upserted' | 'shopify_order_fulfillments_snapshot_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10455
10593
  type ExperienceImportType = 'experience_with_settings';
10456
10594
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10457
10595
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -10573,7 +10711,7 @@ declare namespace io.flow.internal.v0.enums {
10573
10711
  type SubscriptionFrequency = 'yearly' | 'monthly';
10574
10712
  type SuggestionAction = 'accept' | 'validate' | 'review';
10575
10713
  type TariffEligibilityType = 'rex';
10576
- type TaskProcessorKey = 'billing_account' | 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'label_generation_settings' | 'ratecard';
10714
+ type TaskProcessorKey = 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'label_generation_settings' | 'ratecard' | 'logistics_center' | 'center_defaults';
10577
10715
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
10578
10716
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
10579
10717
  type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
@@ -12042,7 +12180,7 @@ declare namespace io.flow.internal.v0.models {
12042
12180
  readonly spot_rate: number;
12043
12181
  readonly flow_margin: number;
12044
12182
  readonly flow_rate: number;
12045
- readonly journal_id: string;
12183
+ readonly journal_id?: string;
12046
12184
  readonly effective_at: string;
12047
12185
  readonly timestamp?: string;
12048
12186
  }
@@ -15161,11 +15299,18 @@ declare namespace io.flow.internal.v0.models {
15161
15299
  readonly account: io.flow.internal.v0.models.AccountSummary;
15162
15300
  readonly last4: string;
15163
15301
  readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
15164
- readonly owner: io.flow.internal.v0.models.FinanceBankAccountOwner;
15302
+ readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner;
15165
15303
  }
15166
15304
  interface FinanceBankAccountOwner {
15167
15305
  readonly name: string;
15168
15306
  }
15307
+ interface FinanceBankPayment {
15308
+ readonly id: string;
15309
+ readonly account: io.flow.internal.v0.models.AccountSummary;
15310
+ readonly last4?: string;
15311
+ readonly info?: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
15312
+ readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner;
15313
+ }
15169
15314
  interface FinancialMerchantCategory {
15170
15315
  readonly id: string;
15171
15316
  readonly iso_18245_4: string;
@@ -15522,6 +15667,15 @@ declare namespace io.flow.internal.v0.models {
15522
15667
  readonly carrier_tracking_url?: string;
15523
15668
  readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
15524
15669
  }
15670
+ interface FulfillmentSnapshot {
15671
+ readonly tracking_source: string;
15672
+ readonly fulfillment_status?: string;
15673
+ readonly is_fulfillment_fulfilled?: boolean;
15674
+ readonly in_transit_created_at?: string;
15675
+ readonly has_shipping_notification: boolean;
15676
+ readonly fulfillment_created_at?: string;
15677
+ readonly fulfillment_updated_at?: string;
15678
+ }
15525
15679
  interface FxFee {
15526
15680
  readonly base: io.flow.common.v0.models.Money;
15527
15681
  readonly local: io.flow.common.v0.models.Money;
@@ -15622,6 +15776,16 @@ declare namespace io.flow.internal.v0.models {
15622
15776
  readonly discriminator: 'google_tag_manager';
15623
15777
  readonly tracker_id: string;
15624
15778
  }
15779
+ interface HarmonizationClassificationStatisticsData {
15780
+ readonly statistics: io.flow.internal.v0.models.ClassificationStatistics;
15781
+ }
15782
+ interface HarmonizationClassificationStatisticsPublished {
15783
+ readonly discriminator: 'harmonization_classification_statistics_published';
15784
+ readonly event_id: string;
15785
+ readonly timestamp: string;
15786
+ readonly organization: string;
15787
+ readonly data: io.flow.internal.v0.models.HarmonizationClassificationStatisticsData;
15788
+ }
15625
15789
  interface HarmonizationCodesImport {
15626
15790
  readonly discriminator: 'harmonization_codes_import';
15627
15791
  readonly event_id: string;
@@ -17145,6 +17309,10 @@ declare namespace io.flow.internal.v0.models {
17145
17309
  readonly type: io.flow.internal.v0.enums.ContentType;
17146
17310
  readonly url: string;
17147
17311
  }
17312
+ interface LogisticsCenterCheck {
17313
+ readonly issues?: string[];
17314
+ readonly is_valid: boolean;
17315
+ }
17148
17316
  interface Logo {
17149
17317
  readonly url: string;
17150
17318
  }
@@ -18052,6 +18220,25 @@ declare namespace io.flow.internal.v0.models {
18052
18220
  readonly respect_item_sales_margins_on_override: boolean;
18053
18221
  readonly respect_session_currency: boolean;
18054
18222
  }
18223
+ interface OrganizationStatusChange {
18224
+ readonly id: string;
18225
+ readonly organization: string;
18226
+ readonly previous_status?: io.flow.common.v0.enums.OrganizationStatus;
18227
+ readonly status: io.flow.common.v0.enums.OrganizationStatus;
18228
+ readonly status_set_at: string;
18229
+ }
18230
+ interface OrganizationStatusChangeDeleted {
18231
+ readonly discriminator: 'organization_status_change_deleted';
18232
+ readonly event_id: string;
18233
+ readonly timestamp: string;
18234
+ readonly id: string;
18235
+ }
18236
+ interface OrganizationStatusChangeUpserted {
18237
+ readonly discriminator: 'organization_status_change_upserted';
18238
+ readonly event_id: string;
18239
+ readonly timestamp: string;
18240
+ readonly organization_status_change: io.flow.internal.v0.models.OrganizationStatusChange;
18241
+ }
18055
18242
  interface Partner {
18056
18243
  readonly id: string;
18057
18244
  readonly name: string;
@@ -18103,10 +18290,12 @@ declare namespace io.flow.internal.v0.models {
18103
18290
  readonly partner: string;
18104
18291
  }
18105
18292
  interface PartnerOrganizationSettings {
18293
+ readonly label_format: io.flow.partner.v0.enums.LabelFormat;
18106
18294
  readonly glbe_merchant_guid: string;
18107
18295
  }
18108
18296
  interface PartnerOrganizationSettingsForm {
18109
- readonly glbe_merchant_guid: string;
18297
+ readonly label_format: io.flow.partner.v0.enums.LabelFormat;
18298
+ readonly glbe_merchant_guid?: string;
18110
18299
  }
18111
18300
  interface Passphrase {
18112
18301
  readonly id: string;
@@ -18731,6 +18920,11 @@ declare namespace io.flow.internal.v0.models {
18731
18920
  interface RateLevelRatecardForm {
18732
18921
  readonly ratecard_id: string;
18733
18922
  }
18923
+ interface RateLevelWithEffective {
18924
+ readonly id: string;
18925
+ readonly name: string;
18926
+ readonly effective_at: string;
18927
+ }
18734
18928
  interface RateNameSummary {
18735
18929
  readonly name: string;
18736
18930
  readonly long_name?: string;
@@ -19580,6 +19774,27 @@ declare namespace io.flow.internal.v0.models {
19580
19774
  readonly description: string;
19581
19775
  readonly code?: string;
19582
19776
  }
19777
+ interface ShopifyOrderFulfillmentsSnapshot {
19778
+ readonly id: string;
19779
+ readonly organization_id: string;
19780
+ readonly order_number: number;
19781
+ readonly order_created_at: string;
19782
+ readonly is_order_fulfilled: boolean;
19783
+ readonly should_be_fulfilled: boolean;
19784
+ readonly fulfillment_snapshots: io.flow.internal.v0.models.FulfillmentSnapshot[];
19785
+ }
19786
+ interface ShopifyOrderFulfillmentsSnapshotDeleted {
19787
+ readonly discriminator: 'shopify_order_fulfillments_snapshot_deleted';
19788
+ readonly event_id: string;
19789
+ readonly timestamp: string;
19790
+ readonly id: string;
19791
+ }
19792
+ interface ShopifyOrderFulfillmentsSnapshotUpserted {
19793
+ readonly discriminator: 'shopify_order_fulfillments_snapshot_upserted';
19794
+ readonly event_id: string;
19795
+ readonly timestamp: string;
19796
+ readonly shopify_order_fulfillments_snapshot: io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshot;
19797
+ }
19583
19798
  interface ShopifyOrderInventoryCheck {
19584
19799
  readonly item_number: string;
19585
19800
  readonly quantity: number;
@@ -19808,7 +20023,7 @@ declare namespace io.flow.internal.v0.models {
19808
20023
  readonly base: string;
19809
20024
  readonly target: string;
19810
20025
  readonly value: number;
19811
- readonly journal_id: string;
20026
+ readonly journal_id?: string;
19812
20027
  readonly effective_at: string;
19813
20028
  readonly timestamp?: string;
19814
20029
  }
@@ -20754,7 +20969,7 @@ declare namespace io.flow.internal.v0.unions {
20754
20969
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
20755
20970
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
20756
20971
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
20757
- type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpsertedV2 | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpsertedV2 | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrderTransactionUpserted | io.flow.internal.v0.models.OrderTransactionDeleted | io.flow.internal.v0.models.LabelTransactionUpserted | io.flow.internal.v0.models.LabelTransactionDeleted | io.flow.internal.v0.models.ChannelBilledTransactionUpserted | io.flow.internal.v0.models.ChannelBilledTransactionDeleted | io.flow.internal.v0.models.TaxTransactionUpserted | io.flow.internal.v0.models.TaxTransactionDeleted | io.flow.internal.v0.models.DutyTransactionUpserted | io.flow.internal.v0.models.DutyTransactionDeleted | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpsertedV2 | io.flow.internal.v0.models.CarrierAccountDeleted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CatalogSettingsUpserted | io.flow.internal.v0.models.CatalogSettingsDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.BillingStatementBatchUpserted | io.flow.internal.v0.models.BillingStatementBatchDeleted | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FraudProviderConfigurationUpserted | io.flow.internal.v0.models.FraudProviderConfigurationDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelTrackingSummaryUpserted | io.flow.internal.v0.models.LabelTrackingSummaryDeleted | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.OrganizationBusinessEntityDeleted | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted | io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.RatecardRateLevelUpserted | io.flow.internal.v0.models.RatecardRateLevelDeleted | io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted | io.flow.internal.v0.models.ShopifyMarketsShopUpserted | io.flow.internal.v0.models.ShopifyMarketsShopDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
20972
+ type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpsertedV2 | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpsertedV2 | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrderTransactionUpserted | io.flow.internal.v0.models.OrderTransactionDeleted | io.flow.internal.v0.models.LabelTransactionUpserted | io.flow.internal.v0.models.LabelTransactionDeleted | io.flow.internal.v0.models.ChannelBilledTransactionUpserted | io.flow.internal.v0.models.ChannelBilledTransactionDeleted | io.flow.internal.v0.models.TaxTransactionUpserted | io.flow.internal.v0.models.TaxTransactionDeleted | io.flow.internal.v0.models.DutyTransactionUpserted | io.flow.internal.v0.models.DutyTransactionDeleted | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpsertedV2 | io.flow.internal.v0.models.CarrierAccountDeleted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CatalogSettingsUpserted | io.flow.internal.v0.models.CatalogSettingsDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.BillingStatementBatchUpserted | io.flow.internal.v0.models.BillingStatementBatchDeleted | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FraudProviderConfigurationUpserted | io.flow.internal.v0.models.FraudProviderConfigurationDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.HarmonizationClassificationStatisticsPublished | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelTrackingSummaryUpserted | io.flow.internal.v0.models.LabelTrackingSummaryDeleted | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.OrganizationBusinessEntityDeleted | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted | io.flow.internal.v0.models.OrganizationStatusChangeUpserted | io.flow.internal.v0.models.OrganizationStatusChangeDeleted | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted | io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.RatecardRateLevelUpserted | io.flow.internal.v0.models.RatecardRateLevelDeleted | io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted | io.flow.internal.v0.models.ShopifyMarketsShopUpserted | io.flow.internal.v0.models.ShopifyMarketsShopDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
20758
20973
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
20759
20974
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
20760
20975
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -21897,6 +22112,7 @@ export declare type FileMetadata = io.flow.internal.v0.models.FileMetadata;
21897
22112
  export declare type FileMetadataCounts = io.flow.internal.v0.models.FileMetadataCounts;
21898
22113
  export declare type FinanceBankAccount = io.flow.internal.v0.models.FinanceBankAccount;
21899
22114
  export declare type FinanceBankAccountOwner = io.flow.internal.v0.models.FinanceBankAccountOwner;
22115
+ export declare type FinanceBankPayment = io.flow.internal.v0.models.FinanceBankPayment;
21900
22116
  export declare type FinancialMerchantCategory = io.flow.internal.v0.models.FinancialMerchantCategory;
21901
22117
  export declare type FinancialReportingResponsibleParty = io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
21902
22118
  export declare type FinancialReportingStatement = io.flow.internal.v0.models.FinancialReportingStatement;
@@ -21957,6 +22173,7 @@ export declare type FulfillmentActionForm = io.flow.internal.v0.models.Fulfillme
21957
22173
  export declare type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
21958
22174
  export declare type FulfillmentInternalExperienceReference = io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
21959
22175
  export declare type FulfillmentShipmentTracking = io.flow.internal.v0.models.FulfillmentShipmentTracking;
22176
+ export declare type FulfillmentSnapshot = io.flow.internal.v0.models.FulfillmentSnapshot;
21960
22177
  export declare type FxFee = io.flow.internal.v0.models.FxFee;
21961
22178
  export declare type FxRevenueRecognition = io.flow.internal.v0.models.FxRevenueRecognition;
21962
22179
  export declare type FxRevenueRecognitionAccount = io.flow.internal.v0.models.FxRevenueRecognitionAccount;
@@ -21980,6 +22197,8 @@ export declare type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
21980
22197
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
21981
22198
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
21982
22199
  export declare type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
22200
+ export declare type HarmonizationClassificationStatisticsData = io.flow.internal.v0.models.HarmonizationClassificationStatisticsData;
22201
+ export declare type HarmonizationClassificationStatisticsPublished = io.flow.internal.v0.models.HarmonizationClassificationStatisticsPublished;
21983
22202
  export declare type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
21984
22203
  export declare type HarmonizationColumnSetting = io.flow.internal.v0.models.HarmonizationColumnSetting;
21985
22204
  export declare type HarmonizationItemClassification = io.flow.internal.v0.models.HarmonizationItemClassification;
@@ -22190,6 +22409,7 @@ export declare type LocalizedPriceBookItemData = io.flow.internal.v0.models.Loca
22190
22409
  export declare type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
22191
22410
  export declare type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
22192
22411
  export declare type Location = io.flow.internal.v0.models.Location;
22412
+ export declare type LogisticsCenterCheck = io.flow.internal.v0.models.LogisticsCenterCheck;
22193
22413
  export declare type Logo = io.flow.internal.v0.models.Logo;
22194
22414
  export declare type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
22195
22415
  export declare type LoyaltyProgramMessage = io.flow.internal.v0.models.LoyaltyProgramMessage;
@@ -22373,6 +22593,9 @@ export declare type OrganizationRestrictionStatus = io.flow.internal.v0.models.O
22373
22593
  export declare type OrganizationRestrictionStatusNote = io.flow.internal.v0.models.OrganizationRestrictionStatusNote;
22374
22594
  export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
22375
22595
  export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
22596
+ export declare type OrganizationStatusChange = io.flow.internal.v0.models.OrganizationStatusChange;
22597
+ export declare type OrganizationStatusChangeDeleted = io.flow.internal.v0.models.OrganizationStatusChangeDeleted;
22598
+ export declare type OrganizationStatusChangeUpserted = io.flow.internal.v0.models.OrganizationStatusChangeUpserted;
22376
22599
  export declare type OutputStyle = io.flow.internal.v0.enums.OutputStyle;
22377
22600
  export declare type Owner = io.flow.internal.v0.enums.Owner;
22378
22601
  export declare type Partner = io.flow.internal.v0.models.Partner;
@@ -22505,6 +22728,7 @@ export declare type RateLevelOrganization = io.flow.internal.v0.models.RateLevel
22505
22728
  export declare type RateLevelOrganizationForm = io.flow.internal.v0.models.RateLevelOrganizationForm;
22506
22729
  export declare type RateLevelRatecard = io.flow.internal.v0.models.RateLevelRatecard;
22507
22730
  export declare type RateLevelRatecardForm = io.flow.internal.v0.models.RateLevelRatecardForm;
22731
+ export declare type RateLevelWithEffective = io.flow.internal.v0.models.RateLevelWithEffective;
22508
22732
  export declare type RateNameSummary = io.flow.internal.v0.models.RateNameSummary;
22509
22733
  export declare type RateSource = io.flow.internal.v0.enums.RateSource;
22510
22734
  export declare type RateSourceCompositionSummary = io.flow.internal.v0.models.RateSourceCompositionSummary;
@@ -22672,6 +22896,9 @@ export declare type ShopifyOrderContent = io.flow.internal.v0.models.ShopifyOrde
22672
22896
  export declare type ShopifyOrderDestinationForm = io.flow.internal.v0.models.ShopifyOrderDestinationForm;
22673
22897
  export declare type ShopifyOrderDetail = io.flow.internal.v0.models.ShopifyOrderDetail;
22674
22898
  export declare type ShopifyOrderDiscountContent = io.flow.internal.v0.models.ShopifyOrderDiscountContent;
22899
+ export declare type ShopifyOrderFulfillmentsSnapshot = io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshot;
22900
+ export declare type ShopifyOrderFulfillmentsSnapshotDeleted = io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted;
22901
+ export declare type ShopifyOrderFulfillmentsSnapshotUpserted = io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted;
22675
22902
  export declare type ShopifyOrderInventoryCheck = io.flow.internal.v0.models.ShopifyOrderInventoryCheck;
22676
22903
  export declare type ShopifyOrderLineAttribute = io.flow.internal.v0.models.ShopifyOrderLineAttribute;
22677
22904
  export declare type ShopifyOrderLineContent = io.flow.internal.v0.models.ShopifyOrderLineContent;