@flowio/types 11.23.6 → 11.23.7
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 +40 -3
- package/dist/api.d.ts +49 -18
- package/package.json +2 -2
- package/src/api-internal.ts +49 -3
- package/src/api.ts +57 -16
package/dist/api-internal.d.ts
CHANGED
|
@@ -3243,7 +3243,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3243
3243
|
readonly created: number;
|
|
3244
3244
|
readonly currency: string;
|
|
3245
3245
|
readonly customer?: string;
|
|
3246
|
-
readonly outcome
|
|
3246
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
3247
3247
|
readonly paid: boolean;
|
|
3248
3248
|
readonly refunded: boolean;
|
|
3249
3249
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -3290,7 +3290,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3290
3290
|
readonly created: number;
|
|
3291
3291
|
readonly currency: string;
|
|
3292
3292
|
readonly customer?: string;
|
|
3293
|
-
readonly outcome
|
|
3293
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
3294
3294
|
readonly paid: boolean;
|
|
3295
3295
|
readonly refunded: boolean;
|
|
3296
3296
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -6949,7 +6949,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6949
6949
|
interface PaymentMethodSummaryIdeal {
|
|
6950
6950
|
readonly type: 'ideal';
|
|
6951
6951
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6952
|
-
readonly issuer
|
|
6952
|
+
readonly issuer?: string;
|
|
6953
6953
|
}
|
|
6954
6954
|
interface PaymentMethodSummaryKlarna {
|
|
6955
6955
|
readonly type: 'klarna';
|
|
@@ -9821,6 +9821,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9821
9821
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
9822
9822
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
9823
9823
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
9824
|
+
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
9824
9825
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
9825
9826
|
type Owner = 'flow' | 'organization';
|
|
9826
9827
|
type PaymentSummaryStatus = 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded';
|
|
@@ -14069,6 +14070,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14069
14070
|
readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
|
|
14070
14071
|
readonly order_service?: io.flow.internal.v0.models.Fee;
|
|
14071
14072
|
}
|
|
14073
|
+
interface FinancialMerchantCategory {
|
|
14074
|
+
readonly id: string;
|
|
14075
|
+
readonly iso_18245_4: string;
|
|
14076
|
+
readonly title: string;
|
|
14077
|
+
readonly category_group: string;
|
|
14078
|
+
readonly description?: string;
|
|
14079
|
+
}
|
|
14072
14080
|
interface FinancialReportingStatement {
|
|
14073
14081
|
readonly id: string;
|
|
14074
14082
|
readonly statement_number: string;
|
|
@@ -16572,6 +16580,30 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16572
16580
|
readonly from: string;
|
|
16573
16581
|
readonly to: string;
|
|
16574
16582
|
}
|
|
16583
|
+
interface OrganizationPaymentSetting {
|
|
16584
|
+
readonly organization_id: string;
|
|
16585
|
+
readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
16586
|
+
readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
16587
|
+
readonly checkout_domain?: string;
|
|
16588
|
+
readonly merchant_category_code?: string;
|
|
16589
|
+
readonly payment_statement_suffix?: string;
|
|
16590
|
+
readonly payment_statement_condensed?: string;
|
|
16591
|
+
readonly created_at: string;
|
|
16592
|
+
readonly updated_at: string;
|
|
16593
|
+
}
|
|
16594
|
+
interface OrganizationPaymentSettingForm {
|
|
16595
|
+
readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
16596
|
+
readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
16597
|
+
readonly checkout_domain?: string;
|
|
16598
|
+
readonly merchant_category_code?: string;
|
|
16599
|
+
readonly payment_statement_suffix?: string;
|
|
16600
|
+
}
|
|
16601
|
+
interface OrganizationPaymentSettingVersion {
|
|
16602
|
+
readonly id: string;
|
|
16603
|
+
readonly timestamp: string;
|
|
16604
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
16605
|
+
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
16606
|
+
}
|
|
16575
16607
|
interface OrganizationSettings {
|
|
16576
16608
|
readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
16577
16609
|
readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
@@ -19952,6 +19984,7 @@ export declare type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
|
|
|
19952
19984
|
export declare type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
|
|
19953
19985
|
export declare type FeedsExport = io.flow.internal.v0.models.FeedsExport;
|
|
19954
19986
|
export declare type Fees = io.flow.internal.v0.models.Fees;
|
|
19987
|
+
export declare type FinancialMerchantCategory = io.flow.internal.v0.models.FinancialMerchantCategory;
|
|
19955
19988
|
export declare type FinancialReportingResponsibleParty = io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
|
|
19956
19989
|
export declare type FinancialReportingStatement = io.flow.internal.v0.models.FinancialReportingStatement;
|
|
19957
19990
|
export declare type FinancialReportingStatementForm = io.flow.internal.v0.models.FinancialReportingStatementForm;
|
|
@@ -20357,6 +20390,10 @@ export declare type OrganizationCurrencySettingVersion = io.flow.internal.v0.mod
|
|
|
20357
20390
|
export declare type OrganizationInvitationAcceptForm = io.flow.internal.v0.models.OrganizationInvitationAcceptForm;
|
|
20358
20391
|
export declare type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
20359
20392
|
export declare type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
20393
|
+
export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
20394
|
+
export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
|
|
20395
|
+
export declare type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
20396
|
+
export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
20360
20397
|
export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
20361
20398
|
export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
|
|
20362
20399
|
export declare type OutputStyle = io.flow.internal.v0.enums.OutputStyle;
|
package/dist/api.d.ts
CHANGED
|
@@ -251,7 +251,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
251
251
|
readonly created: number;
|
|
252
252
|
readonly currency: string;
|
|
253
253
|
readonly customer?: string;
|
|
254
|
-
readonly outcome
|
|
254
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
255
255
|
readonly paid: boolean;
|
|
256
256
|
readonly refunded: boolean;
|
|
257
257
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -298,7 +298,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
298
298
|
readonly created: number;
|
|
299
299
|
readonly currency: string;
|
|
300
300
|
readonly customer?: string;
|
|
301
|
-
readonly outcome
|
|
301
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
302
302
|
readonly paid: boolean;
|
|
303
303
|
readonly refunded: boolean;
|
|
304
304
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -2280,7 +2280,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2280
2280
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
2281
2281
|
type EntityIdentifierType = 'ioss' | 'voec';
|
|
2282
2282
|
type Environment = 'sandbox' | 'production';
|
|
2283
|
-
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' | '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' | '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' | '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' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
2283
|
+
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' | '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' | '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' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
2284
2284
|
type ExceptionType = 'open' | 'closed';
|
|
2285
2285
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
2286
2286
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -3542,9 +3542,8 @@ declare namespace io.flow.v0.models {
|
|
|
3542
3542
|
}
|
|
3543
3543
|
interface ChannelOrganizationApplication {
|
|
3544
3544
|
readonly id: string;
|
|
3545
|
-
readonly organization: io.flow.v0.models.OrganizationSummary;
|
|
3546
3545
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
3547
|
-
readonly indirect_tax_number?:
|
|
3546
|
+
readonly indirect_tax_number?: string;
|
|
3548
3547
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
3549
3548
|
readonly beneficiary?: string;
|
|
3550
3549
|
readonly business_url?: string;
|
|
@@ -3556,20 +3555,18 @@ declare namespace io.flow.v0.models {
|
|
|
3556
3555
|
readonly aba_routing_transit_number?: string;
|
|
3557
3556
|
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
3558
3557
|
readonly other_trade_sector?: string;
|
|
3559
|
-
readonly
|
|
3558
|
+
readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
3560
3559
|
readonly average_order_weight?: number;
|
|
3561
3560
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
3562
|
-
readonly
|
|
3563
|
-
readonly monthly_average_transactions?: number;
|
|
3561
|
+
readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
|
|
3564
3562
|
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
3565
|
-
readonly default_country_of_origin?:
|
|
3566
|
-
readonly
|
|
3563
|
+
readonly default_country_of_origin?: string;
|
|
3564
|
+
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
3567
3565
|
readonly created_at: string;
|
|
3568
3566
|
}
|
|
3569
3567
|
interface ChannelOrganizationApplicationForm {
|
|
3570
|
-
readonly organization_id: string;
|
|
3571
3568
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
3572
|
-
readonly indirect_tax_number?:
|
|
3569
|
+
readonly indirect_tax_number?: string;
|
|
3573
3570
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
3574
3571
|
readonly beneficiary?: string;
|
|
3575
3572
|
readonly business_url?: string;
|
|
@@ -3581,13 +3578,14 @@ declare namespace io.flow.v0.models {
|
|
|
3581
3578
|
readonly aba_routing_transit_number?: string;
|
|
3582
3579
|
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
3583
3580
|
readonly other_trade_sector?: string;
|
|
3584
|
-
readonly
|
|
3581
|
+
readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
3585
3582
|
readonly average_order_weight?: number;
|
|
3586
3583
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
3587
|
-
readonly
|
|
3588
|
-
readonly
|
|
3584
|
+
readonly monthly_average_volume_amount?: number;
|
|
3585
|
+
readonly monthly_average_volume_currency?: string;
|
|
3586
|
+
readonly monthly_average_number_transactions?: number;
|
|
3589
3587
|
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
3590
|
-
readonly default_country_of_origin?:
|
|
3588
|
+
readonly default_country_of_origin?: string;
|
|
3591
3589
|
readonly ratecard_id?: string;
|
|
3592
3590
|
}
|
|
3593
3591
|
interface ChannelOrganizationAuthorization {
|
|
@@ -5389,6 +5387,18 @@ declare namespace io.flow.v0.models {
|
|
|
5389
5387
|
readonly results?: io.flow.v0.models.ImportResults;
|
|
5390
5388
|
readonly deliveries: io.flow.v0.unions.ExportDelivery[];
|
|
5391
5389
|
}
|
|
5390
|
+
interface ImportCompletedV2 {
|
|
5391
|
+
readonly discriminator: 'import_completed_v2';
|
|
5392
|
+
readonly event_id: string;
|
|
5393
|
+
readonly timestamp: string;
|
|
5394
|
+
readonly import: io.flow.v0.models.Import;
|
|
5395
|
+
}
|
|
5396
|
+
interface ImportFailedV2 {
|
|
5397
|
+
readonly discriminator: 'import_failed_v2';
|
|
5398
|
+
readonly event_id: string;
|
|
5399
|
+
readonly timestamp: string;
|
|
5400
|
+
readonly import: io.flow.v0.models.Import;
|
|
5401
|
+
}
|
|
5392
5402
|
interface ImportForm {
|
|
5393
5403
|
readonly type: io.flow.v0.enums.ImportType;
|
|
5394
5404
|
readonly source_url: string;
|
|
@@ -6239,6 +6249,14 @@ declare namespace io.flow.v0.models {
|
|
|
6239
6249
|
readonly amount: number;
|
|
6240
6250
|
readonly base?: io.flow.v0.models.Money;
|
|
6241
6251
|
}
|
|
6252
|
+
interface MonthlyAverage {
|
|
6253
|
+
readonly volume?: io.flow.v0.models.MonthlyAverageVolume;
|
|
6254
|
+
readonly number_transactions?: number;
|
|
6255
|
+
}
|
|
6256
|
+
interface MonthlyAverageVolume {
|
|
6257
|
+
readonly amount?: number;
|
|
6258
|
+
readonly currency?: string;
|
|
6259
|
+
}
|
|
6242
6260
|
interface Name {
|
|
6243
6261
|
readonly first?: string;
|
|
6244
6262
|
readonly last?: string;
|
|
@@ -7510,7 +7528,7 @@ declare namespace io.flow.v0.models {
|
|
|
7510
7528
|
interface PaymentMethodSummaryIdeal {
|
|
7511
7529
|
readonly type: 'ideal';
|
|
7512
7530
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7513
|
-
readonly issuer
|
|
7531
|
+
readonly issuer?: string;
|
|
7514
7532
|
}
|
|
7515
7533
|
interface PaymentMethodSummaryKlarna {
|
|
7516
7534
|
readonly type: 'klarna';
|
|
@@ -9664,6 +9682,13 @@ declare namespace io.flow.v0.models {
|
|
|
9664
9682
|
readonly types: io.flow.v0.enums.TaxReportType[];
|
|
9665
9683
|
readonly email_recipients?: string[];
|
|
9666
9684
|
}
|
|
9685
|
+
interface Test {
|
|
9686
|
+
readonly id: string;
|
|
9687
|
+
readonly name: string;
|
|
9688
|
+
}
|
|
9689
|
+
interface TestForm {
|
|
9690
|
+
readonly name: string;
|
|
9691
|
+
}
|
|
9667
9692
|
interface ThirdPartyLogisticsPartner {
|
|
9668
9693
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
9669
9694
|
readonly warehouse_url?: string;
|
|
@@ -10159,7 +10184,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10159
10184
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
10160
10185
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
10161
10186
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
10162
|
-
type Event = 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.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.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.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;
|
|
10187
|
+
type Event = 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.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.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;
|
|
10163
10188
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
10164
10189
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
10165
10190
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -10822,6 +10847,8 @@ export declare type Image = io.flow.v0.models.Image;
|
|
|
10822
10847
|
export declare type ImageForm = io.flow.v0.models.ImageForm;
|
|
10823
10848
|
export declare type ImageTag = io.flow.v0.enums.ImageTag;
|
|
10824
10849
|
export declare type Import = io.flow.v0.models.Import;
|
|
10850
|
+
export declare type ImportCompletedV2 = io.flow.v0.models.ImportCompletedV2;
|
|
10851
|
+
export declare type ImportFailedV2 = io.flow.v0.models.ImportFailedV2;
|
|
10825
10852
|
export declare type ImportForm = io.flow.v0.models.ImportForm;
|
|
10826
10853
|
export declare type ImportResults = io.flow.v0.models.ImportResults;
|
|
10827
10854
|
export declare type ImportTemplate = io.flow.v0.models.ImportTemplate;
|
|
@@ -10984,6 +11011,8 @@ export declare type Method = io.flow.v0.enums.Method;
|
|
|
10984
11011
|
export declare type Money = io.flow.v0.models.Money;
|
|
10985
11012
|
export declare type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
|
|
10986
11013
|
export declare type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase;
|
|
11014
|
+
export declare type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
|
|
11015
|
+
export declare type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
|
|
10987
11016
|
export declare type Name = io.flow.v0.models.Name;
|
|
10988
11017
|
export declare type NameForm = io.flow.v0.models.NameForm;
|
|
10989
11018
|
export declare type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
|
|
@@ -11655,6 +11684,8 @@ export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
|
|
|
11655
11684
|
export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
|
|
11656
11685
|
export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
11657
11686
|
export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
11687
|
+
export declare type Test = io.flow.v0.models.Test;
|
|
11688
|
+
export declare type TestForm = io.flow.v0.models.TestForm;
|
|
11658
11689
|
export declare type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
11659
11690
|
export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
11660
11691
|
export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.23.
|
|
3
|
+
"version": "11.23.7",
|
|
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": "3b122354aae32b4fc585191f2eb6810259ae8787"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -4239,7 +4239,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4239
4239
|
readonly created: number;
|
|
4240
4240
|
readonly currency: string;
|
|
4241
4241
|
readonly customer?: string;
|
|
4242
|
-
readonly outcome
|
|
4242
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
4243
4243
|
readonly paid: boolean;
|
|
4244
4244
|
readonly refunded: boolean;
|
|
4245
4245
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -4289,7 +4289,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4289
4289
|
readonly created: number;
|
|
4290
4290
|
readonly currency: string;
|
|
4291
4291
|
readonly customer?: string;
|
|
4292
|
-
readonly outcome
|
|
4292
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
4293
4293
|
readonly paid: boolean;
|
|
4294
4294
|
readonly refunded: boolean;
|
|
4295
4295
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -9129,7 +9129,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9129
9129
|
interface PaymentMethodSummaryIdeal {
|
|
9130
9130
|
readonly type: 'ideal';
|
|
9131
9131
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9132
|
-
readonly issuer
|
|
9132
|
+
readonly issuer?: string;
|
|
9133
9133
|
}
|
|
9134
9134
|
|
|
9135
9135
|
interface PaymentMethodSummaryKlarna {
|
|
@@ -13378,6 +13378,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13378
13378
|
| 'shipment_exhausted';
|
|
13379
13379
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
13380
13380
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
13381
|
+
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
13381
13382
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
13382
13383
|
type Owner = 'flow' | 'organization';
|
|
13383
13384
|
type PaymentSummaryStatus =
|
|
@@ -18519,6 +18520,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18519
18520
|
readonly order_service?: io.flow.internal.v0.models.Fee;
|
|
18520
18521
|
}
|
|
18521
18522
|
|
|
18523
|
+
interface FinancialMerchantCategory {
|
|
18524
|
+
readonly id: string;
|
|
18525
|
+
readonly iso_18245_4: string;
|
|
18526
|
+
readonly title: string;
|
|
18527
|
+
readonly category_group: string;
|
|
18528
|
+
readonly description?: string;
|
|
18529
|
+
}
|
|
18530
|
+
|
|
18522
18531
|
interface FinancialReportingStatement {
|
|
18523
18532
|
readonly id: string;
|
|
18524
18533
|
readonly statement_number: string;
|
|
@@ -21380,6 +21389,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21380
21389
|
readonly to: string;
|
|
21381
21390
|
}
|
|
21382
21391
|
|
|
21392
|
+
interface OrganizationPaymentSetting {
|
|
21393
|
+
readonly organization_id: string;
|
|
21394
|
+
readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
21395
|
+
readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
21396
|
+
readonly checkout_domain?: string;
|
|
21397
|
+
readonly merchant_category_code?: string;
|
|
21398
|
+
readonly payment_statement_suffix?: string;
|
|
21399
|
+
readonly payment_statement_condensed?: string;
|
|
21400
|
+
readonly created_at: string;
|
|
21401
|
+
readonly updated_at: string;
|
|
21402
|
+
}
|
|
21403
|
+
|
|
21404
|
+
interface OrganizationPaymentSettingForm {
|
|
21405
|
+
readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
|
|
21406
|
+
readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
21407
|
+
readonly checkout_domain?: string;
|
|
21408
|
+
readonly merchant_category_code?: string;
|
|
21409
|
+
readonly payment_statement_suffix?: string;
|
|
21410
|
+
}
|
|
21411
|
+
|
|
21412
|
+
interface OrganizationPaymentSettingVersion {
|
|
21413
|
+
readonly id: string;
|
|
21414
|
+
readonly timestamp: string;
|
|
21415
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
21416
|
+
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
21417
|
+
}
|
|
21418
|
+
|
|
21383
21419
|
interface OrganizationSettings {
|
|
21384
21420
|
readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
21385
21421
|
readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
@@ -26657,6 +26693,8 @@ export type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
|
|
|
26657
26693
|
export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
|
|
26658
26694
|
export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
|
|
26659
26695
|
export type Fees = io.flow.internal.v0.models.Fees;
|
|
26696
|
+
export type FinancialMerchantCategory =
|
|
26697
|
+
io.flow.internal.v0.models.FinancialMerchantCategory;
|
|
26660
26698
|
export type FinancialReportingResponsibleParty =
|
|
26661
26699
|
io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
|
|
26662
26700
|
export type FinancialReportingStatement =
|
|
@@ -27326,6 +27364,14 @@ export type OrganizationMembershipCopy =
|
|
|
27326
27364
|
io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
27327
27365
|
export type OrganizationMembershipCopyForm =
|
|
27328
27366
|
io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
27367
|
+
export type OrganizationPaymentSetting =
|
|
27368
|
+
io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
27369
|
+
export type OrganizationPaymentSettingForm =
|
|
27370
|
+
io.flow.internal.v0.models.OrganizationPaymentSettingForm;
|
|
27371
|
+
export type OrganizationPaymentSettingVersion =
|
|
27372
|
+
io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
27373
|
+
export type OrganizationPaymentStatus =
|
|
27374
|
+
io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
27329
27375
|
export type OrganizationSettings =
|
|
27330
27376
|
io.flow.internal.v0.models.OrganizationSettings;
|
|
27331
27377
|
export type OrganizationSettingsForm =
|
package/src/api.ts
CHANGED
|
@@ -420,7 +420,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
420
420
|
readonly created: number;
|
|
421
421
|
readonly currency: string;
|
|
422
422
|
readonly customer?: string;
|
|
423
|
-
readonly outcome
|
|
423
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
424
424
|
readonly paid: boolean;
|
|
425
425
|
readonly refunded: boolean;
|
|
426
426
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -470,7 +470,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
470
470
|
readonly created: number;
|
|
471
471
|
readonly currency: string;
|
|
472
472
|
readonly customer?: string;
|
|
473
|
-
readonly outcome
|
|
473
|
+
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
474
474
|
readonly paid: boolean;
|
|
475
475
|
readonly refunded: boolean;
|
|
476
476
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -3160,6 +3160,8 @@ declare namespace io.flow.v0.enums {
|
|
|
3160
3160
|
| 'item_origin_deleted'
|
|
3161
3161
|
| 'harmonized_landed_cost_upserted'
|
|
3162
3162
|
| 'fully_harmonized_item_upserted'
|
|
3163
|
+
| 'import_completed_v2'
|
|
3164
|
+
| 'import_failed_v2'
|
|
3163
3165
|
| 'rule_upserted'
|
|
3164
3166
|
| 'rule_deleted'
|
|
3165
3167
|
| 'snapshot_upserted'
|
|
@@ -5042,9 +5044,8 @@ declare namespace io.flow.v0.models {
|
|
|
5042
5044
|
|
|
5043
5045
|
interface ChannelOrganizationApplication {
|
|
5044
5046
|
readonly id: string;
|
|
5045
|
-
readonly organization: io.flow.v0.models.OrganizationSummary;
|
|
5046
5047
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
5047
|
-
readonly indirect_tax_number?:
|
|
5048
|
+
readonly indirect_tax_number?: string;
|
|
5048
5049
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
5049
5050
|
readonly beneficiary?: string;
|
|
5050
5051
|
readonly business_url?: string;
|
|
@@ -5056,21 +5057,19 @@ declare namespace io.flow.v0.models {
|
|
|
5056
5057
|
readonly aba_routing_transit_number?: string;
|
|
5057
5058
|
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
5058
5059
|
readonly other_trade_sector?: string;
|
|
5059
|
-
readonly
|
|
5060
|
+
readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
5060
5061
|
readonly average_order_weight?: number;
|
|
5061
5062
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
5062
|
-
readonly
|
|
5063
|
-
readonly monthly_average_transactions?: number;
|
|
5063
|
+
readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
|
|
5064
5064
|
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
5065
|
-
readonly default_country_of_origin?:
|
|
5066
|
-
readonly
|
|
5065
|
+
readonly default_country_of_origin?: string;
|
|
5066
|
+
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
5067
5067
|
readonly created_at: string;
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
5070
|
interface ChannelOrganizationApplicationForm {
|
|
5071
|
-
readonly organization_id: string;
|
|
5072
5071
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
5073
|
-
readonly indirect_tax_number?:
|
|
5072
|
+
readonly indirect_tax_number?: string;
|
|
5074
5073
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
5075
5074
|
readonly beneficiary?: string;
|
|
5076
5075
|
readonly business_url?: string;
|
|
@@ -5082,13 +5081,14 @@ declare namespace io.flow.v0.models {
|
|
|
5082
5081
|
readonly aba_routing_transit_number?: string;
|
|
5083
5082
|
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
5084
5083
|
readonly other_trade_sector?: string;
|
|
5085
|
-
readonly
|
|
5084
|
+
readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
5086
5085
|
readonly average_order_weight?: number;
|
|
5087
5086
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
5088
|
-
readonly
|
|
5089
|
-
readonly
|
|
5087
|
+
readonly monthly_average_volume_amount?: number;
|
|
5088
|
+
readonly monthly_average_volume_currency?: string;
|
|
5089
|
+
readonly monthly_average_number_transactions?: number;
|
|
5090
5090
|
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
5091
|
-
readonly default_country_of_origin?:
|
|
5091
|
+
readonly default_country_of_origin?: string;
|
|
5092
5092
|
readonly ratecard_id?: string;
|
|
5093
5093
|
}
|
|
5094
5094
|
|
|
@@ -7198,6 +7198,20 @@ declare namespace io.flow.v0.models {
|
|
|
7198
7198
|
readonly deliveries: io.flow.v0.unions.ExportDelivery[];
|
|
7199
7199
|
}
|
|
7200
7200
|
|
|
7201
|
+
interface ImportCompletedV2 {
|
|
7202
|
+
readonly discriminator: 'import_completed_v2';
|
|
7203
|
+
readonly event_id: string;
|
|
7204
|
+
readonly timestamp: string;
|
|
7205
|
+
readonly import: io.flow.v0.models.Import;
|
|
7206
|
+
}
|
|
7207
|
+
|
|
7208
|
+
interface ImportFailedV2 {
|
|
7209
|
+
readonly discriminator: 'import_failed_v2';
|
|
7210
|
+
readonly event_id: string;
|
|
7211
|
+
readonly timestamp: string;
|
|
7212
|
+
readonly import: io.flow.v0.models.Import;
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7201
7215
|
interface ImportForm {
|
|
7202
7216
|
readonly type: io.flow.v0.enums.ImportType;
|
|
7203
7217
|
readonly source_url: string;
|
|
@@ -8188,6 +8202,16 @@ declare namespace io.flow.v0.models {
|
|
|
8188
8202
|
readonly base?: io.flow.v0.models.Money;
|
|
8189
8203
|
}
|
|
8190
8204
|
|
|
8205
|
+
interface MonthlyAverage {
|
|
8206
|
+
readonly volume?: io.flow.v0.models.MonthlyAverageVolume;
|
|
8207
|
+
readonly number_transactions?: number;
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
interface MonthlyAverageVolume {
|
|
8211
|
+
readonly amount?: number;
|
|
8212
|
+
readonly currency?: string;
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8191
8215
|
interface Name {
|
|
8192
8216
|
readonly first?: string;
|
|
8193
8217
|
readonly last?: string;
|
|
@@ -9675,7 +9699,7 @@ declare namespace io.flow.v0.models {
|
|
|
9675
9699
|
interface PaymentMethodSummaryIdeal {
|
|
9676
9700
|
readonly type: 'ideal';
|
|
9677
9701
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
9678
|
-
readonly issuer
|
|
9702
|
+
readonly issuer?: string;
|
|
9679
9703
|
}
|
|
9680
9704
|
|
|
9681
9705
|
interface PaymentMethodSummaryKlarna {
|
|
@@ -12176,6 +12200,15 @@ declare namespace io.flow.v0.models {
|
|
|
12176
12200
|
readonly email_recipients?: string[];
|
|
12177
12201
|
}
|
|
12178
12202
|
|
|
12203
|
+
interface Test {
|
|
12204
|
+
readonly id: string;
|
|
12205
|
+
readonly name: string;
|
|
12206
|
+
}
|
|
12207
|
+
|
|
12208
|
+
interface TestForm {
|
|
12209
|
+
readonly name: string;
|
|
12210
|
+
}
|
|
12211
|
+
|
|
12179
12212
|
interface ThirdPartyLogisticsPartner {
|
|
12180
12213
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
12181
12214
|
readonly warehouse_url?: string;
|
|
@@ -12912,6 +12945,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12912
12945
|
| io.flow.v0.models.ItemOriginDeleted
|
|
12913
12946
|
| io.flow.v0.models.HarmonizedLandedCostUpserted
|
|
12914
12947
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
12948
|
+
| io.flow.v0.models.ImportCompletedV2
|
|
12949
|
+
| io.flow.v0.models.ImportFailedV2
|
|
12915
12950
|
| io.flow.v0.models.RuleUpserted
|
|
12916
12951
|
| io.flow.v0.models.RuleDeleted
|
|
12917
12952
|
| io.flow.v0.models.SnapshotUpserted
|
|
@@ -13997,6 +14032,8 @@ export type Image = io.flow.v0.models.Image;
|
|
|
13997
14032
|
export type ImageForm = io.flow.v0.models.ImageForm;
|
|
13998
14033
|
export type ImageTag = io.flow.v0.enums.ImageTag;
|
|
13999
14034
|
export type Import = io.flow.v0.models.Import;
|
|
14035
|
+
export type ImportCompletedV2 = io.flow.v0.models.ImportCompletedV2;
|
|
14036
|
+
export type ImportFailedV2 = io.flow.v0.models.ImportFailedV2;
|
|
14000
14037
|
export type ImportForm = io.flow.v0.models.ImportForm;
|
|
14001
14038
|
export type ImportResults = io.flow.v0.models.ImportResults;
|
|
14002
14039
|
export type ImportTemplate = io.flow.v0.models.ImportTemplate;
|
|
@@ -14185,6 +14222,8 @@ export type Method = io.flow.v0.enums.Method;
|
|
|
14185
14222
|
export type Money = io.flow.v0.models.Money;
|
|
14186
14223
|
export type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
|
|
14187
14224
|
export type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase;
|
|
14225
|
+
export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
|
|
14226
|
+
export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
|
|
14188
14227
|
export type Name = io.flow.v0.models.Name;
|
|
14189
14228
|
export type NameForm = io.flow.v0.models.NameForm;
|
|
14190
14229
|
export type NoInventoryReservationError =
|
|
@@ -15042,6 +15081,8 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
|
|
|
15042
15081
|
export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
|
|
15043
15082
|
export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
15044
15083
|
export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
15084
|
+
export type Test = io.flow.v0.models.Test;
|
|
15085
|
+
export type TestForm = io.flow.v0.models.TestForm;
|
|
15045
15086
|
export type ThirdPartyLogisticsPartner =
|
|
15046
15087
|
io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
15047
15088
|
export type ThirdPartyLogisticsPickUpTimeWindow =
|