@flowio/types 10.7.0 → 10.8.1
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 +124 -19
- package/dist/api.d.ts +56 -4
- package/package.json +2 -2
- package/src/api-internal.ts +155 -32
- package/src/api.ts +84 -2
package/dist/api-internal.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
114
114
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
115
115
|
type DiscountRuleSubsidyTarget = 'vat' | 'duty';
|
|
116
116
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
117
|
+
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
117
118
|
type ExperiencePaymentMethodTag = 'display';
|
|
118
119
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
119
120
|
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';
|
|
@@ -244,6 +245,14 @@ declare namespace io.flow.experience.v0.models {
|
|
|
244
245
|
readonly name: string;
|
|
245
246
|
readonly value: string;
|
|
246
247
|
}
|
|
248
|
+
interface CountryStatus {
|
|
249
|
+
readonly id: string;
|
|
250
|
+
readonly country: string;
|
|
251
|
+
readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
252
|
+
}
|
|
253
|
+
interface CountryStatusForm {
|
|
254
|
+
readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
255
|
+
}
|
|
247
256
|
interface CreditPayment {
|
|
248
257
|
readonly id: string;
|
|
249
258
|
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
@@ -2107,14 +2116,21 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2107
2116
|
}
|
|
2108
2117
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2109
2118
|
type ReturnStatus = 'open' | 'refunded';
|
|
2110
|
-
type ReturnTrackingStatus = '
|
|
2119
|
+
type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
|
|
2111
2120
|
}
|
|
2112
2121
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
2113
2122
|
interface Return {
|
|
2114
2123
|
readonly id: string;
|
|
2115
2124
|
readonly key: string;
|
|
2125
|
+
readonly order?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference;
|
|
2126
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2116
2127
|
readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
|
|
2117
|
-
readonly labels
|
|
2128
|
+
readonly labels?: io.flow.label.v0.models.ShippingLabel[];
|
|
2129
|
+
readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2130
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2131
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2132
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2133
|
+
readonly tracking_status_timestamp?: string;
|
|
2118
2134
|
}
|
|
2119
2135
|
interface ReturnForm {
|
|
2120
2136
|
readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
|
|
@@ -2125,6 +2141,9 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2125
2141
|
readonly key?: string;
|
|
2126
2142
|
readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2127
2143
|
readonly center_key?: string;
|
|
2144
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2145
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2146
|
+
readonly tracking_status_timestamp?: string;
|
|
2128
2147
|
}
|
|
2129
2148
|
interface ReturnItemReference {
|
|
2130
2149
|
readonly number: string;
|
|
@@ -2150,6 +2169,14 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2150
2169
|
interface ReturnReasonPutForm {
|
|
2151
2170
|
readonly name?: string;
|
|
2152
2171
|
}
|
|
2172
|
+
interface ReturnSourceExternalVendor {
|
|
2173
|
+
readonly discriminator: 'return_source_external_vendor';
|
|
2174
|
+
readonly key: string;
|
|
2175
|
+
}
|
|
2176
|
+
interface ReturnSourceFlow {
|
|
2177
|
+
readonly discriminator: 'return_source_flow';
|
|
2178
|
+
readonly attributes?: Record<string, string>;
|
|
2179
|
+
}
|
|
2153
2180
|
interface ReturnVersion {
|
|
2154
2181
|
readonly id: string;
|
|
2155
2182
|
readonly timestamp: string;
|
|
@@ -2157,6 +2184,9 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2157
2184
|
readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
|
|
2158
2185
|
}
|
|
2159
2186
|
}
|
|
2187
|
+
declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
2188
|
+
type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
2189
|
+
}
|
|
2160
2190
|
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2161
2191
|
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
2162
2192
|
}
|
|
@@ -2307,7 +2337,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2307
2337
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
2308
2338
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2309
2339
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
2310
|
-
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_over_time';
|
|
2340
|
+
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
2311
2341
|
type KlarnaProduct = 'payment';
|
|
2312
2342
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
2313
2343
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
@@ -2819,20 +2849,20 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2819
2849
|
readonly shipping_last_name?: string;
|
|
2820
2850
|
readonly locale?: string;
|
|
2821
2851
|
readonly pay_later_name?: string;
|
|
2822
|
-
readonly
|
|
2823
|
-
readonly
|
|
2852
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
2853
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
2824
2854
|
readonly pay_now_name?: string;
|
|
2825
|
-
readonly
|
|
2826
|
-
readonly
|
|
2855
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
2856
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
2827
2857
|
readonly pay_over_time_name?: string;
|
|
2828
|
-
readonly
|
|
2829
|
-
readonly
|
|
2858
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
2859
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
2830
2860
|
readonly direct_bank_transfer_name?: string;
|
|
2831
|
-
readonly
|
|
2832
|
-
readonly
|
|
2861
|
+
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
2862
|
+
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
2833
2863
|
readonly direct_debit_name?: string;
|
|
2834
|
-
readonly
|
|
2835
|
-
readonly
|
|
2864
|
+
readonly direct_debit_asset_urls_standard?: string;
|
|
2865
|
+
readonly direct_debit_asset_urls_descriptive?: string;
|
|
2836
2866
|
}
|
|
2837
2867
|
interface SourceKlarnaRequest {
|
|
2838
2868
|
readonly first_name: string;
|
|
@@ -5864,8 +5894,8 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5864
5894
|
interface KlarnaPaymentMethodCategory {
|
|
5865
5895
|
readonly id: string;
|
|
5866
5896
|
readonly name?: string;
|
|
5867
|
-
readonly
|
|
5868
|
-
readonly
|
|
5897
|
+
readonly standard_asset_urls?: string;
|
|
5898
|
+
readonly descriptive_asset_urls?: string;
|
|
5869
5899
|
}
|
|
5870
5900
|
interface OnlineAuthorizationCompleted {
|
|
5871
5901
|
readonly discriminator: 'online_authorization_completed';
|
|
@@ -5891,6 +5921,21 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5891
5921
|
readonly id: string;
|
|
5892
5922
|
readonly tribe: io.flow.payment.internal.v0.models.Tribe;
|
|
5893
5923
|
}
|
|
5924
|
+
interface PaymentOrganizationSettings {
|
|
5925
|
+
readonly id: string;
|
|
5926
|
+
readonly enable_auto_capture: boolean;
|
|
5927
|
+
readonly link_capture_to_vcc: boolean;
|
|
5928
|
+
readonly purge_ciphers: boolean;
|
|
5929
|
+
readonly domain?: string;
|
|
5930
|
+
readonly merchant_category_code?: number;
|
|
5931
|
+
}
|
|
5932
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
5933
|
+
readonly enable_auto_capture?: boolean;
|
|
5934
|
+
readonly link_capture_to_vcc?: boolean;
|
|
5935
|
+
readonly purge_ciphers?: boolean;
|
|
5936
|
+
readonly domain?: string;
|
|
5937
|
+
readonly merchant_category_code?: number;
|
|
5938
|
+
}
|
|
5894
5939
|
interface PaypalAccount {
|
|
5895
5940
|
readonly discriminator: 'paypal_account';
|
|
5896
5941
|
readonly id: string;
|
|
@@ -8130,7 +8175,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
8130
8175
|
}
|
|
8131
8176
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
8132
8177
|
readonly catalog_id: number;
|
|
8133
|
-
readonly created_at
|
|
8178
|
+
readonly created_at?: number;
|
|
8134
8179
|
readonly expires_at?: number;
|
|
8135
8180
|
readonly user_id: string;
|
|
8136
8181
|
readonly user_email?: string;
|
|
@@ -8354,6 +8399,17 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8354
8399
|
readonly organization: string;
|
|
8355
8400
|
readonly default_contents: string;
|
|
8356
8401
|
}
|
|
8402
|
+
interface LabelGenerationSettings {
|
|
8403
|
+
readonly id: string;
|
|
8404
|
+
readonly item_identifier?: string;
|
|
8405
|
+
readonly auto_generate_query?: string;
|
|
8406
|
+
readonly commercial_invoice_only_query?: string;
|
|
8407
|
+
}
|
|
8408
|
+
interface LabelGenerationSettingsForm {
|
|
8409
|
+
readonly item_identifier?: string;
|
|
8410
|
+
readonly auto_generate_query?: string;
|
|
8411
|
+
readonly commercial_invoice_only_query?: string;
|
|
8412
|
+
}
|
|
8357
8413
|
}
|
|
8358
8414
|
declare namespace io.flow.catalog.v0.enums {
|
|
8359
8415
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
@@ -12719,6 +12775,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12719
12775
|
interface ExperimentForm {
|
|
12720
12776
|
readonly name: string;
|
|
12721
12777
|
readonly description?: string;
|
|
12778
|
+
readonly emails: string[];
|
|
12722
12779
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
12723
12780
|
}
|
|
12724
12781
|
interface ExperimentFormDefault {
|
|
@@ -12891,6 +12948,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12891
12948
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
12892
12949
|
type GoogleAnalyticsPlugin = 'ec';
|
|
12893
12950
|
type HttpMethod = 'get' | 'post';
|
|
12951
|
+
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
12952
|
+
type InventoryReservation = 'synchronous-on-submit';
|
|
12894
12953
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
12895
12954
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
12896
12955
|
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt';
|
|
@@ -15667,6 +15726,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15667
15726
|
interface ExperimentForm {
|
|
15668
15727
|
readonly name: string;
|
|
15669
15728
|
readonly description?: string;
|
|
15729
|
+
readonly emails: string[];
|
|
15670
15730
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
15671
15731
|
}
|
|
15672
15732
|
interface ExperimentFormDefault {
|
|
@@ -16397,6 +16457,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16397
16457
|
interface InvalidCheckoutData {
|
|
16398
16458
|
readonly order: io.flow.experience.v0.models.OrderPutForm;
|
|
16399
16459
|
}
|
|
16460
|
+
interface InventoryOrganizationSettings {
|
|
16461
|
+
readonly id: string;
|
|
16462
|
+
readonly inventory_reservation: io.flow.internal.v0.enums.InventoryReservation;
|
|
16463
|
+
readonly inventory_check_service: io.flow.internal.v0.enums.InventoryCheckService;
|
|
16464
|
+
readonly inventory_check_service_root_url: string;
|
|
16465
|
+
}
|
|
16466
|
+
interface InventoryOrganizationSettingsForm {
|
|
16467
|
+
readonly inventory_reservation: io.flow.internal.v0.enums.InventoryReservation;
|
|
16468
|
+
readonly inventory_check_service: io.flow.internal.v0.enums.InventoryCheckService;
|
|
16469
|
+
readonly inventory_check_service_root_url: string;
|
|
16470
|
+
}
|
|
16400
16471
|
interface Invoice {
|
|
16401
16472
|
readonly id: string;
|
|
16402
16473
|
readonly number: string;
|
|
@@ -16665,8 +16736,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16665
16736
|
interface KlarnaPaymentMethodCategory {
|
|
16666
16737
|
readonly id: string;
|
|
16667
16738
|
readonly name?: string;
|
|
16668
|
-
readonly
|
|
16669
|
-
readonly
|
|
16739
|
+
readonly standard_asset_urls?: string;
|
|
16740
|
+
readonly descriptive_asset_urls?: string;
|
|
16670
16741
|
}
|
|
16671
16742
|
interface LabProjectSettings {
|
|
16672
16743
|
readonly id: string;
|
|
@@ -16689,6 +16760,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16689
16760
|
readonly materials: Record<string, string[]>;
|
|
16690
16761
|
readonly constructions: Record<string, string[]>;
|
|
16691
16762
|
}
|
|
16763
|
+
interface LabelGenerationSettings {
|
|
16764
|
+
readonly id: string;
|
|
16765
|
+
readonly item_identifier?: string;
|
|
16766
|
+
readonly auto_generate_query?: string;
|
|
16767
|
+
readonly commercial_invoice_only_query?: string;
|
|
16768
|
+
}
|
|
16769
|
+
interface LabelGenerationSettingsForm {
|
|
16770
|
+
readonly item_identifier?: string;
|
|
16771
|
+
readonly auto_generate_query?: string;
|
|
16772
|
+
readonly commercial_invoice_only_query?: string;
|
|
16773
|
+
}
|
|
16692
16774
|
interface LabelSummary {
|
|
16693
16775
|
readonly commercial_invoice?: string;
|
|
16694
16776
|
readonly pdf?: string;
|
|
@@ -17033,7 +17115,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17033
17115
|
}
|
|
17034
17116
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
17035
17117
|
readonly catalog_id: number;
|
|
17036
|
-
readonly created_at
|
|
17118
|
+
readonly created_at?: number;
|
|
17037
17119
|
readonly expires_at?: number;
|
|
17038
17120
|
readonly user_id: string;
|
|
17039
17121
|
readonly user_email?: string;
|
|
@@ -17550,6 +17632,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17550
17632
|
readonly id: string;
|
|
17551
17633
|
readonly tribe: io.flow.internal.v0.models.Tribe;
|
|
17552
17634
|
}
|
|
17635
|
+
interface PaymentOrganizationSettings {
|
|
17636
|
+
readonly id: string;
|
|
17637
|
+
readonly enable_auto_capture: boolean;
|
|
17638
|
+
readonly link_capture_to_vcc: boolean;
|
|
17639
|
+
readonly purge_ciphers: boolean;
|
|
17640
|
+
readonly domain?: string;
|
|
17641
|
+
readonly merchant_category_code?: number;
|
|
17642
|
+
}
|
|
17643
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
17644
|
+
readonly enable_auto_capture?: boolean;
|
|
17645
|
+
readonly link_capture_to_vcc?: boolean;
|
|
17646
|
+
readonly purge_ciphers?: boolean;
|
|
17647
|
+
readonly domain?: string;
|
|
17648
|
+
readonly merchant_category_code?: number;
|
|
17649
|
+
}
|
|
17553
17650
|
interface PaymentSummaryV2 {
|
|
17554
17651
|
readonly discriminator: 'payment_summary_v2';
|
|
17555
17652
|
readonly id: string;
|
|
@@ -20127,6 +20224,10 @@ export declare type InternalRedirectAuthorizationDetails = io.flow.internal.v0.m
|
|
|
20127
20224
|
export declare type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
|
|
20128
20225
|
export declare type InternalStripeAuthorizationDetails = io.flow.internal.v0.models.InternalStripeAuthorizationDetails;
|
|
20129
20226
|
export declare type InvalidCheckoutData = io.flow.internal.v0.models.InvalidCheckoutData;
|
|
20227
|
+
export declare type InventoryCheckService = io.flow.internal.v0.enums.InventoryCheckService;
|
|
20228
|
+
export declare type InventoryOrganizationSettings = io.flow.internal.v0.models.InventoryOrganizationSettings;
|
|
20229
|
+
export declare type InventoryOrganizationSettingsForm = io.flow.internal.v0.models.InventoryOrganizationSettingsForm;
|
|
20230
|
+
export declare type InventoryReservation = io.flow.internal.v0.enums.InventoryReservation;
|
|
20130
20231
|
export declare type Invoice = io.flow.internal.v0.models.Invoice;
|
|
20131
20232
|
export declare type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
|
|
20132
20233
|
export declare type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
|
|
@@ -20176,6 +20277,8 @@ export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.model
|
|
|
20176
20277
|
export declare type LabelAliases = io.flow.internal.v0.models.LabelAliases;
|
|
20177
20278
|
export declare type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
|
|
20178
20279
|
export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
|
|
20280
|
+
export declare type LabelGenerationSettings = io.flow.internal.v0.models.LabelGenerationSettings;
|
|
20281
|
+
export declare type LabelGenerationSettingsForm = io.flow.internal.v0.models.LabelGenerationSettingsForm;
|
|
20179
20282
|
export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
20180
20283
|
export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
20181
20284
|
export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
@@ -20344,6 +20447,8 @@ export declare type PartnerOrganizationAuthorizationForm = io.flow.internal.v0.m
|
|
|
20344
20447
|
export declare type Passphrase = io.flow.internal.v0.models.Passphrase;
|
|
20345
20448
|
export declare type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
|
|
20346
20449
|
export declare type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
|
|
20450
|
+
export declare type PaymentOrganizationSettings = io.flow.internal.v0.models.PaymentOrganizationSettings;
|
|
20451
|
+
export declare type PaymentOrganizationSettingsPutForm = io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm;
|
|
20347
20452
|
export declare type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect;
|
|
20348
20453
|
export declare type PaymentSummaryDetails = io.flow.internal.v0.unions.PaymentSummaryDetails;
|
|
20349
20454
|
export declare type PaymentSummaryStatus = io.flow.internal.v0.enums.PaymentSummaryStatus;
|
package/dist/api.d.ts
CHANGED
|
@@ -852,10 +852,11 @@ declare namespace io.flow.v0.enums {
|
|
|
852
852
|
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
853
853
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
854
854
|
type Environment = 'sandbox' | 'production';
|
|
855
|
-
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | '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' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_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' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
855
|
+
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | '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' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_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' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
856
856
|
type ExceptionType = 'open' | 'closed';
|
|
857
857
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
858
858
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
859
|
+
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
859
860
|
type ExperiencePaymentMethodTag = 'display';
|
|
860
861
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
861
862
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
@@ -924,6 +925,7 @@ declare namespace io.flow.v0.enums {
|
|
|
924
925
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
925
926
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
926
927
|
type ReturnStatus = 'open' | 'refunded';
|
|
928
|
+
type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
|
|
927
929
|
type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
|
|
928
930
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
929
931
|
type Role = 'admin' | 'member';
|
|
@@ -2165,6 +2167,28 @@ declare namespace io.flow.v0.models {
|
|
|
2165
2167
|
readonly pricing: io.flow.v0.models.ItemShippingPricing;
|
|
2166
2168
|
readonly countries: string[];
|
|
2167
2169
|
}
|
|
2170
|
+
interface CountryStatus {
|
|
2171
|
+
readonly id: string;
|
|
2172
|
+
readonly country: string;
|
|
2173
|
+
readonly status: io.flow.v0.enums.ExperienceCountryStatus;
|
|
2174
|
+
}
|
|
2175
|
+
interface CountryStatusDeleted {
|
|
2176
|
+
readonly discriminator: 'country_status_deleted';
|
|
2177
|
+
readonly event_id: string;
|
|
2178
|
+
readonly timestamp: string;
|
|
2179
|
+
readonly organization: string;
|
|
2180
|
+
readonly country_status: io.flow.v0.models.CountryStatus;
|
|
2181
|
+
}
|
|
2182
|
+
interface CountryStatusForm {
|
|
2183
|
+
readonly status: io.flow.v0.enums.ExperienceCountryStatus;
|
|
2184
|
+
}
|
|
2185
|
+
interface CountryStatusUpserted {
|
|
2186
|
+
readonly discriminator: 'country_status_upserted';
|
|
2187
|
+
readonly event_id: string;
|
|
2188
|
+
readonly timestamp: string;
|
|
2189
|
+
readonly organization: string;
|
|
2190
|
+
readonly country_status: io.flow.v0.models.CountryStatus;
|
|
2191
|
+
}
|
|
2168
2192
|
interface CreditMemo {
|
|
2169
2193
|
readonly id: string;
|
|
2170
2194
|
readonly number?: string;
|
|
@@ -6050,8 +6074,15 @@ declare namespace io.flow.v0.models {
|
|
|
6050
6074
|
interface Return {
|
|
6051
6075
|
readonly id: string;
|
|
6052
6076
|
readonly key: string;
|
|
6077
|
+
readonly order?: io.flow.v0.models.ReturnOrderReference;
|
|
6078
|
+
readonly service: io.flow.v0.models.ServiceSummary;
|
|
6053
6079
|
readonly items: io.flow.v0.models.ReturnLineItem[];
|
|
6054
|
-
readonly labels
|
|
6080
|
+
readonly labels?: io.flow.v0.models.ShippingLabel[];
|
|
6081
|
+
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
6082
|
+
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
6083
|
+
readonly source: io.flow.v0.unions.ReturnSource;
|
|
6084
|
+
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
6085
|
+
readonly tracking_status_timestamp?: string;
|
|
6055
6086
|
}
|
|
6056
6087
|
interface ReturnDeleted {
|
|
6057
6088
|
readonly discriminator: 'return_deleted';
|
|
@@ -6068,6 +6099,9 @@ declare namespace io.flow.v0.models {
|
|
|
6068
6099
|
readonly key?: string;
|
|
6069
6100
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
6070
6101
|
readonly center_key?: string;
|
|
6102
|
+
readonly source: io.flow.v0.unions.ReturnSource;
|
|
6103
|
+
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
6104
|
+
readonly tracking_status_timestamp?: string;
|
|
6071
6105
|
}
|
|
6072
6106
|
interface ReturnItemReference {
|
|
6073
6107
|
readonly number: string;
|
|
@@ -6097,6 +6131,14 @@ declare namespace io.flow.v0.models {
|
|
|
6097
6131
|
interface ReturnReasonPutForm {
|
|
6098
6132
|
readonly name?: string;
|
|
6099
6133
|
}
|
|
6134
|
+
interface ReturnSourceExternalVendor {
|
|
6135
|
+
readonly discriminator: 'return_source_external_vendor';
|
|
6136
|
+
readonly key: string;
|
|
6137
|
+
}
|
|
6138
|
+
interface ReturnSourceFlow {
|
|
6139
|
+
readonly discriminator: 'return_source_flow';
|
|
6140
|
+
readonly attributes?: Record<string, string>;
|
|
6141
|
+
}
|
|
6100
6142
|
interface ReturnUpserted {
|
|
6101
6143
|
readonly discriminator: 'return_upserted';
|
|
6102
6144
|
readonly event_id: string;
|
|
@@ -6106,7 +6148,7 @@ declare namespace io.flow.v0.models {
|
|
|
6106
6148
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
6107
6149
|
readonly items: io.flow.v0.models.ReturnLineItem[];
|
|
6108
6150
|
readonly key: string;
|
|
6109
|
-
readonly labels
|
|
6151
|
+
readonly labels?: io.flow.v0.models.ShippingLabel[];
|
|
6110
6152
|
readonly service: string;
|
|
6111
6153
|
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
6112
6154
|
}
|
|
@@ -7430,7 +7472,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7430
7472
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
7431
7473
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
7432
7474
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
7433
|
-
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.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.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | 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.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.NotificationUpserted | io.flow.v0.models.NotificationDeleted | 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.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.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | 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.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.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7475
|
+
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.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.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | 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.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.NotificationUpserted | io.flow.v0.models.NotificationDeleted | 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.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.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | 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.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.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7434
7476
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
7435
7477
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
7436
7478
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -7473,6 +7515,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7473
7515
|
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
|
|
7474
7516
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
7475
7517
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
7518
|
+
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
7476
7519
|
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee;
|
|
7477
7520
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
7478
7521
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
@@ -7712,6 +7755,10 @@ export declare type CountryPicker = io.flow.v0.models.CountryPicker;
|
|
|
7712
7755
|
export declare type CountryPickerForm = io.flow.v0.models.CountryPickerForm;
|
|
7713
7756
|
export declare type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
|
|
7714
7757
|
export declare type CountryShippingPricing = io.flow.v0.models.CountryShippingPricing;
|
|
7758
|
+
export declare type CountryStatus = io.flow.v0.models.CountryStatus;
|
|
7759
|
+
export declare type CountryStatusDeleted = io.flow.v0.models.CountryStatusDeleted;
|
|
7760
|
+
export declare type CountryStatusForm = io.flow.v0.models.CountryStatusForm;
|
|
7761
|
+
export declare type CountryStatusUpserted = io.flow.v0.models.CountryStatusUpserted;
|
|
7715
7762
|
export declare type CreditMemo = io.flow.v0.models.CreditMemo;
|
|
7716
7763
|
export declare type CreditMemoDeleted = io.flow.v0.models.CreditMemoDeleted;
|
|
7717
7764
|
export declare type CreditMemoForm = io.flow.v0.models.CreditMemoForm;
|
|
@@ -7864,6 +7911,7 @@ export declare type ExperienceClone = io.flow.v0.models.ExperienceClone;
|
|
|
7864
7911
|
export declare type ExperienceCloneForm = io.flow.v0.models.ExperienceCloneForm;
|
|
7865
7912
|
export declare type ExperienceCloneStatus = io.flow.v0.enums.ExperienceCloneStatus;
|
|
7866
7913
|
export declare type ExperienceConfigurationReference = io.flow.v0.models.ExperienceConfigurationReference;
|
|
7914
|
+
export declare type ExperienceCountryStatus = io.flow.v0.enums.ExperienceCountryStatus;
|
|
7867
7915
|
export declare type ExperienceCurrencyFormat = io.flow.v0.models.ExperienceCurrencyFormat;
|
|
7868
7916
|
export declare type ExperienceCurrencyFormatForm = io.flow.v0.models.ExperienceCurrencyFormatForm;
|
|
7869
7917
|
export declare type ExperienceDefaults = io.flow.v0.models.ExperienceDefaults;
|
|
@@ -8479,7 +8527,11 @@ export declare type ReturnPackageRatecardFee = io.flow.v0.models.ReturnPackageRa
|
|
|
8479
8527
|
export declare type ReturnReason = io.flow.v0.models.ReturnReason;
|
|
8480
8528
|
export declare type ReturnReasonForm = io.flow.v0.models.ReturnReasonForm;
|
|
8481
8529
|
export declare type ReturnReasonPutForm = io.flow.v0.models.ReturnReasonPutForm;
|
|
8530
|
+
export declare type ReturnSource = io.flow.v0.unions.ReturnSource;
|
|
8531
|
+
export declare type ReturnSourceExternalVendor = io.flow.v0.models.ReturnSourceExternalVendor;
|
|
8532
|
+
export declare type ReturnSourceFlow = io.flow.v0.models.ReturnSourceFlow;
|
|
8482
8533
|
export declare type ReturnStatus = io.flow.v0.enums.ReturnStatus;
|
|
8534
|
+
export declare type ReturnTrackingStatus = io.flow.v0.enums.ReturnTrackingStatus;
|
|
8483
8535
|
export declare type ReturnUpserted = io.flow.v0.models.ReturnUpserted;
|
|
8484
8536
|
export declare type ReturnVersion = io.flow.v0.models.ReturnVersion;
|
|
8485
8537
|
export declare type Reversal = io.flow.v0.models.Reversal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.8.1",
|
|
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": "8ae14a5133c1f1913968e365fe529bd0baad41e0"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -189,6 +189,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
189
189
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
190
190
|
type DiscountRuleSubsidyTarget = 'vat' | 'duty';
|
|
191
191
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
192
|
+
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
192
193
|
type ExperiencePaymentMethodTag = 'display';
|
|
193
194
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
194
195
|
type OrderErrorCode =
|
|
@@ -358,6 +359,16 @@ declare namespace io.flow.experience.v0.models {
|
|
|
358
359
|
readonly value: string;
|
|
359
360
|
}
|
|
360
361
|
|
|
362
|
+
interface CountryStatus {
|
|
363
|
+
readonly id: string;
|
|
364
|
+
readonly country: string;
|
|
365
|
+
readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
interface CountryStatusForm {
|
|
369
|
+
readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
370
|
+
}
|
|
371
|
+
|
|
361
372
|
interface CreditPayment {
|
|
362
373
|
readonly id: string;
|
|
363
374
|
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
@@ -2877,32 +2888,39 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2877
2888
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2878
2889
|
type ReturnStatus = 'open' | 'refunded';
|
|
2879
2890
|
type ReturnTrackingStatus =
|
|
2880
|
-
| '
|
|
2881
|
-
| '
|
|
2882
|
-
| 'in_transit_to_our_local_hub'
|
|
2883
|
-
| 'received_at_our_local_hub'
|
|
2884
|
-
| 'processed_by_hub'
|
|
2885
|
-
| 'parcel_has_been_added_to_pallet'
|
|
2886
|
-
| 'parcel_has_been_extracted_from_pallet'
|
|
2887
|
-
| 'in_transit_to_the_retailer'
|
|
2888
|
-
| 'delivered_to_the_retailer'
|
|
2889
|
-
| 'parcel_lost'
|
|
2891
|
+
| 'awaiting_customs_clearance'
|
|
2892
|
+
| 'cancel_requested'
|
|
2890
2893
|
| 'canceled'
|
|
2891
|
-
| 'parcel_processed_by_retailer'
|
|
2892
|
-
| 'parcel_delayed'
|
|
2893
2894
|
| 'collection_attempt_failed'
|
|
2894
|
-
| 'parcel_under_investigation'
|
|
2895
|
-
| 'awaiting_customs_clearance'
|
|
2896
2895
|
| 'customs_clearance_completed'
|
|
2897
|
-
| '
|
|
2896
|
+
| 'delivered_to_retailer'
|
|
2897
|
+
| 'in_transit_to_local_hub'
|
|
2898
|
+
| 'in_transit_to_retailer'
|
|
2899
|
+
| 'parcel_added_to_pallet'
|
|
2900
|
+
| 'parcel_delayed'
|
|
2901
|
+
| 'parcel_extracted_from_pallet'
|
|
2902
|
+
| 'parcel_lost'
|
|
2903
|
+
| 'parcel_processed_by_retailer'
|
|
2904
|
+
| 'parcel_under_investigation'
|
|
2905
|
+
| 'processed_by_local_hub'
|
|
2906
|
+
| 'received_at_local_hub'
|
|
2907
|
+
| 'received_by_the_carrier'
|
|
2908
|
+
| 'return_registered_online';
|
|
2898
2909
|
}
|
|
2899
2910
|
|
|
2900
2911
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
2901
2912
|
interface Return {
|
|
2902
2913
|
readonly id: string;
|
|
2903
2914
|
readonly key: string;
|
|
2915
|
+
readonly order?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference;
|
|
2916
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2904
2917
|
readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
|
|
2905
|
-
readonly labels
|
|
2918
|
+
readonly labels?: io.flow.label.v0.models.ShippingLabel[];
|
|
2919
|
+
readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2920
|
+
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2921
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2922
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2923
|
+
readonly tracking_status_timestamp?: string;
|
|
2906
2924
|
}
|
|
2907
2925
|
|
|
2908
2926
|
interface ReturnForm {
|
|
@@ -2914,6 +2932,9 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2914
2932
|
readonly key?: string;
|
|
2915
2933
|
readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2916
2934
|
readonly center_key?: string;
|
|
2935
|
+
readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2936
|
+
readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2937
|
+
readonly tracking_status_timestamp?: string;
|
|
2917
2938
|
}
|
|
2918
2939
|
|
|
2919
2940
|
interface ReturnItemReference {
|
|
@@ -2946,6 +2967,16 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2946
2967
|
readonly name?: string;
|
|
2947
2968
|
}
|
|
2948
2969
|
|
|
2970
|
+
interface ReturnSourceExternalVendor {
|
|
2971
|
+
readonly discriminator: 'return_source_external_vendor';
|
|
2972
|
+
readonly key: string;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
interface ReturnSourceFlow {
|
|
2976
|
+
readonly discriminator: 'return_source_flow';
|
|
2977
|
+
readonly attributes?: Record<string, string>;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2949
2980
|
interface ReturnVersion {
|
|
2950
2981
|
readonly id: string;
|
|
2951
2982
|
readonly timestamp: string;
|
|
@@ -2954,6 +2985,12 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2954
2985
|
}
|
|
2955
2986
|
}
|
|
2956
2987
|
|
|
2988
|
+
declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
2989
|
+
type ReturnSource =
|
|
2990
|
+
| io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow
|
|
2991
|
+
| io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2957
2994
|
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2958
2995
|
type StatisticType =
|
|
2959
2996
|
| 'time-to-classify'
|
|
@@ -3240,6 +3277,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
3240
3277
|
| 'direct_bank_transfer'
|
|
3241
3278
|
| 'direct_debit'
|
|
3242
3279
|
| 'pay_later'
|
|
3280
|
+
| 'pay_now'
|
|
3243
3281
|
| 'pay_over_time';
|
|
3244
3282
|
type KlarnaProduct = 'payment';
|
|
3245
3283
|
type NetworkStatus =
|
|
@@ -3847,20 +3885,20 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3847
3885
|
readonly shipping_last_name?: string;
|
|
3848
3886
|
readonly locale?: string;
|
|
3849
3887
|
readonly pay_later_name?: string;
|
|
3850
|
-
readonly
|
|
3851
|
-
readonly
|
|
3888
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
3889
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
3852
3890
|
readonly pay_now_name?: string;
|
|
3853
|
-
readonly
|
|
3854
|
-
readonly
|
|
3891
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
3892
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
3855
3893
|
readonly pay_over_time_name?: string;
|
|
3856
|
-
readonly
|
|
3857
|
-
readonly
|
|
3894
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
3895
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
3858
3896
|
readonly direct_bank_transfer_name?: string;
|
|
3859
|
-
readonly
|
|
3860
|
-
readonly
|
|
3897
|
+
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
3898
|
+
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
3861
3899
|
readonly direct_debit_name?: string;
|
|
3862
|
-
readonly
|
|
3863
|
-
readonly
|
|
3900
|
+
readonly direct_debit_asset_urls_standard?: string;
|
|
3901
|
+
readonly direct_debit_asset_urls_descriptive?: string;
|
|
3864
3902
|
}
|
|
3865
3903
|
|
|
3866
3904
|
interface SourceKlarnaRequest {
|
|
@@ -7891,8 +7929,8 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7891
7929
|
interface KlarnaPaymentMethodCategory {
|
|
7892
7930
|
readonly id: string;
|
|
7893
7931
|
readonly name?: string;
|
|
7894
|
-
readonly
|
|
7895
|
-
readonly
|
|
7932
|
+
readonly standard_asset_urls?: string;
|
|
7933
|
+
readonly descriptive_asset_urls?: string;
|
|
7896
7934
|
}
|
|
7897
7935
|
|
|
7898
7936
|
interface OnlineAuthorizationCompleted {
|
|
@@ -7923,6 +7961,23 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7923
7961
|
readonly tribe: io.flow.payment.internal.v0.models.Tribe;
|
|
7924
7962
|
}
|
|
7925
7963
|
|
|
7964
|
+
interface PaymentOrganizationSettings {
|
|
7965
|
+
readonly id: string;
|
|
7966
|
+
readonly enable_auto_capture: boolean;
|
|
7967
|
+
readonly link_capture_to_vcc: boolean;
|
|
7968
|
+
readonly purge_ciphers: boolean;
|
|
7969
|
+
readonly domain?: string;
|
|
7970
|
+
readonly merchant_category_code?: number;
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
7974
|
+
readonly enable_auto_capture?: boolean;
|
|
7975
|
+
readonly link_capture_to_vcc?: boolean;
|
|
7976
|
+
readonly purge_ciphers?: boolean;
|
|
7977
|
+
readonly domain?: string;
|
|
7978
|
+
readonly merchant_category_code?: number;
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7926
7981
|
interface PaypalAccount {
|
|
7927
7982
|
readonly discriminator: 'paypal_account';
|
|
7928
7983
|
readonly id: string;
|
|
@@ -10759,7 +10814,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10759
10814
|
|
|
10760
10815
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
10761
10816
|
readonly catalog_id: number;
|
|
10762
|
-
readonly created_at
|
|
10817
|
+
readonly created_at?: number;
|
|
10763
10818
|
readonly expires_at?: number;
|
|
10764
10819
|
readonly user_id: string;
|
|
10765
10820
|
readonly user_email?: string;
|
|
@@ -11030,6 +11085,19 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
11030
11085
|
readonly organization: string;
|
|
11031
11086
|
readonly default_contents: string;
|
|
11032
11087
|
}
|
|
11088
|
+
|
|
11089
|
+
interface LabelGenerationSettings {
|
|
11090
|
+
readonly id: string;
|
|
11091
|
+
readonly item_identifier?: string;
|
|
11092
|
+
readonly auto_generate_query?: string;
|
|
11093
|
+
readonly commercial_invoice_only_query?: string;
|
|
11094
|
+
}
|
|
11095
|
+
|
|
11096
|
+
interface LabelGenerationSettingsForm {
|
|
11097
|
+
readonly item_identifier?: string;
|
|
11098
|
+
readonly auto_generate_query?: string;
|
|
11099
|
+
readonly commercial_invoice_only_query?: string;
|
|
11100
|
+
}
|
|
11033
11101
|
}
|
|
11034
11102
|
|
|
11035
11103
|
declare namespace io.flow.catalog.v0.enums {
|
|
@@ -16497,6 +16565,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16497
16565
|
interface ExperimentForm {
|
|
16498
16566
|
readonly name: string;
|
|
16499
16567
|
readonly description?: string;
|
|
16568
|
+
readonly emails: string[];
|
|
16500
16569
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
16501
16570
|
}
|
|
16502
16571
|
|
|
@@ -17077,6 +17146,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17077
17146
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
17078
17147
|
type GoogleAnalyticsPlugin = 'ec';
|
|
17079
17148
|
type HttpMethod = 'get' | 'post';
|
|
17149
|
+
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
17150
|
+
type InventoryReservation = 'synchronous-on-submit';
|
|
17080
17151
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
17081
17152
|
type ItemClassificationStatus =
|
|
17082
17153
|
| 'unknown'
|
|
@@ -20496,6 +20567,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20496
20567
|
interface ExperimentForm {
|
|
20497
20568
|
readonly name: string;
|
|
20498
20569
|
readonly description?: string;
|
|
20570
|
+
readonly emails: string[];
|
|
20499
20571
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
20500
20572
|
}
|
|
20501
20573
|
|
|
@@ -21347,6 +21419,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21347
21419
|
readonly order: io.flow.experience.v0.models.OrderPutForm;
|
|
21348
21420
|
}
|
|
21349
21421
|
|
|
21422
|
+
interface InventoryOrganizationSettings {
|
|
21423
|
+
readonly id: string;
|
|
21424
|
+
readonly inventory_reservation: io.flow.internal.v0.enums.InventoryReservation;
|
|
21425
|
+
readonly inventory_check_service: io.flow.internal.v0.enums.InventoryCheckService;
|
|
21426
|
+
readonly inventory_check_service_root_url: string;
|
|
21427
|
+
}
|
|
21428
|
+
|
|
21429
|
+
interface InventoryOrganizationSettingsForm {
|
|
21430
|
+
readonly inventory_reservation: io.flow.internal.v0.enums.InventoryReservation;
|
|
21431
|
+
readonly inventory_check_service: io.flow.internal.v0.enums.InventoryCheckService;
|
|
21432
|
+
readonly inventory_check_service_root_url: string;
|
|
21433
|
+
}
|
|
21434
|
+
|
|
21350
21435
|
interface Invoice {
|
|
21351
21436
|
readonly id: string;
|
|
21352
21437
|
readonly number: string;
|
|
@@ -21655,8 +21740,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21655
21740
|
interface KlarnaPaymentMethodCategory {
|
|
21656
21741
|
readonly id: string;
|
|
21657
21742
|
readonly name?: string;
|
|
21658
|
-
readonly
|
|
21659
|
-
readonly
|
|
21743
|
+
readonly standard_asset_urls?: string;
|
|
21744
|
+
readonly descriptive_asset_urls?: string;
|
|
21660
21745
|
}
|
|
21661
21746
|
|
|
21662
21747
|
interface LabProjectSettings {
|
|
@@ -21685,6 +21770,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21685
21770
|
readonly constructions: Record<string, string[]>;
|
|
21686
21771
|
}
|
|
21687
21772
|
|
|
21773
|
+
interface LabelGenerationSettings {
|
|
21774
|
+
readonly id: string;
|
|
21775
|
+
readonly item_identifier?: string;
|
|
21776
|
+
readonly auto_generate_query?: string;
|
|
21777
|
+
readonly commercial_invoice_only_query?: string;
|
|
21778
|
+
}
|
|
21779
|
+
|
|
21780
|
+
interface LabelGenerationSettingsForm {
|
|
21781
|
+
readonly item_identifier?: string;
|
|
21782
|
+
readonly auto_generate_query?: string;
|
|
21783
|
+
readonly commercial_invoice_only_query?: string;
|
|
21784
|
+
}
|
|
21785
|
+
|
|
21688
21786
|
interface LabelSummary {
|
|
21689
21787
|
readonly commercial_invoice?: string;
|
|
21690
21788
|
readonly pdf?: string;
|
|
@@ -22092,7 +22190,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22092
22190
|
|
|
22093
22191
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
22094
22192
|
readonly catalog_id: number;
|
|
22095
|
-
readonly created_at
|
|
22193
|
+
readonly created_at?: number;
|
|
22096
22194
|
readonly expires_at?: number;
|
|
22097
22195
|
readonly user_id: string;
|
|
22098
22196
|
readonly user_email?: string;
|
|
@@ -22694,6 +22792,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22694
22792
|
readonly tribe: io.flow.internal.v0.models.Tribe;
|
|
22695
22793
|
}
|
|
22696
22794
|
|
|
22795
|
+
interface PaymentOrganizationSettings {
|
|
22796
|
+
readonly id: string;
|
|
22797
|
+
readonly enable_auto_capture: boolean;
|
|
22798
|
+
readonly link_capture_to_vcc: boolean;
|
|
22799
|
+
readonly purge_ciphers: boolean;
|
|
22800
|
+
readonly domain?: string;
|
|
22801
|
+
readonly merchant_category_code?: number;
|
|
22802
|
+
}
|
|
22803
|
+
|
|
22804
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
22805
|
+
readonly enable_auto_capture?: boolean;
|
|
22806
|
+
readonly link_capture_to_vcc?: boolean;
|
|
22807
|
+
readonly purge_ciphers?: boolean;
|
|
22808
|
+
readonly domain?: string;
|
|
22809
|
+
readonly merchant_category_code?: number;
|
|
22810
|
+
}
|
|
22811
|
+
|
|
22697
22812
|
interface PaymentSummaryV2 {
|
|
22698
22813
|
readonly discriminator: 'payment_summary_v2';
|
|
22699
22814
|
readonly id: string;
|
|
@@ -25989,6 +26104,10 @@ export type InternalRedirectAuthorizationDetails = io.flow.internal.v0.models.In
|
|
|
25989
26104
|
export type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
|
|
25990
26105
|
export type InternalStripeAuthorizationDetails = io.flow.internal.v0.models.InternalStripeAuthorizationDetails;
|
|
25991
26106
|
export type InvalidCheckoutData = io.flow.internal.v0.models.InvalidCheckoutData;
|
|
26107
|
+
export type InventoryCheckService = io.flow.internal.v0.enums.InventoryCheckService;
|
|
26108
|
+
export type InventoryOrganizationSettings = io.flow.internal.v0.models.InventoryOrganizationSettings;
|
|
26109
|
+
export type InventoryOrganizationSettingsForm = io.flow.internal.v0.models.InventoryOrganizationSettingsForm;
|
|
26110
|
+
export type InventoryReservation = io.flow.internal.v0.enums.InventoryReservation;
|
|
25992
26111
|
export type Invoice = io.flow.internal.v0.models.Invoice;
|
|
25993
26112
|
export type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
|
|
25994
26113
|
export type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
|
|
@@ -26038,6 +26157,8 @@ export type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabPro
|
|
|
26038
26157
|
export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
|
|
26039
26158
|
export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
|
|
26040
26159
|
export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
|
|
26160
|
+
export type LabelGenerationSettings = io.flow.internal.v0.models.LabelGenerationSettings;
|
|
26161
|
+
export type LabelGenerationSettingsForm = io.flow.internal.v0.models.LabelGenerationSettingsForm;
|
|
26041
26162
|
export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
26042
26163
|
export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
26043
26164
|
export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
@@ -26206,6 +26327,8 @@ export type PartnerOrganizationAuthorizationForm = io.flow.internal.v0.models.Pa
|
|
|
26206
26327
|
export type Passphrase = io.flow.internal.v0.models.Passphrase;
|
|
26207
26328
|
export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
|
|
26208
26329
|
export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
|
|
26330
|
+
export type PaymentOrganizationSettings = io.flow.internal.v0.models.PaymentOrganizationSettings;
|
|
26331
|
+
export type PaymentOrganizationSettingsPutForm = io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm;
|
|
26209
26332
|
export type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect;
|
|
26210
26333
|
export type PaymentSummaryDetails = io.flow.internal.v0.unions.PaymentSummaryDetails;
|
|
26211
26334
|
export type PaymentSummaryStatus = io.flow.internal.v0.enums.PaymentSummaryStatus;
|
package/src/api.ts
CHANGED
|
@@ -1214,6 +1214,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1214
1214
|
| 'experience_upserted'
|
|
1215
1215
|
| 'experience_deleted_v2'
|
|
1216
1216
|
| 'experience_upserted_v2'
|
|
1217
|
+
| 'country_status_upserted'
|
|
1218
|
+
| 'country_status_deleted'
|
|
1217
1219
|
| 'experience_price_book_mapping_deleted'
|
|
1218
1220
|
| 'experience_price_book_mapping_upserted'
|
|
1219
1221
|
| 'experience_logistics_settings_upserted'
|
|
@@ -1331,6 +1333,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1331
1333
|
type ExceptionType = 'open' | 'closed';
|
|
1332
1334
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
1333
1335
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
1336
|
+
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
1334
1337
|
type ExperiencePaymentMethodTag = 'display';
|
|
1335
1338
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
1336
1339
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
@@ -1556,6 +1559,25 @@ declare namespace io.flow.v0.enums {
|
|
|
1556
1559
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
1557
1560
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
1558
1561
|
type ReturnStatus = 'open' | 'refunded';
|
|
1562
|
+
type ReturnTrackingStatus =
|
|
1563
|
+
| 'awaiting_customs_clearance'
|
|
1564
|
+
| 'cancel_requested'
|
|
1565
|
+
| 'canceled'
|
|
1566
|
+
| 'collection_attempt_failed'
|
|
1567
|
+
| 'customs_clearance_completed'
|
|
1568
|
+
| 'delivered_to_retailer'
|
|
1569
|
+
| 'in_transit_to_local_hub'
|
|
1570
|
+
| 'in_transit_to_retailer'
|
|
1571
|
+
| 'parcel_added_to_pallet'
|
|
1572
|
+
| 'parcel_delayed'
|
|
1573
|
+
| 'parcel_extracted_from_pallet'
|
|
1574
|
+
| 'parcel_lost'
|
|
1575
|
+
| 'parcel_processed_by_retailer'
|
|
1576
|
+
| 'parcel_under_investigation'
|
|
1577
|
+
| 'processed_by_local_hub'
|
|
1578
|
+
| 'received_at_local_hub'
|
|
1579
|
+
| 'received_by_the_carrier'
|
|
1580
|
+
| 'return_registered_online';
|
|
1559
1581
|
type ReversalErrorCode =
|
|
1560
1582
|
| 'amount_exceeds_balance'
|
|
1561
1583
|
| 'authorization_declined'
|
|
@@ -3026,6 +3048,32 @@ declare namespace io.flow.v0.models {
|
|
|
3026
3048
|
readonly countries: string[];
|
|
3027
3049
|
}
|
|
3028
3050
|
|
|
3051
|
+
interface CountryStatus {
|
|
3052
|
+
readonly id: string;
|
|
3053
|
+
readonly country: string;
|
|
3054
|
+
readonly status: io.flow.v0.enums.ExperienceCountryStatus;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
interface CountryStatusDeleted {
|
|
3058
|
+
readonly discriminator: 'country_status_deleted';
|
|
3059
|
+
readonly event_id: string;
|
|
3060
|
+
readonly timestamp: string;
|
|
3061
|
+
readonly organization: string;
|
|
3062
|
+
readonly country_status: io.flow.v0.models.CountryStatus;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
interface CountryStatusForm {
|
|
3066
|
+
readonly status: io.flow.v0.enums.ExperienceCountryStatus;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
interface CountryStatusUpserted {
|
|
3070
|
+
readonly discriminator: 'country_status_upserted';
|
|
3071
|
+
readonly event_id: string;
|
|
3072
|
+
readonly timestamp: string;
|
|
3073
|
+
readonly organization: string;
|
|
3074
|
+
readonly country_status: io.flow.v0.models.CountryStatus;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3029
3077
|
interface CreditMemo {
|
|
3030
3078
|
readonly id: string;
|
|
3031
3079
|
readonly number?: string;
|
|
@@ -7541,8 +7589,15 @@ declare namespace io.flow.v0.models {
|
|
|
7541
7589
|
interface Return {
|
|
7542
7590
|
readonly id: string;
|
|
7543
7591
|
readonly key: string;
|
|
7592
|
+
readonly order?: io.flow.v0.models.ReturnOrderReference;
|
|
7593
|
+
readonly service: io.flow.v0.models.ServiceSummary;
|
|
7544
7594
|
readonly items: io.flow.v0.models.ReturnLineItem[];
|
|
7545
|
-
readonly labels
|
|
7595
|
+
readonly labels?: io.flow.v0.models.ShippingLabel[];
|
|
7596
|
+
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
7597
|
+
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
7598
|
+
readonly source: io.flow.v0.unions.ReturnSource;
|
|
7599
|
+
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
7600
|
+
readonly tracking_status_timestamp?: string;
|
|
7546
7601
|
}
|
|
7547
7602
|
|
|
7548
7603
|
interface ReturnDeleted {
|
|
@@ -7561,6 +7616,9 @@ declare namespace io.flow.v0.models {
|
|
|
7561
7616
|
readonly key?: string;
|
|
7562
7617
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
7563
7618
|
readonly center_key?: string;
|
|
7619
|
+
readonly source: io.flow.v0.unions.ReturnSource;
|
|
7620
|
+
readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus;
|
|
7621
|
+
readonly tracking_status_timestamp?: string;
|
|
7564
7622
|
}
|
|
7565
7623
|
|
|
7566
7624
|
interface ReturnItemReference {
|
|
@@ -7598,6 +7656,16 @@ declare namespace io.flow.v0.models {
|
|
|
7598
7656
|
readonly name?: string;
|
|
7599
7657
|
}
|
|
7600
7658
|
|
|
7659
|
+
interface ReturnSourceExternalVendor {
|
|
7660
|
+
readonly discriminator: 'return_source_external_vendor';
|
|
7661
|
+
readonly key: string;
|
|
7662
|
+
}
|
|
7663
|
+
|
|
7664
|
+
interface ReturnSourceFlow {
|
|
7665
|
+
readonly discriminator: 'return_source_flow';
|
|
7666
|
+
readonly attributes?: Record<string, string>;
|
|
7667
|
+
}
|
|
7668
|
+
|
|
7601
7669
|
interface ReturnUpserted {
|
|
7602
7670
|
readonly discriminator: 'return_upserted';
|
|
7603
7671
|
readonly event_id: string;
|
|
@@ -7607,7 +7675,7 @@ declare namespace io.flow.v0.models {
|
|
|
7607
7675
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
7608
7676
|
readonly items: io.flow.v0.models.ReturnLineItem[];
|
|
7609
7677
|
readonly key: string;
|
|
7610
|
-
readonly labels
|
|
7678
|
+
readonly labels?: io.flow.v0.models.ShippingLabel[];
|
|
7611
7679
|
readonly service: string;
|
|
7612
7680
|
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
7613
7681
|
}
|
|
@@ -9235,6 +9303,8 @@ declare namespace io.flow.v0.unions {
|
|
|
9235
9303
|
| io.flow.v0.models.ExperienceUpserted
|
|
9236
9304
|
| io.flow.v0.models.ExperienceDeletedV2
|
|
9237
9305
|
| io.flow.v0.models.ExperienceUpsertedV2
|
|
9306
|
+
| io.flow.v0.models.CountryStatusUpserted
|
|
9307
|
+
| io.flow.v0.models.CountryStatusDeleted
|
|
9238
9308
|
| io.flow.v0.models.ExperiencePriceBookMappingDeleted
|
|
9239
9309
|
| io.flow.v0.models.ExperiencePriceBookMappingUpserted
|
|
9240
9310
|
| io.flow.v0.models.ExperienceLogisticsSettingsUpserted
|
|
@@ -9476,6 +9546,9 @@ declare namespace io.flow.v0.unions {
|
|
|
9476
9546
|
| io.flow.v0.models.NoInventoryReservationError
|
|
9477
9547
|
| io.flow.v0.models.ExternalApiTimeoutReservationError
|
|
9478
9548
|
| io.flow.v0.models.GenericReservationError;
|
|
9549
|
+
type ReturnSource =
|
|
9550
|
+
| io.flow.v0.models.ReturnSourceFlow
|
|
9551
|
+
| io.flow.v0.models.ReturnSourceExternalVendor;
|
|
9479
9552
|
type ServiceFee =
|
|
9480
9553
|
| io.flow.v0.models.FuelSurchargeServiceFee
|
|
9481
9554
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
@@ -9739,6 +9812,10 @@ export type CountryPicker = io.flow.v0.models.CountryPicker;
|
|
|
9739
9812
|
export type CountryPickerForm = io.flow.v0.models.CountryPickerForm;
|
|
9740
9813
|
export type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
|
|
9741
9814
|
export type CountryShippingPricing = io.flow.v0.models.CountryShippingPricing;
|
|
9815
|
+
export type CountryStatus = io.flow.v0.models.CountryStatus;
|
|
9816
|
+
export type CountryStatusDeleted = io.flow.v0.models.CountryStatusDeleted;
|
|
9817
|
+
export type CountryStatusForm = io.flow.v0.models.CountryStatusForm;
|
|
9818
|
+
export type CountryStatusUpserted = io.flow.v0.models.CountryStatusUpserted;
|
|
9742
9819
|
export type CreditMemo = io.flow.v0.models.CreditMemo;
|
|
9743
9820
|
export type CreditMemoDeleted = io.flow.v0.models.CreditMemoDeleted;
|
|
9744
9821
|
export type CreditMemoForm = io.flow.v0.models.CreditMemoForm;
|
|
@@ -9891,6 +9968,7 @@ export type ExperienceClone = io.flow.v0.models.ExperienceClone;
|
|
|
9891
9968
|
export type ExperienceCloneForm = io.flow.v0.models.ExperienceCloneForm;
|
|
9892
9969
|
export type ExperienceCloneStatus = io.flow.v0.enums.ExperienceCloneStatus;
|
|
9893
9970
|
export type ExperienceConfigurationReference = io.flow.v0.models.ExperienceConfigurationReference;
|
|
9971
|
+
export type ExperienceCountryStatus = io.flow.v0.enums.ExperienceCountryStatus;
|
|
9894
9972
|
export type ExperienceCurrencyFormat = io.flow.v0.models.ExperienceCurrencyFormat;
|
|
9895
9973
|
export type ExperienceCurrencyFormatForm = io.flow.v0.models.ExperienceCurrencyFormatForm;
|
|
9896
9974
|
export type ExperienceDefaults = io.flow.v0.models.ExperienceDefaults;
|
|
@@ -10506,7 +10584,11 @@ export type ReturnPackageRatecardFee = io.flow.v0.models.ReturnPackageRatecardFe
|
|
|
10506
10584
|
export type ReturnReason = io.flow.v0.models.ReturnReason;
|
|
10507
10585
|
export type ReturnReasonForm = io.flow.v0.models.ReturnReasonForm;
|
|
10508
10586
|
export type ReturnReasonPutForm = io.flow.v0.models.ReturnReasonPutForm;
|
|
10587
|
+
export type ReturnSource = io.flow.v0.unions.ReturnSource;
|
|
10588
|
+
export type ReturnSourceExternalVendor = io.flow.v0.models.ReturnSourceExternalVendor;
|
|
10589
|
+
export type ReturnSourceFlow = io.flow.v0.models.ReturnSourceFlow;
|
|
10509
10590
|
export type ReturnStatus = io.flow.v0.enums.ReturnStatus;
|
|
10591
|
+
export type ReturnTrackingStatus = io.flow.v0.enums.ReturnTrackingStatus;
|
|
10510
10592
|
export type ReturnUpserted = io.flow.v0.models.ReturnUpserted;
|
|
10511
10593
|
export type ReturnVersion = io.flow.v0.models.ReturnVersion;
|
|
10512
10594
|
export type Reversal = io.flow.v0.models.Reversal;
|