@flowio/api-types 0.0.236 → 0.0.238
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/generated/io.flow.ben.test.internal.v0.ben-test-internal.d.ts +0 -4
- package/generated/io.flow.channel.currency.v0.channel-currency.d.ts +17 -0
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +6 -1
- package/generated/io.flow.experience.v0.experience.d.ts +13 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +160 -649
- package/generated/io.flow.label.v0.label.d.ts +6 -0
- package/generated/io.flow.session.v0.session.d.ts +0 -22
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +44 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +4 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +13 -0
- package/generated/io.flow.tracking.v0.tracking.d.ts +1 -0
- package/generated/io.flow.v0.api.d.ts +22 -80
- package/index.d.ts +1 -3
- package/package.json +2 -2
- package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +0 -191
- package/generated/io.flow.pricing.indicator.internal.event.v0.pricing-indicator-internal-event.d.ts +0 -28
- package/generated/io.flow.session.context.v0.session-context.d.ts +0 -23
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare namespace io.flow.channel.currency.v0.models {
|
|
2
|
+
interface ChannelCurrencyPair {
|
|
3
|
+
readonly 'id': string;
|
|
4
|
+
readonly 'base': string;
|
|
5
|
+
readonly 'target': string;
|
|
6
|
+
readonly 'rate': io.flow.channel.currency.v0.models.ChannelCurrencyRate;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface ChannelCurrencyRate {
|
|
10
|
+
readonly 'id': string;
|
|
11
|
+
readonly 'value': number;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ChannelRate {
|
|
15
|
+
readonly 'placeholder'?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -2,7 +2,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
2
2
|
type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
|
|
3
3
|
type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
|
|
4
4
|
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
5
|
-
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
5
|
+
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
6
6
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -49,6 +49,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
49
49
|
readonly 'next_action_from'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
50
50
|
readonly 'order_created_at'?: string;
|
|
51
51
|
readonly 'order_updated_at'?: string;
|
|
52
|
+
readonly 'order_edit_summary'?: io.flow.channel.internal.v0.models.OrderEditSummary;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
interface ChannelOrderAcceptanceDetails {
|
|
@@ -77,4 +78,8 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
77
78
|
interface FlowChannelOrganization {
|
|
78
79
|
readonly 'placeholder'?: string;
|
|
79
80
|
}
|
|
81
|
+
|
|
82
|
+
interface OrderEditSummary {
|
|
83
|
+
readonly 'edited_at': string;
|
|
84
|
+
}
|
|
80
85
|
}
|
|
@@ -8,6 +8,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
8
8
|
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
9
9
|
type ExperiencePaymentMethodTag = 'display';
|
|
10
10
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
11
|
+
type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
11
12
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
12
13
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
13
14
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
@@ -517,6 +518,17 @@ declare namespace io.flow.experience.v0.models {
|
|
|
517
518
|
readonly 'attributes'?: Record<string, string>;
|
|
518
519
|
}
|
|
519
520
|
|
|
521
|
+
interface IncotermIncludes {
|
|
522
|
+
readonly 'duties': boolean;
|
|
523
|
+
readonly 'taxes': boolean;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
interface IncotermSummary {
|
|
527
|
+
readonly 'configuration': io.flow.experience.v0.enums.IncotermConfiguration;
|
|
528
|
+
readonly 'includes': io.flow.experience.v0.models.IncotermIncludes;
|
|
529
|
+
readonly 'reason'?: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
520
532
|
interface ItemMargin {
|
|
521
533
|
readonly 'id': string;
|
|
522
534
|
readonly 'key': string;
|
|
@@ -618,6 +630,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
618
630
|
readonly 'geo'?: io.flow.experience.v0.models.OrderGeo;
|
|
619
631
|
readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
|
|
620
632
|
readonly 'destination_contact_details'?: io.flow.experience.v0.models.DestinationContactDetail[];
|
|
633
|
+
readonly 'incoterm_summary'?: io.flow.experience.v0.models.IncotermSummary;
|
|
621
634
|
}
|
|
622
635
|
|
|
623
636
|
interface OrderAddress {
|