@flowio/types 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -819,7 +819,6 @@ declare namespace io.flow.shopify.external.v0.models {
819
819
  readonly webhook: io.flow.shopify.external.v0.models.Webhook;
820
820
  }
821
821
  }
822
- declare namespace io.flow.shopify.external.v0.unions { }
823
822
  declare namespace io.flow.v0.enums {
824
823
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
825
824
  type Aggregate = 'maximum' | 'minimum';
@@ -862,8 +861,9 @@ declare namespace io.flow.v0.enums {
862
861
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
863
862
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
864
863
  type Environment = 'sandbox' | 'production';
865
- 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' | 'delivery_option_upserted' | 'delivery_option_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' | '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';
866
865
  type ExceptionType = 'open' | 'closed';
866
+ type ExclusionRuleState = 'current' | 'deleting' | 'updating';
867
867
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
868
868
  type ExperiencePaymentMethodTag = 'display';
869
869
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
@@ -889,11 +889,12 @@ declare namespace io.flow.v0.enums {
889
889
  type InventoryStatus = 'has_inventory' | 'no_inventory';
890
890
  type InvitationErrorCode = 'expired' | 'invalid_email';
891
891
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
892
- type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost';
892
+ type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
893
893
  type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
894
894
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
895
895
  type MarginType = 'fixed' | 'percent';
896
896
  type MeasurementSystem = 'imperial' | 'metric';
897
+ type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
897
898
  type MerchantOfRecord = 'flow' | 'organization';
898
899
  type Method = 'post';
899
900
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
@@ -919,7 +920,7 @@ declare namespace io.flow.v0.enums {
919
920
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
920
921
  type ProvinceType = 'city' | 'dependency' | 'district' | 'emirate' | 'entity' | 'municipality' | 'outlying_area' | 'parish' | 'province' | 'state' | 'territory' | 'other';
921
922
  type QueryType = 'exclusion' | 'inclusion';
922
- type QuoteErrorCode = 'generic_error' | 'items_not_available';
923
+ type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
923
924
  type RateType = 'flow' | 'organization';
924
925
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
925
926
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
@@ -1532,23 +1533,20 @@ declare namespace io.flow.v0.models {
1532
1533
  readonly actions?: io.flow.v0.models.PaymentSourceConfirmationAction[];
1533
1534
  readonly summary: io.flow.v0.models.CardPaymentSourceSummary;
1534
1535
  }
1536
+ interface CardPaymentSourceAuthorizationForm {
1537
+ readonly key?: string;
1538
+ readonly card_payment_source_id: string;
1539
+ readonly order_number: string;
1540
+ readonly amount: number;
1541
+ readonly currency: string;
1542
+ }
1535
1543
  interface CardPaymentSourceForm {
1536
1544
  readonly customer_number: string;
1537
- readonly token?: string;
1538
- readonly last4?: string;
1539
- readonly expiration_month?: number;
1540
- readonly expiration_year?: number;
1541
- readonly type?: io.flow.v0.enums.CardType;
1542
- readonly billing_address?: io.flow.v0.models.BillingAddress;
1545
+ readonly card_id: string;
1543
1546
  }
1544
1547
  interface CardPaymentSourceSummary {
1545
1548
  readonly customer_number: string;
1546
- readonly token?: string;
1547
- readonly last4?: string;
1548
- readonly expiration_month?: number;
1549
- readonly expiration_year?: number;
1550
- readonly type?: io.flow.v0.enums.CardType;
1551
- readonly billing_address?: io.flow.v0.models.BillingAddress;
1549
+ readonly card: io.flow.v0.models.CardSummary;
1552
1550
  }
1553
1551
  interface CardReference {
1554
1552
  readonly id: string;
@@ -1818,6 +1816,7 @@ declare namespace io.flow.v0.models {
1818
1816
  readonly payment_sources?: io.flow.v0.unions.PaymentSourceForm[];
1819
1817
  readonly session_id: string;
1820
1818
  readonly urls?: io.flow.v0.models.CheckoutUrlsForm;
1819
+ readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
1821
1820
  }
1822
1821
  interface CheckoutTokenReferenceForm {
1823
1822
  readonly order_number: string;
@@ -1826,9 +1825,11 @@ declare namespace io.flow.v0.models {
1826
1825
  }
1827
1826
  interface CheckoutUrls {
1828
1827
  readonly continue_shopping?: string;
1828
+ readonly confirmation?: string;
1829
1829
  }
1830
1830
  interface CheckoutUrlsForm {
1831
1831
  readonly continue_shopping?: string;
1832
+ readonly confirmation?: string;
1832
1833
  }
1833
1834
  interface Cleartext {
1834
1835
  readonly value: string;
@@ -2221,12 +2222,6 @@ declare namespace io.flow.v0.models {
2221
2222
  readonly base?: io.flow.v0.models.Price;
2222
2223
  readonly components: io.flow.v0.models.DeliveryOptionCostComponent[];
2223
2224
  }
2224
- interface DeliveryOptionDeleted {
2225
- readonly event_id: string;
2226
- readonly timestamp: string;
2227
- readonly organization: string;
2228
- readonly id: string;
2229
- }
2230
2225
  interface DeliveryOptionForm {
2231
2226
  readonly delivery: string;
2232
2227
  readonly items: io.flow.v0.models.QuoteLineItemForm[];
@@ -2244,36 +2239,6 @@ declare namespace io.flow.v0.models {
2244
2239
  readonly tier: io.flow.v0.models.TierReference;
2245
2240
  readonly window: io.flow.v0.models.DatetimeRange;
2246
2241
  }
2247
- interface DeliveryOptionUpserted {
2248
- readonly event_id: string;
2249
- readonly timestamp: string;
2250
- readonly organization: string;
2251
- readonly id: string;
2252
- readonly cost: {
2253
- [key: string]: string;
2254
- };
2255
- readonly price: {
2256
- [key: string]: string;
2257
- };
2258
- readonly delivered_duty: string;
2259
- readonly service_id: string;
2260
- readonly tier: {
2261
- [key: string]: string;
2262
- };
2263
- readonly window: {
2264
- [key: string]: string;
2265
- };
2266
- readonly rule_outcome: {
2267
- [key: string]: string;
2268
- };
2269
- readonly weight?: {
2270
- [key: string]: string;
2271
- };
2272
- readonly delivery_window_components: {
2273
- [key: string]: string;
2274
- };
2275
- readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
2276
- }
2277
2242
  interface DeliveryOptionVersion {
2278
2243
  readonly id: string;
2279
2244
  readonly timestamp: string;
@@ -2348,6 +2313,7 @@ declare namespace io.flow.v0.models {
2348
2313
  }
2349
2314
  interface DigitalDelivery {
2350
2315
  readonly id: string;
2316
+ readonly key?: string;
2351
2317
  readonly items: io.flow.v0.models.DeliveryItem[];
2352
2318
  readonly prices?: io.flow.v0.models.OrderPriceDetail[];
2353
2319
  readonly total?: io.flow.v0.models.LocalizedTotal;
@@ -2468,6 +2434,30 @@ declare namespace io.flow.v0.models {
2468
2434
  readonly type: io.flow.v0.enums.ExceptionType;
2469
2435
  readonly datetime_range: io.flow.v0.models.DatetimeRange;
2470
2436
  }
2437
+ interface ExclusionRule {
2438
+ readonly id: string;
2439
+ readonly q: string;
2440
+ readonly query: io.flow.v0.models.Query;
2441
+ readonly regions: io.flow.v0.models.Region[];
2442
+ readonly status: io.flow.v0.enums.SubcatalogItemStatus;
2443
+ readonly description?: string;
2444
+ readonly statistics: io.flow.v0.models.ExclusionRuleStatistic;
2445
+ }
2446
+ interface ExclusionRuleForm {
2447
+ readonly q: string;
2448
+ readonly regions: string[];
2449
+ readonly description?: string;
2450
+ }
2451
+ interface ExclusionRuleStatistic {
2452
+ readonly state: io.flow.v0.enums.ExclusionRuleState;
2453
+ readonly number_items: number;
2454
+ }
2455
+ interface ExclusionRuleVersion {
2456
+ readonly id: string;
2457
+ readonly timestamp: string;
2458
+ readonly type: io.flow.v0.enums.ChangeType;
2459
+ readonly exclusion_rule: io.flow.v0.models.ExclusionRule;
2460
+ }
2471
2461
  interface Experience {
2472
2462
  readonly id: string;
2473
2463
  readonly key: string;
@@ -3636,6 +3626,7 @@ declare namespace io.flow.v0.models {
3636
3626
  interface LocalItem {
3637
3627
  readonly id: string;
3638
3628
  readonly experience: io.flow.v0.models.ExperienceSummary;
3629
+ readonly center?: io.flow.v0.models.CenterSummary;
3639
3630
  readonly item: io.flow.v0.models.CatalogItemReference;
3640
3631
  readonly pricing: io.flow.v0.models.LocalItemPricing;
3641
3632
  readonly status: io.flow.v0.enums.SubcatalogItemStatus;
@@ -3648,6 +3639,8 @@ declare namespace io.flow.v0.models {
3648
3639
  }
3649
3640
  interface LocalItemPricing {
3650
3641
  readonly price: io.flow.v0.models.LocalizedItemPrice;
3642
+ readonly vat?: io.flow.v0.models.LocalizedItemVat;
3643
+ readonly duty?: io.flow.v0.models.LocalizedItemDuty;
3651
3644
  readonly attributes: {
3652
3645
  [key: string]: io.flow.v0.models.PriceWithBase;
3653
3646
  };
@@ -3823,6 +3816,33 @@ declare namespace io.flow.v0.models {
3823
3816
  readonly type: io.flow.v0.enums.ChangeType;
3824
3817
  readonly membership: io.flow.v0.models.Membership;
3825
3818
  }
3819
+ interface MerchantGiftCardBalance {
3820
+ readonly amount: number;
3821
+ readonly currency: string;
3822
+ }
3823
+ interface MerchantGiftCardBalanceForm {
3824
+ readonly number: string;
3825
+ }
3826
+ interface MerchantGiftCardError {
3827
+ readonly code: io.flow.v0.enums.MerchantGiftCardErrorCode;
3828
+ readonly messages?: string[];
3829
+ }
3830
+ interface MerchantGiftCardRedemption {
3831
+ readonly id: string;
3832
+ }
3833
+ interface MerchantGiftCardRedemptionForm {
3834
+ readonly number: string;
3835
+ readonly amount: number;
3836
+ readonly currency: string;
3837
+ }
3838
+ interface MerchantGiftCardReversal {
3839
+ readonly id: string;
3840
+ }
3841
+ interface MerchantGiftCardReversalForm {
3842
+ readonly number: string;
3843
+ readonly amount: number;
3844
+ readonly currency: string;
3845
+ }
3826
3846
  interface MerchantOfRecordAuthorizationForm {
3827
3847
  readonly token: string;
3828
3848
  readonly order_number: string;
@@ -4281,6 +4301,13 @@ declare namespace io.flow.v0.models {
4281
4301
  interface OrderRulesSummary {
4282
4302
  readonly applied: io.flow.v0.models.OrderRuleReference[];
4283
4303
  }
4304
+ interface OrderSubmissionForm {
4305
+ readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
4306
+ }
4307
+ interface OrderSubmissionIdentifierForm {
4308
+ readonly identifier: string;
4309
+ readonly primary?: boolean;
4310
+ }
4284
4311
  interface OrderUpserted {
4285
4312
  readonly event_id: string;
4286
4313
  readonly timestamp: string;
@@ -4697,6 +4724,7 @@ declare namespace io.flow.v0.models {
4697
4724
  }
4698
4725
  interface PhysicalDelivery {
4699
4726
  readonly id: string;
4727
+ readonly key?: string;
4700
4728
  readonly center?: io.flow.v0.models.CenterSummary;
4701
4729
  readonly items: io.flow.v0.models.DeliveryItem[];
4702
4730
  readonly options: io.flow.v0.models.DeliveryOption[];
@@ -6051,10 +6079,14 @@ declare namespace io.flow.v0.models {
6051
6079
  };
6052
6080
  }
6053
6081
  interface ShopifyOrderDeliveryMetafield {
6082
+ readonly key?: string;
6054
6083
  readonly items: io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem[];
6055
6084
  readonly service: io.flow.v0.models.ServiceSummary;
6056
6085
  readonly window: io.flow.v0.models.DeliveryWindow;
6057
6086
  readonly cost?: io.flow.v0.models.MoneyWithOptionalBase;
6087
+ readonly prices?: io.flow.v0.models.ShopifyPrice[];
6088
+ readonly total?: io.flow.v0.models.ShopifyPrice;
6089
+ readonly merchant_of_record_entity?: io.flow.v0.models.MerchantOfRecordEntity;
6058
6090
  }
6059
6091
  interface ShopifyOrderDeliveryMetafieldItem {
6060
6092
  readonly number: string;
@@ -6783,7 +6815,9 @@ declare namespace io.flow.v0.unions {
6783
6815
  discriminator: 'inline_authorization_form';
6784
6816
  } & io.flow.v0.models.InlineAuthorizationForm | {
6785
6817
  discriminator: 'ach_authorization_form';
6786
- } & io.flow.v0.models.AchAuthorizationForm;
6818
+ } & io.flow.v0.models.AchAuthorizationForm | {
6819
+ discriminator: 'card_payment_source_authorization_form';
6820
+ } & io.flow.v0.models.CardPaymentSourceAuthorizationForm;
6787
6821
  type AuthorizationPayloadParameters = {
6788
6822
  discriminator: 'google_pay_authorization_payload';
6789
6823
  } & io.flow.v0.models.GooglePayAuthorizationPayload | {
@@ -6974,10 +7008,6 @@ declare namespace io.flow.v0.unions {
6974
7008
  } & io.flow.v0.models.CenterUpserted | {
6975
7009
  discriminator: 'center_deleted';
6976
7010
  } & io.flow.v0.models.CenterDeleted | {
6977
- discriminator: 'delivery_option_upserted';
6978
- } & io.flow.v0.models.DeliveryOptionUpserted | {
6979
- discriminator: 'delivery_option_deleted';
6980
- } & io.flow.v0.models.DeliveryOptionDeleted | {
6981
7011
  discriminator: 'shipping_configuration_upserted';
6982
7012
  } & io.flow.v0.models.ShippingConfigurationUpserted | {
6983
7013
  discriminator: 'shipping_configuration_deleted';
@@ -7557,6 +7587,7 @@ export declare type CardErrorCode = io.flow.v0.enums.CardErrorCode;
7557
7587
  export declare type CardForm = io.flow.v0.models.CardForm;
7558
7588
  export declare type CardNonceForm = io.flow.v0.models.CardNonceForm;
7559
7589
  export declare type CardPaymentSource = io.flow.v0.models.CardPaymentSource;
7590
+ export declare type CardPaymentSourceAuthorizationForm = io.flow.v0.models.CardPaymentSourceAuthorizationForm;
7560
7591
  export declare type CardPaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
7561
7592
  export declare type CardPaymentSourceSummary = io.flow.v0.models.CardPaymentSourceSummary;
7562
7593
  export declare type CardReference = io.flow.v0.models.CardReference;
@@ -7691,11 +7722,9 @@ export declare type DeliveryOptionCostComponent = io.flow.v0.models.DeliveryOpti
7691
7722
  export declare type DeliveryOptionCostDetail = io.flow.v0.models.DeliveryOptionCostDetail;
7692
7723
  export declare type DeliveryOptionCostDetailComponentKey = io.flow.v0.enums.DeliveryOptionCostDetailComponentKey;
7693
7724
  export declare type DeliveryOptionCostDetailSource = io.flow.v0.enums.DeliveryOptionCostDetailSource;
7694
- export declare type DeliveryOptionDeleted = io.flow.v0.models.DeliveryOptionDeleted;
7695
7725
  export declare type DeliveryOptionForm = io.flow.v0.models.DeliveryOptionForm;
7696
7726
  export declare type DeliveryOptionReference = io.flow.v0.models.DeliveryOptionReference;
7697
7727
  export declare type DeliveryOptionSummary = io.flow.v0.models.DeliveryOptionSummary;
7698
- export declare type DeliveryOptionUpserted = io.flow.v0.models.DeliveryOptionUpserted;
7699
7728
  export declare type DeliveryOptionVersion = io.flow.v0.models.DeliveryOptionVersion;
7700
7729
  export declare type DeliverySummary = io.flow.v0.models.DeliverySummary;
7701
7730
  export declare type DeliveryVersion = io.flow.v0.models.DeliveryVersion;
@@ -7742,6 +7771,11 @@ export declare type Event = io.flow.v0.unions.Event;
7742
7771
  export declare type EventType = io.flow.v0.enums.EventType;
7743
7772
  export declare type Exception = io.flow.v0.models.Exception;
7744
7773
  export declare type ExceptionType = io.flow.v0.enums.ExceptionType;
7774
+ export declare type ExclusionRule = io.flow.v0.models.ExclusionRule;
7775
+ export declare type ExclusionRuleForm = io.flow.v0.models.ExclusionRuleForm;
7776
+ export declare type ExclusionRuleState = io.flow.v0.enums.ExclusionRuleState;
7777
+ export declare type ExclusionRuleStatistic = io.flow.v0.models.ExclusionRuleStatistic;
7778
+ export declare type ExclusionRuleVersion = io.flow.v0.models.ExclusionRuleVersion;
7745
7779
  export declare type ExpandableCard = io.flow.v0.unions.ExpandableCard;
7746
7780
  export declare type ExpandableCenter = io.flow.v0.unions.ExpandableCenter;
7747
7781
  export declare type ExpandableExperience = io.flow.v0.unions.ExpandableExperience;
@@ -8013,6 +8047,14 @@ export declare type MembershipForm = io.flow.v0.models.MembershipForm;
8013
8047
  export declare type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
8014
8048
  export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
8015
8049
  export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
8050
+ export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
8051
+ export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
8052
+ export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
8053
+ export declare type MerchantGiftCardErrorCode = io.flow.v0.enums.MerchantGiftCardErrorCode;
8054
+ export declare type MerchantGiftCardRedemption = io.flow.v0.models.MerchantGiftCardRedemption;
8055
+ export declare type MerchantGiftCardRedemptionForm = io.flow.v0.models.MerchantGiftCardRedemptionForm;
8056
+ export declare type MerchantGiftCardReversal = io.flow.v0.models.MerchantGiftCardReversal;
8057
+ export declare type MerchantGiftCardReversalForm = io.flow.v0.models.MerchantGiftCardReversalForm;
8016
8058
  export declare type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord;
8017
8059
  export declare type MerchantOfRecordAuthorizationForm = io.flow.v0.models.MerchantOfRecordAuthorizationForm;
8018
8060
  export declare type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordEntity;
@@ -8093,6 +8135,8 @@ export declare type OrderReference = io.flow.v0.models.OrderReference;
8093
8135
  export declare type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
8094
8136
  export declare type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
8095
8137
  export declare type OrderStatus = io.flow.v0.enums.OrderStatus;
8138
+ export declare type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
8139
+ export declare type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
8096
8140
  export declare type OrderUpserted = io.flow.v0.models.OrderUpserted;
8097
8141
  export declare type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2;
8098
8142
  export declare type OrderVersion = io.flow.v0.models.OrderVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
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",
@@ -27,5 +27,5 @@
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.2.2"
29
29
  },
30
- "gitHead": "e59c9b74bb6881744a73b755cad43bda1a6fb24b"
30
+ "gitHead": "69ce722b812cec7074f4d84a86a141720713b775"
31
31
  }