@flowio/types 11.24.39 → 11.24.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +77 -26
- package/dist/api.d.ts +81 -12
- package/package.json +2 -2
- package/src/api-internal.ts +101 -32
- package/src/api.ts +116 -12
package/dist/api.d.ts
CHANGED
|
@@ -1697,7 +1697,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1697
1697
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
1698
1698
|
type EntityIdentifierType = 'ioss' | 'voec';
|
|
1699
1699
|
type Environment = 'sandbox' | 'production';
|
|
1700
|
-
type EventType = 'transaction_upserted' | '
|
|
1700
|
+
type EventType = 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | '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' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_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' | 'email_notification_upserted' | 'email_notification_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' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | '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' | 'order_replacement_upserted' | 'order_replacement_deleted' | '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_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_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' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | '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' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
1701
1701
|
type ExceptionType = 'open' | 'closed';
|
|
1702
1702
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
1703
1703
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -1742,8 +1742,10 @@ declare namespace io.flow.v0.enums {
|
|
|
1742
1742
|
type MeasurementSystem = 'imperial' | 'metric';
|
|
1743
1743
|
type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
|
|
1744
1744
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
1745
|
+
type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
|
|
1745
1746
|
type Method = 'post';
|
|
1746
1747
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
1748
|
+
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box';
|
|
1747
1749
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
1748
1750
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
1749
1751
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
@@ -1829,7 +1831,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1829
1831
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
1830
1832
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
1831
1833
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
1832
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
1834
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
1833
1835
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
1834
1836
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
1835
1837
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
@@ -2199,6 +2201,10 @@ declare namespace io.flow.v0.models {
|
|
|
2199
2201
|
readonly validation_url: string;
|
|
2200
2202
|
readonly display_name?: string;
|
|
2201
2203
|
}
|
|
2204
|
+
interface ApplicationReceived {
|
|
2205
|
+
readonly discriminator: 'application_received';
|
|
2206
|
+
readonly placeholder: boolean;
|
|
2207
|
+
}
|
|
2202
2208
|
interface AtCost {
|
|
2203
2209
|
readonly discriminator: 'at_cost';
|
|
2204
2210
|
readonly ignore?: string;
|
|
@@ -3130,6 +3136,13 @@ declare namespace io.flow.v0.models {
|
|
|
3130
3136
|
readonly channel_id: string;
|
|
3131
3137
|
readonly channel_transaction: io.flow.v0.models.ChannelTransaction;
|
|
3132
3138
|
}
|
|
3139
|
+
interface ChannelTransactionDeletedV2 {
|
|
3140
|
+
readonly discriminator: 'channel_transaction_deleted_v2';
|
|
3141
|
+
readonly event_id: string;
|
|
3142
|
+
readonly timestamp: string;
|
|
3143
|
+
readonly channel_id: string;
|
|
3144
|
+
readonly id: string;
|
|
3145
|
+
}
|
|
3133
3146
|
interface ChannelTransactionUpserted {
|
|
3134
3147
|
readonly discriminator: 'channel_transaction_upserted';
|
|
3135
3148
|
readonly event_id: string;
|
|
@@ -4954,6 +4967,10 @@ declare namespace io.flow.v0.models {
|
|
|
4954
4967
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
4955
4968
|
readonly import: io.flow.v0.models.Import;
|
|
4956
4969
|
}
|
|
4970
|
+
interface InComplianceReview {
|
|
4971
|
+
readonly discriminator: 'in_compliance_review';
|
|
4972
|
+
readonly placeholder: boolean;
|
|
4973
|
+
}
|
|
4957
4974
|
interface InboundCartonFee {
|
|
4958
4975
|
readonly discriminator: 'inbound_carton_fee';
|
|
4959
4976
|
readonly amount: io.flow.v0.models.Money;
|
|
@@ -5736,6 +5753,10 @@ declare namespace io.flow.v0.models {
|
|
|
5736
5753
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
5737
5754
|
readonly membership: io.flow.v0.models.Membership;
|
|
5738
5755
|
}
|
|
5756
|
+
interface MerchantActivated {
|
|
5757
|
+
readonly discriminator: 'merchant_activated';
|
|
5758
|
+
readonly placeholder: boolean;
|
|
5759
|
+
}
|
|
5739
5760
|
interface MerchantApplicationDeleted {
|
|
5740
5761
|
readonly discriminator: 'merchant_application_deleted';
|
|
5741
5762
|
readonly event_id: string;
|
|
@@ -5829,6 +5850,11 @@ declare namespace io.flow.v0.models {
|
|
|
5829
5850
|
readonly postal?: string;
|
|
5830
5851
|
readonly country?: string;
|
|
5831
5852
|
}
|
|
5853
|
+
interface MerchantRejected {
|
|
5854
|
+
readonly discriminator: 'merchant_rejected';
|
|
5855
|
+
readonly reason: io.flow.v0.enums.MerchantRejectedReason;
|
|
5856
|
+
readonly description?: string;
|
|
5857
|
+
}
|
|
5832
5858
|
interface Money {
|
|
5833
5859
|
readonly amount: number;
|
|
5834
5860
|
readonly currency: string;
|
|
@@ -5909,6 +5935,10 @@ declare namespace io.flow.v0.models {
|
|
|
5909
5935
|
readonly id: string;
|
|
5910
5936
|
readonly status: io.flow.v0.enums.OrganizationStatus;
|
|
5911
5937
|
}
|
|
5938
|
+
interface OnboardingStateTransition {
|
|
5939
|
+
readonly state: io.flow.v0.unions.OnboardingState;
|
|
5940
|
+
readonly started_at: string;
|
|
5941
|
+
}
|
|
5912
5942
|
interface OnlineAuthorization {
|
|
5913
5943
|
readonly discriminator: 'online_authorization';
|
|
5914
5944
|
readonly id: string;
|
|
@@ -6701,6 +6731,11 @@ declare namespace io.flow.v0.models {
|
|
|
6701
6731
|
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
6702
6732
|
readonly type?: io.flow.v0.enums.OrganizationType;
|
|
6703
6733
|
}
|
|
6734
|
+
interface OrganizationOnboardingState {
|
|
6735
|
+
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
6736
|
+
readonly transitions: io.flow.v0.models.OnboardingStateTransition[];
|
|
6737
|
+
readonly current_state: io.flow.v0.unions.OnboardingState;
|
|
6738
|
+
}
|
|
6704
6739
|
interface OrganizationPutForm {
|
|
6705
6740
|
readonly name?: string;
|
|
6706
6741
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
@@ -6788,6 +6823,20 @@ declare namespace io.flow.v0.models {
|
|
|
6788
6823
|
readonly id: string;
|
|
6789
6824
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
6790
6825
|
}
|
|
6826
|
+
interface OrganizationTransactionDeleted {
|
|
6827
|
+
readonly discriminator: 'organization_transaction_deleted';
|
|
6828
|
+
readonly event_id: string;
|
|
6829
|
+
readonly timestamp: string;
|
|
6830
|
+
readonly organization: string;
|
|
6831
|
+
readonly id: string;
|
|
6832
|
+
}
|
|
6833
|
+
interface OrganizationTransactionUpserted {
|
|
6834
|
+
readonly discriminator: 'organization_transaction_upserted';
|
|
6835
|
+
readonly event_id: string;
|
|
6836
|
+
readonly timestamp: string;
|
|
6837
|
+
readonly organization: string;
|
|
6838
|
+
readonly transaction: io.flow.v0.models.Transaction;
|
|
6839
|
+
}
|
|
6791
6840
|
interface OrganizationUpserted {
|
|
6792
6841
|
readonly discriminator: 'organization_upserted';
|
|
6793
6842
|
readonly event_id: string;
|
|
@@ -6947,7 +6996,7 @@ declare namespace io.flow.v0.models {
|
|
|
6947
6996
|
readonly first_name?: string;
|
|
6948
6997
|
readonly last_name: string;
|
|
6949
6998
|
readonly email: string;
|
|
6950
|
-
readonly phone
|
|
6999
|
+
readonly phone?: string;
|
|
6951
7000
|
}
|
|
6952
7001
|
interface PaymentCryptopay {
|
|
6953
7002
|
readonly discriminator: 'payment_cryptopay';
|
|
@@ -8567,6 +8616,18 @@ declare namespace io.flow.v0.models {
|
|
|
8567
8616
|
interface SessionVisitor {
|
|
8568
8617
|
readonly id: string;
|
|
8569
8618
|
}
|
|
8619
|
+
interface SetupBlocked {
|
|
8620
|
+
readonly discriminator: 'setup_blocked';
|
|
8621
|
+
readonly reasons: io.flow.v0.enums.OnboardingBlockedReason[];
|
|
8622
|
+
}
|
|
8623
|
+
interface SetupCompleted {
|
|
8624
|
+
readonly discriminator: 'setup_completed';
|
|
8625
|
+
readonly placeholder: boolean;
|
|
8626
|
+
}
|
|
8627
|
+
interface SetupInProgress {
|
|
8628
|
+
readonly discriminator: 'setup_in_progress';
|
|
8629
|
+
readonly placeholder: boolean;
|
|
8630
|
+
}
|
|
8570
8631
|
interface ShipmentWindow {
|
|
8571
8632
|
readonly from: number;
|
|
8572
8633
|
readonly to: number;
|
|
@@ -9760,13 +9821,6 @@ declare namespace io.flow.v0.models {
|
|
|
9760
9821
|
readonly identifiers: Record<string, string>;
|
|
9761
9822
|
readonly created_at: string;
|
|
9762
9823
|
}
|
|
9763
|
-
interface TransactionDeleted {
|
|
9764
|
-
readonly discriminator: 'transaction_deleted';
|
|
9765
|
-
readonly event_id: string;
|
|
9766
|
-
readonly timestamp: string;
|
|
9767
|
-
readonly organization: string;
|
|
9768
|
-
readonly transaction: io.flow.v0.models.Transaction;
|
|
9769
|
-
}
|
|
9770
9824
|
interface TransactionUpserted {
|
|
9771
9825
|
readonly discriminator: 'transaction_upserted';
|
|
9772
9826
|
readonly event_id: string;
|
|
@@ -10005,7 +10059,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10005
10059
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
10006
10060
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
10007
10061
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
10008
|
-
type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.
|
|
10062
|
+
type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
10009
10063
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
10010
10064
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
10011
10065
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -10029,6 +10083,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10029
10083
|
type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
10030
10084
|
type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
10031
10085
|
type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
10086
|
+
type OnboardingState = io.flow.v0.models.ApplicationReceived | io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated;
|
|
10032
10087
|
type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
|
|
10033
10088
|
type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
|
|
10034
10089
|
type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
@@ -10147,6 +10202,7 @@ export declare type AmountMargin = io.flow.v0.models.AmountMargin;
|
|
|
10147
10202
|
export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
|
|
10148
10203
|
export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
|
|
10149
10204
|
export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
10205
|
+
export declare type ApplicationReceived = io.flow.v0.models.ApplicationReceived;
|
|
10150
10206
|
export declare type AtCost = io.flow.v0.models.AtCost;
|
|
10151
10207
|
export declare type Attachment = io.flow.v0.models.Attachment;
|
|
10152
10208
|
export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
|
|
@@ -10324,6 +10380,7 @@ export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
|
10324
10380
|
export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
10325
10381
|
export declare type ChannelTransaction = io.flow.v0.models.ChannelTransaction;
|
|
10326
10382
|
export declare type ChannelTransactionDeleted = io.flow.v0.models.ChannelTransactionDeleted;
|
|
10383
|
+
export declare type ChannelTransactionDeletedV2 = io.flow.v0.models.ChannelTransactionDeletedV2;
|
|
10327
10384
|
export declare type ChannelTransactionUpserted = io.flow.v0.models.ChannelTransactionUpserted;
|
|
10328
10385
|
export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
10329
10386
|
export declare type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
|
|
@@ -10712,6 +10769,7 @@ export declare type ImportTemplateExample = io.flow.v0.models.ImportTemplateExam
|
|
|
10712
10769
|
export declare type ImportTemplateForm = io.flow.v0.models.ImportTemplateForm;
|
|
10713
10770
|
export declare type ImportType = io.flow.v0.enums.ImportType;
|
|
10714
10771
|
export declare type ImportVersion = io.flow.v0.models.ImportVersion;
|
|
10772
|
+
export declare type InComplianceReview = io.flow.v0.models.InComplianceReview;
|
|
10715
10773
|
export declare type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
10716
10774
|
export declare type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
10717
10775
|
export declare type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
@@ -10861,6 +10919,7 @@ export declare type MembershipForm = io.flow.v0.models.MembershipForm;
|
|
|
10861
10919
|
export declare type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
|
|
10862
10920
|
export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
|
|
10863
10921
|
export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
|
|
10922
|
+
export declare type MerchantActivated = io.flow.v0.models.MerchantActivated;
|
|
10864
10923
|
export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
|
|
10865
10924
|
export declare type MerchantApplicationDeleted = io.flow.v0.models.MerchantApplicationDeleted;
|
|
10866
10925
|
export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
|
|
@@ -10882,6 +10941,8 @@ export declare type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordE
|
|
|
10882
10941
|
export declare type MerchantOfRecordEntityRegistration = io.flow.v0.models.MerchantOfRecordEntityRegistration;
|
|
10883
10942
|
export declare type MerchantOfRecordPaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
10884
10943
|
export declare type MerchantOnboardingAddress = io.flow.v0.models.MerchantOnboardingAddress;
|
|
10944
|
+
export declare type MerchantRejected = io.flow.v0.models.MerchantRejected;
|
|
10945
|
+
export declare type MerchantRejectedReason = io.flow.v0.enums.MerchantRejectedReason;
|
|
10885
10946
|
export declare type Method = io.flow.v0.enums.Method;
|
|
10886
10947
|
export declare type Money = io.flow.v0.models.Money;
|
|
10887
10948
|
export declare type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
|
|
@@ -10897,10 +10958,13 @@ export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDelete
|
|
|
10897
10958
|
export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
10898
10959
|
export declare type NumberRange = io.flow.v0.models.NumberRange;
|
|
10899
10960
|
export declare type OnboardingApplicationStatus = io.flow.v0.enums.OnboardingApplicationStatus;
|
|
10961
|
+
export declare type OnboardingBlockedReason = io.flow.v0.enums.OnboardingBlockedReason;
|
|
10900
10962
|
export declare type OnboardingMerchantPickupWindow = io.flow.v0.models.OnboardingMerchantPickupWindow;
|
|
10901
10963
|
export declare type OnboardingMerchantScheduledPickup = io.flow.v0.models.OnboardingMerchantScheduledPickup;
|
|
10902
10964
|
export declare type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
|
|
10903
10965
|
export declare type OnboardingOrganizationReference = io.flow.v0.models.OnboardingOrganizationReference;
|
|
10966
|
+
export declare type OnboardingState = io.flow.v0.unions.OnboardingState;
|
|
10967
|
+
export declare type OnboardingStateTransition = io.flow.v0.models.OnboardingStateTransition;
|
|
10904
10968
|
export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
10905
10969
|
export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
10906
10970
|
export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -11049,6 +11113,7 @@ export declare type OrganizationDefaults = io.flow.v0.models.OrganizationDefault
|
|
|
11049
11113
|
export declare type OrganizationDeleted = io.flow.v0.models.OrganizationDeleted;
|
|
11050
11114
|
export declare type OrganizationDeletedV2 = io.flow.v0.models.OrganizationDeletedV2;
|
|
11051
11115
|
export declare type OrganizationForm = io.flow.v0.models.OrganizationForm;
|
|
11116
|
+
export declare type OrganizationOnboardingState = io.flow.v0.models.OrganizationOnboardingState;
|
|
11052
11117
|
export declare type OrganizationPaymentMethodTag = io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
11053
11118
|
export declare type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
|
|
11054
11119
|
export declare type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData;
|
|
@@ -11064,6 +11129,8 @@ export declare type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationToke
|
|
|
11064
11129
|
export declare type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference;
|
|
11065
11130
|
export declare type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
|
|
11066
11131
|
export declare type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference;
|
|
11132
|
+
export declare type OrganizationTransactionDeleted = io.flow.v0.models.OrganizationTransactionDeleted;
|
|
11133
|
+
export declare type OrganizationTransactionUpserted = io.flow.v0.models.OrganizationTransactionUpserted;
|
|
11067
11134
|
export declare type OrganizationType = io.flow.v0.enums.OrganizationType;
|
|
11068
11135
|
export declare type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
|
|
11069
11136
|
export declare type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
|
|
@@ -11428,6 +11495,9 @@ export declare type SessionReference = io.flow.v0.models.SessionReference;
|
|
|
11428
11495
|
export declare type SessionVisit = io.flow.v0.models.SessionVisit;
|
|
11429
11496
|
export declare type SessionVisitor = io.flow.v0.models.SessionVisitor;
|
|
11430
11497
|
export declare type Settlement = io.flow.v0.unions.Settlement;
|
|
11498
|
+
export declare type SetupBlocked = io.flow.v0.models.SetupBlocked;
|
|
11499
|
+
export declare type SetupCompleted = io.flow.v0.models.SetupCompleted;
|
|
11500
|
+
export declare type SetupInProgress = io.flow.v0.models.SetupInProgress;
|
|
11431
11501
|
export declare type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType;
|
|
11432
11502
|
export declare type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient;
|
|
11433
11503
|
export declare type ShipmentWindow = io.flow.v0.models.ShipmentWindow;
|
|
@@ -11646,7 +11716,6 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
|
|
|
11646
11716
|
export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
11647
11717
|
export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
11648
11718
|
export declare type Transaction = io.flow.v0.models.Transaction;
|
|
11649
|
-
export declare type TransactionDeleted = io.flow.v0.models.TransactionDeleted;
|
|
11650
11719
|
export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
11651
11720
|
export declare type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
11652
11721
|
export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.40",
|
|
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",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "475458c8e90ba7ef707144894938180f4237ff3f"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -7025,7 +7025,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7025
7025
|
readonly discount_applications: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[];
|
|
7026
7026
|
readonly discount_codes: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[];
|
|
7027
7027
|
readonly email?: string;
|
|
7028
|
-
readonly financial_status
|
|
7028
|
+
readonly financial_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFinancialStatusType;
|
|
7029
7029
|
readonly fulfillments: io.flow.shopify.markets.v0.models.ShopifyOrderFulfillment[];
|
|
7030
7030
|
readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
7031
7031
|
readonly landing_site?: string;
|
|
@@ -7955,7 +7955,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7955
7955
|
readonly first_name?: string;
|
|
7956
7956
|
readonly last_name: string;
|
|
7957
7957
|
readonly email: string;
|
|
7958
|
-
readonly phone
|
|
7958
|
+
readonly phone?: string;
|
|
7959
7959
|
}
|
|
7960
7960
|
|
|
7961
7961
|
interface PaymentDiscount {
|
|
@@ -11381,6 +11381,7 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
11381
11381
|
| 'other_adjustment'
|
|
11382
11382
|
| 'tax_adjustment'
|
|
11383
11383
|
| 'channel'
|
|
11384
|
+
| 'channel_billed'
|
|
11384
11385
|
| 'order_service'
|
|
11385
11386
|
| 'virtual_card_capture'
|
|
11386
11387
|
| 'virtual_card_refund';
|
|
@@ -13190,6 +13191,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13190
13191
|
| 'statement'
|
|
13191
13192
|
| 'consumer_invoice'
|
|
13192
13193
|
| 'credit_memo'
|
|
13194
|
+
| 'channel_billed'
|
|
13193
13195
|
| 'transactions'
|
|
13194
13196
|
| 'virtual_card'
|
|
13195
13197
|
| 'tax_remittance'
|
|
@@ -13217,7 +13219,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13217
13219
|
| 'dispute'
|
|
13218
13220
|
| 'channel'
|
|
13219
13221
|
| 'label'
|
|
13220
|
-
| 'order'
|
|
13222
|
+
| 'order'
|
|
13223
|
+
| 'channel_billed';
|
|
13221
13224
|
type BlazeCheckoutEvent =
|
|
13222
13225
|
| 'begin_checkout'
|
|
13223
13226
|
| 'select_promotion'
|
|
@@ -13238,6 +13241,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13238
13241
|
| 'item_prices'
|
|
13239
13242
|
| 'price_book_items_import'
|
|
13240
13243
|
| 'price_book_items_query_import';
|
|
13244
|
+
type ChannelBilledTransactionType = 'adjustment' | 'channel_initiated';
|
|
13241
13245
|
type ChannelOrderAcceptanceRejectionReason =
|
|
13242
13246
|
| 'unsupported_origin_country'
|
|
13243
13247
|
| 'unsupported_destination_country'
|
|
@@ -13624,6 +13628,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13624
13628
|
| 'order_transaction_deleted'
|
|
13625
13629
|
| 'label_transaction_upserted'
|
|
13626
13630
|
| 'label_transaction_deleted'
|
|
13631
|
+
| 'channel_billed_transaction_upserted'
|
|
13632
|
+
| 'channel_billed_transaction_deleted'
|
|
13627
13633
|
| 'calculator_organization_settings_upserted'
|
|
13628
13634
|
| 'calculator_organization_settings_deleted'
|
|
13629
13635
|
| 'carrier_account_upserted_v2'
|
|
@@ -14027,15 +14033,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14027
14033
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
14028
14034
|
type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
|
|
14029
14035
|
type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason';
|
|
14030
|
-
type OrganizationRestrictionQueue =
|
|
14031
|
-
| 'in_review'
|
|
14032
|
-
| 'reviewed'
|
|
14033
|
-
| 'rejected'
|
|
14034
|
-
| 'unscreened';
|
|
14035
14036
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
14036
14037
|
type OrganizationRestrictionScreeningStatus =
|
|
14037
|
-
| '
|
|
14038
|
-
| '
|
|
14038
|
+
| 'in_review'
|
|
14039
|
+
| 'full_reviewed'
|
|
14039
14040
|
| 'rejected'
|
|
14040
14041
|
| 'unscreened';
|
|
14041
14042
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -15261,6 +15262,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15261
15262
|
readonly channel: io.flow.common.v0.models.Price;
|
|
15262
15263
|
readonly label: io.flow.common.v0.models.Price;
|
|
15263
15264
|
readonly order: io.flow.common.v0.models.Price;
|
|
15265
|
+
readonly channel_billed: io.flow.common.v0.models.Price;
|
|
15264
15266
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
15265
15267
|
}
|
|
15266
15268
|
|
|
@@ -15736,6 +15738,55 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15736
15738
|
readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
|
|
15737
15739
|
}
|
|
15738
15740
|
|
|
15741
|
+
interface ChannelBilledTransaction {
|
|
15742
|
+
readonly discriminator: 'channel_billed_transaction';
|
|
15743
|
+
readonly id: string;
|
|
15744
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
15745
|
+
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
15746
|
+
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
15747
|
+
readonly posted_at?: string;
|
|
15748
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
15749
|
+
readonly description: string;
|
|
15750
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
15751
|
+
readonly created_at: string;
|
|
15752
|
+
}
|
|
15753
|
+
|
|
15754
|
+
interface ChannelBilledTransactionDeleted {
|
|
15755
|
+
readonly discriminator: 'channel_billed_transaction_deleted';
|
|
15756
|
+
readonly event_id: string;
|
|
15757
|
+
readonly timestamp: string;
|
|
15758
|
+
readonly id: string;
|
|
15759
|
+
}
|
|
15760
|
+
|
|
15761
|
+
interface ChannelBilledTransactionPair {
|
|
15762
|
+
readonly id: string;
|
|
15763
|
+
readonly key: string;
|
|
15764
|
+
readonly attributes?: Record<string, string>;
|
|
15765
|
+
readonly organization_transaction: io.flow.internal.v0.models.ChannelBilledTransactionReference;
|
|
15766
|
+
readonly channel_transaction: io.flow.internal.v0.models.ChannelBilledTransactionReference;
|
|
15767
|
+
}
|
|
15768
|
+
|
|
15769
|
+
interface ChannelBilledTransactionPairForm {
|
|
15770
|
+
readonly channel_id: string;
|
|
15771
|
+
readonly organization_id: string;
|
|
15772
|
+
readonly amount: number;
|
|
15773
|
+
readonly currency: string;
|
|
15774
|
+
readonly description: string;
|
|
15775
|
+
readonly order_number?: string;
|
|
15776
|
+
readonly attributes?: Record<string, string>;
|
|
15777
|
+
}
|
|
15778
|
+
|
|
15779
|
+
interface ChannelBilledTransactionReference {
|
|
15780
|
+
readonly id: string;
|
|
15781
|
+
}
|
|
15782
|
+
|
|
15783
|
+
interface ChannelBilledTransactionUpserted {
|
|
15784
|
+
readonly discriminator: 'channel_billed_transaction_upserted';
|
|
15785
|
+
readonly event_id: string;
|
|
15786
|
+
readonly timestamp: string;
|
|
15787
|
+
readonly channel_billed_transaction: io.flow.internal.v0.models.ChannelBilledTransaction;
|
|
15788
|
+
}
|
|
15789
|
+
|
|
15739
15790
|
interface ChannelBillingStatement {
|
|
15740
15791
|
readonly id: string;
|
|
15741
15792
|
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
@@ -20916,7 +20967,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20916
20967
|
|
|
20917
20968
|
interface InternalPaypalAuthorizationDetails {
|
|
20918
20969
|
readonly discriminator: 'internal_paypal_authorization_details';
|
|
20919
|
-
readonly paypal_authentication_data: io.flow.internal.v0.models.
|
|
20970
|
+
readonly paypal_authentication_data: io.flow.internal.v0.models.PaypalAccountReference;
|
|
20920
20971
|
}
|
|
20921
20972
|
|
|
20922
20973
|
interface InternalRedirectAuthorizationDetails {
|
|
@@ -22621,6 +22672,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22621
22672
|
|
|
22622
22673
|
interface OrganizationRestrictionScreeningDecisionForm {
|
|
22623
22674
|
readonly organization_id: string;
|
|
22675
|
+
readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
22624
22676
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
22625
22677
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
22626
22678
|
readonly hs_code?: string;
|
|
@@ -22771,6 +22823,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22771
22823
|
readonly partner: string;
|
|
22772
22824
|
}
|
|
22773
22825
|
|
|
22826
|
+
interface PartnerOrganizationSettings {
|
|
22827
|
+
readonly glbe_merchant_guid: string;
|
|
22828
|
+
}
|
|
22829
|
+
|
|
22830
|
+
interface PartnerOrganizationSettingsForm {
|
|
22831
|
+
readonly glbe_merchant_guid: string;
|
|
22832
|
+
}
|
|
22833
|
+
|
|
22774
22834
|
interface Passphrase {
|
|
22775
22835
|
readonly id: string;
|
|
22776
22836
|
readonly tribe: io.flow.internal.v0.models.Tribe;
|
|
@@ -22896,23 +22956,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22896
22956
|
readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
|
|
22897
22957
|
}
|
|
22898
22958
|
|
|
22899
|
-
interface
|
|
22900
|
-
readonly username: string;
|
|
22901
|
-
readonly password_reference: string;
|
|
22902
|
-
}
|
|
22903
|
-
|
|
22904
|
-
interface PaypalAuthenticationData {
|
|
22959
|
+
interface PaypalAccountReference {
|
|
22905
22960
|
readonly id: string;
|
|
22906
|
-
readonly
|
|
22907
|
-
readonly key: string;
|
|
22908
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
22909
|
-
readonly client_id: io.flow.internal.v0.models.CipherReference;
|
|
22910
|
-
readonly secret: io.flow.internal.v0.models.CipherReference;
|
|
22961
|
+
readonly flow_merchant_id?: string;
|
|
22911
22962
|
}
|
|
22912
22963
|
|
|
22913
|
-
interface
|
|
22914
|
-
readonly
|
|
22915
|
-
readonly
|
|
22964
|
+
interface PaypalAuthentication {
|
|
22965
|
+
readonly username: string;
|
|
22966
|
+
readonly password_reference: string;
|
|
22916
22967
|
}
|
|
22917
22968
|
|
|
22918
22969
|
interface PaypalAuthenticationForm {
|
|
@@ -23797,6 +23848,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23797
23848
|
readonly name: string;
|
|
23798
23849
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
23799
23850
|
readonly url?: string;
|
|
23851
|
+
readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
23800
23852
|
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
23801
23853
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
23802
23854
|
readonly hs_code?: string;
|
|
@@ -25932,6 +25984,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25932
25984
|
| io.flow.internal.v0.models.OrderTransactionDeleted
|
|
25933
25985
|
| io.flow.internal.v0.models.LabelTransactionUpserted
|
|
25934
25986
|
| io.flow.internal.v0.models.LabelTransactionDeleted
|
|
25987
|
+
| io.flow.internal.v0.models.ChannelBilledTransactionUpserted
|
|
25988
|
+
| io.flow.internal.v0.models.ChannelBilledTransactionDeleted
|
|
25935
25989
|
| io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
|
|
25936
25990
|
| io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
|
|
25937
25991
|
| io.flow.internal.v0.models.CarrierAccountUpsertedV2
|
|
@@ -26383,7 +26437,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26383
26437
|
| io.flow.internal.v0.models.DisputeTransaction
|
|
26384
26438
|
| io.flow.internal.v0.models.ChannelTransaction
|
|
26385
26439
|
| io.flow.internal.v0.models.LabelTransaction
|
|
26386
|
-
| io.flow.internal.v0.models.OrderTransaction
|
|
26440
|
+
| io.flow.internal.v0.models.OrderTransaction
|
|
26441
|
+
| io.flow.internal.v0.models.ChannelBilledTransaction;
|
|
26387
26442
|
type TransactionSummary =
|
|
26388
26443
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
26389
26444
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -26803,6 +26858,20 @@ export type ChannelAccountDeleted =
|
|
|
26803
26858
|
io.flow.internal.v0.models.ChannelAccountDeleted;
|
|
26804
26859
|
export type ChannelAccountUpsertedV2 =
|
|
26805
26860
|
io.flow.internal.v0.models.ChannelAccountUpsertedV2;
|
|
26861
|
+
export type ChannelBilledTransaction =
|
|
26862
|
+
io.flow.internal.v0.models.ChannelBilledTransaction;
|
|
26863
|
+
export type ChannelBilledTransactionDeleted =
|
|
26864
|
+
io.flow.internal.v0.models.ChannelBilledTransactionDeleted;
|
|
26865
|
+
export type ChannelBilledTransactionPair =
|
|
26866
|
+
io.flow.internal.v0.models.ChannelBilledTransactionPair;
|
|
26867
|
+
export type ChannelBilledTransactionPairForm =
|
|
26868
|
+
io.flow.internal.v0.models.ChannelBilledTransactionPairForm;
|
|
26869
|
+
export type ChannelBilledTransactionReference =
|
|
26870
|
+
io.flow.internal.v0.models.ChannelBilledTransactionReference;
|
|
26871
|
+
export type ChannelBilledTransactionType =
|
|
26872
|
+
io.flow.internal.v0.enums.ChannelBilledTransactionType;
|
|
26873
|
+
export type ChannelBilledTransactionUpserted =
|
|
26874
|
+
io.flow.internal.v0.models.ChannelBilledTransactionUpserted;
|
|
26806
26875
|
export type ChannelBillingStatement =
|
|
26807
26876
|
io.flow.internal.v0.models.ChannelBillingStatement;
|
|
26808
26877
|
export type ChannelCurrencyForm =
|
|
@@ -29038,8 +29107,6 @@ export type OrganizationRestrictionNoteForm =
|
|
|
29038
29107
|
io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
|
|
29039
29108
|
export type OrganizationRestrictionNoteType =
|
|
29040
29109
|
io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
29041
|
-
export type OrganizationRestrictionQueue =
|
|
29042
|
-
io.flow.internal.v0.enums.OrganizationRestrictionQueue;
|
|
29043
29110
|
export type OrganizationRestrictionRiskLevel =
|
|
29044
29111
|
io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
29045
29112
|
export type OrganizationRestrictionScreeningDecisionForm =
|
|
@@ -29085,6 +29152,10 @@ export type PartnerOrganizationAuthorization =
|
|
|
29085
29152
|
io.flow.internal.v0.models.PartnerOrganizationAuthorization;
|
|
29086
29153
|
export type PartnerOrganizationAuthorizationForm =
|
|
29087
29154
|
io.flow.internal.v0.models.PartnerOrganizationAuthorizationForm;
|
|
29155
|
+
export type PartnerOrganizationSettings =
|
|
29156
|
+
io.flow.internal.v0.models.PartnerOrganizationSettings;
|
|
29157
|
+
export type PartnerOrganizationSettingsForm =
|
|
29158
|
+
io.flow.internal.v0.models.PartnerOrganizationSettingsForm;
|
|
29088
29159
|
export type Passphrase = io.flow.internal.v0.models.Passphrase;
|
|
29089
29160
|
export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
|
|
29090
29161
|
export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
|
|
@@ -29117,12 +29188,10 @@ export type PaypalAccountModificationForm =
|
|
|
29117
29188
|
io.flow.internal.v0.models.PaypalAccountModificationForm;
|
|
29118
29189
|
export type PaypalAccountPutForm =
|
|
29119
29190
|
io.flow.internal.v0.models.PaypalAccountPutForm;
|
|
29191
|
+
export type PaypalAccountReference =
|
|
29192
|
+
io.flow.internal.v0.models.PaypalAccountReference;
|
|
29120
29193
|
export type PaypalAuthentication =
|
|
29121
29194
|
io.flow.internal.v0.models.PaypalAuthentication;
|
|
29122
|
-
export type PaypalAuthenticationData =
|
|
29123
|
-
io.flow.internal.v0.models.PaypalAuthenticationData;
|
|
29124
|
-
export type PaypalAuthenticationDataReference =
|
|
29125
|
-
io.flow.internal.v0.models.PaypalAuthenticationDataReference;
|
|
29126
29195
|
export type PaypalAuthenticationForm =
|
|
29127
29196
|
io.flow.internal.v0.models.PaypalAuthenticationForm;
|
|
29128
29197
|
export type PaypalAuthorizationPayload =
|