@flowio/types 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -827,7 +827,7 @@ declare namespace io.flow.v0.enums {
827
827
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
828
828
  type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown';
829
829
  type AuthorizationOption = 'store_card';
830
- type AuthorizationResultActionType = 'redirect' | 'wait';
830
+ type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
831
831
  type AuthorizationStatus = 'pending' | 'expired' | 'authorized' | 'review' | 'declined' | 'reversed';
832
832
  type AvailabilityStatus = 'enabled' | 'disabled';
833
833
  type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
@@ -861,7 +861,7 @@ declare namespace io.flow.v0.enums {
861
861
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
862
862
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
863
863
  type Environment = 'sandbox' | 'production';
864
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_item_upserted' | 'harmonized_item_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'organization_countries_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
864
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_item_upserted' | 'harmonized_item_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'organization_countries_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
865
865
  type ExceptionType = 'open' | 'closed';
866
866
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
867
867
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -881,7 +881,7 @@ declare namespace io.flow.v0.enums {
881
881
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
882
882
  type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
883
883
  type ImageTag = 'thumbnail' | 'checkout';
884
- type ImportType = 'catalog_items' | 'customs_descriptions' | 'customs_description_tariffs' | 'experiences_with_settings' | 'harmonization_codes' | 'item_form_overlays' | 'price_book_items' | 'price_book_items_query' | 'ratecard_lanes';
884
+ type ImportType = 'catalog_items' | 'customs_descriptions' | 'customs_description_tariffs' | 'experiences_with_settings' | 'harmonization_codes' | 'item_form_overlays' | 'price_book_items' | 'price_book_items_query' | 'ratecard_lanes' | 'order_service_changes';
885
885
  type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
886
886
  type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
887
887
  type InputSpecificationType = 'text' | 'number';
@@ -922,6 +922,7 @@ declare namespace io.flow.v0.enums {
922
922
  type QueryType = 'exclusion' | 'inclusion';
923
923
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
924
924
  type RateType = 'flow' | 'organization';
925
+ type RatecardOwner = 'flow' | 'organization';
925
926
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
926
927
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
927
928
  type ReturnStatus = 'open' | 'refunded';
@@ -1053,6 +1054,15 @@ declare namespace io.flow.v0.models {
1053
1054
  readonly key: io.flow.v0.enums.AdjustmentReasonKey;
1054
1055
  readonly label: string;
1055
1056
  }
1057
+ interface AdyenChallengeShopperData {
1058
+ readonly challenge_token: string;
1059
+ }
1060
+ interface AdyenIdentifyShopperData {
1061
+ readonly fingerprint_token: string;
1062
+ }
1063
+ interface AdyenNativeActionDetails {
1064
+ readonly data?: io.flow.v0.unions.AdyenNativeData;
1065
+ }
1056
1066
  interface Allocation {
1057
1067
  readonly order: io.flow.v0.models.AllocationOrderSummary;
1058
1068
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -1225,6 +1235,11 @@ declare namespace io.flow.v0.models {
1225
1235
  interface AuthorizationResultActionGet {
1226
1236
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1227
1237
  readonly url?: string;
1238
+ readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1239
+ }
1240
+ interface AuthorizationResultActionNative {
1241
+ readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1242
+ readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1228
1243
  }
1229
1244
  interface AuthorizationResultActionPost {
1230
1245
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
@@ -1317,6 +1332,33 @@ declare namespace io.flow.v0.models {
1317
1332
  readonly postal?: boolean;
1318
1333
  readonly description?: string;
1319
1334
  }
1335
+ interface B2BCreditMemo {
1336
+ readonly id: string;
1337
+ readonly number: string;
1338
+ readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
1339
+ readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
1340
+ readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
1341
+ readonly date: string;
1342
+ readonly key: string;
1343
+ readonly invoice: io.flow.v0.models.B2BInvoiceReference;
1344
+ readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1345
+ readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1346
+ readonly attributes: {
1347
+ [key: string]: string;
1348
+ };
1349
+ }
1350
+ interface B2BCreditMemoDeleted {
1351
+ readonly event_id: string;
1352
+ readonly timestamp: string;
1353
+ readonly organization: string;
1354
+ readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
1355
+ }
1356
+ interface B2BCreditMemoUpserted {
1357
+ readonly event_id: string;
1358
+ readonly timestamp: string;
1359
+ readonly organization: string;
1360
+ readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
1361
+ }
1320
1362
  interface B2BInvoice {
1321
1363
  readonly id: string;
1322
1364
  readonly number: string;
@@ -1342,6 +1384,11 @@ declare namespace io.flow.v0.models {
1342
1384
  readonly organization: string;
1343
1385
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
1344
1386
  }
1387
+ interface B2BInvoiceReference {
1388
+ readonly id: string;
1389
+ readonly key: string;
1390
+ readonly number: string;
1391
+ }
1345
1392
  interface B2BInvoiceUpserted {
1346
1393
  readonly event_id: string;
1347
1394
  readonly timestamp: string;
@@ -1379,6 +1426,14 @@ declare namespace io.flow.v0.models {
1379
1426
  readonly organization: string;
1380
1427
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
1381
1428
  }
1429
+ interface BrowserInfo {
1430
+ readonly language?: string;
1431
+ readonly java_enabled?: boolean;
1432
+ readonly color_depth?: number;
1433
+ readonly screen_height?: number;
1434
+ readonly screen_width?: number;
1435
+ readonly time_zone_offset?: number;
1436
+ }
1382
1437
  interface Capture {
1383
1438
  readonly id: string;
1384
1439
  readonly key: string;
@@ -1673,6 +1728,14 @@ declare namespace io.flow.v0.models {
1673
1728
  readonly organization: string;
1674
1729
  readonly item: io.flow.v0.models.Item;
1675
1730
  }
1731
+ interface CatalogPriceBookItemDocument {
1732
+ readonly price_book_key: string;
1733
+ readonly price_book_item_key: string;
1734
+ readonly catalog: io.flow.v0.models.CatalogItemSummary;
1735
+ readonly amount: number;
1736
+ readonly starts_at: string;
1737
+ readonly ends_at?: string;
1738
+ }
1676
1739
  interface CatalogReference {
1677
1740
  readonly id: string;
1678
1741
  }
@@ -2063,6 +2126,18 @@ declare namespace io.flow.v0.models {
2063
2126
  readonly organization: string;
2064
2127
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
2065
2128
  }
2129
+ interface CsvPriceBookItemExportRow {
2130
+ readonly price_book_key: string;
2131
+ readonly price_book_item_key: string;
2132
+ readonly item_number: string;
2133
+ readonly item_name: string;
2134
+ readonly amount: number;
2135
+ readonly item_attributes?: {
2136
+ [key: string]: string;
2137
+ };
2138
+ readonly starts_at: string;
2139
+ readonly ends_at?: string;
2140
+ }
2066
2141
  interface Currency {
2067
2142
  readonly name: string;
2068
2143
  readonly iso_4217_3: string;
@@ -2132,6 +2207,10 @@ declare namespace io.flow.v0.models {
2132
2207
  interface CustomerAddressPreference {
2133
2208
  readonly type: io.flow.v0.enums.CustomerAddressType;
2134
2209
  }
2210
+ interface CustomerBundle {
2211
+ readonly customer: io.flow.v0.models.Customer;
2212
+ readonly last_used?: io.flow.v0.models.CustomerLastUsed;
2213
+ }
2135
2214
  interface CustomerDeleted {
2136
2215
  readonly event_id: string;
2137
2216
  readonly timestamp: string;
@@ -2147,6 +2226,19 @@ declare namespace io.flow.v0.models {
2147
2226
  interface CustomerInvoice {
2148
2227
  readonly address?: io.flow.v0.models.BillingAddress;
2149
2228
  }
2229
+ interface CustomerLastUsed {
2230
+ readonly order: io.flow.v0.models.CustomerOrder;
2231
+ readonly payment: io.flow.v0.models.CustomerPayment;
2232
+ }
2233
+ interface CustomerOrder {
2234
+ readonly number: string;
2235
+ readonly destination: io.flow.v0.models.OrderAddress;
2236
+ readonly payments?: io.flow.v0.models.OrderPayment[];
2237
+ readonly submitted_at?: string;
2238
+ }
2239
+ interface CustomerPayment {
2240
+ readonly payment_methods: io.flow.v0.models.PaymentMethod[];
2241
+ }
2150
2242
  interface CustomerPutForm {
2151
2243
  readonly email?: string;
2152
2244
  readonly name?: io.flow.v0.models.Name;
@@ -2206,6 +2298,7 @@ declare namespace io.flow.v0.models {
2206
2298
  readonly weight?: io.flow.v0.models.OptionWeightEstimates;
2207
2299
  readonly send_to?: io.flow.v0.models.ShippingAddress;
2208
2300
  readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
2301
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
2209
2302
  }
2210
2303
  interface DeliveryOptionCostComponent {
2211
2304
  readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey;
@@ -2361,6 +2454,7 @@ declare namespace io.flow.v0.models {
2361
2454
  readonly ip?: string;
2362
2455
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
2363
2456
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
2457
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
2364
2458
  }
2365
2459
  interface DirectDebit {
2366
2460
  readonly routing_number: string;
@@ -3857,6 +3951,7 @@ declare namespace io.flow.v0.models {
3857
3951
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
3858
3952
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
3859
3953
  readonly installment_program_id?: string;
3954
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
3860
3955
  }
3861
3956
  interface MerchantOfRecordEntity {
3862
3957
  readonly organization: io.flow.v0.models.OrganizationReference;
@@ -4301,6 +4396,26 @@ declare namespace io.flow.v0.models {
4301
4396
  interface OrderRulesSummary {
4302
4397
  readonly applied: io.flow.v0.models.OrderRuleReference[];
4303
4398
  }
4399
+ interface OrderServiceChange {
4400
+ readonly id: string;
4401
+ readonly from: io.flow.v0.models.CarrierService;
4402
+ readonly to: io.flow.v0.models.CarrierService;
4403
+ }
4404
+ interface OrderServiceChangeForm {
4405
+ readonly from_service_id: string;
4406
+ readonly to_service_id: string;
4407
+ }
4408
+ interface OrderServiceChangeRequest {
4409
+ readonly event_id: string;
4410
+ readonly timestamp: string;
4411
+ readonly organization: string;
4412
+ readonly request: io.flow.v0.models.OrderServiceChangeRequestData;
4413
+ }
4414
+ interface OrderServiceChangeRequestData {
4415
+ readonly id: string;
4416
+ readonly source_url: string;
4417
+ readonly filename?: string;
4418
+ }
4304
4419
  interface OrderSubmissionForm {
4305
4420
  readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
4306
4421
  }
@@ -4778,6 +4893,12 @@ declare namespace io.flow.v0.models {
4778
4893
  readonly organization: string;
4779
4894
  readonly id: string;
4780
4895
  }
4896
+ interface PriceBookItemExportType {
4897
+ readonly price_book_key?: string;
4898
+ readonly item_numbers?: string[];
4899
+ readonly start_date?: string;
4900
+ readonly end_date?: string;
4901
+ }
4781
4902
  interface PriceBookItemForm {
4782
4903
  readonly price_book_key: string;
4783
4904
  readonly item_number: string;
@@ -5076,11 +5197,18 @@ declare namespace io.flow.v0.models {
5076
5197
  readonly service: io.flow.v0.models.RatecardServiceSummary;
5077
5198
  readonly number?: string;
5078
5199
  readonly published_at?: string;
5200
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
5079
5201
  }
5080
5202
  interface RatecardCarrierSummary {
5081
5203
  readonly id: string;
5082
5204
  readonly name: string;
5083
5205
  }
5206
+ interface RatecardDeleted {
5207
+ readonly event_id: string;
5208
+ readonly timestamp: string;
5209
+ readonly organization: string;
5210
+ readonly ratecard: io.flow.v0.models.Ratecard;
5211
+ }
5084
5212
  interface RatecardEstimateFormV1 {
5085
5213
  readonly origin?: string;
5086
5214
  readonly destination?: string;
@@ -5132,6 +5260,7 @@ declare namespace io.flow.v0.models {
5132
5260
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
5133
5261
  readonly gravitational_weight?: io.flow.v0.models.Measurement;
5134
5262
  readonly line_items?: io.flow.v0.models.LineItemForm[];
5263
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
5135
5264
  }
5136
5265
  interface RatecardForm {
5137
5266
  readonly direction: io.flow.v0.enums.Direction;
@@ -5139,6 +5268,7 @@ declare namespace io.flow.v0.models {
5139
5268
  readonly origination_zones: io.flow.v0.models.Zone[];
5140
5269
  readonly service: string;
5141
5270
  readonly number?: string;
5271
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
5142
5272
  }
5143
5273
  interface RatecardLane {
5144
5274
  readonly id: string;
@@ -5177,6 +5307,7 @@ declare namespace io.flow.v0.models {
5177
5307
  readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement;
5178
5308
  }
5179
5309
  interface RatecardLaneImportForm {
5310
+ readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
5180
5311
  readonly service: string;
5181
5312
  readonly currency: string;
5182
5313
  readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
@@ -5228,6 +5359,12 @@ declare namespace io.flow.v0.models {
5228
5359
  readonly name: string;
5229
5360
  readonly carrier: io.flow.v0.models.RatecardCarrierSummary;
5230
5361
  }
5362
+ interface RatecardUpserted {
5363
+ readonly event_id: string;
5364
+ readonly timestamp: string;
5365
+ readonly organization: string;
5366
+ readonly ratecard: io.flow.v0.models.Ratecard;
5367
+ }
5231
5368
  interface RatecardVersion {
5232
5369
  readonly id: string;
5233
5370
  readonly timestamp: string;
@@ -5446,6 +5583,7 @@ declare namespace io.flow.v0.models {
5446
5583
  readonly destination?: io.flow.v0.models.ShippingAddress;
5447
5584
  readonly key?: string;
5448
5585
  readonly origin?: io.flow.v0.models.ShippingAddress;
5586
+ readonly center_key?: string;
5449
5587
  }
5450
5588
  interface ReturnItemReference {
5451
5589
  readonly number: string;
@@ -5872,6 +6010,11 @@ declare namespace io.flow.v0.models {
5872
6010
  readonly to: string;
5873
6011
  readonly strategy?: io.flow.v0.enums.LaneStrategy;
5874
6012
  }
6013
+ interface ShippingLaneSummary {
6014
+ readonly shipping_lane_id: string;
6015
+ readonly region: string;
6016
+ readonly centers: io.flow.v0.unions.ExpandableCenter[];
6017
+ }
5875
6018
  interface ShippingLaneUpserted {
5876
6019
  readonly event_id: string;
5877
6020
  readonly timestamp: string;
@@ -6046,6 +6189,7 @@ declare namespace io.flow.v0.models {
6046
6189
  readonly incoterm?: io.flow.v0.enums.Incoterm;
6047
6190
  readonly flow_order_id?: string;
6048
6191
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
6192
+ readonly geo?: io.flow.v0.models.OrderGeo;
6049
6193
  }
6050
6194
  interface ShopifyLocalizedVariant {
6051
6195
  readonly id: number;
@@ -6182,6 +6326,10 @@ declare namespace io.flow.v0.models {
6182
6326
  readonly secret_key: string;
6183
6327
  readonly key?: string;
6184
6328
  }
6329
+ interface StripeAuthorizationResultActionDetails {
6330
+ readonly client_secret?: string;
6331
+ readonly payment_method_id?: string;
6332
+ }
6185
6333
  interface Subcatalog {
6186
6334
  readonly id: string;
6187
6335
  readonly catalog: io.flow.v0.models.Catalog;
@@ -6399,6 +6547,7 @@ declare namespace io.flow.v0.models {
6399
6547
  readonly display?: io.flow.v0.models.TierDisplay;
6400
6548
  readonly shipping_lane?: string;
6401
6549
  readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
6550
+ readonly lane?: io.flow.v0.models.ShippingLaneSummary;
6402
6551
  }
6403
6552
  interface TierDeletedV2 {
6404
6553
  readonly event_id: string;
@@ -6786,6 +6935,11 @@ declare namespace io.flow.v0.models {
6786
6935
  }
6787
6936
  }
6788
6937
  declare namespace io.flow.v0.unions {
6938
+ type AdyenNativeData = {
6939
+ discriminator: 'adyen_identify_shopper_data';
6940
+ } & io.flow.v0.models.AdyenIdentifyShopperData | {
6941
+ discriminator: 'adyen_challenge_shopper_data';
6942
+ } & io.flow.v0.models.AdyenChallengeShopperData;
6789
6943
  type AllocationComponent = {
6790
6944
  discriminator: 'allocation_detail_component';
6791
6945
  } & io.flow.v0.models.AllocationDetailComponent | {
@@ -6829,7 +6983,14 @@ declare namespace io.flow.v0.unions {
6829
6983
  discriminator: 'authorization_result_action_post';
6830
6984
  } & io.flow.v0.models.AuthorizationResultActionPost | {
6831
6985
  discriminator: 'authorization_result_action_wait';
6832
- } & io.flow.v0.models.AuthorizationResultActionWait;
6986
+ } & io.flow.v0.models.AuthorizationResultActionWait | {
6987
+ discriminator: 'authorization_result_action_native';
6988
+ } & io.flow.v0.models.AuthorizationResultActionNative;
6989
+ type AuthorizationResultActionDetails = {
6990
+ discriminator: 'adyen_native_action_details';
6991
+ } & io.flow.v0.models.AdyenNativeActionDetails | {
6992
+ discriminator: 'stripe_authorization_result_action_details';
6993
+ } & io.flow.v0.models.StripeAuthorizationResultActionDetails;
6833
6994
  type AvailableFilter = {
6834
6995
  discriminator: 'structured';
6835
6996
  } & io.flow.v0.models.AvailableFilterStructured | {
@@ -6910,6 +7071,10 @@ declare namespace io.flow.v0.unions {
6910
7071
  } & io.flow.v0.models.B2BInvoiceUpserted | {
6911
7072
  discriminator: 'b2b_invoice_deleted';
6912
7073
  } & io.flow.v0.models.B2BInvoiceDeleted | {
7074
+ discriminator: 'b2b_credit_memo_upserted';
7075
+ } & io.flow.v0.models.B2BCreditMemoUpserted | {
7076
+ discriminator: 'b2b_credit_memo_deleted';
7077
+ } & io.flow.v0.models.B2BCreditMemoDeleted | {
6913
7078
  discriminator: 'consumer_invoice_upserted';
6914
7079
  } & io.flow.v0.models.ConsumerInvoiceUpserted | {
6915
7080
  discriminator: 'consumer_invoice_deleted';
@@ -7002,6 +7167,8 @@ declare namespace io.flow.v0.unions {
7002
7167
  } & io.flow.v0.models.PricingDeleted | {
7003
7168
  discriminator: 'pricing_upserted';
7004
7169
  } & io.flow.v0.models.PricingUpserted | {
7170
+ discriminator: 'order_service_change_request';
7171
+ } & io.flow.v0.models.OrderServiceChangeRequest | {
7005
7172
  discriminator: 'fraud_status_changed';
7006
7173
  } & io.flow.v0.models.FraudStatusChanged | {
7007
7174
  discriminator: 'center_upserted';
@@ -7178,6 +7345,10 @@ declare namespace io.flow.v0.unions {
7178
7345
  } & io.flow.v0.models.RatecardLaneUpserted | {
7179
7346
  discriminator: 'ratecard_lane_deleted';
7180
7347
  } & io.flow.v0.models.RatecardLaneDeleted | {
7348
+ discriminator: 'ratecard_upserted';
7349
+ } & io.flow.v0.models.RatecardUpserted | {
7350
+ discriminator: 'ratecard_deleted';
7351
+ } & io.flow.v0.models.RatecardDeleted | {
7181
7352
  discriminator: 'return_upserted';
7182
7353
  } & io.flow.v0.models.ReturnUpserted | {
7183
7354
  discriminator: 'return_deleted';
@@ -7259,6 +7430,8 @@ declare namespace io.flow.v0.unions {
7259
7430
  } & io.flow.v0.models.HarmonizationLandedCostExportType | {
7260
7431
  discriminator: 'order_export_type';
7261
7432
  } & io.flow.v0.models.OrderExportType | {
7433
+ discriminator: 'price_book_item_export_type';
7434
+ } & io.flow.v0.models.PriceBookItemExportType | {
7262
7435
  discriminator: 'solidus_product_export_type';
7263
7436
  } & io.flow.v0.models.SolidusProductExportType | {
7264
7437
  discriminator: 'solidus_variant_export_type';
@@ -7489,6 +7662,10 @@ export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
7489
7662
  export declare type AddressVerification = io.flow.v0.models.AddressVerification;
7490
7663
  export declare type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
7491
7664
  export declare type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
7665
+ export declare type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData;
7666
+ export declare type AdyenIdentifyShopperData = io.flow.v0.models.AdyenIdentifyShopperData;
7667
+ export declare type AdyenNativeActionDetails = io.flow.v0.models.AdyenNativeActionDetails;
7668
+ export declare type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
7492
7669
  export declare type Aggregate = io.flow.v0.enums.Aggregate;
7493
7670
  export declare type Allocation = io.flow.v0.models.Allocation;
7494
7671
  export declare type AllocationComponent = io.flow.v0.unions.AllocationComponent;
@@ -7530,7 +7707,9 @@ export declare type AuthorizationPayloadParameters = io.flow.v0.unions.Authoriza
7530
7707
  export declare type AuthorizationReference = io.flow.v0.models.AuthorizationReference;
7531
7708
  export declare type AuthorizationResult = io.flow.v0.models.AuthorizationResult;
7532
7709
  export declare type AuthorizationResultAction = io.flow.v0.unions.AuthorizationResultAction;
7710
+ export declare type AuthorizationResultActionDetails = io.flow.v0.unions.AuthorizationResultActionDetails;
7533
7711
  export declare type AuthorizationResultActionGet = io.flow.v0.models.AuthorizationResultActionGet;
7712
+ export declare type AuthorizationResultActionNative = io.flow.v0.models.AuthorizationResultActionNative;
7534
7713
  export declare type AuthorizationResultActionPost = io.flow.v0.models.AuthorizationResultActionPost;
7535
7714
  export declare type AuthorizationResultActionType = io.flow.v0.enums.AuthorizationResultActionType;
7536
7715
  export declare type AuthorizationResultActionWait = io.flow.v0.models.AuthorizationResultActionWait;
@@ -7553,14 +7732,19 @@ export declare type AvalaraTaxCsvSetting = io.flow.v0.models.AvalaraTaxCsvSettin
7553
7732
  export declare type AvalaraTaxSetting = io.flow.v0.models.AvalaraTaxSetting;
7554
7733
  export declare type Avs = io.flow.v0.models.Avs;
7555
7734
  export declare type AvsCode = io.flow.v0.enums.AvsCode;
7735
+ export declare type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo;
7736
+ export declare type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted;
7737
+ export declare type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
7556
7738
  export declare type B2BInvoice = io.flow.v0.models.B2BInvoice;
7557
7739
  export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
7740
+ export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
7558
7741
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
7559
7742
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
7560
7743
  export declare type BillingAddress = io.flow.v0.models.BillingAddress;
7561
7744
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
7562
7745
  export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
7563
7746
  export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
7747
+ export declare type BrowserInfo = io.flow.v0.models.BrowserInfo;
7564
7748
  export declare type Calendar = io.flow.v0.enums.Calendar;
7565
7749
  export declare type CancelReason = io.flow.v0.enums.CancelReason;
7566
7750
  export declare type Capability = io.flow.v0.enums.Capability;
@@ -7611,6 +7795,7 @@ export declare type CatalogItemReference = io.flow.v0.models.CatalogItemReferenc
7611
7795
  export declare type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary;
7612
7796
  export declare type CatalogItemUpserted = io.flow.v0.models.CatalogItemUpserted;
7613
7797
  export declare type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpsertedV2;
7798
+ export declare type CatalogPriceBookItemDocument = io.flow.v0.models.CatalogPriceBookItemDocument;
7614
7799
  export declare type CatalogReference = io.flow.v0.models.CatalogReference;
7615
7800
  export declare type CatalogStatistics = io.flow.v0.models.CatalogStatistics;
7616
7801
  export declare type CatalogUpserted = io.flow.v0.models.CatalogUpserted;
@@ -7684,6 +7869,7 @@ export declare type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersio
7684
7869
  export declare type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
7685
7870
  export declare type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
7686
7871
  export declare type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
7872
+ export declare type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
7687
7873
  export declare type Currency = io.flow.v0.models.Currency;
7688
7874
  export declare type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
7689
7875
  export declare type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -7700,9 +7886,13 @@ export declare type CustomerAddressBookContactUpserted = io.flow.v0.models.Custo
7700
7886
  export declare type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm;
7701
7887
  export declare type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
7702
7888
  export declare type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
7889
+ export declare type CustomerBundle = io.flow.v0.models.CustomerBundle;
7703
7890
  export declare type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
7704
7891
  export declare type CustomerForm = io.flow.v0.models.CustomerForm;
7705
7892
  export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
7893
+ export declare type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed;
7894
+ export declare type CustomerOrder = io.flow.v0.models.CustomerOrder;
7895
+ export declare type CustomerPayment = io.flow.v0.models.CustomerPayment;
7706
7896
  export declare type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
7707
7897
  export declare type CustomerReference = io.flow.v0.models.CustomerReference;
7708
7898
  export declare type CustomerToken = io.flow.v0.models.CustomerToken;
@@ -8134,6 +8324,10 @@ export declare type OrderPutForm = io.flow.v0.models.OrderPutForm;
8134
8324
  export declare type OrderReference = io.flow.v0.models.OrderReference;
8135
8325
  export declare type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
8136
8326
  export declare type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
8327
+ export declare type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
8328
+ export declare type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
8329
+ export declare type OrderServiceChangeRequest = io.flow.v0.models.OrderServiceChangeRequest;
8330
+ export declare type OrderServiceChangeRequestData = io.flow.v0.models.OrderServiceChangeRequestData;
8137
8331
  export declare type OrderStatus = io.flow.v0.enums.OrderStatus;
8138
8332
  export declare type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
8139
8333
  export declare type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
@@ -8232,6 +8426,7 @@ export declare type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
8232
8426
  export declare type PriceBookForm = io.flow.v0.models.PriceBookForm;
8233
8427
  export declare type PriceBookItem = io.flow.v0.models.PriceBookItem;
8234
8428
  export declare type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
8429
+ export declare type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
8235
8430
  export declare type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
8236
8431
  export declare type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
8237
8432
  export declare type PriceBookItemSchedule = io.flow.v0.models.PriceBookItemSchedule;
@@ -8297,6 +8492,7 @@ export declare type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
8297
8492
  export declare type RateVersion = io.flow.v0.models.RateVersion;
8298
8493
  export declare type Ratecard = io.flow.v0.models.Ratecard;
8299
8494
  export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
8495
+ export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
8300
8496
  export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
8301
8497
  export declare type RatecardEstimateForm = io.flow.v0.unions.RatecardEstimateForm;
8302
8498
  export declare type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
@@ -8313,11 +8509,13 @@ export declare type RatecardLaneImportForm = io.flow.v0.models.RatecardLaneImpor
8313
8509
  export declare type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted;
8314
8510
  export declare type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion;
8315
8511
  export declare type RatecardLanesImportRequestData = io.flow.v0.models.RatecardLanesImportRequestData;
8512
+ export declare type RatecardOwner = io.flow.v0.enums.RatecardOwner;
8316
8513
  export declare type RatecardRate = io.flow.v0.models.RatecardRate;
8317
8514
  export declare type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
8318
8515
  export declare type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
8319
8516
  export declare type RatecardReference = io.flow.v0.models.RatecardReference;
8320
8517
  export declare type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
8518
+ export declare type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
8321
8519
  export declare type RatecardVersion = io.flow.v0.models.RatecardVersion;
8322
8520
  export declare type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
8323
8521
  export declare type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
@@ -8444,6 +8642,7 @@ export declare type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersio
8444
8642
  export declare type ShippingLane = io.flow.v0.models.ShippingLane;
8445
8643
  export declare type ShippingLaneDeleted = io.flow.v0.models.ShippingLaneDeleted;
8446
8644
  export declare type ShippingLaneForm = io.flow.v0.models.ShippingLaneForm;
8645
+ export declare type ShippingLaneSummary = io.flow.v0.models.ShippingLaneSummary;
8447
8646
  export declare type ShippingLaneUpserted = io.flow.v0.models.ShippingLaneUpserted;
8448
8647
  export declare type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
8449
8648
  export declare type ShippingNotification = io.flow.v0.models.ShippingNotification;
@@ -8500,6 +8699,7 @@ export declare type SortDirection = io.flow.v0.enums.SortDirection;
8500
8699
  export declare type Strategy = io.flow.v0.enums.Strategy;
8501
8700
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
8502
8701
  export declare type StripeAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
8702
+ export declare type StripeAuthorizationResultActionDetails = io.flow.v0.models.StripeAuthorizationResultActionDetails;
8503
8703
  export declare type Subcatalog = io.flow.v0.models.Subcatalog;
8504
8704
  export declare type SubcatalogDeleted = io.flow.v0.models.SubcatalogDeleted;
8505
8705
  export declare type SubcatalogForm = io.flow.v0.models.SubcatalogForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,6 +26,5 @@
26
26
  "devDependencies": {
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.2.2"
29
- },
30
- "gitHead": "69ce722b812cec7074f4d84a86a141720713b775"
29
+ }
31
30
  }