@flowio/types 10.6.1 → 10.7.0
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 +99 -13
- package/dist/index.js +15 -2
- package/package.json +9 -11
- package/src/api-internal.ts +130 -13
- 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 {
|
|
@@ -2108,6 +2107,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2108
2107
|
}
|
|
2109
2108
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2110
2109
|
type ReturnStatus = 'open' | 'refunded';
|
|
2110
|
+
type ReturnTrackingStatus = 'return_registered_online' | 'received_by_the_carrier' | 'in_transit_to_our_local_hub' | 'received_at_our_local_hub' | 'processed_by_hub' | 'parcel_has_been_added_to_pallet' | 'parcel_has_been_extracted_from_pallet' | 'in_transit_to_the_retailer' | 'delivered_to_the_retailer' | 'parcel_lost' | 'canceled' | 'parcel_processed_by_retailer' | 'parcel_delayed' | 'collection_attempt_failed' | 'parcel_under_investigation' | 'awaiting_customs_clearance' | 'customs_clearance_completed' | 'cancel_requested';
|
|
2111
2111
|
}
|
|
2112
2112
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
2113
2113
|
interface Return {
|
|
@@ -2307,6 +2307,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2307
2307
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
2308
2308
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2309
2309
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
2310
|
+
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_over_time';
|
|
2310
2311
|
type KlarnaProduct = 'payment';
|
|
2311
2312
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
2312
2313
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
@@ -2543,7 +2544,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2543
2544
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2544
2545
|
}
|
|
2545
2546
|
interface OrderItem {
|
|
2546
|
-
readonly object
|
|
2547
|
+
readonly object?: string;
|
|
2547
2548
|
readonly amount: number;
|
|
2548
2549
|
readonly currency: string;
|
|
2549
2550
|
readonly description?: string;
|
|
@@ -2762,7 +2763,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2762
2763
|
}
|
|
2763
2764
|
interface Shipping {
|
|
2764
2765
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
2765
|
-
readonly name
|
|
2766
|
+
readonly name?: string;
|
|
2766
2767
|
readonly phone?: string;
|
|
2767
2768
|
}
|
|
2768
2769
|
interface Source {
|
|
@@ -2784,6 +2785,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2784
2785
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
2785
2786
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
2786
2787
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
2788
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
2787
2789
|
}
|
|
2788
2790
|
interface SourceCard {
|
|
2789
2791
|
readonly exp_month: number;
|
|
@@ -2811,6 +2813,26 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2811
2813
|
readonly first_name?: string;
|
|
2812
2814
|
readonly last_name?: string;
|
|
2813
2815
|
readonly client_token: string;
|
|
2816
|
+
readonly payment_method_categories?: string;
|
|
2817
|
+
readonly purchase_country?: string;
|
|
2818
|
+
readonly shipping_first_name?: string;
|
|
2819
|
+
readonly shipping_last_name?: string;
|
|
2820
|
+
readonly locale?: string;
|
|
2821
|
+
readonly pay_later_name?: string;
|
|
2822
|
+
readonly pay_later_asset_url_standard?: string;
|
|
2823
|
+
readonly pay_later_asset_url_descriptive?: string;
|
|
2824
|
+
readonly pay_now_name?: string;
|
|
2825
|
+
readonly pay_now_asset_url_standard?: string;
|
|
2826
|
+
readonly pay_now_asset_url_descriptive?: string;
|
|
2827
|
+
readonly pay_over_time_name?: string;
|
|
2828
|
+
readonly pay_over_time_asset_url_standard?: string;
|
|
2829
|
+
readonly pay_over_time_asset_url_descriptive?: string;
|
|
2830
|
+
readonly direct_bank_transfer_name?: string;
|
|
2831
|
+
readonly direct_bank_transfer_asset_url_standard?: string;
|
|
2832
|
+
readonly direct_bank_transfer_asset_url_descriptive?: string;
|
|
2833
|
+
readonly direct_debit_name?: string;
|
|
2834
|
+
readonly direct_debit_asset_url_standard?: string;
|
|
2835
|
+
readonly direct_debit_asset_url_descriptive?: string;
|
|
2814
2836
|
}
|
|
2815
2837
|
interface SourceKlarnaRequest {
|
|
2816
2838
|
readonly first_name: string;
|
|
@@ -2822,6 +2844,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2822
2844
|
readonly shipping_last_name?: string;
|
|
2823
2845
|
readonly locale?: string;
|
|
2824
2846
|
}
|
|
2847
|
+
interface SourceOrder {
|
|
2848
|
+
readonly amount?: number;
|
|
2849
|
+
readonly currency?: string;
|
|
2850
|
+
readonly email?: string;
|
|
2851
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
2852
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2853
|
+
}
|
|
2854
|
+
interface SourceOrderRequest {
|
|
2855
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
2856
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
2857
|
+
}
|
|
2825
2858
|
interface SourceRequest {
|
|
2826
2859
|
readonly type?: io.flow.stripe.v0.enums.SourceType;
|
|
2827
2860
|
readonly amount?: number;
|
|
@@ -2837,6 +2870,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2837
2870
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
2838
2871
|
readonly token?: string;
|
|
2839
2872
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
2873
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
2840
2874
|
}
|
|
2841
2875
|
interface Stripe3Ds2Fingerprint {
|
|
2842
2876
|
readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
|
|
@@ -5822,6 +5856,17 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5822
5856
|
interface KeyReference {
|
|
5823
5857
|
readonly id: string;
|
|
5824
5858
|
}
|
|
5859
|
+
interface KlarnaAuthorizationParameters {
|
|
5860
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
5861
|
+
readonly client_token: string;
|
|
5862
|
+
readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
5863
|
+
}
|
|
5864
|
+
interface KlarnaPaymentMethodCategory {
|
|
5865
|
+
readonly id: string;
|
|
5866
|
+
readonly name?: string;
|
|
5867
|
+
readonly standard_asset_url?: string;
|
|
5868
|
+
readonly descriptive_asset_url?: string;
|
|
5869
|
+
}
|
|
5825
5870
|
interface OnlineAuthorizationCompleted {
|
|
5826
5871
|
readonly discriminator: 'online_authorization_completed';
|
|
5827
5872
|
readonly id: string;
|
|
@@ -6058,6 +6103,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6058
6103
|
}
|
|
6059
6104
|
declare namespace io.flow.payment.internal.v0.unions {
|
|
6060
6105
|
type AuthorizationPayload = io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
|
|
6106
|
+
type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
|
|
6061
6107
|
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;
|
|
6062
6108
|
type InternalRefundForm = io.flow.payment.internal.v0.models.AdyenRefundForm;
|
|
6063
6109
|
type PaymentRedirect = io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted;
|
|
@@ -8012,6 +8058,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
8012
8058
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
8013
8059
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
8014
8060
|
type MarketingGatewayErrorCode = 'generic_error' | 'google_api_error' | 'facebook_api_error' | 'invalid_oauth_token_error';
|
|
8061
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
8015
8062
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
8016
8063
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
8017
8064
|
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
@@ -8075,11 +8122,20 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
8075
8122
|
readonly datasources?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
8076
8123
|
readonly localized_feed_count?: number;
|
|
8077
8124
|
readonly connected_at?: string;
|
|
8125
|
+
readonly token_summary?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
8078
8126
|
}
|
|
8079
8127
|
interface MarketingGatewayFacebookConnection {
|
|
8080
8128
|
readonly organization_id: string;
|
|
8081
8129
|
readonly businesses: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
8082
8130
|
}
|
|
8131
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
8132
|
+
readonly catalog_id: number;
|
|
8133
|
+
readonly created_at: number;
|
|
8134
|
+
readonly expires_at?: number;
|
|
8135
|
+
readonly user_id: string;
|
|
8136
|
+
readonly user_email?: string;
|
|
8137
|
+
readonly token_status: io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
8138
|
+
}
|
|
8083
8139
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
8084
8140
|
readonly user_id: number;
|
|
8085
8141
|
}
|
|
@@ -8278,10 +8334,13 @@ declare namespace io.flow.label.internal.v0.enums {
|
|
|
8278
8334
|
declare namespace io.flow.label.internal.v0.models {
|
|
8279
8335
|
interface CarrierAccount {
|
|
8280
8336
|
readonly id: string;
|
|
8281
|
-
readonly organization_id: string;
|
|
8282
8337
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
8283
8338
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8284
8339
|
}
|
|
8340
|
+
interface CarrierAccountForm {
|
|
8341
|
+
readonly carrier_id: string;
|
|
8342
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8343
|
+
}
|
|
8285
8344
|
interface CarrierInvoice {
|
|
8286
8345
|
readonly number: string;
|
|
8287
8346
|
readonly timestamp: string;
|
|
@@ -9095,6 +9154,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9095
9154
|
readonly hs6: string;
|
|
9096
9155
|
readonly hs6_description: string;
|
|
9097
9156
|
readonly url: string;
|
|
9157
|
+
readonly item_type: string;
|
|
9158
|
+
readonly material: string;
|
|
9159
|
+
readonly gender: string;
|
|
9160
|
+
readonly construction: string;
|
|
9098
9161
|
}
|
|
9099
9162
|
interface ClassificationItem {
|
|
9100
9163
|
readonly id: string;
|
|
@@ -13687,10 +13750,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13687
13750
|
}
|
|
13688
13751
|
interface CarrierAccount {
|
|
13689
13752
|
readonly id: string;
|
|
13690
|
-
readonly organization_id: string;
|
|
13691
13753
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
13692
13754
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
13693
13755
|
}
|
|
13756
|
+
interface CarrierAccountForm {
|
|
13757
|
+
readonly carrier_id: string;
|
|
13758
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
13759
|
+
}
|
|
13694
13760
|
interface CarrierAccountUpserted {
|
|
13695
13761
|
readonly discriminator: 'carrier_account_upserted';
|
|
13696
13762
|
readonly event_id: string;
|
|
@@ -15046,6 +15112,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15046
15112
|
readonly hs6: string;
|
|
15047
15113
|
readonly hs6_description: string;
|
|
15048
15114
|
readonly url: string;
|
|
15115
|
+
readonly item_type: string;
|
|
15116
|
+
readonly material: string;
|
|
15117
|
+
readonly gender: string;
|
|
15118
|
+
readonly construction: string;
|
|
15049
15119
|
}
|
|
15050
15120
|
interface ClassificationItem {
|
|
15051
15121
|
readonly id: string;
|
|
@@ -15352,11 +15422,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15352
15422
|
}
|
|
15353
15423
|
interface DhlEcommerce {
|
|
15354
15424
|
readonly discriminator: 'dhl_ecommerce';
|
|
15355
|
-
readonly
|
|
15356
|
-
readonly
|
|
15357
|
-
readonly client_id: string;
|
|
15358
|
-
readonly pickup_account_number: string;
|
|
15425
|
+
readonly client_id_v4: string;
|
|
15426
|
+
readonly client_secret_v4: string;
|
|
15359
15427
|
readonly distribution_center: string;
|
|
15428
|
+
readonly pickup_account_number: string;
|
|
15360
15429
|
readonly pickup_name: string;
|
|
15361
15430
|
}
|
|
15362
15431
|
interface Dict {
|
|
@@ -16588,6 +16657,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16588
16657
|
interface KeyReference {
|
|
16589
16658
|
readonly id: string;
|
|
16590
16659
|
}
|
|
16660
|
+
interface KlarnaAuthorizationParameters {
|
|
16661
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
16662
|
+
readonly client_token: string;
|
|
16663
|
+
readonly payment_method_categories: io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
16664
|
+
}
|
|
16665
|
+
interface KlarnaPaymentMethodCategory {
|
|
16666
|
+
readonly id: string;
|
|
16667
|
+
readonly name?: string;
|
|
16668
|
+
readonly standard_asset_url?: string;
|
|
16669
|
+
readonly descriptive_asset_url?: string;
|
|
16670
|
+
}
|
|
16591
16671
|
interface LabProjectSettings {
|
|
16592
16672
|
readonly id: string;
|
|
16593
16673
|
readonly flow_lab_project_key: string;
|
|
@@ -16945,6 +17025,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16945
17025
|
readonly datasources?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
16946
17026
|
readonly localized_feed_count?: number;
|
|
16947
17027
|
readonly connected_at?: string;
|
|
17028
|
+
readonly token_summary?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
16948
17029
|
}
|
|
16949
17030
|
interface MarketingGatewayFacebookConnection {
|
|
16950
17031
|
readonly organization_id: string;
|
|
@@ -16955,7 +17036,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16955
17036
|
readonly created_at: number;
|
|
16956
17037
|
readonly expires_at?: number;
|
|
16957
17038
|
readonly user_id: string;
|
|
16958
|
-
readonly user_email
|
|
17039
|
+
readonly user_email?: string;
|
|
16959
17040
|
readonly token_status: io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
16960
17041
|
}
|
|
16961
17042
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
@@ -19223,6 +19304,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19223
19304
|
type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
|
|
19224
19305
|
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;
|
|
19225
19306
|
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;
|
|
19307
|
+
type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
19226
19308
|
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;
|
|
19227
19309
|
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;
|
|
19228
19310
|
type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
|
|
@@ -19392,6 +19474,7 @@ export declare type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.
|
|
|
19392
19474
|
export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
19393
19475
|
export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
19394
19476
|
export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
19477
|
+
export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
19395
19478
|
export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
19396
19479
|
export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
19397
19480
|
export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
@@ -20024,6 +20107,7 @@ export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
|
20024
20107
|
export declare type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
20025
20108
|
export declare type ImportFailed = io.flow.internal.v0.models.ImportFailed;
|
|
20026
20109
|
export declare type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
|
|
20110
|
+
export declare type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
|
|
20027
20111
|
export declare type InstallForm = io.flow.internal.v0.models.InstallForm;
|
|
20028
20112
|
export declare type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
|
|
20029
20113
|
export declare type InternalAfterpayAuthorizationDetails = io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
@@ -20084,6 +20168,8 @@ export declare type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
|
|
|
20084
20168
|
export declare type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
|
|
20085
20169
|
export declare type Key = io.flow.internal.v0.models.Key;
|
|
20086
20170
|
export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
|
|
20171
|
+
export declare type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
20172
|
+
export declare type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
|
|
20087
20173
|
export declare type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
|
|
20088
20174
|
export declare type LabProjectSettingsForm = io.flow.internal.v0.models.LabProjectSettingsForm;
|
|
20089
20175
|
export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
|
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.
|
|
3
|
+
"version": "10.7.0",
|
|
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": "2a3833fbc25f0fa10882cffe671f4d72583e746d"
|
|
28
|
+
"gitHead": "573a2c80bc1af72c86189bbc9f8a347c7f1dcb77"
|
|
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
|
|
|
@@ -2877,6 +2876,25 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2877
2876
|
|
|
2878
2877
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2879
2878
|
type ReturnStatus = 'open' | 'refunded';
|
|
2879
|
+
type ReturnTrackingStatus =
|
|
2880
|
+
| 'return_registered_online'
|
|
2881
|
+
| 'received_by_the_carrier'
|
|
2882
|
+
| 'in_transit_to_our_local_hub'
|
|
2883
|
+
| 'received_at_our_local_hub'
|
|
2884
|
+
| 'processed_by_hub'
|
|
2885
|
+
| 'parcel_has_been_added_to_pallet'
|
|
2886
|
+
| 'parcel_has_been_extracted_from_pallet'
|
|
2887
|
+
| 'in_transit_to_the_retailer'
|
|
2888
|
+
| 'delivered_to_the_retailer'
|
|
2889
|
+
| 'parcel_lost'
|
|
2890
|
+
| 'canceled'
|
|
2891
|
+
| 'parcel_processed_by_retailer'
|
|
2892
|
+
| 'parcel_delayed'
|
|
2893
|
+
| 'collection_attempt_failed'
|
|
2894
|
+
| 'parcel_under_investigation'
|
|
2895
|
+
| 'awaiting_customs_clearance'
|
|
2896
|
+
| 'customs_clearance_completed'
|
|
2897
|
+
| 'cancel_requested';
|
|
2880
2898
|
}
|
|
2881
2899
|
|
|
2882
2900
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
@@ -3218,6 +3236,11 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
3218
3236
|
| 'source.canceled'
|
|
3219
3237
|
| 'source.chargeable'
|
|
3220
3238
|
| 'source.failed';
|
|
3239
|
+
type KlarnaPaymentMethodCategoryType =
|
|
3240
|
+
| 'direct_bank_transfer'
|
|
3241
|
+
| 'direct_debit'
|
|
3242
|
+
| 'pay_later'
|
|
3243
|
+
| 'pay_over_time';
|
|
3221
3244
|
type KlarnaProduct = 'payment';
|
|
3222
3245
|
type NetworkStatus =
|
|
3223
3246
|
| 'approved_by_network'
|
|
@@ -3522,7 +3545,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3522
3545
|
}
|
|
3523
3546
|
|
|
3524
3547
|
interface OrderItem {
|
|
3525
|
-
readonly object
|
|
3548
|
+
readonly object?: string;
|
|
3526
3549
|
readonly amount: number;
|
|
3527
3550
|
readonly currency: string;
|
|
3528
3551
|
readonly description?: string;
|
|
@@ -3764,7 +3787,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3764
3787
|
|
|
3765
3788
|
interface Shipping {
|
|
3766
3789
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
3767
|
-
readonly name
|
|
3790
|
+
readonly name?: string;
|
|
3768
3791
|
readonly phone?: string;
|
|
3769
3792
|
}
|
|
3770
3793
|
|
|
@@ -3787,6 +3810,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3787
3810
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
3788
3811
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
3789
3812
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
3813
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
3790
3814
|
}
|
|
3791
3815
|
|
|
3792
3816
|
interface SourceCard {
|
|
@@ -3817,6 +3841,26 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3817
3841
|
readonly first_name?: string;
|
|
3818
3842
|
readonly last_name?: string;
|
|
3819
3843
|
readonly client_token: string;
|
|
3844
|
+
readonly payment_method_categories?: string;
|
|
3845
|
+
readonly purchase_country?: string;
|
|
3846
|
+
readonly shipping_first_name?: string;
|
|
3847
|
+
readonly shipping_last_name?: string;
|
|
3848
|
+
readonly locale?: string;
|
|
3849
|
+
readonly pay_later_name?: string;
|
|
3850
|
+
readonly pay_later_asset_url_standard?: string;
|
|
3851
|
+
readonly pay_later_asset_url_descriptive?: string;
|
|
3852
|
+
readonly pay_now_name?: string;
|
|
3853
|
+
readonly pay_now_asset_url_standard?: string;
|
|
3854
|
+
readonly pay_now_asset_url_descriptive?: string;
|
|
3855
|
+
readonly pay_over_time_name?: string;
|
|
3856
|
+
readonly pay_over_time_asset_url_standard?: string;
|
|
3857
|
+
readonly pay_over_time_asset_url_descriptive?: string;
|
|
3858
|
+
readonly direct_bank_transfer_name?: string;
|
|
3859
|
+
readonly direct_bank_transfer_asset_url_standard?: string;
|
|
3860
|
+
readonly direct_bank_transfer_asset_url_descriptive?: string;
|
|
3861
|
+
readonly direct_debit_name?: string;
|
|
3862
|
+
readonly direct_debit_asset_url_standard?: string;
|
|
3863
|
+
readonly direct_debit_asset_url_descriptive?: string;
|
|
3820
3864
|
}
|
|
3821
3865
|
|
|
3822
3866
|
interface SourceKlarnaRequest {
|
|
@@ -3830,6 +3874,19 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3830
3874
|
readonly locale?: string;
|
|
3831
3875
|
}
|
|
3832
3876
|
|
|
3877
|
+
interface SourceOrder {
|
|
3878
|
+
readonly amount?: number;
|
|
3879
|
+
readonly currency?: string;
|
|
3880
|
+
readonly email?: string;
|
|
3881
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
3882
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
interface SourceOrderRequest {
|
|
3886
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
3887
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3833
3890
|
interface SourceRequest {
|
|
3834
3891
|
readonly type?: io.flow.stripe.v0.enums.SourceType;
|
|
3835
3892
|
readonly amount?: number;
|
|
@@ -3845,6 +3902,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3845
3902
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
3846
3903
|
readonly token?: string;
|
|
3847
3904
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
3905
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
3848
3906
|
}
|
|
3849
3907
|
|
|
3850
3908
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -7824,6 +7882,19 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7824
7882
|
readonly id: string;
|
|
7825
7883
|
}
|
|
7826
7884
|
|
|
7885
|
+
interface KlarnaAuthorizationParameters {
|
|
7886
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
7887
|
+
readonly client_token: string;
|
|
7888
|
+
readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
interface KlarnaPaymentMethodCategory {
|
|
7892
|
+
readonly id: string;
|
|
7893
|
+
readonly name?: string;
|
|
7894
|
+
readonly standard_asset_url?: string;
|
|
7895
|
+
readonly descriptive_asset_url?: string;
|
|
7896
|
+
}
|
|
7897
|
+
|
|
7827
7898
|
interface OnlineAuthorizationCompleted {
|
|
7828
7899
|
readonly discriminator: 'online_authorization_completed';
|
|
7829
7900
|
readonly id: string;
|
|
@@ -8096,6 +8167,7 @@ declare namespace io.flow.payment.internal.v0.unions {
|
|
|
8096
8167
|
type AuthorizationPayload =
|
|
8097
8168
|
| io.flow.payment.internal.v0.models.ApplePaymentToken
|
|
8098
8169
|
| io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
|
|
8170
|
+
type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
|
|
8099
8171
|
type InternalAuthorizationDetails =
|
|
8100
8172
|
| io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
8101
8173
|
| io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
@@ -10574,6 +10646,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
10574
10646
|
| 'google_api_error'
|
|
10575
10647
|
| 'facebook_api_error'
|
|
10576
10648
|
| 'invalid_oauth_token_error';
|
|
10649
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
10577
10650
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
10578
10651
|
type MarketingGatewayFeedState =
|
|
10579
10652
|
| 'initialized'
|
|
@@ -10676,6 +10749,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10676
10749
|
readonly datasources?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
10677
10750
|
readonly localized_feed_count?: number;
|
|
10678
10751
|
readonly connected_at?: string;
|
|
10752
|
+
readonly token_summary?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
10679
10753
|
}
|
|
10680
10754
|
|
|
10681
10755
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -10683,6 +10757,15 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
10683
10757
|
readonly businesses: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
10684
10758
|
}
|
|
10685
10759
|
|
|
10760
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
10761
|
+
readonly catalog_id: number;
|
|
10762
|
+
readonly created_at: number;
|
|
10763
|
+
readonly expires_at?: number;
|
|
10764
|
+
readonly user_id: string;
|
|
10765
|
+
readonly user_email?: string;
|
|
10766
|
+
readonly token_status: io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
10767
|
+
}
|
|
10768
|
+
|
|
10686
10769
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
10687
10770
|
readonly user_id: number;
|
|
10688
10771
|
}
|
|
@@ -10923,11 +11006,15 @@ declare namespace io.flow.label.internal.v0.enums {
|
|
|
10923
11006
|
declare namespace io.flow.label.internal.v0.models {
|
|
10924
11007
|
interface CarrierAccount {
|
|
10925
11008
|
readonly id: string;
|
|
10926
|
-
readonly organization_id: string;
|
|
10927
11009
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
10928
11010
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10929
11011
|
}
|
|
10930
11012
|
|
|
11013
|
+
interface CarrierAccountForm {
|
|
11014
|
+
readonly carrier_id: string;
|
|
11015
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
11016
|
+
}
|
|
11017
|
+
|
|
10931
11018
|
interface CarrierInvoice {
|
|
10932
11019
|
readonly number: string;
|
|
10933
11020
|
readonly timestamp: string;
|
|
@@ -11992,6 +12079,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11992
12079
|
readonly hs6: string;
|
|
11993
12080
|
readonly hs6_description: string;
|
|
11994
12081
|
readonly url: string;
|
|
12082
|
+
readonly item_type: string;
|
|
12083
|
+
readonly material: string;
|
|
12084
|
+
readonly gender: string;
|
|
12085
|
+
readonly construction: string;
|
|
11995
12086
|
}
|
|
11996
12087
|
|
|
11997
12088
|
interface ClassificationItem {
|
|
@@ -18097,11 +18188,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18097
18188
|
|
|
18098
18189
|
interface CarrierAccount {
|
|
18099
18190
|
readonly id: string;
|
|
18100
|
-
readonly organization_id: string;
|
|
18101
18191
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
18102
18192
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
18103
18193
|
}
|
|
18104
18194
|
|
|
18195
|
+
interface CarrierAccountForm {
|
|
18196
|
+
readonly carrier_id: string;
|
|
18197
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
18198
|
+
}
|
|
18199
|
+
|
|
18105
18200
|
interface CarrierAccountUpserted {
|
|
18106
18201
|
readonly discriminator: 'carrier_account_upserted';
|
|
18107
18202
|
readonly event_id: string;
|
|
@@ -19746,6 +19841,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19746
19841
|
readonly hs6: string;
|
|
19747
19842
|
readonly hs6_description: string;
|
|
19748
19843
|
readonly url: string;
|
|
19844
|
+
readonly item_type: string;
|
|
19845
|
+
readonly material: string;
|
|
19846
|
+
readonly gender: string;
|
|
19847
|
+
readonly construction: string;
|
|
19749
19848
|
}
|
|
19750
19849
|
|
|
19751
19850
|
interface ClassificationItem {
|
|
@@ -20115,11 +20214,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20115
20214
|
|
|
20116
20215
|
interface DhlEcommerce {
|
|
20117
20216
|
readonly discriminator: 'dhl_ecommerce';
|
|
20118
|
-
readonly
|
|
20119
|
-
readonly
|
|
20120
|
-
readonly client_id: string;
|
|
20121
|
-
readonly pickup_account_number: string;
|
|
20217
|
+
readonly client_id_v4: string;
|
|
20218
|
+
readonly client_secret_v4: string;
|
|
20122
20219
|
readonly distribution_center: string;
|
|
20220
|
+
readonly pickup_account_number: string;
|
|
20123
20221
|
readonly pickup_name: string;
|
|
20124
20222
|
}
|
|
20125
20223
|
|
|
@@ -21548,6 +21646,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21548
21646
|
readonly id: string;
|
|
21549
21647
|
}
|
|
21550
21648
|
|
|
21649
|
+
interface KlarnaAuthorizationParameters {
|
|
21650
|
+
readonly discriminator: 'klarna_authorization_parameters';
|
|
21651
|
+
readonly client_token: string;
|
|
21652
|
+
readonly payment_method_categories: io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
21653
|
+
}
|
|
21654
|
+
|
|
21655
|
+
interface KlarnaPaymentMethodCategory {
|
|
21656
|
+
readonly id: string;
|
|
21657
|
+
readonly name?: string;
|
|
21658
|
+
readonly standard_asset_url?: string;
|
|
21659
|
+
readonly descriptive_asset_url?: string;
|
|
21660
|
+
}
|
|
21661
|
+
|
|
21551
21662
|
interface LabProjectSettings {
|
|
21552
21663
|
readonly id: string;
|
|
21553
21664
|
readonly flow_lab_project_key: string;
|
|
@@ -21971,6 +22082,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21971
22082
|
readonly datasources?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
21972
22083
|
readonly localized_feed_count?: number;
|
|
21973
22084
|
readonly connected_at?: string;
|
|
22085
|
+
readonly token_summary?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
21974
22086
|
}
|
|
21975
22087
|
|
|
21976
22088
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -21983,7 +22095,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21983
22095
|
readonly created_at: number;
|
|
21984
22096
|
readonly expires_at?: number;
|
|
21985
22097
|
readonly user_id: string;
|
|
21986
|
-
readonly user_email
|
|
22098
|
+
readonly user_email?: string;
|
|
21987
22099
|
readonly token_status: io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
21988
22100
|
}
|
|
21989
22101
|
|
|
@@ -24956,6 +25068,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24956
25068
|
| io.flow.internal.v0.models.CatalogItemDeleteIndexTask
|
|
24957
25069
|
| io.flow.internal.v0.models.ChangeSettingsIndexTask
|
|
24958
25070
|
| io.flow.internal.v0.models.DeleteIndexTask;
|
|
25071
|
+
type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
24959
25072
|
type InternalAuthorizationDetails =
|
|
24960
25073
|
| io.flow.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
24961
25074
|
| io.flow.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
@@ -25223,6 +25336,7 @@ export type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserB
|
|
|
25223
25336
|
export type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
25224
25337
|
export type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
25225
25338
|
export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
25339
|
+
export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
25226
25340
|
export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
25227
25341
|
export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
25228
25342
|
export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
@@ -25855,6 +25969,7 @@ export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
|
25855
25969
|
export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
25856
25970
|
export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
|
|
25857
25971
|
export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
|
|
25972
|
+
export type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
|
|
25858
25973
|
export type InstallForm = io.flow.internal.v0.models.InstallForm;
|
|
25859
25974
|
export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
|
|
25860
25975
|
export type InternalAfterpayAuthorizationDetails = io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
@@ -25915,6 +26030,8 @@ export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
|
|
|
25915
26030
|
export type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
|
|
25916
26031
|
export type Key = io.flow.internal.v0.models.Key;
|
|
25917
26032
|
export type KeyReference = io.flow.internal.v0.models.KeyReference;
|
|
26033
|
+
export type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
|
|
26034
|
+
export type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
|
|
25918
26035
|
export type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
|
|
25919
26036
|
export type LabProjectSettingsForm = io.flow.internal.v0.models.LabProjectSettingsForm;
|
|
25920
26037
|
export type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
|
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.
|