@flowio/types 10.6.0 → 10.6.3
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 +166 -19
- package/dist/api.d.ts +5 -0
- package/dist/index.js +15 -2
- package/package.json +9 -11
- package/src/api-internal.ts +195 -14
- package/src/api.ts +5 -0
- package/LICENSE +0 -21
package/dist/api-internal.d.ts
CHANGED
|
@@ -11,11 +11,10 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
11
11
|
}
|
|
12
12
|
interface DhlEcommerce {
|
|
13
13
|
readonly discriminator: 'dhl_ecommerce';
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly client_id: string;
|
|
17
|
-
readonly pickup_account_number: string;
|
|
14
|
+
readonly client_id_v4: string;
|
|
15
|
+
readonly client_secret_v4: string;
|
|
18
16
|
readonly distribution_center: string;
|
|
17
|
+
readonly pickup_account_number: string;
|
|
19
18
|
readonly pickup_name: string;
|
|
20
19
|
}
|
|
21
20
|
interface Fedex {
|
|
@@ -2158,7 +2157,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2158
2157
|
}
|
|
2159
2158
|
}
|
|
2160
2159
|
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2161
|
-
type StatisticType = 'time-to-classify' | 'rate-source' | 'rate-freshness';
|
|
2160
|
+
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
2162
2161
|
}
|
|
2163
2162
|
declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
2164
2163
|
interface ClassificationRequeueRequest {
|
|
@@ -2193,10 +2192,25 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
|
2193
2192
|
}
|
|
2194
2193
|
interface TimeToClassify {
|
|
2195
2194
|
readonly discriminator: 'time-to-classify';
|
|
2195
|
+
readonly key: string;
|
|
2196
|
+
readonly from: string;
|
|
2197
|
+
readonly to: string;
|
|
2196
2198
|
readonly organization_id: string;
|
|
2199
|
+
readonly average_hours: number;
|
|
2200
|
+
readonly median_hours: number;
|
|
2201
|
+
readonly percentile_75_hours: number;
|
|
2202
|
+
readonly percentile_90_hours: number;
|
|
2203
|
+
readonly percentile_99_hours: number;
|
|
2204
|
+
}
|
|
2205
|
+
interface TimeToClassifyAggregated {
|
|
2206
|
+
readonly discriminator: 'time-to-classify-aggregated';
|
|
2197
2207
|
readonly key: string;
|
|
2198
2208
|
readonly from: string;
|
|
2199
2209
|
readonly to: string;
|
|
2210
|
+
readonly average_hours: number;
|
|
2211
|
+
readonly median_hours: number;
|
|
2212
|
+
readonly percentile_75_hours: number;
|
|
2213
|
+
readonly percentile_90_hours: number;
|
|
2200
2214
|
readonly percentile_99_hours: number;
|
|
2201
2215
|
}
|
|
2202
2216
|
interface UnclassifiedProductsPurgeRequest {
|
|
@@ -2204,7 +2218,7 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
|
2204
2218
|
}
|
|
2205
2219
|
}
|
|
2206
2220
|
declare namespace io.flow.harmonization.engine.internal.v0.unions {
|
|
2207
|
-
type InternalHarmonizationStatistic = io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
|
|
2221
|
+
type InternalHarmonizationStatistic = io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
|
|
2208
2222
|
}
|
|
2209
2223
|
declare namespace io.flow.catalog.internal.v0.models {
|
|
2210
2224
|
interface CatalogItemBatchIndexTask {
|
|
@@ -2292,6 +2306,8 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2292
2306
|
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';
|
|
2293
2307
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2294
2308
|
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';
|
|
2309
|
+
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_over_time';
|
|
2310
|
+
type KlarnaProduct = 'payment';
|
|
2295
2311
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
2296
2312
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
2297
2313
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
@@ -2527,7 +2543,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2527
2543
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2528
2544
|
}
|
|
2529
2545
|
interface OrderItem {
|
|
2530
|
-
readonly object
|
|
2546
|
+
readonly object?: string;
|
|
2531
2547
|
readonly amount: number;
|
|
2532
2548
|
readonly currency: string;
|
|
2533
2549
|
readonly description?: string;
|
|
@@ -2746,7 +2762,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2746
2762
|
}
|
|
2747
2763
|
interface Shipping {
|
|
2748
2764
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
2749
|
-
readonly name
|
|
2765
|
+
readonly name?: string;
|
|
2750
2766
|
readonly phone?: string;
|
|
2751
2767
|
}
|
|
2752
2768
|
interface Source {
|
|
@@ -2768,6 +2784,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2768
2784
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
2769
2785
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
2770
2786
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
2787
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
2771
2788
|
}
|
|
2772
2789
|
interface SourceCard {
|
|
2773
2790
|
readonly exp_month: number;
|
|
@@ -2795,11 +2812,47 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2795
2812
|
readonly first_name?: string;
|
|
2796
2813
|
readonly last_name?: string;
|
|
2797
2814
|
readonly client_token: string;
|
|
2815
|
+
readonly payment_method_categories?: string;
|
|
2816
|
+
readonly purchase_country?: string;
|
|
2817
|
+
readonly shipping_first_name?: string;
|
|
2818
|
+
readonly shipping_last_name?: string;
|
|
2819
|
+
readonly locale?: string;
|
|
2820
|
+
readonly pay_later_name?: string;
|
|
2821
|
+
readonly pay_later_asset_url_standard?: string;
|
|
2822
|
+
readonly pay_later_asset_url_descriptive?: string;
|
|
2823
|
+
readonly pay_now_name?: string;
|
|
2824
|
+
readonly pay_now_asset_url_standard?: string;
|
|
2825
|
+
readonly pay_now_asset_url_descriptive?: string;
|
|
2826
|
+
readonly pay_over_time_name?: string;
|
|
2827
|
+
readonly pay_over_time_asset_url_standard?: string;
|
|
2828
|
+
readonly pay_over_time_asset_url_descriptive?: string;
|
|
2829
|
+
readonly direct_bank_transfer_name?: string;
|
|
2830
|
+
readonly direct_bank_transfer_asset_url_standard?: string;
|
|
2831
|
+
readonly direct_bank_transfer_asset_url_descriptive?: string;
|
|
2832
|
+
readonly direct_debit_name?: string;
|
|
2833
|
+
readonly direct_debit_asset_url_standard?: string;
|
|
2834
|
+
readonly direct_debit_asset_url_descriptive?: string;
|
|
2798
2835
|
}
|
|
2799
2836
|
interface SourceKlarnaRequest {
|
|
2800
2837
|
readonly first_name: string;
|
|
2801
2838
|
readonly last_name: string;
|
|
2839
|
+
readonly purchase_country?: string;
|
|
2840
|
+
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
2802
2841
|
readonly attachment?: string;
|
|
2842
|
+
readonly shipping_first_name?: string;
|
|
2843
|
+
readonly shipping_last_name?: string;
|
|
2844
|
+
readonly locale?: string;
|
|
2845
|
+
}
|
|
2846
|
+
interface SourceOrder {
|
|
2847
|
+
readonly amount?: number;
|
|
2848
|
+
readonly currency?: string;
|
|
2849
|
+
readonly email?: string;
|
|
2850
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
2851
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2852
|
+
}
|
|
2853
|
+
interface SourceOrderRequest {
|
|
2854
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
2855
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2803
2856
|
}
|
|
2804
2857
|
interface SourceRequest {
|
|
2805
2858
|
readonly type?: io.flow.stripe.v0.enums.SourceType;
|
|
@@ -2816,6 +2869,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2816
2869
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
2817
2870
|
readonly token?: string;
|
|
2818
2871
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
2872
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
2819
2873
|
}
|
|
2820
2874
|
interface Stripe3Ds2Fingerprint {
|
|
2821
2875
|
readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
|
|
@@ -5142,6 +5196,18 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5142
5196
|
readonly organization: string;
|
|
5143
5197
|
readonly export_id: string;
|
|
5144
5198
|
}
|
|
5199
|
+
interface TimeToClassifyAggregatedDeleted {
|
|
5200
|
+
readonly discriminator: 'time_to_classify_aggregated_deleted';
|
|
5201
|
+
readonly event_id: string;
|
|
5202
|
+
readonly timestamp: string;
|
|
5203
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
5204
|
+
}
|
|
5205
|
+
interface TimeToClassifyAggregatedUpserted {
|
|
5206
|
+
readonly discriminator: 'time_to_classify_aggregated_upserted';
|
|
5207
|
+
readonly event_id: string;
|
|
5208
|
+
readonly timestamp: string;
|
|
5209
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
5210
|
+
}
|
|
5145
5211
|
interface TimeToClassifyDeleted {
|
|
5146
5212
|
readonly discriminator: 'time_to_classify_deleted';
|
|
5147
5213
|
readonly event_id: string;
|
|
@@ -5170,7 +5236,7 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
|
5170
5236
|
type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
|
|
5171
5237
|
type HarmonizationSugestionEvent = io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
|
|
5172
5238
|
type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequestV2;
|
|
5173
|
-
type InternalHarmonizationStatisticEvent = io.flow.harmonization.internal.event.v0.models.TimeToClassifyUpserted | io.flow.harmonization.internal.event.v0.models.TimeToClassifyDeleted | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryUpserted | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryDeleted | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryUpserted | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryDeleted;
|
|
5239
|
+
type InternalHarmonizationStatisticEvent = io.flow.harmonization.internal.event.v0.models.TimeToClassifyUpserted | io.flow.harmonization.internal.event.v0.models.TimeToClassifyDeleted | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedUpserted | io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedDeleted | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryUpserted | io.flow.harmonization.internal.event.v0.models.RateSourceSummaryDeleted | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryUpserted | io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryDeleted;
|
|
5174
5240
|
}
|
|
5175
5241
|
declare namespace io.flow.svb.v0.enums {
|
|
5176
5242
|
type ClearingType = 'Credit' | 'Debit';
|
|
@@ -5789,6 +5855,17 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5789
5855
|
interface KeyReference {
|
|
5790
5856
|
readonly id: string;
|
|
5791
5857
|
}
|
|
5858
|
+
interface KlarnaAuthorizationParameters {
|
|
5859
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
5860
|
+
readonly client_token: string;
|
|
5861
|
+
readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
5862
|
+
}
|
|
5863
|
+
interface KlarnaPaymentMethodCategory {
|
|
5864
|
+
readonly id: string;
|
|
5865
|
+
readonly name?: string;
|
|
5866
|
+
readonly standard_asset_url?: string;
|
|
5867
|
+
readonly descriptive_asset_url?: string;
|
|
5868
|
+
}
|
|
5792
5869
|
interface OnlineAuthorizationCompleted {
|
|
5793
5870
|
readonly discriminator: 'online_authorization_completed';
|
|
5794
5871
|
readonly id: string;
|
|
@@ -5852,6 +5929,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5852
5929
|
}
|
|
5853
5930
|
interface PaypalAuthenticationDataReference {
|
|
5854
5931
|
readonly id: string;
|
|
5932
|
+
readonly flow_merchant_id?: string;
|
|
5855
5933
|
}
|
|
5856
5934
|
interface PaypalAuthenticationForm {
|
|
5857
5935
|
readonly username: string;
|
|
@@ -6024,6 +6102,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6024
6102
|
}
|
|
6025
6103
|
declare namespace io.flow.payment.internal.v0.unions {
|
|
6026
6104
|
type AuthorizationPayload = io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
|
|
6105
|
+
type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
|
|
6027
6106
|
type InternalAuthorizationDetails = io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
6028
6107
|
type InternalRefundForm = io.flow.payment.internal.v0.models.AdyenRefundForm;
|
|
6029
6108
|
type PaymentRedirect = io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted;
|
|
@@ -6352,6 +6431,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
6352
6431
|
interface OrganizationSummary {
|
|
6353
6432
|
readonly id: string;
|
|
6354
6433
|
readonly name: string;
|
|
6434
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
6355
6435
|
}
|
|
6356
6436
|
interface PartnerReference {
|
|
6357
6437
|
readonly id: string;
|
|
@@ -7977,6 +8057,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
7977
8057
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
7978
8058
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
7979
8059
|
type MarketingGatewayErrorCode = 'generic_error' | 'google_api_error' | 'facebook_api_error' | 'invalid_oauth_token_error';
|
|
8060
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
7980
8061
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
7981
8062
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
7982
8063
|
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
@@ -8040,11 +8121,20 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
8040
8121
|
readonly datasources?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
8041
8122
|
readonly localized_feed_count?: number;
|
|
8042
8123
|
readonly connected_at?: string;
|
|
8124
|
+
readonly token_summary?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
8043
8125
|
}
|
|
8044
8126
|
interface MarketingGatewayFacebookConnection {
|
|
8045
8127
|
readonly organization_id: string;
|
|
8046
8128
|
readonly businesses: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
8047
8129
|
}
|
|
8130
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
8131
|
+
readonly catalog_id: number;
|
|
8132
|
+
readonly created_at: number;
|
|
8133
|
+
readonly expires_at?: number;
|
|
8134
|
+
readonly user_id: string;
|
|
8135
|
+
readonly user_email?: string;
|
|
8136
|
+
readonly token_status: io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
8137
|
+
}
|
|
8048
8138
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
8049
8139
|
readonly user_id: number;
|
|
8050
8140
|
}
|
|
@@ -8243,10 +8333,13 @@ declare namespace io.flow.label.internal.v0.enums {
|
|
|
8243
8333
|
declare namespace io.flow.label.internal.v0.models {
|
|
8244
8334
|
interface CarrierAccount {
|
|
8245
8335
|
readonly id: string;
|
|
8246
|
-
readonly organization_id: string;
|
|
8247
8336
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
8248
8337
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8249
8338
|
}
|
|
8339
|
+
interface CarrierAccountForm {
|
|
8340
|
+
readonly carrier_id: string;
|
|
8341
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8342
|
+
}
|
|
8250
8343
|
interface CarrierInvoice {
|
|
8251
8344
|
readonly number: string;
|
|
8252
8345
|
readonly timestamp: string;
|
|
@@ -9060,6 +9153,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9060
9153
|
readonly hs6: string;
|
|
9061
9154
|
readonly hs6_description: string;
|
|
9062
9155
|
readonly url: string;
|
|
9156
|
+
readonly item_type: string;
|
|
9157
|
+
readonly material: string;
|
|
9158
|
+
readonly gender: string;
|
|
9159
|
+
readonly construction: string;
|
|
9063
9160
|
}
|
|
9064
9161
|
interface ClassificationItem {
|
|
9065
9162
|
readonly id: string;
|
|
@@ -12777,7 +12874,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12777
12874
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
12778
12875
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
12779
12876
|
type EmptyAttribute = 'irrelevant';
|
|
12780
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
12877
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
12781
12878
|
type ExperienceImportType = 'experience_with_settings';
|
|
12782
12879
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
12783
12880
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -12804,6 +12901,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12804
12901
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
12805
12902
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
12806
12903
|
type MarketingGatewayErrorCode = 'generic_error' | 'google_api_error' | 'facebook_api_error' | 'invalid_oauth_token_error';
|
|
12904
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
12807
12905
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
12808
12906
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
12809
12907
|
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
@@ -12847,7 +12945,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12847
12945
|
type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
|
|
12848
12946
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
12849
12947
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
12850
|
-
type StatisticType = 'time-to-classify' | 'rate-source' | 'rate-freshness';
|
|
12948
|
+
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
12851
12949
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
12852
12950
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
12853
12951
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
@@ -13651,10 +13749,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13651
13749
|
}
|
|
13652
13750
|
interface CarrierAccount {
|
|
13653
13751
|
readonly id: string;
|
|
13654
|
-
readonly organization_id: string;
|
|
13655
13752
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
13656
13753
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
13657
13754
|
}
|
|
13755
|
+
interface CarrierAccountForm {
|
|
13756
|
+
readonly carrier_id: string;
|
|
13757
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
13758
|
+
}
|
|
13658
13759
|
interface CarrierAccountUpserted {
|
|
13659
13760
|
readonly discriminator: 'carrier_account_upserted';
|
|
13660
13761
|
readonly event_id: string;
|
|
@@ -15010,6 +15111,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15010
15111
|
readonly hs6: string;
|
|
15011
15112
|
readonly hs6_description: string;
|
|
15012
15113
|
readonly url: string;
|
|
15114
|
+
readonly item_type: string;
|
|
15115
|
+
readonly material: string;
|
|
15116
|
+
readonly gender: string;
|
|
15117
|
+
readonly construction: string;
|
|
15013
15118
|
}
|
|
15014
15119
|
interface ClassificationItem {
|
|
15015
15120
|
readonly id: string;
|
|
@@ -15316,11 +15421,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15316
15421
|
}
|
|
15317
15422
|
interface DhlEcommerce {
|
|
15318
15423
|
readonly discriminator: 'dhl_ecommerce';
|
|
15319
|
-
readonly
|
|
15320
|
-
readonly
|
|
15321
|
-
readonly client_id: string;
|
|
15322
|
-
readonly pickup_account_number: string;
|
|
15424
|
+
readonly client_id_v4: string;
|
|
15425
|
+
readonly client_secret_v4: string;
|
|
15323
15426
|
readonly distribution_center: string;
|
|
15427
|
+
readonly pickup_account_number: string;
|
|
15324
15428
|
readonly pickup_name: string;
|
|
15325
15429
|
}
|
|
15326
15430
|
interface Dict {
|
|
@@ -16909,11 +17013,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16909
17013
|
readonly datasources?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
16910
17014
|
readonly localized_feed_count?: number;
|
|
16911
17015
|
readonly connected_at?: string;
|
|
17016
|
+
readonly token_summary?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
16912
17017
|
}
|
|
16913
17018
|
interface MarketingGatewayFacebookConnection {
|
|
16914
17019
|
readonly organization_id: string;
|
|
16915
17020
|
readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
16916
17021
|
}
|
|
17022
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
17023
|
+
readonly catalog_id: number;
|
|
17024
|
+
readonly created_at: number;
|
|
17025
|
+
readonly expires_at?: number;
|
|
17026
|
+
readonly user_id: string;
|
|
17027
|
+
readonly user_email?: string;
|
|
17028
|
+
readonly token_status: io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
17029
|
+
}
|
|
16917
17030
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
16918
17031
|
readonly user_id: number;
|
|
16919
17032
|
}
|
|
@@ -17476,6 +17589,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17476
17589
|
}
|
|
17477
17590
|
interface PaypalAuthenticationDataReference {
|
|
17478
17591
|
readonly id: string;
|
|
17592
|
+
readonly flow_merchant_id?: string;
|
|
17479
17593
|
}
|
|
17480
17594
|
interface PaypalAuthenticationForm {
|
|
17481
17595
|
readonly username: string;
|
|
@@ -18827,12 +18941,39 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18827
18941
|
}
|
|
18828
18942
|
interface TimeToClassify {
|
|
18829
18943
|
readonly discriminator: 'time-to-classify';
|
|
18944
|
+
readonly key: string;
|
|
18945
|
+
readonly from: string;
|
|
18946
|
+
readonly to: string;
|
|
18830
18947
|
readonly organization_id: string;
|
|
18948
|
+
readonly average_hours: number;
|
|
18949
|
+
readonly median_hours: number;
|
|
18950
|
+
readonly percentile_75_hours: number;
|
|
18951
|
+
readonly percentile_90_hours: number;
|
|
18952
|
+
readonly percentile_99_hours: number;
|
|
18953
|
+
}
|
|
18954
|
+
interface TimeToClassifyAggregated {
|
|
18955
|
+
readonly discriminator: 'time-to-classify-aggregated';
|
|
18831
18956
|
readonly key: string;
|
|
18832
18957
|
readonly from: string;
|
|
18833
18958
|
readonly to: string;
|
|
18959
|
+
readonly average_hours: number;
|
|
18960
|
+
readonly median_hours: number;
|
|
18961
|
+
readonly percentile_75_hours: number;
|
|
18962
|
+
readonly percentile_90_hours: number;
|
|
18834
18963
|
readonly percentile_99_hours: number;
|
|
18835
18964
|
}
|
|
18965
|
+
interface TimeToClassifyAggregatedDeleted {
|
|
18966
|
+
readonly discriminator: 'time_to_classify_aggregated_deleted';
|
|
18967
|
+
readonly event_id: string;
|
|
18968
|
+
readonly timestamp: string;
|
|
18969
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
18970
|
+
}
|
|
18971
|
+
interface TimeToClassifyAggregatedUpserted {
|
|
18972
|
+
readonly discriminator: 'time_to_classify_aggregated_upserted';
|
|
18973
|
+
readonly event_id: string;
|
|
18974
|
+
readonly timestamp: string;
|
|
18975
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
18976
|
+
}
|
|
18836
18977
|
interface TimeToClassifyDeleted {
|
|
18837
18978
|
readonly discriminator: 'time_to_classify_deleted';
|
|
18838
18979
|
readonly event_id: string;
|
|
@@ -19141,7 +19282,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19141
19282
|
type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
|
|
19142
19283
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
19143
19284
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
19144
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
19285
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
19145
19286
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
19146
19287
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
19147
19288
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -19152,7 +19293,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19152
19293
|
type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
|
|
19153
19294
|
type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
|
|
19154
19295
|
type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
19155
|
-
type InternalHarmonizationStatistic = io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary;
|
|
19296
|
+
type InternalHarmonizationStatistic = io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.TimeToClassifyAggregated | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary;
|
|
19156
19297
|
type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
|
|
19157
19298
|
type LocalizableContent = io.flow.internal.v0.models.LocalizableContentReference | io.flow.internal.v0.models.Localization;
|
|
19158
19299
|
type MarketingGatewayChannelDetails = io.flow.internal.v0.models.MarketingGatewayGoogleChannelDetails | io.flow.internal.v0.models.MarketingGatewayFacebookChannelDetails | io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
@@ -19320,6 +19461,7 @@ export declare type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.
|
|
|
19320
19461
|
export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
19321
19462
|
export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
19322
19463
|
export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
19464
|
+
export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
19323
19465
|
export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
19324
19466
|
export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
19325
19467
|
export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
@@ -20083,9 +20225,11 @@ export declare type MarketingGatewayFacebookCatalogForm = io.flow.internal.v0.mo
|
|
|
20083
20225
|
export declare type MarketingGatewayFacebookCatalogSummary = io.flow.internal.v0.models.MarketingGatewayFacebookCatalogSummary;
|
|
20084
20226
|
export declare type MarketingGatewayFacebookChannelDetails = io.flow.internal.v0.models.MarketingGatewayFacebookChannelDetails;
|
|
20085
20227
|
export declare type MarketingGatewayFacebookConnection = io.flow.internal.v0.models.MarketingGatewayFacebookConnection;
|
|
20228
|
+
export declare type MarketingGatewayFacebookConnectionAccessTokenSummary = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
20086
20229
|
export declare type MarketingGatewayFacebookConnectionDeauth = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionDeauth;
|
|
20087
20230
|
export declare type MarketingGatewayFacebookConnectionForm = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionForm;
|
|
20088
20231
|
export declare type MarketingGatewayFacebookSourceSummary = io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary;
|
|
20232
|
+
export declare type MarketingGatewayFacebookTokenStatus = io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
20089
20233
|
export declare type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
|
|
20090
20234
|
export declare type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
|
|
20091
20235
|
export declare type MarketingGatewayFeedExportForm = io.flow.internal.v0.models.MarketingGatewayFeedExportForm;
|
|
@@ -20459,6 +20603,9 @@ export declare type TaxRemittanceTransactionUpserted = io.flow.internal.v0.model
|
|
|
20459
20603
|
export declare type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
|
|
20460
20604
|
export declare type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
|
|
20461
20605
|
export declare type TimeToClassify = io.flow.internal.v0.models.TimeToClassify;
|
|
20606
|
+
export declare type TimeToClassifyAggregated = io.flow.internal.v0.models.TimeToClassifyAggregated;
|
|
20607
|
+
export declare type TimeToClassifyAggregatedDeleted = io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted;
|
|
20608
|
+
export declare type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted;
|
|
20462
20609
|
export declare type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted;
|
|
20463
20610
|
export declare type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted;
|
|
20464
20611
|
export declare type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
package/dist/api.d.ts
CHANGED
|
@@ -819,6 +819,7 @@ declare namespace io.flow.v0.enums {
|
|
|
819
819
|
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
820
820
|
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
821
821
|
type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match';
|
|
822
|
+
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
822
823
|
type Calendar = 'weekdays' | 'everyday';
|
|
823
824
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
824
825
|
type Capability = 'crossdock';
|
|
@@ -1404,6 +1405,7 @@ declare namespace io.flow.v0.models {
|
|
|
1404
1405
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
1405
1406
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1406
1407
|
readonly attributes: Record<string, string>;
|
|
1408
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
1407
1409
|
}
|
|
1408
1410
|
interface B2BCreditMemoDeleted {
|
|
1409
1411
|
readonly discriminator: 'b2b_credit_memo_deleted';
|
|
@@ -1436,6 +1438,7 @@ declare namespace io.flow.v0.models {
|
|
|
1436
1438
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1437
1439
|
readonly attributes: Record<string, string>;
|
|
1438
1440
|
readonly estimated_delivery_date?: string;
|
|
1441
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
1439
1442
|
}
|
|
1440
1443
|
interface B2BInvoiceDeleted {
|
|
1441
1444
|
readonly discriminator: 'b2b_invoice_deleted';
|
|
@@ -5024,6 +5027,7 @@ declare namespace io.flow.v0.models {
|
|
|
5024
5027
|
interface OrganizationSummary {
|
|
5025
5028
|
readonly id: string;
|
|
5026
5029
|
readonly name: string;
|
|
5030
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
5027
5031
|
}
|
|
5028
5032
|
interface OrganizationToken {
|
|
5029
5033
|
readonly discriminator: 'organization_token';
|
|
@@ -7579,6 +7583,7 @@ export declare type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpser
|
|
|
7579
7583
|
export declare type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
7580
7584
|
export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
7581
7585
|
export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
7586
|
+
export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
7582
7587
|
export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
7583
7588
|
export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
7584
7589
|
export declare type BillingAddress = io.flow.v0.models.BillingAddress;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
2
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
15
|
if (mod && mod.__esModule) return mod;
|
|
4
16
|
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
6
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
7
19
|
return result;
|
|
8
20
|
};
|
|
9
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.apiInternalTypes = exports.apiTypes = void 0;
|
|
10
23
|
var apiTypes = __importStar(require("./api"));
|
|
11
24
|
exports.apiTypes = apiTypes;
|
|
12
25
|
var apiInternalTypes = __importStar(require("./api-internal"));
|
package/package.json
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.6.
|
|
3
|
+
"version": "10.6.3",
|
|
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",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"ci": "npm run build",
|
|
10
|
-
"clean": "rm -rf dist",
|
|
11
9
|
"format": "prettier --parser typescript --trailing-comma all --single-quote --write ./src/**/*.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"regenerate": "apibuilder update"
|
|
10
|
+
"generate": "apibuilder update",
|
|
11
|
+
"postgenerate": "npm run format"
|
|
15
12
|
},
|
|
16
13
|
"keywords": [
|
|
17
14
|
"flow",
|
|
@@ -20,12 +17,13 @@
|
|
|
20
17
|
],
|
|
21
18
|
"author": "Flow Commerce",
|
|
22
19
|
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git@github.com:flowcommerce/api-javascript.git",
|
|
23
|
+
"directory": "packages/types"
|
|
24
|
+
},
|
|
23
25
|
"maintainers": [
|
|
24
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
25
27
|
],
|
|
26
|
-
"
|
|
27
|
-
"prettier": "^1.18.2",
|
|
28
|
-
"typescript": "3.8.3"
|
|
29
|
-
},
|
|
30
|
-
"gitHead": "662d6415029a12c2767db07c2cc0ac8a4b44679c"
|
|
28
|
+
"gitHead": "fba4c6a6a597e1843f689a7a58f6159131364578"
|
|
31
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -13,11 +13,10 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
13
13
|
|
|
14
14
|
interface DhlEcommerce {
|
|
15
15
|
readonly discriminator: 'dhl_ecommerce';
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly client_id: string;
|
|
19
|
-
readonly pickup_account_number: string;
|
|
16
|
+
readonly client_id_v4: string;
|
|
17
|
+
readonly client_secret_v4: string;
|
|
20
18
|
readonly distribution_center: string;
|
|
19
|
+
readonly pickup_account_number: string;
|
|
21
20
|
readonly pickup_name: string;
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -2937,7 +2936,11 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2937
2936
|
}
|
|
2938
2937
|
|
|
2939
2938
|
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2940
|
-
type StatisticType =
|
|
2939
|
+
type StatisticType =
|
|
2940
|
+
| 'time-to-classify'
|
|
2941
|
+
| 'time-to-classify-aggregated'
|
|
2942
|
+
| 'rate-source'
|
|
2943
|
+
| 'rate-freshness';
|
|
2941
2944
|
}
|
|
2942
2945
|
|
|
2943
2946
|
declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
@@ -2979,10 +2982,26 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
|
2979
2982
|
|
|
2980
2983
|
interface TimeToClassify {
|
|
2981
2984
|
readonly discriminator: 'time-to-classify';
|
|
2985
|
+
readonly key: string;
|
|
2986
|
+
readonly from: string;
|
|
2987
|
+
readonly to: string;
|
|
2982
2988
|
readonly organization_id: string;
|
|
2989
|
+
readonly average_hours: number;
|
|
2990
|
+
readonly median_hours: number;
|
|
2991
|
+
readonly percentile_75_hours: number;
|
|
2992
|
+
readonly percentile_90_hours: number;
|
|
2993
|
+
readonly percentile_99_hours: number;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
interface TimeToClassifyAggregated {
|
|
2997
|
+
readonly discriminator: 'time-to-classify-aggregated';
|
|
2983
2998
|
readonly key: string;
|
|
2984
2999
|
readonly from: string;
|
|
2985
3000
|
readonly to: string;
|
|
3001
|
+
readonly average_hours: number;
|
|
3002
|
+
readonly median_hours: number;
|
|
3003
|
+
readonly percentile_75_hours: number;
|
|
3004
|
+
readonly percentile_90_hours: number;
|
|
2986
3005
|
readonly percentile_99_hours: number;
|
|
2987
3006
|
}
|
|
2988
3007
|
|
|
@@ -2994,6 +3013,7 @@ declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
|
2994
3013
|
declare namespace io.flow.harmonization.engine.internal.v0.unions {
|
|
2995
3014
|
type InternalHarmonizationStatistic =
|
|
2996
3015
|
| io.flow.harmonization.engine.internal.v0.models.TimeToClassify
|
|
3016
|
+
| io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated
|
|
2997
3017
|
| io.flow.harmonization.engine.internal.v0.models.RateSourceSummary
|
|
2998
3018
|
| io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
|
|
2999
3019
|
}
|
|
@@ -3197,6 +3217,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
3197
3217
|
| 'source.canceled'
|
|
3198
3218
|
| 'source.chargeable'
|
|
3199
3219
|
| 'source.failed';
|
|
3220
|
+
type KlarnaPaymentMethodCategoryType =
|
|
3221
|
+
| 'direct_bank_transfer'
|
|
3222
|
+
| 'direct_debit'
|
|
3223
|
+
| 'pay_later'
|
|
3224
|
+
| 'pay_over_time';
|
|
3225
|
+
type KlarnaProduct = 'payment';
|
|
3200
3226
|
type NetworkStatus =
|
|
3201
3227
|
| 'approved_by_network'
|
|
3202
3228
|
| 'declined_by_network'
|
|
@@ -3500,7 +3526,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3500
3526
|
}
|
|
3501
3527
|
|
|
3502
3528
|
interface OrderItem {
|
|
3503
|
-
readonly object
|
|
3529
|
+
readonly object?: string;
|
|
3504
3530
|
readonly amount: number;
|
|
3505
3531
|
readonly currency: string;
|
|
3506
3532
|
readonly description?: string;
|
|
@@ -3742,7 +3768,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3742
3768
|
|
|
3743
3769
|
interface Shipping {
|
|
3744
3770
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
3745
|
-
readonly name
|
|
3771
|
+
readonly name?: string;
|
|
3746
3772
|
readonly phone?: string;
|
|
3747
3773
|
}
|
|
3748
3774
|
|
|
@@ -3765,6 +3791,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3765
3791
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
3766
3792
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
3767
3793
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
3794
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
3768
3795
|
}
|
|
3769
3796
|
|
|
3770
3797
|
interface SourceCard {
|
|
@@ -3795,12 +3822,50 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3795
3822
|
readonly first_name?: string;
|
|
3796
3823
|
readonly last_name?: string;
|
|
3797
3824
|
readonly client_token: string;
|
|
3825
|
+
readonly payment_method_categories?: string;
|
|
3826
|
+
readonly purchase_country?: string;
|
|
3827
|
+
readonly shipping_first_name?: string;
|
|
3828
|
+
readonly shipping_last_name?: string;
|
|
3829
|
+
readonly locale?: string;
|
|
3830
|
+
readonly pay_later_name?: string;
|
|
3831
|
+
readonly pay_later_asset_url_standard?: string;
|
|
3832
|
+
readonly pay_later_asset_url_descriptive?: string;
|
|
3833
|
+
readonly pay_now_name?: string;
|
|
3834
|
+
readonly pay_now_asset_url_standard?: string;
|
|
3835
|
+
readonly pay_now_asset_url_descriptive?: string;
|
|
3836
|
+
readonly pay_over_time_name?: string;
|
|
3837
|
+
readonly pay_over_time_asset_url_standard?: string;
|
|
3838
|
+
readonly pay_over_time_asset_url_descriptive?: string;
|
|
3839
|
+
readonly direct_bank_transfer_name?: string;
|
|
3840
|
+
readonly direct_bank_transfer_asset_url_standard?: string;
|
|
3841
|
+
readonly direct_bank_transfer_asset_url_descriptive?: string;
|
|
3842
|
+
readonly direct_debit_name?: string;
|
|
3843
|
+
readonly direct_debit_asset_url_standard?: string;
|
|
3844
|
+
readonly direct_debit_asset_url_descriptive?: string;
|
|
3798
3845
|
}
|
|
3799
3846
|
|
|
3800
3847
|
interface SourceKlarnaRequest {
|
|
3801
3848
|
readonly first_name: string;
|
|
3802
3849
|
readonly last_name: string;
|
|
3850
|
+
readonly purchase_country?: string;
|
|
3851
|
+
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
3803
3852
|
readonly attachment?: string;
|
|
3853
|
+
readonly shipping_first_name?: string;
|
|
3854
|
+
readonly shipping_last_name?: string;
|
|
3855
|
+
readonly locale?: string;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
interface SourceOrder {
|
|
3859
|
+
readonly amount?: number;
|
|
3860
|
+
readonly currency?: string;
|
|
3861
|
+
readonly email?: string;
|
|
3862
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
3863
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
interface SourceOrderRequest {
|
|
3867
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
3868
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3804
3869
|
}
|
|
3805
3870
|
|
|
3806
3871
|
interface SourceRequest {
|
|
@@ -3818,6 +3883,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3818
3883
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
3819
3884
|
readonly token?: string;
|
|
3820
3885
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
3886
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
3821
3887
|
}
|
|
3822
3888
|
|
|
3823
3889
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -6995,6 +7061,20 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6995
7061
|
readonly export_id: string;
|
|
6996
7062
|
}
|
|
6997
7063
|
|
|
7064
|
+
interface TimeToClassifyAggregatedDeleted {
|
|
7065
|
+
readonly discriminator: 'time_to_classify_aggregated_deleted';
|
|
7066
|
+
readonly event_id: string;
|
|
7067
|
+
readonly timestamp: string;
|
|
7068
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
7069
|
+
}
|
|
7070
|
+
|
|
7071
|
+
interface TimeToClassifyAggregatedUpserted {
|
|
7072
|
+
readonly discriminator: 'time_to_classify_aggregated_upserted';
|
|
7073
|
+
readonly event_id: string;
|
|
7074
|
+
readonly timestamp: string;
|
|
7075
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
7076
|
+
}
|
|
7077
|
+
|
|
6998
7078
|
interface TimeToClassifyDeleted {
|
|
6999
7079
|
readonly discriminator: 'time_to_classify_deleted';
|
|
7000
7080
|
readonly event_id: string;
|
|
@@ -7039,6 +7119,8 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
|
7039
7119
|
type InternalHarmonizationStatisticEvent =
|
|
7040
7120
|
| io.flow.harmonization.internal.event.v0.models.TimeToClassifyUpserted
|
|
7041
7121
|
| io.flow.harmonization.internal.event.v0.models.TimeToClassifyDeleted
|
|
7122
|
+
| io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedUpserted
|
|
7123
|
+
| io.flow.harmonization.internal.event.v0.models.TimeToClassifyAggregatedDeleted
|
|
7042
7124
|
| io.flow.harmonization.internal.event.v0.models.RateSourceSummaryUpserted
|
|
7043
7125
|
| io.flow.harmonization.internal.event.v0.models.RateSourceSummaryDeleted
|
|
7044
7126
|
| io.flow.harmonization.internal.event.v0.models.RateFreshnessSummaryUpserted
|
|
@@ -7781,6 +7863,19 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7781
7863
|
readonly id: string;
|
|
7782
7864
|
}
|
|
7783
7865
|
|
|
7866
|
+
interface KlarnaAuthorizationParameters {
|
|
7867
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
7868
|
+
readonly client_token: string;
|
|
7869
|
+
readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
interface KlarnaPaymentMethodCategory {
|
|
7873
|
+
readonly id: string;
|
|
7874
|
+
readonly name?: string;
|
|
7875
|
+
readonly standard_asset_url?: string;
|
|
7876
|
+
readonly descriptive_asset_url?: string;
|
|
7877
|
+
}
|
|
7878
|
+
|
|
7784
7879
|
interface OnlineAuthorizationCompleted {
|
|
7785
7880
|
readonly discriminator: 'online_authorization_completed';
|
|
7786
7881
|
readonly id: string;
|
|
@@ -7853,6 +7948,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7853
7948
|
|
|
7854
7949
|
interface PaypalAuthenticationDataReference {
|
|
7855
7950
|
readonly id: string;
|
|
7951
|
+
readonly flow_merchant_id?: string;
|
|
7856
7952
|
}
|
|
7857
7953
|
|
|
7858
7954
|
interface PaypalAuthenticationForm {
|
|
@@ -8052,6 +8148,7 @@ declare namespace io.flow.payment.internal.v0.unions {
|
|
|
8052
8148
|
type AuthorizationPayload =
|
|
8053
8149
|
| io.flow.payment.internal.v0.models.ApplePaymentToken
|
|
8054
8150
|
| io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
|
|
8151
|
+
type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
|
|
8055
8152
|
type InternalAuthorizationDetails =
|
|
8056
8153
|
| io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
8057
8154
|
| io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
@@ -8515,6 +8612,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
8515
8612
|
interface OrganizationSummary {
|
|
8516
8613
|
readonly id: string;
|
|
8517
8614
|
readonly name: string;
|
|
8615
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
8518
8616
|
}
|
|
8519
8617
|
|
|
8520
8618
|
interface PartnerReference {
|
|
@@ -10529,6 +10627,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
10529
10627
|
| 'google_api_error'
|
|
10530
10628
|
| 'facebook_api_error'
|
|
10531
10629
|
| 'invalid_oauth_token_error';
|
|
10630
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
10532
10631
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
10533
10632
|
type MarketingGatewayFeedState =
|
|
10534
10633
|
| 'initialized'
|
|
@@ -10631,6 +10730,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10631
10730
|
readonly datasources?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
10632
10731
|
readonly localized_feed_count?: number;
|
|
10633
10732
|
readonly connected_at?: string;
|
|
10733
|
+
readonly token_summary?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
10634
10734
|
}
|
|
10635
10735
|
|
|
10636
10736
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -10638,6 +10738,15 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10638
10738
|
readonly businesses: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
10639
10739
|
}
|
|
10640
10740
|
|
|
10741
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
10742
|
+
readonly catalog_id: number;
|
|
10743
|
+
readonly created_at: number;
|
|
10744
|
+
readonly expires_at?: number;
|
|
10745
|
+
readonly user_id: string;
|
|
10746
|
+
readonly user_email?: string;
|
|
10747
|
+
readonly token_status: io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
10748
|
+
}
|
|
10749
|
+
|
|
10641
10750
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
10642
10751
|
readonly user_id: number;
|
|
10643
10752
|
}
|
|
@@ -10878,11 +10987,15 @@ declare namespace io.flow.label.internal.v0.enums {
|
|
|
10878
10987
|
declare namespace io.flow.label.internal.v0.models {
|
|
10879
10988
|
interface CarrierAccount {
|
|
10880
10989
|
readonly id: string;
|
|
10881
|
-
readonly organization_id: string;
|
|
10882
10990
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
10883
10991
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10884
10992
|
}
|
|
10885
10993
|
|
|
10994
|
+
interface CarrierAccountForm {
|
|
10995
|
+
readonly carrier_id: string;
|
|
10996
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10997
|
+
}
|
|
10998
|
+
|
|
10886
10999
|
interface CarrierInvoice {
|
|
10887
11000
|
readonly number: string;
|
|
10888
11001
|
readonly timestamp: string;
|
|
@@ -11947,6 +12060,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11947
12060
|
readonly hs6: string;
|
|
11948
12061
|
readonly hs6_description: string;
|
|
11949
12062
|
readonly url: string;
|
|
12063
|
+
readonly item_type: string;
|
|
12064
|
+
readonly material: string;
|
|
12065
|
+
readonly gender: string;
|
|
12066
|
+
readonly construction: string;
|
|
11950
12067
|
}
|
|
11951
12068
|
|
|
11952
12069
|
interface ClassificationItem {
|
|
@@ -16837,6 +16954,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16837
16954
|
| 'import_failed'
|
|
16838
16955
|
| 'time_to_classify_upserted'
|
|
16839
16956
|
| 'time_to_classify_deleted'
|
|
16957
|
+
| 'time_to_classify_aggregated_upserted'
|
|
16958
|
+
| 'time_to_classify_aggregated_deleted'
|
|
16840
16959
|
| 'rate_source_summary_upserted'
|
|
16841
16960
|
| 'rate_source_summary_deleted'
|
|
16842
16961
|
| 'rate_freshness_summary_upserted'
|
|
@@ -16981,6 +17100,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16981
17100
|
| 'google_api_error'
|
|
16982
17101
|
| 'facebook_api_error'
|
|
16983
17102
|
| 'invalid_oauth_token_error';
|
|
17103
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
16984
17104
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
16985
17105
|
type MarketingGatewayFeedState =
|
|
16986
17106
|
| 'initialized'
|
|
@@ -17113,7 +17233,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17113
17233
|
| 'duty';
|
|
17114
17234
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
17115
17235
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
17116
|
-
type StatisticType =
|
|
17236
|
+
type StatisticType =
|
|
17237
|
+
| 'time-to-classify'
|
|
17238
|
+
| 'time-to-classify-aggregated'
|
|
17239
|
+
| 'rate-source'
|
|
17240
|
+
| 'rate-freshness';
|
|
17117
17241
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
17118
17242
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
17119
17243
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
@@ -18045,11 +18169,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18045
18169
|
|
|
18046
18170
|
interface CarrierAccount {
|
|
18047
18171
|
readonly id: string;
|
|
18048
|
-
readonly organization_id: string;
|
|
18049
18172
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
18050
18173
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
18051
18174
|
}
|
|
18052
18175
|
|
|
18176
|
+
interface CarrierAccountForm {
|
|
18177
|
+
readonly carrier_id: string;
|
|
18178
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
18179
|
+
}
|
|
18180
|
+
|
|
18053
18181
|
interface CarrierAccountUpserted {
|
|
18054
18182
|
readonly discriminator: 'carrier_account_upserted';
|
|
18055
18183
|
readonly event_id: string;
|
|
@@ -19694,6 +19822,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19694
19822
|
readonly hs6: string;
|
|
19695
19823
|
readonly hs6_description: string;
|
|
19696
19824
|
readonly url: string;
|
|
19825
|
+
readonly item_type: string;
|
|
19826
|
+
readonly material: string;
|
|
19827
|
+
readonly gender: string;
|
|
19828
|
+
readonly construction: string;
|
|
19697
19829
|
}
|
|
19698
19830
|
|
|
19699
19831
|
interface ClassificationItem {
|
|
@@ -20063,11 +20195,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20063
20195
|
|
|
20064
20196
|
interface DhlEcommerce {
|
|
20065
20197
|
readonly discriminator: 'dhl_ecommerce';
|
|
20066
|
-
readonly
|
|
20067
|
-
readonly
|
|
20068
|
-
readonly client_id: string;
|
|
20069
|
-
readonly pickup_account_number: string;
|
|
20198
|
+
readonly client_id_v4: string;
|
|
20199
|
+
readonly client_secret_v4: string;
|
|
20070
20200
|
readonly distribution_center: string;
|
|
20201
|
+
readonly pickup_account_number: string;
|
|
20071
20202
|
readonly pickup_name: string;
|
|
20072
20203
|
}
|
|
20073
20204
|
|
|
@@ -21919,6 +22050,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21919
22050
|
readonly datasources?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
21920
22051
|
readonly localized_feed_count?: number;
|
|
21921
22052
|
readonly connected_at?: string;
|
|
22053
|
+
readonly token_summary?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
21922
22054
|
}
|
|
21923
22055
|
|
|
21924
22056
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -21926,6 +22058,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21926
22058
|
readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
21927
22059
|
}
|
|
21928
22060
|
|
|
22061
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
22062
|
+
readonly catalog_id: number;
|
|
22063
|
+
readonly created_at: number;
|
|
22064
|
+
readonly expires_at?: number;
|
|
22065
|
+
readonly user_id: string;
|
|
22066
|
+
readonly user_email?: string;
|
|
22067
|
+
readonly token_status: io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
22068
|
+
}
|
|
22069
|
+
|
|
21929
22070
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
21930
22071
|
readonly user_id: number;
|
|
21931
22072
|
}
|
|
@@ -22578,6 +22719,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22578
22719
|
|
|
22579
22720
|
interface PaypalAuthenticationDataReference {
|
|
22580
22721
|
readonly id: string;
|
|
22722
|
+
readonly flow_merchant_id?: string;
|
|
22581
22723
|
}
|
|
22582
22724
|
|
|
22583
22725
|
interface PaypalAuthenticationForm {
|
|
@@ -24140,13 +24282,43 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24140
24282
|
|
|
24141
24283
|
interface TimeToClassify {
|
|
24142
24284
|
readonly discriminator: 'time-to-classify';
|
|
24285
|
+
readonly key: string;
|
|
24286
|
+
readonly from: string;
|
|
24287
|
+
readonly to: string;
|
|
24143
24288
|
readonly organization_id: string;
|
|
24289
|
+
readonly average_hours: number;
|
|
24290
|
+
readonly median_hours: number;
|
|
24291
|
+
readonly percentile_75_hours: number;
|
|
24292
|
+
readonly percentile_90_hours: number;
|
|
24293
|
+
readonly percentile_99_hours: number;
|
|
24294
|
+
}
|
|
24295
|
+
|
|
24296
|
+
interface TimeToClassifyAggregated {
|
|
24297
|
+
readonly discriminator: 'time-to-classify-aggregated';
|
|
24144
24298
|
readonly key: string;
|
|
24145
24299
|
readonly from: string;
|
|
24146
24300
|
readonly to: string;
|
|
24301
|
+
readonly average_hours: number;
|
|
24302
|
+
readonly median_hours: number;
|
|
24303
|
+
readonly percentile_75_hours: number;
|
|
24304
|
+
readonly percentile_90_hours: number;
|
|
24147
24305
|
readonly percentile_99_hours: number;
|
|
24148
24306
|
}
|
|
24149
24307
|
|
|
24308
|
+
interface TimeToClassifyAggregatedDeleted {
|
|
24309
|
+
readonly discriminator: 'time_to_classify_aggregated_deleted';
|
|
24310
|
+
readonly event_id: string;
|
|
24311
|
+
readonly timestamp: string;
|
|
24312
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
24313
|
+
}
|
|
24314
|
+
|
|
24315
|
+
interface TimeToClassifyAggregatedUpserted {
|
|
24316
|
+
readonly discriminator: 'time_to_classify_aggregated_upserted';
|
|
24317
|
+
readonly event_id: string;
|
|
24318
|
+
readonly timestamp: string;
|
|
24319
|
+
readonly time_to_classify_aggregated: io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated;
|
|
24320
|
+
}
|
|
24321
|
+
|
|
24150
24322
|
interface TimeToClassifyDeleted {
|
|
24151
24323
|
readonly discriminator: 'time_to_classify_deleted';
|
|
24152
24324
|
readonly event_id: string;
|
|
@@ -24754,6 +24926,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24754
24926
|
| io.flow.internal.v0.models.ImportFailed
|
|
24755
24927
|
| io.flow.internal.v0.models.TimeToClassifyUpserted
|
|
24756
24928
|
| io.flow.internal.v0.models.TimeToClassifyDeleted
|
|
24929
|
+
| io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted
|
|
24930
|
+
| io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted
|
|
24757
24931
|
| io.flow.internal.v0.models.RateSourceSummaryUpserted
|
|
24758
24932
|
| io.flow.internal.v0.models.RateSourceSummaryDeleted
|
|
24759
24933
|
| io.flow.internal.v0.models.RateFreshnessSummaryUpserted
|
|
@@ -24871,6 +25045,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24871
25045
|
| io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
24872
25046
|
type InternalHarmonizationStatistic =
|
|
24873
25047
|
| io.flow.internal.v0.models.TimeToClassify
|
|
25048
|
+
| io.flow.internal.v0.models.TimeToClassifyAggregated
|
|
24874
25049
|
| io.flow.internal.v0.models.RateSourceSummary
|
|
24875
25050
|
| io.flow.internal.v0.models.RateFreshnessSummary;
|
|
24876
25051
|
type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
|
|
@@ -25128,6 +25303,7 @@ export type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserB
|
|
|
25128
25303
|
export type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
25129
25304
|
export type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
25130
25305
|
export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
25306
|
+
export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
25131
25307
|
export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
25132
25308
|
export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
25133
25309
|
export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
@@ -25891,9 +26067,11 @@ export type MarketingGatewayFacebookCatalogForm = io.flow.internal.v0.models.Mar
|
|
|
25891
26067
|
export type MarketingGatewayFacebookCatalogSummary = io.flow.internal.v0.models.MarketingGatewayFacebookCatalogSummary;
|
|
25892
26068
|
export type MarketingGatewayFacebookChannelDetails = io.flow.internal.v0.models.MarketingGatewayFacebookChannelDetails;
|
|
25893
26069
|
export type MarketingGatewayFacebookConnection = io.flow.internal.v0.models.MarketingGatewayFacebookConnection;
|
|
26070
|
+
export type MarketingGatewayFacebookConnectionAccessTokenSummary = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
25894
26071
|
export type MarketingGatewayFacebookConnectionDeauth = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionDeauth;
|
|
25895
26072
|
export type MarketingGatewayFacebookConnectionForm = io.flow.internal.v0.models.MarketingGatewayFacebookConnectionForm;
|
|
25896
26073
|
export type MarketingGatewayFacebookSourceSummary = io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary;
|
|
26074
|
+
export type MarketingGatewayFacebookTokenStatus = io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
25897
26075
|
export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
|
|
25898
26076
|
export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
|
|
25899
26077
|
export type MarketingGatewayFeedExportForm = io.flow.internal.v0.models.MarketingGatewayFeedExportForm;
|
|
@@ -26267,6 +26445,9 @@ export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRem
|
|
|
26267
26445
|
export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
|
|
26268
26446
|
export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
|
|
26269
26447
|
export type TimeToClassify = io.flow.internal.v0.models.TimeToClassify;
|
|
26448
|
+
export type TimeToClassifyAggregated = io.flow.internal.v0.models.TimeToClassifyAggregated;
|
|
26449
|
+
export type TimeToClassifyAggregatedDeleted = io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted;
|
|
26450
|
+
export type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted;
|
|
26270
26451
|
export type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted;
|
|
26271
26452
|
export type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted;
|
|
26272
26453
|
export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
package/src/api.ts
CHANGED
|
@@ -1072,6 +1072,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1072
1072
|
| 'unit_of_length'
|
|
1073
1073
|
| 'unit_of_mass';
|
|
1074
1074
|
type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match';
|
|
1075
|
+
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
1075
1076
|
type Calendar = 'weekdays' | 'everyday';
|
|
1076
1077
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
1077
1078
|
type Capability = 'crossdock';
|
|
@@ -2149,6 +2150,7 @@ declare namespace io.flow.v0.models {
|
|
|
2149
2150
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
2150
2151
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2151
2152
|
readonly attributes: Record<string, string>;
|
|
2153
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
2152
2154
|
}
|
|
2153
2155
|
|
|
2154
2156
|
interface B2BCreditMemoDeleted {
|
|
@@ -2184,6 +2186,7 @@ declare namespace io.flow.v0.models {
|
|
|
2184
2186
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2185
2187
|
readonly attributes: Record<string, string>;
|
|
2186
2188
|
readonly estimated_delivery_date?: string;
|
|
2189
|
+
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
2187
2190
|
}
|
|
2188
2191
|
|
|
2189
2192
|
interface B2BInvoiceDeleted {
|
|
@@ -6351,6 +6354,7 @@ declare namespace io.flow.v0.models {
|
|
|
6351
6354
|
interface OrganizationSummary {
|
|
6352
6355
|
readonly id: string;
|
|
6353
6356
|
readonly name: string;
|
|
6357
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
6354
6358
|
}
|
|
6355
6359
|
|
|
6356
6360
|
interface OrganizationToken {
|
|
@@ -9606,6 +9610,7 @@ export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
|
|
|
9606
9610
|
export type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
9607
9611
|
export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
9608
9612
|
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
9613
|
+
export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
|
|
9609
9614
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
9610
9615
|
export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
9611
9616
|
export type BillingAddress = io.flow.v0.models.BillingAddress;
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Flow Commerce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|